Home
last modified time | relevance | path

Searched refs:DEVICE_NAME (Results 1 - 16 of 16) sorted by relevance

/foundation/deviceprofile/device_info_manager/old/services/core/src/contentsensor/
H A Ddevice_info_collector.cpp30 const std::string DEVICE_NAME = "deviceName"; member
43 jsonData[DEVICE_NAME] = GetDeviceName(); in ConvertToProfileData()
/foundation/communication/dsoftbus/tests/core/discovery/dfinder/
H A Dnstackx_test.c28 #define DEVICE_NAME "HI3861" macro
162 if (strcpy_s(localDevInfo->name, sizeof(localDevInfo->name), DEVICE_NAME) != EOK || in TestRegisterDeviceInfo()
/foundation/communication/netmanager_ext/test/ethernetmanager/unittest/ethernet_manager_test/
H A Ddev_interface_state_test.cpp29 constexpr const char *DEVICE_NAME = "ahaha"; member
51 devInterfaceState.SetDevName(DEVICE_NAME); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/src/interfaces/
H A Ddevice_profile.cpp194 cJSON_AddStringToObject(json, DEVICE_NAME.c_str(), deviceName_.c_str()); in dump()
224 cJSON_AddStringToObject(json, DEVICE_NAME.c_str(), deviceName_.c_str()); in AnnoymizeDump()
/foundation/distributedhardware/distributed_input/utils/src/
H A Ddinput_utils_tool.cpp196 if (IsString(parObj, DEVICE_NAME) && IsString(parObj, PHYSICAL_PATH) && IsInt32(parObj, CLASSES)) { in GetNodeDesc()
197 nodeName = parObj.at(DEVICE_NAME).get<std::string>(); in GetNodeDesc()
/foundation/distributedhardware/distributed_input/inputdevicehandler/src/
H A Ddistributed_input_handler.cpp61 tmpJson[DEVICE_NAME] = pBuf.name; in StructTransJson()
/foundation/distributedhardware/distributed_input/services/source/inputinject/src/
H A Ddistributed_input_inject.cpp91 tmpJson[DEVICE_NAME] = pBuf.name; in StructTransJson()
H A Ddistributed_input_node_manager.cpp96 if (IsString(inputDeviceJson, DEVICE_NAME)) { in ParseInputDeviceBasicInfo()
97 pBuf.name = inputDeviceJson[DEVICE_NAME].get<std::string>(); in ParseInputDeviceBasicInfo()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/src/
H A Dcomponent_manager_test.cpp63 const std::string DEVICE_NAME = "Dev1"; member
70 std::make_shared<CapabilityInfo>(DH_ID_TEST, DEV_ID_TEST, DEVICE_NAME, TEST_DEV_TYPE_PAD, DHType::CAMERA, DH_ATTR_1,
237 std::make_shared<CapabilityInfo>(DH_ID_1, devInfo.deviceId, DEVICE_NAME, in HWTEST_F()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c83 #define DEVICE_NAME "DEVICE_NAME" macro
1120 (void)JSON_AddStringToObject(json, DEVICE_NAME, localDevName); in PackCommonDevInfo()
1122 (void)JSON_AddStringToObject(json, DEVICE_NAME, LnnGetDeviceName(&info->deviceInfo)); in PackCommonDevInfo()
1542 (void)JSON_GetStringFromOject(json, DEVICE_NAME, info->deviceInfo.deviceName, DEVICE_NAME_BUF_LEN); in ParseCommonJsonInfo()
1817 (void)JSON_AddStringToObject(json, DEVICE_NAME, localDevName); in PackDeviceInfoBtV1()
1819 (void)JSON_AddStringToObject(json, DEVICE_NAME, LnnGetDeviceName(&info->deviceInfo)); in PackDeviceInfoBtV1()
1846 if (!JSON_GetStringFromOject(json, DEVICE_NAME, info->deviceInfo.deviceName, DEVICE_NAME_BUF_LEN) || in UnpackDeviceInfoBtV1()
/foundation/distributedhardware/distributed_input/common/include/
H A Dconstants_dinput.h167 const std::string DEVICE_NAME = "name"; member
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/
H A Ddms_mission_manager_test.cpp48 const std::string DEVICE_NAME = "DEVICE_PHONE_001"; member
1643 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, localDeviceId_); in HWTEST_F()
1669 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
1696 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
1723 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
2599 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
2634 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
2658 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
2694 make_shared<DmsDeviceInfo>(DEVICE_NAME, deviceType, DEVICE_ID); in HWTEST_F()
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_test.cpp59 const std::u16string DEVICE_NAME = u"test_name"; member
1549 saMgr->SetDeviceName(DEVICE_NAME); in HWTEST_F()
1550 EXPECT_EQ(saMgr->deviceName_, DEVICE_NAME); in HWTEST_F()
1562 saMgr->SetDeviceName(DEVICE_NAME); in HWTEST_F()
1564 EXPECT_EQ(ret, DEVICE_NAME); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/common/include/constants/
H A Ddistributed_device_profile_constants.h37 const std::string DEVICE_NAME = "deviceIdName"; member
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp513 JSON_AddStringToObject(json, DEVICE_NAME, "testname"); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dprofile_utils_test.cpp1595 bool ret1 = ProfileUtils::IsPropertyValid(propertiesMap, DEVICE_NAME, MAX_STRING_LEN); in HWTEST_F()

Completed in 21 milliseconds