Home
last modified time | relevance | path

Searched refs:enabledDeviceKey (Results 1 - 7 of 7) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/task/
H A Dtask_board.cpp109 void TaskBoard::SaveEnabledDevice(const std::string &enabledDeviceKey, const TaskParam &taskParam) in SaveEnabledDevice() argument
112 DHLOGI("SaveEnabledDevice key is %{public}s", GetAnonyString(enabledDeviceKey).c_str()); in SaveEnabledDevice()
113 enabledDevices_[enabledDeviceKey] = taskParam; in SaveEnabledDevice()
116 void TaskBoard::RemoveEnabledDevice(const std::string &enabledDeviceKey) in RemoveEnabledDevice() argument
119 DHLOGI("RemoveEnabledDevice key is %{public}s", GetAnonyString(enabledDeviceKey).c_str()); in RemoveEnabledDevice()
120 enabledDevices_.erase(enabledDeviceKey); in RemoveEnabledDevice()
132 bool TaskBoard::IsEnabledDevice(const std::string &enabledDeviceKey) in IsEnabledDevice() argument
137 if (iter->first == enabledDeviceKey) { in IsEnabledDevice()
H A Ddisable_task.cpp70 std::string enabledDeviceKey = GetCapabilityKey(GetDeviceIdByUUID(GetUUID()), GetDhId()); in DoTaskInner() local
71 TaskBoard::GetInstance().RemoveEnabledDevice(enabledDeviceKey); in DoTaskInner()
H A Denable_task.cpp77 std::string enabledDeviceKey = GetCapabilityKey(GetDeviceIdByUUID(GetUUID()), GetDhId()); in DoTaskInner() local
78 TaskBoard::GetInstance().SaveEnabledDevice(enabledDeviceKey, taskParam); in DoTaskInner()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/task/
H A Dtask_board.h37 void SaveEnabledDevice(const std::string &enabledDeviceKey, const TaskParam &taskParam);
38 void RemoveEnabledDevice(const std::string &enabledDeviceKey);
42 bool IsEnabledDevice(const std::string &enabledDeviceKey);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/task/src/
H A Dtask_test.cpp267 std::string enabledDeviceKey; in HWTEST_F() local
269 TaskBoard::GetInstance().SaveEnabledDevice(enabledDeviceKey, taskParam); in HWTEST_F()
281 std::string enabledDeviceKey; in HWTEST_F() local
282 TaskBoard::GetInstance().RemoveEnabledDevice(enabledDeviceKey); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info_manager.cpp441 std::string enabledDeviceKey = GetCapabilityKey(capPtr->GetDeviceId(), capPtr->GetDHId()); in HandleCapabilityUpdateChange() local
442 if (TaskBoard::GetInstance().IsEnabledDevice(enabledDeviceKey)) { in HandleCapabilityUpdateChange()
443 DHLOGI("The deviceKey: %{public}s is enabled.", GetAnonyString(enabledDeviceKey).c_str()); in HandleCapabilityUpdateChange()
H A Dmeta_info_manager.cpp475 std::string enabledDeviceKey = GetCapabilityKey(capPtr->GetDeviceId(), capPtr->GetDHId()); in HandleMetaCapabilityUpdateChange() local
476 if (TaskBoard::GetInstance().IsEnabledDevice(enabledDeviceKey)) { in HandleMetaCapabilityUpdateChange()
477 DHLOGI("The deviceKey: %{public}s is enabled.", GetAnonyString(enabledDeviceKey).c_str()); in HandleMetaCapabilityUpdateChange()

Completed in 5 milliseconds