/ohos5.0/base/location/services/location_locator/locator/source/ |
H A D | request_manager.cpp | 137 void RequestManager::IncreaseWorkingPidsCount(const pid_t pid) in IncreaseWorkingPidsCount() 147 void RequestManager::DecreaseWorkingPidsCount(const pid_t pid) in DecreaseWorkingPidsCount() 158 bool RequestManager::IsNeedStartUsingPermission(const pid_t pid) in IsNeedStartUsingPermission() 170 bool RequestManager::IsNeedStopUsingPermission(const pid_t pid) in IsNeedStopUsingPermission() 544 pid_t pid = request->GetPid(); in AddRequestToWorkRecord() local 631 void RequestManager::HandlePowerSuspendChanged(int32_t pid, int32_t uid, int32_t state) in HandlePowerSuspendChanged() 654 auto pid = request->GetPid(); in UpdateRunningUids() local 690 void RequestManager::ReportDataToResSched(std::string state, const pid_t pid, const pid_t uid) in ReportDataToResSched() 842 void LocationErrRequest::SetPid(pid_t pid) in SetPid()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/ |
H A D | rs_memory_manager.cpp | 113 void MemoryManager::ReleaseAllGpuResource(Drawing::GPUContext* gpuContext, pid_t pid) in ReleaseAllGpuResource() 168 void MemoryManager::ReleaseUnlockGpuResource(Drawing::GPUContext* grContext, pid_t pid) in ReleaseUnlockGpuResource() 269 void MemoryManager::DumpPidMemory(DfxString& log, int pid, const Drawing::GPUContext* gpuContext) in DumpPidMemory() 277 MemoryGraphic MemoryManager::CountPidMemory(int pid, const Drawing::GPUContext* gpuContext) in CountPidMemory() 301 auto countMem = [&gpuContext, &mems] (pid_t pid) { in CountMemory() 644 static void KillProcessByPid(const pid_t pid, const std::string& processName, const std::string& re… in KillProcessByPid() 667 void MemoryManager::MemoryOverflow(pid_t pid, size_t overflowMemory, bool isGpu) in MemoryOverflow() 700 void MemoryManager::MemoryOverReport(const pid_t pid, const MemorySnapshotInfo& info, const std::st… in MemoryOverReport() 727 for (auto pid : exitedPidSet) { in ErasePidInfo() local
|
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/ |
H A D | medical_service.cpp | 254 int32_t pid = this->GetCallingPid(); in EnableSensor() local 349 int32_t pid = this->GetCallingPid(); in RunCommand() local 394 auto pid = this->GetCallingPid(); in TransferDataChannel() local 440 int32_t pid = clientInfo_.FindClientPid(client); in ProcessDeathObserver() local 452 void MedicalSensorService::RegisterClientDeathRecipient(sptr<IRemoteObject> afeClient, int32_t pid) in RegisterClientDeathRecipient()
|
/aosp12/system/unwinding/libbacktrace/ |
H A D | backtrace_benchmarks.cpp | 40 static bool CountMaps(pid_t pid, size_t* num_maps) { in CountMaps() 72 pid_t pid; in CreateMap() local
|
/ohos5.0/base/global/i18n/services/src/ |
H A D | i18n_service_ability.cpp | 107 int pid = getpid(); in OnStart() local 113 int pid = getpid(); in OnStop() local
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/ |
H A D | app_state_subscriber_stub.cpp | 80 int32_t pid; in HandleOnAppStateChanged() local 105 int32_t pid; in HandleForceReclaim() local
|
/aosp12/frameworks/base/location/java/android/location/util/identity/ |
H A D | CallerIdentity.java | 43 public static CallerIdentity forTest(int uid, int pid, String packageName, in forTest() 52 public static CallerIdentity forTest(int uid, int pid, String packageName, in forTest() 137 private CallerIdentity(int uid, int pid, String packageName, in CallerIdentity()
|
/aosp12/system/hwservicemanager/ |
H A D | HidlService.cpp | 38 pid_t pid) in HidlService() 48 void HidlService::setService(sp<IBase> service, pid_t pid) { in setService() 99 void HidlService::registerPassthroughClient(pid_t pid) { in registerPassthroughClient()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | VrController.java | 230 public void setVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setVrThreadLocked() 264 public void setPersistentVrThreadLocked(int tid, int pid, WindowProcessController proc) { in setPersistentVrThreadLocked() 425 private void enforceThreadInProcess(int tid, int pid) { in enforceThreadInProcess()
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/ |
H A D | mock_app_mgr_service.h | 180 virtual int32_t JudgeSandboxByPid(pid_t pid, bool &isSandbox) in JudgeSandboxByPid() 237 virtual bool SetAppFreezeFilter(int32_t pid) in SetAppFreezeFilter() 242 virtual int32_t ChangeAppGcState(pid_t pid, int32_t state) in ChangeAppGcState()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexemgr/src/ |
H A D | res_sched_exe_mgr.cpp | 100 int32_t ResSchedExeMgr::KillProcess(pid_t pid) in KillProcess() 171 int pid = payload["pid"]; in GetCgroupFileContent() local 196 int pid = payload["pid"]; in CheckProcTaskForCgroup() local
|
/ohos5.0/foundation/multimedia/drm_framework/frameworks/native/drm/ |
H A D | media_key_system_factory_impl.cpp | 62 pid_t pid = 0; in GetServiceProxy() local 66 deathRecipient->SetNotifyCb([this] (pid_t pid) { in GetServiceProxy() 105 void MediaKeySystemFactoryImpl::MediaKeySystemFactoryServerDied(pid_t pid) in MediaKeySystemFactoryServerDied()
|
/ohos5.0/foundation/window/window_manager/window_scene/intention_event/service/anr_manager/src/ |
H A D | anr_manager.cpp | 125 void ANRManager::SetApplicationInfo(int32_t persistentId, int32_t pid, const std::string& bundleNam… in SetApplicationInfo() 187 std::string ANRManager::GetBundleName(int32_t pid, int32_t uid) in GetBundleName() 200 void ANRManager::ExecuteAnrObserver(int32_t pid) in ExecuteAnrObserver()
|
/ohos5.0/base/startup/appspawn/modules/common/ |
H A D | appspawn_namespace.c | 101 int pid = -1; // initial pid set to -1 in GetPidByName() local 161 APPSPAWN_STATIC int GetNsPidFd(pid_t pid) in GetNsPidFd() 194 pid_t pid = GetPidByName("pid_ns_init"); in PreLoadEnablePidNs() local
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppExitInfoTracker.java | 334 void onLmkdKillOccurred(int pid, int uid); in onLmkdKillOccurred() 345 void scheduleNoteLmkdProcKilled(final int pid, final int uid) { in scheduleNoteLmkdProcKilled() 350 private void scheduleChildProcDied(int pid, int uid, int status) { in scheduleChildProcDied() 356 void handleZygoteSigChld(int pid, int uid, int status) { in handleZygoteSigChld() 491 int pid, int uid, Integer status, Integer reason) { in updateExitInfoIfNecessaryLocked() 1028 void setProcessStateSummary(int uid, final int pid, final byte[] data) { in setProcessStateSummary() 1039 @Nullable byte[] getProcessStateSummary(int uid, final int pid) { in getProcessStateSummary() 1362 final int pid = info.getPid(); in addExitInfoLocked() local 1680 private void addLocked(int pid, int uid, Object extra) { in addLocked() 1695 Pair<Long, Object> remove(int pid, int uid) { in remove() [all …]
|
/ohos5.0/base/time/time_service/services/timer/src/ |
H A D | timer_proxy.cpp | 60 void TimerProxy::RemovePidProxy(uint64_t timerNumber, int pid) in RemovePidProxy() 87 int pid = alarm->pid; in CallbackAlarmIfNeed() local 170 bool TimerProxy::PidProxyTimer(int32_t uid, int pid, bool isProxy, bool needRetrigger, in PidProxyTimer() 343 void TimerProxy::EraseTimerFromProxyPidMap(const uint64_t id, const int uid, const int pid) in EraseTimerFromProxyPidMap() 448 auto pid = alarm->pid; in RecordProxyPidTimerMap() local 524 bool TimerProxy::IsPidProxy(const int32_t uid, const int32_t pid) in IsPidProxy() 569 void TimerProxy::UpdateProxyWhenElapsedForProxyPidMap(int32_t uid, int pid, in UpdateProxyWhenElapsedForProxyPidMap() 643 bool TimerProxy::RestoreProxyWhenElapsedByPid(const int uid, const int pid, in RestoreProxyWhenElapsedByPid() 692 bool TimerProxy::RestoreProxyWhenElapsedForProxyPidMap(const int uid, const int pid, in RestoreProxyWhenElapsedForProxyPidMap() 721 auto pid = it->first & ((static_cast<uint64_t>(1) << UID_PROXY_OFFSET) - 1); in ResetAllPidProxyWhenElapsed() local
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_service.cpp | 473 pid_t pid = IPCSkeleton::GetCallingPid(); in CreateCaptureSession() local 686 uint32_t pid = it.first; in OnCameraStatus() local 708 uint32_t pid = it.first; in OnFlashlightStatus() local 725 uint32_t pid = it.first; in OnMute() local 750 uint32_t pid = it.first; in OnTorchStatus() local 781 uint32_t pid = it.first; in OnFoldStatusChanged() local 820 pid_t pid = IPCSkeleton::GetCallingPid(); in SetCameraCallback() local 1836 for (const auto& pid : pidList) { in g_toString() local 1855 for (auto pid : pidList) { in ProxyForFreeze() local 1864 for (auto pid : pidList) { in ProxyForFreeze() local [all …]
|
/aosp12/system/unwinding/libunwindstack/tools/ |
H A D | unwind_for_offline.cpp | 54 static bool Attach(pid_t pid) { in Attach() 89 bool SaveStack(pid_t pid, const std::vector<std::pair<uint64_t, uint64_t>>& stacks) { in SaveStack() 236 int SaveData(pid_t pid) { in SaveData() 343 pid_t pid = atoi(argv[1]); in main() local
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/ipc/small/src/ |
H A D | bus_center_client_proxy.c | 225 int32_t ClientOnTimeSyncResult(const char *pkgName, int32_t pid, const void *info, in ClientOnTimeSyncResult() 256 int32_t ClientOnPublishLNNResult(const char *pkgName, int32_t pid, int32_t publishId, in ClientOnPublishLNNResult() 286 int32_t ClientOnRefreshLNNResult(const char *pkgName, int32_t pid, int32_t refreshId, in ClientOnRefreshLNNResult() 316 int32_t ClientOnRefreshDeviceFound(const char *pkgName, int32_t pid, const void *device, in ClientOnRefreshDeviceFound()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/ipc/small/ |
H A D | trans_client_proxy.c | 63 const ChannelInfo *channel, int32_t pid) in ClientIpcOnChannelOpened() 273 …char *pkgName, const char *sessionName, int32_t sessionId, const TransInfo *transInfo, int32_t pid) in ClientIpcSetChannelInfo() 304 int32_t ClientIpcOnTransLimitChange(const char *pkgName, int32_t pid, int32_t channelId, uint8_t to… in ClientIpcOnTransLimitChange() 313 int32_t CheckServiceIsRegistered(const char *pkgName, int32_t pid) in CheckServiceIsRegistered()
|
/ohos5.0/foundation/multimedia/audio_lite/services/server/src/ |
H A D | audio_capturer_server.cpp | 34 AudioCapturerImpl *AudioCapturerServer::GetAudioCapturer(pid_t pid) in GetAudioCapturer() 44 void AudioCapturerServer::AcceptServer(pid_t pid, IpcIo *reply) in AcceptServer() 56 void AudioCapturerServer::DropServer(pid_t pid, IpcIo *reply) in DropServer() 304 void AudioCapturerServer::Dispatch(int32_t funcId, pid_t pid, IpcIo *req, IpcIo *reply) in Dispatch()
|
/ohos5.0/base/security/security_guard/frameworks/common/constants/include/ |
H A D | security_guard_define.h | 52 int32_t pid; member 59 int32_t pid; member 67 int32_t pid; member 75 int32_t pid; member
|
/ohos5.0/base/msdp/device_status/services/native/src/ |
H A D | stream_server.cpp | 94 …er::AddSocketPairInfo(const std::string &programName, int32_t moduleType, int32_t uid, int32_t pid, in AddSocketPairInfo() 301 int32_t pid = ses->GetPid(); in AddSession() local 326 int32_t pid = GetClientPid(fd); in DelSession() local 338 void StreamServer::AddSessionDeletedCallback(int32_t pid, std::function<void(SessionPtr)> callback) in AddSessionDeletedCallback()
|
/aosp12/hardware/google/graphics/common/libmemtrack/ |
H A D | mali.cpp | 57 static void scan_directory_for_filenames(pid_t pid) in scan_directory_for_filenames() 100 int mali_memtrack_get_memory(pid_t pid, int __unused type, in mali_memtrack_get_memory()
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | buffer_utils_test.cpp | 82 const pid_t pid = GetRealPid(); variable 127 const pid_t pid = GetRealPid(); variable
|