Home
last modified time | relevance | path

Searched refs:DEV_NAME (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Dethernet_manager_test.cpp211 if (!CheckIfaceUp(DEV_NAME)) {
226 if (!CheckIfaceUp(DEV_NAME)) {
243 if (!CheckIfaceUp(DEV_NAME)) {
260 if (!CheckIfaceUp(DEV_NAME)) {
278 if (!CheckIfaceUp(DEV_NAME)) {
295 if (!CheckIfaceUp(DEV_NAME)) {
312 if (!CheckIfaceUp(DEV_NAME)) {
330 if (!CheckIfaceUp(DEV_NAME)) {
346 if (!CheckIfaceUp(DEV_NAME)) {
361 if (!CheckIfaceUp(DEV_NAME)) {
[all …]
H A Dethernet_service_proxy_test.cpp45 constexpr const char *DEV_NAME = "eth0"; variable
134 auto ret = ethernetServiceProxy.SetIfaceConfig(DEV_NAME, ic);
143 int32_t ret = ethernetServiceProxy.GetIfaceConfig(DEV_NAME, ifaceConfig);
178 int32_t ret = ethernetServiceProxy.SetInterfaceUp(DEV_NAME);
181 ret = ethernetServiceProxy.GetInterfaceConfig(DEV_NAME, cfg);
189 int32_t ret = ethernetServiceProxy.SetInterfaceDown(DEV_NAME);
204 int32_t ret = ethernetServiceProxy.SetInterfaceConfig(DEV_NAME, config);
H A Dethernet_service_test.cpp45 constexpr const char *DEV_NAME = "eth0"; variable
221 int ret = ethernetService.SetIfaceConfig(DEV_NAME, ic);
238 int32_t ret = ethernetService.SetIfaceConfig(DEV_NAME, ic);
276 int32_t ret = ethernetService.SetInterfaceUp(DEV_NAME);
283 int32_t ret = ethernetService.SetInterfaceDown(DEV_NAME);
291 int32_t ret = ethernetService.GetInterfaceConfig(DEV_NAME, cfg);
311 int32_t ret = ethernetService.SetInterfaceConfig(DEV_NAME, config);
H A Dethernet_lan_management_test.cpp51 constexpr const char *DEV_NAME = "eth2"; variable
87 newDevState->SetDevName(DEV_NAME);
118 setDevState->SetDevName(DEV_NAME);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/dbadapter/src/
H A Ddb_adapter_test.cpp63 …make_shared<CapabilityInfo>(TEST_DH_ID_0, TEST_DEV_ID_0, DEV_NAME, TEST_DEV_TYPE, DHType::CAMERA, …
66 …make_shared<CapabilityInfo>(TEST_DH_ID_1, TEST_DEV_ID_0, DEV_NAME, TEST_DEV_TYPE, DHType::AUDIO, T…
69 …make_shared<CapabilityInfo>(TEST_DH_ID_2, TEST_DEV_ID_0, DEV_NAME, TEST_DEV_TYPE, DHType::GPS, TES…
72 …make_shared<CapabilityInfo>(TEST_DH_ID_3, TEST_DEV_ID_0, DEV_NAME, TEST_DEV_TYPE, DHType::HFP, TES…
75 …make_shared<CapabilityInfo>(TEST_DH_ID_4, TEST_DEV_ID_0, DEV_NAME, TEST_DEV_TYPE, DHType::INPUT, T…
79 …make_shared<CapabilityInfo>(TEST_DH_ID_0, TEST_DEV_ID_1, DEV_NAME, TEST_DEV_TYPE, DHType::CAMERA, …
82 …make_shared<CapabilityInfo>(TEST_DH_ID_1, TEST_DEV_ID_1, DEV_NAME, TEST_DEV_TYPE, DHType::AUDIO, T…
85 …make_shared<CapabilityInfo>(TEST_DH_ID_2, TEST_DEV_ID_1, DEV_NAME, TEST_DEV_TYPE, DHType::GPS, TES…
88 …make_shared<CapabilityInfo>(TEST_DH_ID_3, TEST_DEV_ID_1, DEV_NAME, TEST_DEV_TYPE, DHType::HFP, TES…
91 …make_shared<CapabilityInfo>(TEST_DH_ID_4, TEST_DEV_ID_1, DEV_NAME, TEST_DEV_TYPE, DHType::INPUT, T…
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/versioninfo/src/
H A Dversion_info_test.cpp99 const char* DEV_NAME = "dev_name"; variable
110 cJSON_AddStringToObject(json, DEV_NAME, "dev_name");
136 const char* DEV_NAME = "dev_name"; variable
146 cJSON_AddStringToObject(json, DEV_NAME, "dev_name");
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info.cpp197 cJSON_AddStringToObject(jsonObject, DEV_NAME.c_str(), capability.GetDeviceName().c_str()); in ToJson()
222 if (!IsString(jsonObject, DEV_NAME)) { in FromJson()
226 capability.SetDeviceName(cJSON_GetObjectItem(jsonObject, DEV_NAME.c_str())->valuestring); in FromJson()
H A Dmeta_capability_info.cpp155 cJSON_AddStringToObject(jsonObject, DEV_NAME.c_str(), metaCapInfo.GetDeviceName().c_str()); in ToJson()
178 if (!IsString(jsonObject, DEV_NAME)) { in FromJson()
182 metaCapInfo.SetDeviceName(cJSON_GetObjectItem(jsonObject, DEV_NAME.c_str())->valuestring); in FromJson()
/ohos5.0/base/security/code_signature/test/unittest/
H A Dadd_cert_path_test.cpp39 static const string DEV_NAME = "/dev/code_sign"; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/common/utils/include/
H A Dconstants.h54 const std::string DEV_NAME = "dev_name"; variable
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test_mock.cpp46 #define DEV_NAME "DEVTEST" macro
164 ON_CALL(*mockInterface->ledgerMock, LnnGetDeviceName).WillByDefault(Return(DEV_NAME)); in ClientFSMCreate()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/resourcemanager/src/
H A Dresource_manager_test.cpp875 const char* DEV_NAME = "dev_name"; variable
883 cJSON_AddStringToObject(json, DEV_NAME, "dev_name");
1156 cJSON_AddStringToObject(jsonObj, DEV_NAME.c_str(), devName.c_str());