/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/src/ |
D | app_info_mgr.cpp | 26 void AppInfoMgr::OnForegroundChanged(const int pid, const std::string appName, const int rtGrp) in OnForegroundChanged() argument 28 if (mBackgroundAppList.count(pid)) { in OnForegroundChanged() 29 RME_LOGI("[OnForegroundChanged]: back yes!pid:%{public}d", pid); in OnForegroundChanged() 30 mBackgroundAppList[pid]->SetAppName(appName); in OnForegroundChanged() 31 mBackgroundAppList[pid]->SetAppState(AppState::APP_FOREGROUND); in OnForegroundChanged() 32 mForegroundAppList[pid] = mBackgroundAppList[pid]; in OnForegroundChanged() 33 mBackgroundAppList.erase(pid); in OnForegroundChanged() 35 RME_LOGI("[OnForegroundChanged]: back No!pid:%{public}d", pid); in OnForegroundChanged() 36 …auto appInfo = std::make_shared<AppInfo>(appName, pid, INIT_VAL, INIT_VAL, INIT_VAL, AppState::APP… in OnForegroundChanged() 37 mForegroundAppList[pid] = appInfo; in OnForegroundChanged() [all …]
|
D | intellisense_server.cpp | 73 int pid, AppStateUpdateReason reason) in ReportMessage() argument 79 int rtGrp = AppInfoMgr::GetInstance().GetAppRtgrp(pid); in ReportMessage() 83 rtGrp = RtgMsgMgr::GetInstance().OnForeground(appName, pid); in ReportMessage() 84 AppInfoMgr::GetInstance().OnForegroundChanged(pid, appName, rtGrp); in ReportMessage() 90 RtgMsgMgr::GetInstance().OnBackground(appName, pid, rtGrp); in ReportMessage() 91 AppInfoMgr::GetInstance().OnBackgroundChanged(pid, appName); in ReportMessage() 97 RtgMsgMgr::GetInstance().ProcessDied(pid, -1); in ReportMessage() 98 AppInfoMgr::GetInstance().OnAppTerminateChanged(pid, appName); in ReportMessage() 109 void IntelliSenseServer::ReportWindowFocus(const int pid, int isFocus) in ReportWindowFocus() argument 115 int rtGrp = AppInfoMgr::GetInstance().GetAppRtgrp(pid); in ReportWindowFocus() [all …]
|
D | rtg_msg_mgr.cpp | 37 int RtgMsgMgr::OnForeground(const std::string appName, const int pid) in OnForeground() argument 40 RmeTraceBegin(("FrameC-createRtgGrp-pid"+ to_string(pid)).c_str()); in OnForeground() 43 …ME_LOGE("[OnForeground]: createNewRtgGroup failed! rtGrp:%{public}d, pid: %{public}d", rtGrp, pid); in OnForeground() 47 … RmeTraceBegin(("FrameC-addThread-pid:" + to_string(pid), +" rtgrp:" + to_string(rtGrp)).c_str()); in OnForeground() 48 int ret = AddThreadToRtg(pid, rtGrp, PID_PRIO_TYPE); // add ui thread in OnForeground() 50 …RME_LOGE("[OnFore]:add thread fail! pid:%{public}d,rtg:%{public}d!ret:%{publid}d", pid, rtGrp, ret… in OnForeground() 56 void RtgMsgMgr::OnBackground(const std::string appName, const int pid, const int grpId) in OnBackground() argument 60 RME_LOGE("[OnBackground]:do not find grpid, pid:%{public}d, grpId:%{public}d", pid, grpId); in OnBackground() 76 void RtgMsgMgr::ProcessDied(const int pid, const int tid) in ProcessDied() argument 80 removeTid = pid; in ProcessDied() [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/ |
D | wifi_auth_center.cpp | 39 int WifiAuthCenter::InitPermission(const int &pid, const int &uid) in InitPermission() argument 41 return WifiPermissionHelper::InitPermission(pid, uid); in InitPermission() 44 int WifiAuthCenter::ChangePermission(const std::map<std::string, int> &permissions, const int &pid,… in ChangePermission() argument 49 return WifiPermissionHelper::ChangePermission(permissions, pid, uid); in ChangePermission() 52 int WifiAuthCenter::VerifySetWifiInfoPermission(const int &pid, const int &uid) in VerifySetWifiInfoPermission() argument 57 return WifiPermissionHelper::VerifySetWifiInfoPermission(pid, uid); in VerifySetWifiInfoPermission() 60 int WifiAuthCenter::VerifyGetWifiInfoPermission(const int &pid, const int &uid) in VerifyGetWifiInfoPermission() argument 65 return WifiPermissionHelper::VerifyGetWifiInfoPermission(pid, uid); in VerifyGetWifiInfoPermission() 68 int WifiAuthCenter::VerifyGetScanInfosPermission(const int &pid, const int &uid) in VerifyGetScanInfosPermission() argument 73 return WifiPermissionHelper::VerifyGetScanInfosPermission(pid, uid); in VerifyGetScanInfosPermission() [all …]
|
D | wifi_auth_center.h | 41 int InitPermission(const int &pid, const int &uid); 51 …int ChangePermission(const std::map<std::string, int> &permissions, const int &pid, const int &uid… 60 int VerifySetWifiInfoPermission(const int &pid, const int &uid); 69 int VerifyGetWifiInfoPermission(const int &pid, const int &uid); 78 int VerifyGetScanInfosPermission(const int &pid, const int &uid); 87 int VerifyGetWifiLocalMacPermission(const int &pid, const int &uid); 96 int VerifyWifiConnectionPermission(const int &pid, const int &uid); 105 int VerifySetWifiConfigPermission(const int &pid, const int &uid); 114 int VerifyGetWifiConfigPermission(const int &pid, const int &uid); 123 int VerifyGetWifiDirectDevicePermission(const int &pid, const int &uid); [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/wifi_manage/common/ |
D | wifi_permission_helper.h | 33 static int InitPermission(const int &pid, const int &uid); 42 static int ClearPermission(const int &pid, const int &uid); 52 …static int ChangePermission(const std::map<std::string, int> &permissions, const int &pid, const i… 62 …static IsGranted MockVerifyPermission(const std::string &permissionName, const int &pid, const int… 72 static int VerifyPermission(const std::string &permissionName, const int &pid, const int &uid); 81 static int VerifySetWifiInfoPermission(const int &pid, const int &uid); 90 static int VerifyGetWifiInfoPermission(const int &pid, const int &uid); 99 static int VerifyGetScanInfosPermission(const int &pid, const int &uid); 108 static int VerifyGetWifiLocalMacPermission(const int &pid, const int &uid); 117 static int VerifyWifiConnectionPermission(const int &pid, const int &uid); [all …]
|
D | wifi_permission_helper.cpp | 53 int WifiPermissionHelper::InitPermission(const int &pid, const int &uid) in InitPermission() argument 66 g_pidPermissionMap[pid] = permissionMap; in InitPermission() 73 const std::map<std::string, int> &permissions, const int &pid, const int &uid) in ChangePermission() argument 87 g_pidPermissionMap[pid] = permissionMap; in ChangePermission() 93 int WifiPermissionHelper::ClearPermission(const int &pid, const int &uid) in ClearPermission() argument 96 g_pidPermissionMap.erase(pid); in ClearPermission() 101 …sionHelper::MockVerifyPermission(const std::string &permissionName, const int &pid, const int &uid) in MockVerifyPermission() argument 106 MAP_INT_PERMISSION_MAP::iterator iter = g_pidPermissionMap.find(pid); in MockVerifyPermission() 109 LOGD("can't find PID=%{public}d in g_pidPermissionMap!", pid); in MockVerifyPermission() 160 int WifiPermissionHelper::VerifyPermission(const std::string &permissionName, const int &pid, const… in VerifyPermission() argument [all …]
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
D | ipc_test_helper.cpp | 69 pid_t pid = INVALID_PID; in GetPidByName() local 73 return pid; in GetPidByName() 109 if (sscanf_s(ptr->d_name, "%d", &pid) <= 0) { in GetPidByName() 119 return pid; in GetPidByName() 200 bool IPCTestHelper::StopExecutable(pid_t pid) in StopExecutable() argument 202 if (pid != INVALID_PID) { in StopExecutable() 203 ZLOGI(LABEL, "kill pid = %d\n", pid); in StopExecutable() 204 kill(pid, SIG_KILL); in StopExecutable() 212 pid_t pid = GetPidByName(name); in StopExecutable() local 213 if (pid != INVALID_PID) { in StopExecutable() [all …]
|
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
D | reclaim_priority_manager_test.cpp | 81 int pid = 1000; variable 86 ReclaimPriorityManager::GetInstance().UpdateReclaimPriorityInner(pid, uid, 89 bool isProcExist = ReclaimPriorityManager::GetInstance().IsProcExist(pid, uid, account_id); 92 pid = 1001; 93 isProcExist = ReclaimPriorityManager::GetInstance().IsProcExist(pid, uid, account_id); 96 ReclaimPriorityManager::GetInstance().UpdateReclaimPriorityInner(pid, uid, 120 int pid = 1002; variable 125 ReclaimPriorityManager::GetInstance().UpdateReclaimPriorityInner(pid, uid, 135 ReclaimPriorityManager::GetInstance().UpdateReclaimPriorityInner(pid, uid, 165 int pid = 1005; variable [all …]
|
/foundation/multimedia/media_standard/services/services/sa_media/server/ |
D | media_server_manager.cpp | 86 pid_t pid = IPCSkeleton::GetCallingPid(); in CreatePlayerStubObject() local 87 playerStubMap_[object] = pid; in CreatePlayerStubObject() 88 …IA_LOGD("The number of player services(%{public}zu) pid(%{public}d).", playerStubMap_.size(), pid); in CreatePlayerStubObject() 107 pid_t pid = IPCSkeleton::GetCallingPid(); in CreateRecorderStubObject() local 108 recorderStubMap_[object] = pid; in CreateRecorderStubObject() 109 …OGD("The number of recorder services(%{public}zu) pid(%{public}d).", recorderStubMap_.size(), pid); in CreateRecorderStubObject() 129 pid_t pid = IPCSkeleton::GetCallingPid(); in CreateAVMetadataHelperStubObject() local 130 avMetadataHelperStubMap_[object] = pid; in CreateAVMetadataHelperStubObject() 150 pid_t pid = IPCSkeleton::GetCallingPid(); in CreateAVCodecListStubObject() local 151 avCodecListStubMap_[object] = pid; in CreateAVCodecListStubObject() [all …]
|
/foundation/communication/wifi/services/wifi_standard/wifi_framework/dhcp_manage/dhcp_client/src/ |
D | dhcp_client.c | 57 pid_t pid = GetPID(pidFile); in StopProcess() local 58 if (pid <= 0) { in StopProcess() 63 LOGI("StopProcess() sending signal SIGTERM to process:%{public}d.", pid); in StopProcess() 64 if (-1 == kill(pid, SIGTERM)) { in StopProcess() 66 LOGW("StopProcess() pidFile:%{public}s,pid:%{public}d is not exist.", pidFile, pid); in StopProcess() 70 LOGE("StopProcess() cmd: [kill %{public}d] failed, kill error:%{public}d!", pid, errno); in StopProcess() 80 pid_t pid = GetPID(pidFile); in GetProStatus() local 81 if (pid <= 0) { in GetProStatus() 82 …LOGI("GetProStatus() %{public}s pid:%{public}d, %{public}s is not running.", pidFile, pid, DHCPC_N… in GetProStatus() 85 …LOGI("GetProStatus() %{public}s pid:%{public}d, %{public}s is running.", pidFile, pid, DHCPC_NAME); in GetProStatus()
|
/foundation/communication/wifi/tests/wifi_standard/wifi_framework/wifi_manage/unittest/ |
D | wifi_auth_center_test.cpp | 24 EXPECT_EQ(0, WifiAuthCenter::GetInstance().InitPermission(pid, uid)); 46 EXPECT_EQ(0, WifiAuthCenter::GetInstance().ChangePermission(permissions, pid, uid)); 56 WifiAuthCenter::GetInstance().ChangePermission(permissions, pid, uid); 57 …EXPECT_EQ(PERMISSION_GRANTED, WifiAuthCenter::GetInstance().VerifySetWifiInfoPermission(pid, uid)); 67 WifiAuthCenter::GetInstance().ChangePermission(permissions, pid, uid); 68 … EXPECT_EQ(PERMISSION_DENIED, WifiAuthCenter::GetInstance().VerifySetWifiInfoPermission(pid, uid)); 78 WifiAuthCenter::GetInstance().ChangePermission(permissions, pid, uid); 79 …EXPECT_EQ(PERMISSION_GRANTED, WifiAuthCenter::GetInstance().VerifyGetWifiInfoPermission(pid, uid)); 89 WifiAuthCenter::GetInstance().ChangePermission(permissions, pid, uid); 90 … EXPECT_EQ(PERMISSION_DENIED, WifiAuthCenter::GetInstance().VerifyGetWifiInfoPermission(pid, uid)); [all …]
|
/foundation/communication/dsoftbus/core/connection/p2p/manager/src/ |
D | p2plink_reference.c | 39 int32_t pid; member 47 static RefPidItem *FindPidItem(int32_t pid) in FindPidItem() argument 53 if (item->pid == pid) { in FindPidItem() 89 void AddNewPidItem(int32_t pid, const char* mac) in AddNewPidItem() argument 96 pItem->pid = pid; in AddNewPidItem() 101 void P2pLinkAddPidMacRef(int32_t pid, const char *mac) in P2pLinkAddPidMacRef() argument 106 pItem = FindPidItem(pid); in P2pLinkAddPidMacRef() 108 AddNewPidItem(pid, mac); in P2pLinkAddPidMacRef() 120 void P2pLinkDelPidRef(int32_t pid) in P2pLinkDelPidRef() argument 126 pItem = FindPidItem(pid); in P2pLinkDelPidRef() [all …]
|
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
D | dbinder_service_test_helper.cpp | 51 pid_t pid = INVALID_PID; in GetPidByName() local 55 return pid; in GetPidByName() 81 if (sscanf_s(ptr->d_name, "%d", &pid) <= EOK) { in GetPidByName() 89 return pid; in GetPidByName() 129 pid_t pid = GetPidByName(name); in StartExecutable() local 130 if (pid != INVALID_PID) { in StartExecutable() 132 return pid; in StartExecutable() 147 while (pid == INVALID_PID && res < 10) { // 10:try-time to wait for exe start in StartExecutable() 148 pid = GetPidByName(name); in StartExecutable() 149 DBINDER_LOGI("StartExecutable pid = %{public}d && name = %{public}s", pid, name.c_str()); in StartExecutable() [all …]
|
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/permission/ |
D | permission_helper.cpp | 25 int PermissionHelper::VerifyPermission(const std::string &permissionName, const int &pid, const int… in VerifyPermission() argument 35 LOG_INFO("callerToken=0x%{public}x is invalid token", pid); in VerifyPermission() 41 …LOG_INFO("callerToken=0x%{public}x has no permission_name=%{public}s", pid, permissionName.c_str()… in VerifyPermission() 46 int PermissionHelper::VerifyUseBluetoothPermission(const int &pid, const int &uid) in VerifyUseBluetoothPermission() argument 48 if (VerifyPermission("ohos.permission.USE_BLUETOOTH", pid, uid) == PERMISSION_DENIED) { in VerifyUseBluetoothPermission() 55 int PermissionHelper::VerifyDiscoverBluetoothPermission(const int &pid, const int &uid) in VerifyDiscoverBluetoothPermission() argument 57 if (VerifyPermission("ohos.permission.DISCOVER_BLUETOOTH", pid, uid) == PERMISSION_DENIED) { in VerifyDiscoverBluetoothPermission() 64 int PermissionHelper::VerifyManageBluetoothPermission(const int &pid, const int &uid) in VerifyManageBluetoothPermission() argument 66 if (VerifyPermission("ohos.permission.MANAGE_BLUETOOTH", pid, uid) == PERMISSION_DENIED) { in VerifyManageBluetoothPermission()
|
D | auth_center.cpp | 36 int AuthCenter::VerifyUseBluetoothPermission(const int &pid, const int &uid) in VerifyUseBluetoothPermission() argument 42 return PermissionHelper::VerifyUseBluetoothPermission(pid, uid); in VerifyUseBluetoothPermission() 45 int AuthCenter::VerifyDiscoverBluetoothPermission(const int &pid, const int &uid) in VerifyDiscoverBluetoothPermission() argument 50 return PermissionHelper::VerifyDiscoverBluetoothPermission(pid, uid); in VerifyDiscoverBluetoothPermission() 53 int AuthCenter::VerifyManageBluetoothPermission(const int &pid, const int &uid) in VerifyManageBluetoothPermission() argument 58 return PermissionHelper::VerifyManageBluetoothPermission(pid, uid); in VerifyManageBluetoothPermission()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/ |
D | mem_mgr_bg_task_subscriber.cpp | 45 int pid = ttInfo->GetPid(); in OnTransientTaskStart() local 46 HILOGD("called, pkg=%{public}s, uid=%{public}d, pid=%{public}d", pkgName.c_str(), uid, pid); in OnTransientTaskStart() 47 ReclaimPriorityManager::GetInstance().UpdateReclaimPriority(pid, uid, pkgName, in OnTransientTaskStart() 60 int pid = ttInfo->GetPid(); in OnTransientTaskEnd() local 61 HILOGD("called, pkg=%{public}s, uid=%{public}d, pid=%{public}d", pkgName.c_str(), uid, pid); in OnTransientTaskEnd() 62 ReclaimPriorityManager::GetInstance().UpdateReclaimPriority(pid, uid, pkgName, in OnTransientTaskEnd() 75 pid_t pid = ctInfo->GetCreatorPid(); in OnContinuousTaskStart() local 78 abilityName.c_str(), type, uid, pid); in OnContinuousTaskStart() 79 ReclaimPriorityManager::GetInstance().UpdateReclaimPriority(pid, uid, abilityName, in OnContinuousTaskStart() 92 pid_t pid = ctInfo->GetCreatorPid(); in OnContinuousTaskStop() local [all …]
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/ |
D | app_state_observer.cpp | 63 auto pid = abilityStateData.pid; in OnAbilityStateChanged() local 70 …cgHander->PostTask([cgHander, uid, pid, bundleName, abilityName, token, abilityState, abilityType]… in OnAbilityStateChanged() 71 cgHander->HandleAbilityStateChanged(uid, pid, bundleName, abilityName, in OnAbilityStateChanged() 77 payload["pid"] = abilityStateData.pid; in OnAbilityStateChanged() 93 auto pid = abilityStateData.pid; in OnExtensionStateChanged() local 100 …cgHander->PostTask([cgHander, uid, pid, bundleName, abilityName, token, abilityState, abilityType]… in OnExtensionStateChanged() 101 cgHander->HandleExtensionStateChanged(uid, pid, bundleName, abilityName, in OnExtensionStateChanged() 107 payload["pid"] = abilityStateData.pid; in OnExtensionStateChanged() 123 auto pid = processData.pid; in OnProcessCreated() local 126 cgHander->PostTask([cgHander, uid, pid, bundleName] { in OnProcessCreated() [all …]
|
D | window_state_observer.cpp | 33 auto pid = focusChangeInfo->pid_; in OnFocused() local 36 cgHander->PostTask([cgHander, windowId, token, windowType, displayId, pid, uid] { in OnFocused() 37 cgHander->HandleFocusedWindow(windowId, token, windowType, displayId, pid, uid); in OnFocused() 50 auto pid = focusChangeInfo->pid_; in OnUnfocused() local 53 cgHander->PostTask([cgHander, windowId, token, windowType, displayId, pid, uid] { in OnUnfocused() 54 cgHander->HandleUnfocusedWindow(windowId, token, windowType, displayId, pid, uid); in OnUnfocused() 72 auto pid = info->pid_; in OnWindowVisibilityChanged() local 74 cgHander->PostTask([cgHander, windowId, isVisible, pid, uid] { in OnWindowVisibilityChanged() 75 cgHander->HandleWindowVisibilityChanged(windowId, isVisible, pid, uid); in OnWindowVisibilityChanged()
|
D | cgroup_event_handler.cpp | 150 void CgroupEventHandler::HandleAbilityStateChanged(uid_t uid, pid_t pid, std::string bundleName, in HandleAbilityStateChanged() argument 158 __func__, uid, pid, bundleName.c_str(), abilityName.c_str(), abilityState, abilityType); in HandleAbilityStateChanged() 163 auto procRecord = app->GetProcessRecord(pid); in HandleAbilityStateChanged() 174 auto procRecord = app->GetProcessRecordNonNull(pid); in HandleAbilityStateChanged() 182 void CgroupEventHandler::HandleExtensionStateChanged(uid_t uid, pid_t pid, std::string bundleName, in HandleExtensionStateChanged() argument 190 __func__, uid, pid, bundleName.c_str(), abilityName.c_str(), extensionState, abilityType); in HandleExtensionStateChanged() 195 auto procRecord = app->GetProcessRecord(pid); in HandleExtensionStateChanged() 206 auto procRecord = app->GetProcessRecordNonNull(pid); in HandleExtensionStateChanged() 214 void CgroupEventHandler::HandleProcessCreated(uid_t uid, pid_t pid, std::string bundleName) in HandleProcessCreated() argument 220 …CGS_LOGD("%{public}s : %{public}d, %{public}d, %{public}s", __func__, uid, pid, bundleName.c_str()… in HandleProcessCreated() [all …]
|
/foundation/graphic/standard/rosen/modules/render_service_base/src/command/ |
D | rs_message_processor.cpp | 32 void RSMessageProcessor::AddUIMessage(uint32_t pid, std::unique_ptr<RSCommand>& command) in AddUIMessage() argument 34 transactionMap_[pid].AddCommand(std::move(command)); in AddUIMessage() 37 void RSMessageProcessor::AddUIMessage(uint32_t pid, std::unique_ptr<RSCommand>&& command) in AddUIMessage() argument 39 transactionMap_[pid].AddCommand(std::move(command)); in AddUIMessage() 47 bool RSMessageProcessor::HasTransaction(uint32_t pid) const in HasTransaction() 49 auto iter = transactionMap_.find(pid); in HasTransaction() 53 RSTransactionData&& RSMessageProcessor::GetTransaction(uint32_t pid) in GetTransaction() argument 55 return std::move(transactionMap_[pid]); in GetTransaction()
|
/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_policy/include/ |
D | app_info_mgr.h | 34 void OnForegroundChanged(const int pid, const std::string appName, const int rtGrp); 35 void OnBackgroundChanged(const int pid, const std::string appName); 36 void OnAppTerminateChanged(const int pid, const std::string appName); 37 void OnWindowFocus(const int pid, bool isFocus); 38 bool OnProcessDied(const int pid, const int tid); 40 void SetFocusApp(const int pid, bool isFocus); 41 int GetAppRtgrp(const int pid);
|
/foundation/distributeddatamgr/distributeddatamgr/services/distributeddataservice/service/rdb/ |
D | rdb_service_impl.cpp | 97 void RdbServiceImpl::OnClientDied(pid_t pid) in OnClientDied() argument 99 ZLOGI("client dead pid=%{public}d", pid); in OnClientDied() 100 syncers_.ComputeIfPresent(pid, [this](const auto& key, StoreSyncersType& syncers) { in OnClientDied() 107 notifiers_.Erase(pid); in OnClientDied() 108 identifiers_.EraseIf([pid](const auto& key, pid_t& value) { in OnClientDied() 109 return pid == value; in OnClientDied() 154 pid_t pid = GetCallingPid(); in InitNotifier() local 155 auto recipient = new(std::nothrow) DeathRecipientImpl([this, pid] { in InitNotifier() 156 OnClientDied(pid); in InitNotifier() 167 notifiers_.Insert(pid, iface_cast<RdbNotifierProxy>(notifier)); in InitNotifier() [all …]
|
/foundation/communication/ipc/ipc/test/serializer/ |
D | utils_serializer_test.cpp | 129 int pid = -1; variable 139 pid = fork(); 140 if (pid < 0) { 143 else if (pid == 0) { 152 _exit(pid); 226 int pid = -1; variable 235 pid = fork(); 236 if (pid < 0) { 238 } else if (pid == 0) { 247 _exit(pid); [all …]
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/sched_controller/include/ |
D | cgroup_event_handler.h | 47 …void HandleAbilityStateChanged(uid_t uid, pid_t pid, std::string bundleName, std::string abilityNa… 49 …void HandleExtensionStateChanged(uid_t uid, pid_t pid, std::string bundleName, std::string ability… 51 void HandleProcessCreated(uid_t uid, pid_t pid, std::string bundleName); 52 void HandleProcessDied(uid_t uid, pid_t pid, std::string bundleName); 53 void HandleTransientTaskStart(uid_t uid, pid_t pid, std::string packageName); 54 void HandleTransientTaskEnd(uid_t uid, pid_t pid, std::string packageName); 55 void HandleContinuousTaskStart(uid_t uid, pid_t pid, std::string abilityName); 56 void HandleContinuousTaskCancel(uid_t uid, pid_t pid, std::string abilityName); 59 WindowType windowType, uint64_t displayId, int32_t pid, int32_t uid); 61 WindowType windowType, uint64_t displayId, int32_t pid, int32_t uid); [all …]
|