/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/ |
H A D | cgroup_adjuster.cpp | 63 std::string filePath = ResSchedUtils::GetInstance().GetProcessFilePath(app.GetUid(), app.GetName(), pr.GetPid()); in AdjustForkProcessGroup() 86 if (forkPid != pr.GetPid()) { in AdjustForkProcessGroup() 102 CGS_LOGI("%{public}s for %{public}d, source : %{public}d", __func__, pr.GetPid(), source); in AdjustProcessGroup() 107 if (!app.IsHostProcess(pr.GetPid())) { in AdjustProcessGroup() 118 if (!hostProcRecord || (procRecord->hostPid_ != pr.GetPid())) { in AdjustProcessGroup() 122 __func__, procRecord->GetPid(), source); in AdjustProcessGroup() 127 __func__, procRecord->GetPid(), AdjustSource::ADJS_SELF_RENDER_THREAD); in AdjustProcessGroup() 170 } else if (app.focusedProcess_ && (app.focusedProcess_->GetPid() == pr.GetPid())) { in ComputeProcessGroup() 203 pid_t pid = pr.GetPid(); in ApplyProcessGroup() [all...] |
H A D | background_task_observer.cpp | 33 payload["pid"] = std::to_string(info->GetPid()); in MarshallingTransientTaskAppInfo() 43 /* class TransientTaskAppInfo {std::string& GetPackageName(); int32_t GetUid(); int32_t GetPid();} */ in OnTransientTaskStart() 47 auto pid = info->GetPid(); in OnTransientTaskStart() 70 auto pid = info->GetPid(); in OnTransientTaskEnd() 193 payload["pid"] = resourceInfo->GetPid(); in MarshallingResourceInfo()
|
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | anr_manager.cpp | 118 MMI_HILOGD("Not application event, skip. pid:%{public}d, anr type:%{public}d", sess->GetPid(), type); in AddTimer() 127 if (type == ANR_MONITOR || WIN_MGR->IsWindowVisible(sess->GetPid())) { in AddTimer() 131 sess->GetPid(), type, id); in AddTimer() 134 pkt << sess->GetPid(); in AddTimer() 169 MMI_HILOGD("Not application event, skip. pid:%{public}d, anr type:%{public}d", sess->GetPid(), type); in TriggerANR() 173 MMI_HILOGD("Application not responding. pid:%{public}d, anr type:%{public}d", sess->GetPid(), type); in TriggerANR() 184 if (anrNoticedPid_ == session->GetPid()) { in OnSessionLost()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/ |
H A D | mock_application.cpp | 40 if (GetProcessInfo()->GetPid() == INMOCKAPPLICATION_TWO) { in OnConfigurationUpdated() 55 if (GetProcessInfo()->GetPid() == INMOCKAPPLICATION_TWO) { in OnMemoryLevel() 85 if (GetProcessInfo()->GetPid() == INMOCKAPPLICATION_THREE) { in OnStart() 108 } else if (GetProcessInfo()->GetPid() == INMOCKAPPLICATION_ONE) { in OnStart()
|
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_subscriber_handler.cpp | 127 keyOption->GetFinalKeyDownDuration(), sess->GetPid()); in SubscribeKeyEvent() 149 MMI_HILOGI("SubscribeId:%{public}d, pid:%{public}d", subscribeId, sess->GetPid()); in UnsubscribeKeyEvent() 176 option->IsFinalKeyDown() ? "true" : "false", option->GetFinalKeyDownDuration(), sess->GetPid()); in RemoveSubscriber() 191 subscriber->timerId_ = keyGestureMgr_.AddKeyGesture(subscriber->sess_->GetPid(), keyOption, in AddKeyGestureSubscriber() 228 option->IsFinalKeyDown() ? "true" : "false", option->GetFinalKeyDownDuration(), sess->GetPid()); in RemoveKeyGestureSubscriber() 301 keyOption->GetFinalKeyDownDuration(), sess->GetPid()); in SubscribeHotkey() 315 MMI_HILOGI("SubscribeId:%{public}d, pid:%{public}d", subscribeId, sess->GetPid()); in UnsubscribeHotkey() 318 MMI_HILOGW("No hot key subscription(%{public}d, No.%{public}d)", sess->GetPid(), subscribeId); in UnsubscribeHotkey() 334 subscriber->shortcutId_ = RegisterSystemKey(option, subscriber->sess_->GetPid(), in AddSubscriber() 340 subscriber->shortcutId_ = RegisterHotKey(option, subscriber->sess_->GetPid(), in AddSubscriber() [all...] |
H A D | key_gesture_manager.cpp | 158 return (foregroundApps.find(handler.GetPid()) != foregroundApps.cend()); in HaveForegroundHandler() 169 if (!haveForeground || (foregroundPids.find(handler.GetPid()) != foregroundPids.end())) { in TriggerHandlers() 193 if (!haveForeground || (foregroundPids.find(handler.GetPid()) != foregroundPids.end())) { in NotifyHandlers() 211 output << "[" << handler.GetId() << "," << handler.GetPid() in ShowHandlers() 212 << (foregroundPids.find(handler.GetPid()) != foregroundPids.cend() ? ",F]" : ",B]"); in ShowHandlers() 268 if (!haveForeground || (foregroundPids.find(handler.GetPid()) != foregroundPids.end())) { in RunPendingHandlers()
|
/foundation/multimodalinput/input/intention/ipc/socket/include/ |
H A D | socket_session.h | 37 int32_t GetPid() const override; 61 inline int32_t SocketSession::GetPid() const in GetPid() function in OHOS::Msdp::DeviceStatus::SocketSession
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | pkg_delay_suspend_info.cpp | 103 pkg_.c_str(), info->GetRequestId(), info->GetPid()); in StartAccounting() 117 pkg_.c_str(), info->GetRequestId(), info->GetPid()); in StopAccounting() 131 pkg_.c_str(), info->GetRequestId(), info->GetPid()); in StopAccountingAll()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_running_manager.cpp | 259 return pair.second->GetPriorityObject()->GetPid() == pid; in GetAppRunningRecordByPid() 288 pid_t pid = appRecord->GetPriorityObject()->GetPid(); in ProcessExitByBundleName() 317 pid_t pid = appRecord->GetPriorityObject()->GetPid(); in GetPidsByUserId() 363 pid_t pid = appRecord->GetPriorityObject()->GetPid(); in ProcessExitByBundleNameAndUid() 393 pid_t pid = appRecord->GetPriorityObject()->GetPid(); in GetPidsByBundleNameUserIdAndAppIndex() 445 TAG_LOGI(AAFwkTag::APPMGR, "pid: %{public}d", priorityObject->GetPid()); in OnRemoteDied() 447 appMgrServiceInner->KillProcessByPid(priorityObject->GetPid(), "OnRemoteDied"); in OnRemoteDied() 449 AbilityRuntime::FreezeUtil::GetInstance().DeleteAppLifecycleEvent(priorityObject->GetPid()); in OnRemoteDied() 453 RemoveUIExtensionLauncherItem(appRecord->GetPriorityObject()->GetPid()); in OnRemoteDied() 482 RemoveUIExtensionLauncherItem(appRecord->GetPriorityObject()->GetPid()); in RemoveAppRunningRecordById() [all...] |
H A D | app_mgr_event.cpp | 37 return callerAppRecord->GetPriorityObject()->GetPid(); in GetCallerPid() 124 eventInfo.pid = appRecord->GetPriorityObject()->GetPid(); in SendProcessStartEvent() 164 eventInfo.pid = appRecord->GetPriorityObject()->GetPid(); in SendProcessStartFailedEvent() 212 eventInfo.callerPid = hostRecord->GetPriorityObject() != nullptr ? hostRecord->GetPriorityObject()->GetPid() : -1; in SendChildProcessStartFailedEvent() 244 eventInfo.callerPid = hostRecord->GetPriorityObject() != nullptr ? hostRecord->GetPriorityObject()->GetPid() : -1; in SendRenderProcessStartFailedEvent()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/include/ |
H A D | app_running_record.h | 32 inline int GetPid() const in GetPid() function in OHOS::AppExecFwk::AppRunningRecord
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_device_manager.cpp | 95 pidToCameras_.Erase((*it)->GetPid());
in RemoveDevice() 293 int32_t owner = cameraRequestOpen->GetPid();
in WouldEvict() 303 highestPriorityOwner = x->GetPid();
in WouldEvict() 314 int32_t curOwner = x->GetPid();
in WouldEvict() 415 activeCameraHolder->GetPriority()->GetUid(), activeCameraHolder->GetPid(),
in PrintClientInfo() 422 requestCameraHolder->GetPriority()->GetUid(), requestCameraHolder->GetPid(),
in PrintClientInfo() 433 if (pid == x->GetPid()) {
in IsMultiCameraActive()
|
/foundation/multimodalinput/input/service/event_dispatch/src/ |
H A D | event_dispatch_handler.cpp | 332 static_cast<uint32_t>(sess->GetPid()), pointerEvent->GetPointerCount()); in DispatchPointerEventInner() 338 sess->GetProgramName().c_str(), sess->GetPid(), pointerEvent->GetPointerAction()); in DispatchPointerEventInner() 344 if (sess->GetPid() != AppDebugListener::GetInstance()->GetAppDebugPid() && pointerEvent->IsMarkEnabled()) { in DispatchPointerEventInner() 345 MMI_HILOGD("Session pid:%{public}d", sess->GetPid()); in DispatchPointerEventInner() 414 key->GetId(), session->GetProgramName().c_str(), session->GetPid()); in DispatchKeyEvent() 419 if (session->GetPid() != AppDebugListener::GetInstance()->GetAppDebugPid()) { in DispatchKeyEvent() 420 MMI_HILOGD("Session pid:%{public}d", session->GetPid()); in DispatchKeyEvent()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/src/ |
H A D | mock_app_mgr_service_inner.cpp | 69 appRecord->GetPid(), watermarkBusinessName, isWatermarkEnabled)); in ProcessKia() 76 appRecord->GetPid(), isWatermarkEnabled)); in ProcessKia()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/scene_board/ |
H A D | status_bar_delegate_manager.cpp | 75 auto ret = statusBarDelegate->AttachPidToStatusBarItem(accessTokenId, abilityRecord->GetPid()); in DoProcessAttachment() 96 auto ret = statusBarDelegate->AttachPidToStatusBarItem(accessTokenId, abilityRecord->GetPid()); in DoCallerProcessAttachment()
|
/foundation/resourceschedule/device_standby/plugins/message_listener/src/ |
H A D | background_task_listener.cpp | 65 OnTaskStatusChanged(TRANSIENT_TASK, true, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskStart() 73 OnTaskStatusChanged(TRANSIENT_TASK, false, info->GetUid(), info->GetPid(), info->GetPackageName()); in OnAppTransientTaskEnd()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
H A D | bg_task_observer.cpp | 35 int pid = ttInfo->GetPid(); in OnTransientTaskStart() 51 int pid = ttInfo->GetPid(); in OnTransientTaskEnd()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/include/ |
H A D | background_task_observer.h | 64 return info->GetUid() > 0 && info->GetPid() >= 0 in ValidateTaskInfo() 77 return std::to_string(info->GetPid()) + "," + std::to_string(info->GetUid()) + "," + info->GetPackageName(); in PackPayload()
|
/foundation/multimodalinput/input/intention/ipc/socket/src/ |
H A D | socket_session_manager.cpp | 122 return ((item.second != nullptr) && (item.second->GetPid() == pid)); in FindSessionByPid() 173 return ((item.second != nullptr) && (item.second->GetPid() == pid)); in ReleaseSessionByPid() 253 FI_HILOGD("Session lost, pid:%{public}d", session->GetPid()); in NotifySessionDeleted() 254 if (auto iter = callbacks_.find(session->GetPid()); iter != callbacks_.end()) { in NotifySessionDeleted()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | process_info.h | 49 inline pid_t GetPid() const in GetPid() function in OHOS::AppExecFwk::ProcessInfo
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/task/ |
H A D | ability_attach_task.cpp | 39 client_->GetToken(), client_->GetPid()));
in Execute()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/include/ |
H A D | common_tool.h | 33 int32_t GetPid(const std::string &processName);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/memory/ |
H A D | rs_memory_graphic.h | 39 int32_t GetPid() const;
|
/foundation/multimodalinput/input/intention/prototype/include/ |
H A D | i_socket_session.h | 43 virtual int32_t GetPid() const = 0;
|
/foundation/resourceschedule/background_task_mgr/services/transient_task/include/ |
H A D | delay_suspend_info_ex.h | 35 inline int32_t GetPid() const in GetPid() function in OHOS::BackgroundTaskMgr::DelaySuspendInfoEx
|