/base/notification/distributed_notification_service/services/ans/src/ |
D | system_event_observer.cpp | 27 SystemEventObserver::SystemEventObserver(const ISystemEvent &callbacks) : callbacks_(callbacks) in SystemEventObserver() 69 if (callbacks_.onBundleRemoved != nullptr) { in OnReceiveEvent() 72 callbacks_.onBundleRemoved(bundleOption); in OnReceiveEvent() 77 if (callbacks_.onScreenOn != nullptr) { in OnReceiveEvent() 78 callbacks_.onScreenOn(); in OnReceiveEvent() 81 if (callbacks_.onScreenOff != nullptr) { in OnReceiveEvent() 82 callbacks_.onScreenOff(); in OnReceiveEvent() 93 if (callbacks_.onResourceRemove != nullptr) { in OnReceiveEvent() 94 callbacks_.onResourceRemove(userId); in OnReceiveEvent() 97 if (callbacks_.onBundleDataCleared != nullptr) { in OnReceiveEvent() [all …]
|
/base/powermgr/power_manager/services/native/src/ |
D | shutdown_service.cpp | 147 auto retIt = callbacks_.insert(object); in AddCallback() 152 callbacks_.size(), retIt.second); in AddCallback() 160 auto it = find(callbacks_.begin(), callbacks_.end(), object); in RemoveCallback() 161 if (it != callbacks_.end()) { in RemoveCallback() 162 callbacks_.erase(it); in RemoveCallback() 165 POWER_HILOGD(FEATURE_SHUTDOWN, "callbacks.size = %{public}zu", callbacks_.size()); in RemoveCallback() 178 for (auto &obj : callbacks_) { in WaitingCallback()
|
D | power_mode_module.cpp | 135 auto retIt = callbacks_.insert(object); in AddCallback() 140 callbacks_.size(), retIt.second); in AddCallback() 148 auto it = find(callbacks_.begin(), callbacks_.end(), object); in RemoveCallback() 149 if (it != callbacks_.end()) { in RemoveCallback() 150 callbacks_.erase(it); in RemoveCallback() 153 POWER_HILOGD(FEATURE_POWER_MODE, "callbacks.size = %{public}zu,", callbacks_.size()); in RemoveCallback() 167 for (auto& obj: callbacks_) { in WaitingCallback()
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_msdp_mock.cpp | 136 callbacks_.insert(std::make_pair(timerFd_, &DeviceStatusMsdpMock::TimerCallback)); in InitTimer() 228 if (callbacks_.empty()) { in LoopingThreadEntry() 232 size_t cbct = callbacks_.size(); in LoopingThreadEntry() 242 (callbacks_.find(events[n].data.fd)->second)(func); in LoopingThreadEntry()
|
D | devicestatus_msdp_rdb.cpp | 234 callbacks_.insert(std::make_pair(timerFd_, &DevicestatusMsdpRdb::TimerCallback)); in InitTimer() 314 size_t cbct = callbacks_.size(); in LoopingThreadEntry() 327 (callbacks_.find(events[n].data.fd)->second)(func); in LoopingThreadEntry()
|
D | devicestatus_sensor_rdb.cpp | 252 callbacks_.insert(std::make_pair(timerFd_, &DevicestatusSensorRdb::TimerCallback)); in InitTimer() 332 size_t cbct = callbacks_.size(); in LoopingThreadEntry() 345 (callbacks_.find(events[n].data.fd)->second)(func); in LoopingThreadEntry()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | system_event_observer.h | 49 ISystemEvent callbacks_; variable
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | soft_bus_channel.cpp | 44 : deviceId_(deviceId), mutex_(), callbacks_(), responseResult_(""), loadedCond_() in SoftBusChannel() 157 callbacks_.insert(std::pair<std::string, std::function<void(std::string)>>(uuid, callback)); in ExecuteCommand() 168 callbacks_.erase(uuid); in ExecuteCommand() 176 callbacks_.erase(uuid); in ExecuteCommand() 397 auto callback = callbacks_.find(id); in HandleResponse() 398 if (callback != callbacks_.end()) { in HandleResponse() 400 callbacks_.erase(callback); in HandleResponse()
|
/base/powermgr/power_manager/services/native/include/ |
D | power_mode_module.h | 56 std::set<sptr<IRemoteObject>> callbacks_; variable
|
D | shutdown_service.h | 58 std::set<sptr<IRemoteObject>> callbacks_; variable
|
/base/msdp/device_status/libs/include/ |
D | devicestatus_msdp_mock.h | 68 std::map<int32_t, Callback> callbacks_; variable
|
D | devicestatus_msdp_rdb.h | 73 std::map<int32_t, Callback> callbacks_; variable
|
D | devicestatus_sensor_rdb.h | 75 std::map<int32_t, Callback> callbacks_; variable
|
/base/security/access_token/services/tokensyncmanager/include/remote/ |
D | soft_bus_channel.h | 281 std::map<std::string, std::function<void(std::string)>> callbacks_; variable
|