/foundation/distributedhardware/device_manager/services/service/src/ipc/lite/ |
H A D | ipc_server_listener.cpp | 71 const std::map<std::string, CommonSvcId> &listenerMap = IpcServerListenermgr::GetInstance().GetAllListeners(); in SendAll() local 72 for (const auto &kv : listenerMap) { in SendAll() 98 const std::map<std::string, CommonSvcId> &listenerMap = IpcServerListenermgr::GetInstance().GetAllListeners(); in GetAllPkgName() local 99 for (const auto &kv : listenerMap) { in GetAllPkgName()
|
/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | ipc_utils_test.cpp | 171 std::map<std::string, OHOS::DistributedDeviceProfile::SubscribeInfo> listenerMap; in HWTEST_F() local 172 bool ret = IpcUtils::Marshalling(parcel, listenerMap); in HWTEST_F() 174 ret = IpcUtils::UnMarshalling(parcel, listenerMap); in HWTEST_F() 177 listenerMap.insert({"12345", subscribeInfo}); in HWTEST_F() 178 ret = IpcUtils::Marshalling(parcel, listenerMap); in HWTEST_F() 180 ret = IpcUtils::UnMarshalling(parcel, listenerMap); in HWTEST_F()
|
H A D | distributed_device_profile_stub_new_test.cpp | 63 int32_t SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) override;
226 int32_t MockDistributedDeviceProfileStubNew::SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap)
in SendSubscribeInfos() argument 228 (void)listenerMap;
in SendSubscribeInfos()
|
/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | ipc_utils.cpp | 105 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap) in Marshalling() 107 if (listenerMap.size() == 0 || listenerMap.size() > MAX_LISTENER_SIZE) { in Marshalling() 108 HILOGE("listenerMap size is invalid!size : %{public}zu", listenerMap.size()); in Marshalling() 111 uint32_t size = listenerMap.size(); in Marshalling() 113 for (const auto& item : listenerMap) { in Marshalling() 126 HILOGE("listenerMap size is invalid!size : %{public}zu", changeTypes.size()); in Marshalling() 232 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap) in UnMarshalling() 245 listenerMap[subscribeInf in UnMarshalling() 104 Marshalling(MessageParcel& parcel, const std::map<std::string, OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap) Marshalling() argument 231 UnMarshalling(MessageParcel& parcel, std::map<std::string, OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap) UnMarshalling() argument [all...] |
/foundation/deviceprofile/device_info_manager/common/include/utils/ |
H A D | ipc_utils.h | 46 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap); 54 OHOS::DistributedDeviceProfile::SubscribeInfo>& listenerMap);
|
/foundation/multimedia/av_session/services/session/server/ |
H A D | avsession_service_ext.cpp | 226 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
in NotifyDeviceAvailable() local 227 for (const auto& [pid, listener] : listenerMap) {
in NotifyDeviceAvailable() 242 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
in NotifyDeviceLogEvent() local 243 for (const auto& [pid, listener] : listenerMap) {
in NotifyDeviceLogEvent() 261 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
in NotifyDeviceOffline() local 262 for (const auto& [pid, listener] : listenerMap) {
in NotifyDeviceOffline()
|
H A D | avsession_users_manager.cpp | 213 std::map<pid_t, sptr<ISessionListener>> listenerMap; in AddSessionListener() local 214 listenerMap[pid] = listener; in AddSessionListener() 215 sessionListenersMapByUserId_[curUserId_] = listenerMap; in AddSessionListener() 249 std::map<pid_t, sptr<ISessionListener>> listenerMap; in GetSessionListenerForCurUser() local 250 sessionListenersMapByUserId_[curUserId_] = listenerMap; in GetSessionListenerForCurUser()
|
H A D | avsession_service.cpp | 868 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifySessionCreate() local 869 for (const auto& [pid, listener] : listenerMap) { in NotifySessionCreate() 896 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifySessionRelease() local 897 for (const auto& [pid, listener] : listenerMap) { in NotifySessionRelease() 922 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifyTopSessionChanged() local 923 for (const auto& [pid, listener] : listenerMap) { in NotifyTopSessionChanged() 951 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener(); in NotifyAudioSessionCheck() local 952 for (const auto& [pid, listener] : listenerMap) { in NotifyAudioSessionCheck()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 230 auto listenerMap = cameraManager->GetCameraMngrCallbackMap(); in OnCameraStatusChanged() local 231 MEDIA_DEBUG_LOG("CameraMngrCallbackMap size %{public}d", listenerMap.Size()); in OnCameraStatusChanged() 232 if (listenerMap.IsEmpty()) { in OnCameraStatusChanged() 249 listenerMap.Iterate([&](std::thread::id threadId, in OnCameraStatusChanged() 271 auto listenerMap = cameraManager->GetCameraMngrCallbackMap(); in OnFlashlightStatusChanged() local 272 MEDIA_DEBUG_LOG("CameraMngrCallbackMap size %{public}d", listenerMap.Size()); in OnFlashlightStatusChanged() 273 if (listenerMap.IsEmpty()) { in OnFlashlightStatusChanged() 277 listenerMap.Iterate([&](std::thread::id threadId, std::shared_ptr<CameraManagerCallback> cameraManagerCallback) { in OnFlashlightStatusChanged() 967 auto listenerMap = GetCameraMngrCallbackMap(); in CameraServerDied() local 968 listenerMap in CameraServerDied() 1930 auto listenerMap = cameraManager->GetTorchListenerMap(); OnTorchStatusChange() local 1958 auto listenerMap = cameraManager->GetFoldListenerMap(); OnFoldStatusChanged() local 2033 auto listenerMap = cameraManager->GetCameraMuteListenerMap(); OnCameraMute() local [all...] |
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/include/ |
H A D | distributed_device_profile_proxy.h | 67 int32_t SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) override;
|
/foundation/deviceprofile/device_info_manager/common/include/interfaces/ |
H A D | i_distributed_device_profile.h | 64 virtual int32_t SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) = 0;
|
/foundation/deviceprofile/device_info_manager/services/core/include/ |
H A D | distributed_device_profile_service_new.h | 70 int32_t SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) override;
|
/foundation/deviceprofile/device_info_manager/services/core/src/ |
H A D | distributed_device_profile_stub_new.cpp | 507 std::map<std::string, SubscribeInfo> listenerMap; in SendSubscribeInfosInner() local 508 if (!IpcUtils::UnMarshalling(data, listenerMap)) { in SendSubscribeInfosInner() 512 int32_t ret = SendSubscribeInfos(listenerMap); in SendSubscribeInfosInner()
|
H A D | distributed_device_profile_service_new.cpp | 505 int32_t DistributedDeviceProfileServiceNew::SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) in SendSubscribeInfos() argument 507 return SubscribeProfileManager::GetInstance().SubscribeDeviceProfile(listenerMap); in SendSubscribeInfos()
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/ |
H A D | distributed_device_profile_proxy.cpp | 325 int32_t DistributedDeviceProfileProxy::SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap) in SendSubscribeInfos() argument 331 if (!IpcUtils::Marshalling(data, listenerMap)) { in SendSubscribeInfos()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 664 std::map<std::string, OHOS::DistributedDeviceProfile::SubscribeInfo> listenerMap; in SendSubscribeInfosInner() local 665 if (!IpcUtils::UnMarshalling(data, listenerMap)) { in SendSubscribeInfosInner() 669 int32_t ret = DistributedDeviceProfileServiceNew::GetInstance().SendSubscribeInfos(listenerMap); in SendSubscribeInfosInner()
|