/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | observer_manager.cpp | 318 RESSCHED_LOGI("ObserverManager Init audio observer, pid: %{public}d", pid_); in InitAudioObserver() 502 int32_t pid = std::get<TUPLE_PID>(data->first); in GetAllMmiStatusData() local 507 "get mmi subscribed events, pid:%{public}d, uid:%{public}d, bundleName:%{public}s, status:%{public}d.", in GetAllMmiStatusData() 508 pid, uid, bundleName.c_str(), status); in GetAllMmiStatusData() 510 payload["pid"] = pid; in GetAllMmiStatusData()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_manager_test/ |
H A D | trans_channel_manager_test.cpp | 355 int32_t pid = 1; in HWTEST_F() local 357 TransProxyDeathCallback(NULL, pid); in HWTEST_F() 358 TransChannelDeathCallback(NULL, pid); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_server_tcp_direct_test.cpp | 692 int32_t pid = 0; in HWTEST_F() local 696 int32_t ret = TransServerOnChannelOpenFailed(pkgName, pid, channelId, channelType, errCode); in HWTEST_F() 699 ret = TransServerOnChannelOpenFailed(NULL, pid, channelId, channelType, errCode); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | softbus_trans_proxy_transceiver_test.cpp | 216 int32_t pid = 0; in HWTEST_F() local 217 int32_t ret = TransProxyTransSendMsg(connectionId, buf, len, priority, pid); in HWTEST_F() 220 ret = TransProxyTransSendMsg(connectionId, buf, len, priority, pid); in HWTEST_F()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/ |
H A D | wifi_scan_stub.cpp | 326 int pid = data.ReadInt32(); in OnRegisterCallBack() local 335 WIFI_LOGD("%{public}s, get pid: %{public}d, tokenId: %{private}d", __func__, pid, tokenId); in OnRegisterCallBack() 352 ret = WifiInternalEventDispatcher::GetInstance().AddScanCallback(remote, callback_, pid, eventName, in OnRegisterCallBack()
|
/foundation/distributeddatamgr/pasteboard/services/core/include/ |
H A D | pasteboard_service.h | 264 void ShowHintToast(uint32_t tokenId, uint32_t pid); 331 PasteboardDeathRecipient(PasteboardService &service, sptr<IRemoteObject> observer, pid_t pid); 340 int32_t AppExit(pid_t pid);
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_input_manager.cpp | 75 if (a.id != b.id || a.pid != b.pid || a.uid != b.uid || a.agentWindowId != b.agentWindowId || a.flags != b.flags ||
in IsEqualWindowInfo() 416 std::to_string(e.pid) + "|" +
in PrintWindowInfo()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcapture_session.cpp | 95 static void TotalSessionsInsert(pid_t pid, sptr<HCaptureSession> session) in TotalSessionsInsert() argument 98 auto it = g_totalSessions.find(pid); in TotalSessionsInsert() 100 MEDIA_ERR_LOG("HCaptureSession TotalSessionsInsert insert session but pid already exist!, memory leak may " in TotalSessionsInsert() 101 "occurred, pid is:%{public}d", in TotalSessionsInsert() 102 pid); in TotalSessionsInsert() 106 g_totalSessions.emplace(pid, session); in TotalSessionsInsert() 109 static sptr<HCaptureSession> TotalSessionsGet(pid_t pid) in TotalSessionsGet() argument 112 auto it = g_totalSessions.find(pid); in TotalSessionsGet() 117 static void TotalSessionErase(pid_t pid) in TotalSessionErase() argument 120 g_totalSessions.erase(pid); in TotalSessionErase() 1515 DestroyStubObjectForPid(pid_t pid) DestroyStubObjectForPid() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_connect_test.cpp | 159 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in AddSession() 186 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in AddConnectInfo() 697 * @tc.desc: connect remote ability whith error uid and pid
909 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in HWTEST_F() 943 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in HWTEST_F() 1007 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in HWTEST_F() 1187 callerInfo.pid = IPCSkeleton::GetCallingRealPid();
in HWTEST_F() 1387 int32_t pid = IPCSkeleton::GetCallingRealPid();
in HWTEST_F() local 1389 int32_t ret = DistributedSchedService::GetInstance().ConnectRemoteAbility(want, connect, uid, pid, accessToken);
in HWTEST_F()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | ability_manager_service.h | 1409 * @param pid Process id 1413 virtual int VerifyPermission(const std::string &permission, int pid, int uid) override; 1433 * @param pid Process id . 1437 virtual int32_t ForceExitApp(const int32_t pid, const ExitReason &exitReason) override; 1441 * @param pid The process id. 1445 virtual int32_t RecordProcessExitReason(const int32_t pid, const ExitReason &exitReason) override; 1763 * @param pidList, the pid list of the frozen process. 1852 * @param pid process pid. 1855 void NotifyAppPreCache(int32_t pid, int32_ [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_server.cpp | 384 int pid = getpid(); in NotifyProcessStatus() local 400 notifyProcessStatus(pid, SYSTEM_PROCESS_TYPE, SYSTEM_STATUS_START, AUDIO_DISTRIBUTED_SERVICE_ID); in NotifyProcessStatus() 404 notifyProcessStatus(pid, SYSTEM_PROCESS_TYPE, SYSTEM_STATUS_STOP, AUDIO_DISTRIBUTED_SERVICE_ID); in NotifyProcessStatus() 1431 // client pid uid check. in ResetProcessConfig() 1439 AUDIO_INFO_LOG("Use true client appInfo instead for pid:%{public}d uid:%{public}d", callerPid, callerUid); in ResetProcessConfig() 2004 void AudioServer::AudioServerDied(pid_t pid, pid_t uid) in AudioServerDied() argument 2013 pid_t pid = IPCSkeleton::GetCallingPid(); in RegisterPolicyServerDeathRecipient() local 2015 sptr<AudioServerDeathRecipient> deathRecipient_ = new(std::nothrow) AudioServerDeathRecipient(pid, uid); in RegisterPolicyServerDeathRecipient() 2021 deathRecipient_->SetNotifyCb([this] (pid_t pid, pid_t uid) { this->AudioServerDied(pid, ui in RegisterPolicyServerDeathRecipient() 2033 int32_t pid = IPCSkeleton::GetCallingPid(); RequestThreadPriority() local [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/client/src/proxy/ |
H A D | audio_policy_proxy.cpp | 431 bool AudioPolicyProxy::IsAllowedPlayback(const int32_t &uid, const int32_t &pid) in IsAllowedPlayback() argument 440 data.WriteInt32(pid); in IsAllowedPlayback() 522 std::string AudioPolicyProxy::GetSelectedDeviceInfo(int32_t uid, int32_t pid, AudioStreamType streamType) in GetSelectedDeviceInfo() argument 531 data.WriteInt32(pid); in GetSelectedDeviceInfo() 1604 for (int32_t pid : pids) { in CreateAudioInterruptZone() 1605 data.WriteInt32(pid); in CreateAudioInterruptZone() 1628 for (int32_t pid : pids) { in AddAudioInterruptZonePids() 1629 data.WriteInt32(pid); in AddAudioInterruptZonePids() 1651 for (int32_t pid : pids) { in RemoveAudioInterruptZonePids() 1652 data.WriteInt32(pid); in RemoveAudioInterruptZonePids() [all...] |
/foundation/window/window_manager/window_scene/session_manager/src/zidl/ |
H A D | scene_session_manager_proxy.cpp | 1212 WMError SceneSessionManagerProxy::CheckWindowId(int32_t windowId, int32_t& pid) in CheckWindowId() argument 1236 if (!reply.ReadInt32(pid)) { in CheckWindowId() 1237 WLOGFE("Failed to read pid"); in CheckWindowId() 1666 WSError SceneSessionManagerProxy::NotifyWindowExtensionVisibilityChange(int32_t pid, int32_t uid, bool visible) in NotifyWindowExtensionVisibilityChange() argument 1678 if (!data.WriteInt32(pid)) { in NotifyWindowExtensionVisibilityChange() 1679 WLOGFE("pid write failed."); in NotifyWindowExtensionVisibilityChange() 1688 WLOGFE("pid write failed."); in NotifyWindowExtensionVisibilityChange() 2235 WMError SceneSessionManagerProxy::GetProcessSurfaceNodeIdByPersistentId(const int32_t pid, in GetProcessSurfaceNodeIdByPersistentId() argument 2245 if (!data.WriteInt32(pid)) { in GetProcessSurfaceNodeIdByPersistentId() 2246 TLOGE(WmsLogTag::DEFAULT, "Write pid faile in GetProcessSurfaceNodeIdByPersistentId() 2268 SkipSnapshotForAppProcess(int32_t pid, bool skip) SkipSnapshotForAppProcess() argument 2326 SetProcessWatermark(int32_t pid, const std::string& watermarkName, bool isEnabled) SetProcessWatermark() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_first_test/ |
H A D | mission_list_manager_first_test.cpp | 492 int32_t pid = 101; in HWTEST_F() local 495 missionListManager->GetActiveAbilityList(uid, abilityList, pid); in HWTEST_F() 503 missionListManager->GetActiveAbilityList(uid, abilityList, pid); in HWTEST_F() 507 pid = NO_PID; in HWTEST_F() 518 missionListManager->GetActiveAbilityList(uid, abilityList, pid); in HWTEST_F()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_proxy.cpp | 345 PARCEL_WRITE_HELPER(data, Int32, callerInfo.pid); in ConnectAbilityFromRemote() 404 PARCEL_WRITE_HELPER(data, Int32, callerInfo.pid); in NotifyProcessDiedFromRemote() 673 PARCEL_WRITE_HELPER(data, Int32, callerInfo.pid); in NotifyMissionsChangedFromRemote() 747 PARCEL_WRITE_HELPER_RET(data, Int32, callerInfo.pid, false); in CallerInfoMarshalling() 829 PARCEL_WRITE_HELPER(data, Int32, callerInfo.pid); in StartAbilityByCallFromRemote()
|
/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_manager_test.cpp | 195 int32_t pid = 0; in HWTEST_F() local 200 g_transEventListener.onPostBytesFinished(connectionId, len, pid, flag, module, seq, error); in HWTEST_F() 209 g_transEventListener.onPostBytesFinished(connection->connectionId, len, pid, flag, module, seq, error); in HWTEST_F() 350 int32_t pid = 0; in HWTEST_F() local 354 ret = g_bleInterface->PostBytes(connectionId, data, dataLen, pid, flag, module, seq); in HWTEST_F()
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_object_proxy.cpp | 276 std::string IPCObjectProxy::GetSessionNameForPidUid(uint32_t uid, uint32_t pid) in GetSessionNameForPidUid() argument 278 if (pid == static_cast<uint32_t>(getpid())) { in GetSessionNameForPidUid() 279 ZLOGE(LABEL, "TransDataBusName can't write local pid. my/remotePid:%{public}u/%{public}u", getpid(), pid); in GetSessionNameForPidUid() 285 if (!data.WriteUint32(pid) || !data.WriteUint32(uid)) { in GetSessionNameForPidUid() 286 ZLOGE(LABEL, "TransDataBusName write pid/uid:%{public}u/%{public}u failed", pid, uid); in GetSessionNameForPidUid()
|
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_lifecycle_test.cpp | 922 int32_t pid = 10; in HWTEST_F() local 928 sceneSession->SetCallingPid(pid); in HWTEST_F() 934 sceneSession2->SetCallingPid(pid); in HWTEST_F() 937 ssm_->RecoveryVisibilityPidCount(pid); in HWTEST_F() 938 EXPECT_EQ(1, ssm_->visibleWindowCountMap_[pid]); in HWTEST_F()
|
/foundation/window/window_manager_lite/services/wms/ |
H A D | lite_wm.cpp | 328 LiteWindow* LiteWM::CreateWindow(const LiteWinConfig& config, pid_t pid) in CreateWindow() argument 342 window->SetPid(pid); in CreateWindow() 756 void LiteWM::OnClientDeathNotify(pid_t pid) in OnClientDeathNotify() argument 765 GRAPHIC_LOGI("window->GetPid() = %d,pid = %d", window->GetPid(), pid); in OnClientDeathNotify() 766 if (window->GetPid() == pid) { in OnClientDeathNotify()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_render_service_connection_proxy.cpp | 140 "MarshRSTransactionData cmdCount:%{public}lu transactionFlag:[pid:%{public}d index:%{public}" PRIu64 "]", in FillParcelWithTransactionData() 353 int32_t pid, int32_t uid, const std::string &bundleName, const std::string &abilityName, uint64_t focusNodeId) in SetFocusAppInfo() 364 if (!data.WriteInt32(pid)) { in SetFocusAppInfo() 1054 std::string RSRenderServiceConnectionProxy::GetRefreshInfo(pid_t pid) in GetRefreshInfo() argument 1065 if (!data.WriteInt32(pid)) { in GetRefreshInfo() 1171 void RSRenderServiceConnectionProxy::RegisterApplicationAgent(uint32_t pid, sptr<IApplicationAgent> app) in RegisterApplicationAgent() argument 1182 if (!data.WriteUint32(pid)) { in RegisterApplicationAgent() 1387 MemoryGraphic RSRenderServiceConnectionProxy::GetMemoryGraphic(int pid) in GetMemoryGraphic() argument 1398 if (!data.WriteInt32(pid)) { in GetMemoryGraphic() 2675 if (!data.WriteInt32(info.pid)) { in ReportGameStateDataRs() 352 SetFocusAppInfo( int32_t pid, int32_t uid, const std::string &bundleName, const std::string &abilityName, uint64_t focusNodeId) SetFocusAppInfo() argument 3217 RegisterSurfaceBufferCallback( pid_t pid, uint64_t uid, sptr<RSISurfaceBufferCallback> callback) RegisterSurfaceBufferCallback() argument 3254 UnregisterSurfaceBufferCallback(pid_t pid, uint64_t uid) UnregisterSurfaceBufferCallback() argument [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/ |
H A D | camera_manager.cpp | 953 void CameraManager::CameraServerDied(pid_t pid) in CameraServerDied() argument 955 MEDIA_ERR_LOG("camera server has died, pid:%{public}d!", pid); in CameraServerDied() 981 pid_t pid = 0; in AddServiceProxyDeathRecipient() local 982 deathRecipient_ = new (std::nothrow) CameraDeathRecipient(pid); in AddServiceProxyDeathRecipient() 986 deathRecipient_->SetNotifyCb([thisPtr](pid_t pid) { in AddServiceProxyDeathRecipient() 989 cameraManagerPtr->CameraServerDied(pid); in AddServiceProxyDeathRecipient() 1168 void CameraManager::GetCameraOutputStatus(int32_t pid, int32_t &status) in GetCameraOutputStatus() argument 1174 int32_t retCode = serviceProxy->GetCameraOutputStatus(pid, status); in GetCameraOutputStatus() 1392 int pid in ReportEvent() local 2230 int32_t pid = IPCSkeleton::GetCallingPid(); SetTorchMode() local [all...] |
/foundation/distributeddatamgr/pasteboard/services/core/src/ |
H A D | pasteboard_service.cpp | 329 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_SERVICE, "check permission failed, calling pid is %{public}d", callPid); in GetRecordValueByType() 1159 void PasteboardService::ShowHintToast(uint32_t tokenId, uint32_t pid) in ShowHintToast() argument 1919 PASTEBOARD_HILOGD(PASTEBOARD_MODULE_SERVICE, "pid is same, it is focused app"); in IsFocusedApp() 2351 int32_t PasteboardService::AppExit(pid_t pid) in AppExit() argument 2353 PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "pid %{public}d exit.", pid); in AppExit() 2355 p2pMap_.EraseIf([pid, &networkIds, this](auto &networkId, auto &pidMap) { in AppExit() 2356 pidMap.EraseIf([pid, this](auto &key, auto &value) { in AppExit() 2357 if (value == pid) { in AppExit() 2372 clients_.Erase(pid); in AppExit() 2382 PasteboardDeathRecipient( PasteboardService &service, sptr<IRemoteObject> observer, pid_t pid) PasteboardDeathRecipient() argument 2391 pid_t pid = IPCSkeleton::GetCallingPid(); RegisterClientDeathObserver() local [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/include/scene_board/ |
H A D | ui_ability_lifecycle_manager.h | 273 void GetActiveAbilityList(int32_t uid, std::vector<std::string> &abilityList, int32_t pid = NO_PID); 441 bool CheckPid(const std::shared_ptr<AbilityRecord> abilityRecord, const int32_t pid) const;
|
/foundation/ability/ability_runtime/test/unittest/connection_state_manager_test/ |
H A D | connection_state_manager_test.cpp | 563 int32_t pid = 0; in HWTEST_F() local 564 manager_->HandleAppDied(pid); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/ability_manager_stub_test/ |
H A D | ability_manager_stub_impl_mock.h | 405 abilityStateDataOne.pid = ABILITY_STATE_FIRST_UID; 416 abilityStateDataTwo.pid = ABILITY_STATE_SECOND_UID;
|