/frameworks/av/media/utils/ |
D | TimeCheck.cpp | 36 void TimeCheck::accessAudioHalPids(std::vector<pid_t>* pids, bool update) { in accessAudioHalPids() argument 42 audioHalPids[(curAudioHalPids + 1) % kNumAudioHalPidsVectors] = *pids; in accessAudioHalPids() 45 *pids = audioHalPids[curAudioHalPids]; in accessAudioHalPids() 50 void TimeCheck::setAudioHalPids(const std::vector<pid_t>& pids) { in setAudioHalPids() argument 51 accessAudioHalPids(&(const_cast<std::vector<pid_t>&>(pids)), true); in setAudioHalPids() 56 std::vector<pid_t> pids; in getAudioHalPids() local 57 accessAudioHalPids(&pids, false); in getAudioHalPids() 58 return pids; in getAudioHalPids() 125 std::vector<pid_t> pids = getAudioHalPids(); in threadLoop() local 126 if (pids.size() != 0) { in threadLoop() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | ProcessInfoService.h | 39 status_t getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, /*out*/ int32_t* states); 40 status_t getProcessStatesScoresImpl(size_t length, /*in*/ int32_t* pids, 56 static status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, in getProcessStatesFromPids() argument 58 return ProcessInfoService::getInstance().getProcessStatesImpl(length, /*in*/ pids, in getProcessStatesFromPids() 72 static status_t getProcessStatesScoresFromPids(size_t length, /*in*/ int32_t* pids, in getProcessStatesScoresFromPids() argument 75 length, /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresFromPids()
|
D | IProcessInfoService.h | 33 /*in*/ int32_t* pids, 37 /*in*/ int32_t* pids,
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | ProcfsMemoryUtil.java | 78 int[] pids = new int[1024]; in getProcessCmdlines() local 79 pids = Process.getPids("/proc", pids); in getProcessCmdlines() 81 SparseArray<String> cmdlines = new SparseArray<>(pids.length); in getProcessCmdlines() 82 for (int pid : pids) { in getProcessCmdlines()
|
/frameworks/native/libs/binder/ |
D | ProcessInfoService.cpp | 29 status_t ProcessInfoService::getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, in getProcessStatesImpl() argument 40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states); in getProcessStatesImpl() 61 /*in*/ int32_t* pids, /*out*/ int32_t* states, in getProcessStatesScoresImpl() argument 73 /*in*/ pids, /*out*/ states, /*out*/ scores); in getProcessStatesScoresImpl()
|
D | IProcessInfoService.cpp | 31 virtual status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, in getProcessStatesFromPids() argument 36 data.writeInt32Array(length, pids); in getProcessStatesFromPids() 53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores) in getProcessStatesAndOomScoresFromPids() argument 57 data.writeInt32Array(length, pids); in getProcessStatesAndOomScoresFromPids()
|
/frameworks/base/core/java/android/os/ |
D | IProcessInfoService.aidl | 27 void getProcessStatesFromPids(in int[] pids, out int[] states); in getProcessStatesFromPids() argument 34 void getProcessStatesAndOomScoresFromPids(in int[] pids, out int[] states, out int[] scores); in getProcessStatesAndOomScoresFromPids() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 521 HashSet<Integer> pids = new HashSet<>(); in getInterestingHalPids() local 531 pids.add(info.pid); in getInterestingHalPids() 533 return new ArrayList<Integer>(pids); in getInterestingHalPids() 540 ArrayList<Integer> pids = getInterestingHalPids(); in getInterestingNativePids() local 544 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids() 546 pids.add(i); in getInterestingNativePids() 550 return pids; in getInterestingNativePids() 614 ArrayList<Integer> pids = new ArrayList<>(mInterestingJavaPids); in run() local 615 ActivityManagerService.dumpStackTraces(pids, null, null, in run() 637 ArrayList<Integer> pids = new ArrayList<>(mInterestingJavaPids); in run() local [all …]
|
D | SystemServerInitThreadPool.java | 188 final ArrayList<Integer> pids = new ArrayList<>(); in dumpStackTraces() local 189 pids.add(Process.myPid()); in dumpStackTraces() 190 ActivityManagerService.dumpStackTraces(pids, null, null, in dumpStackTraces()
|
/frameworks/native/libs/dumputils/ |
D | dump_utils.cpp | 137 std::set<int> pids; in get_interesting_hal_pids() local 151 pids.insert(info.pid); in get_interesting_hal_pids() 159 return pids; // whether it was okay or not in get_interesting_hal_pids()
|
/frameworks/av/media/utils/include/mediautils/ |
D | TimeCheck.h | 38 static void setAudioHalPids(const std::vector<pid_t>& pids); 68 static void accessAudioHalPids(std::vector<pid_t>* pids, bool update);
|
/frameworks/av/media/libaudiohal/impl/ |
D | DevicesFactoryHalHybrid.cpp | 40 status_t DevicesFactoryHalHybrid::getHalPids(std::vector<pid_t> *pids) { in getHalPids() argument 42 return mHidlFactory->getHalPids(pids); in getHalPids()
|
D | DevicesFactoryHalLocal.h | 36 status_t getHalPids(std::vector<pid_t> *pids __unused) override { in getHalPids()
|
D | DevicesFactoryHalHybrid.h | 39 status_t getHalPids(std::vector<pid_t> *pids) override;
|
D | DevicesFactoryHalHidl.cpp | 140 status_t DevicesFactoryHalHidl::getHalPids(std::vector<pid_t> *pids) { in getHalPids() argument 159 *pids = {pidsSet.begin(), pidsSet.end()}; in getHalPids()
|
D | DevicesFactoryHalHidl.h | 45 status_t getHalPids(std::vector<pid_t> *pids) override;
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 1107 HashSet<Integer> pids = new HashSet<>(); in getInterestingHalPids() local 1115 pids.add(info.pid); in getInterestingHalPids() 1119 return new ArrayList<Integer>(pids); in getInterestingHalPids() 1129 ArrayList<Integer> pids = getInterestingHalPids(); in getInterestingNativePids() local 1133 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids() 1135 pids.add(i); in getInterestingNativePids() 1139 return pids; in getInterestingNativePids() 1145 ArrayList<Integer> pids = new ArrayList<>(); in dumpServiceStacks() local 1146 pids.add(Process.myPid()); in dumpServiceStacks() 1149 pids, null, null, getInterestingNativePids(), null); in dumpServiceStacks() [all …]
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_android.py | 270 pids = pid_output.split() 272 if len(pids) < 1: 276 if len(pids) > 1: 278 .format(process_name, pids)) 281 pid = int(pids[0]) 282 self._log.info('App pid found: {0}'.format(pids[0]))
|
/frameworks/base/startop/scripts/app_startup/lib/ |
D | adb_utils.py | 66 _, pids = cmd_utils.run_shell_command('adb shell ps | grep "{}" | ' 70 for pid in pids.split('\n'):
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 54 SparseArray<? extends BatteryStats.Uid.Pid> pids; in writeUid() local 136 pids = uid.getPidStats(); in writeUid() 137 N = pids.size(); in writeUid() 140 writePid(writer, pids.valueAt(i)); in writeUid() 141 uidWriter.addStats(UidHealthStats.STATS_PIDS, Integer.toString(pids.keyAt(i)), writer); in writeUid()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DevicesFactoryHalInterface.h | 40 virtual status_t getHalPids(std::vector<pid_t> *pids) = 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 70 public DumpTruck captureHeaps(List<Long> pids) { in captureHeaps() argument 83 for (Long pidL : pids) { in captureHeaps()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputManagerCallback.java | 150 final int[] pids = shouldDumpSf[0] in preDumpIfLockTooSlow() local 153 if (pids != null) { in preDumpIfLockTooSlow() 155 for (int pid : pids) { in preDumpIfLockTooSlow()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 435 int[] pids = Process.getPids(statsFile, curPids); in collectStats() local 436 int NP = (pids == null) ? 0 : pids.length; in collectStats() 440 int pid = pids[i]; in collectStats() 614 return pids; in collectStats()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 1240 Vector<jint> pids; in android_os_Process_getPidsForCommands() local 1278 pids.add(pid); in android_os_Process_getPidsForCommands() 1286 jintArray pidArray = env->NewIntArray(pids.size()); in android_os_Process_getPidsForCommands() 1292 if (pids.size() > 0) { in android_os_Process_getPidsForCommands() 1293 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array()); in android_os_Process_getPidsForCommands()
|