Home
last modified time | relevance | path

Searched refs:notifyKey (Results 1 - 2 of 2) sorted by relevance

/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service_listener.cpp134 std::string notifyKey = ComposeOnlineKey(it, std::string(info.deviceId)); in ProcessDeviceStateChange() local
138 if (alreadyOnlinePkgName_.find(notifyKey) != alreadyOnlinePkgName_.end()) { in ProcessDeviceStateChange()
141 alreadyOnlinePkgName_[notifyKey] = info; in ProcessDeviceStateChange()
166 std::string notifyKey = it + "_" + info.deviceId; in ProcessAppStateChange() local
169 if (alreadyOnlinePkgName_.find(notifyKey) != alreadyOnlinePkgName_.end()) { in ProcessAppStateChange()
172 alreadyOnlinePkgName_[notifyKey] = info; in ProcessAppStateChange()
186 std::string notifyKey = pkgName + "_" + info.deviceId; in ProcessAppStateChange() local
189 if (alreadyOnlinePkgName_.find(notifyKey) != alreadyOnlinePkgName_.end()) { in ProcessAppStateChange()
190 alreadyOnlinePkgName_.erase(notifyKey); in ProcessAppStateChange()
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_test.cpp139 std::string notifyKey; member in __anon8363::PreferencesObserverCrossProcess
158 notifyKey = key; in OnChange()
908 EXPECT_EQ(counter->notifyKey, KEY_TEST_STRING_ELEMENT); in HWTEST_F()

Completed in 3 milliseconds