/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_network_manager_test.cpp | 118 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_ERR)); in HWTEST_F() 149 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 182 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 241 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_ERR)); in HWTEST_F() 244 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 248 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 252 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_ERR)); in HWTEST_F() 270 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 300 EXPECT_CALL(managerMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 311 EXPECT_CALL(managerMock, SoftbusGetConfig) in HWTEST_F() [all...] |
H A D | lnn_network_manager_mock.cpp | 64 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig() function 66 return GetNetworkManagerInterface()->SoftbusGetConfig(type, val, len); in SoftbusGetConfig()
|
H A D | lnn_network_manager_mock.h | 43 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0; 71 MOCK_METHOD3(SoftbusGetConfig, int32_t (ConfigType, unsigned char *, uint32_t));
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | client_bus_center_manager_test.cpp | 75 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_ERR)); in HWTEST_F() 104 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 137 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 160 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 179 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 263 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 285 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 304 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 457 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 487 EXPECT_CALL(busCentManagerMock, SoftbusGetConfig( in HWTEST_F() [all...] |
H A D | client_bus_center_manager_mock.cpp | 53 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig() function 55 return GetBusCenterManagerInterface()->SoftbusGetConfig(type, val, len); in SoftbusGetConfig()
|
H A D | client_bus_center_manager_mock.h | 35 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len); 60 MOCK_METHOD3(SoftbusGetConfig, int32_t (ConfigType, unsigned char *, uint32_t));
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/ |
H A D | trans_lane_common_test_mock.cpp | 39 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len)
in SoftbusGetConfig() function 41 return GetTransLaneCommonTestInterface()->SoftbusGetConfig(type, val, len);
in SoftbusGetConfig()
|
H A D | trans_lane_common_test_mock.h | 34 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0;
52 MOCK_METHOD3(SoftbusGetConfig, int32_t (ConfigType type, unsigned char *val, uint32_t len));
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | network_mock.cpp | 91 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig() function 93 return GetNetworkInterface()->SoftbusGetConfig(type, val, len); in SoftbusGetConfig()
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | softbus_feature_config.h | 31 int SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len);
|
/foundation/communication/dsoftbus/tests/core/connection/br/ |
H A D | br_connection_test.cpp | 181 EXPECT_CALL(brMock, SoftbusGetConfig)
in ConnInit() 209 EXPECT_CALL(brMock, SoftbusGetConfig).WillOnce(Return(SOFTBUS_NO_INIT));
in HWTEST_F() 214 EXPECT_CALL(brMock, SoftbusGetConfig).WillOnce(Return(SOFTBUS_OK));
in HWTEST_F() 219 EXPECT_CALL(brMock, SoftbusGetConfig)
in HWTEST_F() 238 EXPECT_CALL(brMock, SoftbusGetConfig)
in HWTEST_F() 246 EXPECT_CALL(brMock, SoftbusGetConfig)
in HWTEST_F()
|
H A D | br_mock.cpp | 67 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len)
in SoftbusGetConfig() function 69 return GetConnectionBrInterface()->SoftbusGetConfig(type, val, len);
in SoftbusGetConfig()
|
H A D | br_mock.h | 43 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0;
73 MOCK_METHOD3(SoftbusGetConfig, int(ConfigType, unsigned char *, uint32_t));
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | network_mock.h | 58 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0; 77 MOCK_METHOD3(SoftbusGetConfig, int(ConfigType, unsigned char *, uint32_t));
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_feature_capability.c | 52 if (SoftbusGetConfig(SOFTBUS_INT_LNN_SUPPORT_FEATURE, in LnnGetFeatureCapabilty()
|
H A D | lnn_net_capability.c | 64 if (SoftbusGetConfig(SOFTBUS_INT_LNN_SUPPORT_CAPABILITY, in LnnGetNetCapabilty()
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_file_utils.c | 50 if (SoftbusGetConfig(SOFTBUS_STR_STORAGE_DIRECTORY, (uint8_t *)g_storagePath, in InitStorageConfigPath()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_mock_test.cpp | 105 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 391 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 420 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 556 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 576 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 603 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 651 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 669 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 686 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 705 EXPECT_CALL(NetBuilderMock, SoftbusGetConfig( in HWTEST_F() [all...] |
H A D | lnn_service_mock.cpp | 253 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig() function 255 return GetServiceInterface()->SoftbusGetConfig(type, val, len); in SoftbusGetConfig()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_service_mock.h | 94 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0; 143 MOCK_METHOD3(SoftbusGetConfig, int32_t (ConfigType, unsigned char *, uint32_t));
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_message_test_mock.cpp | 100 int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len)
in SoftbusGetConfig() function 102 return GetTransTcpDirectMessageInterface()->SoftbusGetConfig(type, val, len);
in SoftbusGetConfig()
|
H A D | trans_tcp_direct_message_test_mock.h | 52 virtual int32_t SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) = 0;
102 MOCK_METHOD3(SoftbusGetConfig, int32_t (ConfigType type, unsigned char *val, uint32_t len));
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_message_append_test.cpp | 829 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_MEM_ERR)); in HWTEST_F() 856 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 863 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 870 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 904 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_OK)); in HWTEST_F() 1504 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillRepeatedly(Return(SOFTBUS_MEM_ERR)); in HWTEST_F() 1532 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillOnce(Return(SOFTBUS_MEM_ERR)); in HWTEST_F() 1536 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillOnce(Return(SOFTBUS_OK)); in HWTEST_F() 1710 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig).WillOnce(Return(SOFTBUS_MEM_ERR)); in HWTEST_F() 1713 EXPECT_CALL(TcpMessageMock, SoftbusGetConfig) in HWTEST_F() [all...] |
/foundation/communication/dsoftbus/core/bus_center/service/src/ |
H A D | bus_center_manager.c | 115 if (SoftbusGetConfig(SOFTBUS_INT_LNN_UDID_INIT_DELAY_LEN, in ReadDelayConfig()
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_common.c | 176 if (SoftbusGetConfig(SOFTBUS_INT_AUTH_ABILITY_COLLECTION, (uint8_t *)(&ability), sizeof(ability)) != SOFTBUS_OK) { in GetConfigSupportAsServer() 187 if (SoftbusGetConfig(SOFTBUS_INT_AUTH_CAPACITY, (uint8_t *)(&authCapacity), sizeof(authCapacity)) != SOFTBUS_OK) { in GetAuthCapacity()
|