/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/ |
D | Watchdog.java | 476 HashSet<Integer> pids = new HashSet<>(); in getInterestingHalPids() local 486 pids.add(info.pid); in getInterestingHalPids() 488 return new ArrayList<Integer>(pids); in getInterestingHalPids() 495 ArrayList<Integer> pids = getInterestingHalPids(); in getInterestingNativePids() local 499 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids() 501 pids.add(i); in getInterestingNativePids() 505 return pids; in getInterestingNativePids() 563 ArrayList<Integer> pids = new ArrayList<Integer>(); in run() local 564 pids.add(Process.myPid()); in run() 565 ActivityManagerService.dumpStackTraces(pids, null, null, in run() [all …]
|
D | SystemServerInitThreadPool.java | 123 final ArrayList<Integer> pids = new ArrayList<>(); 124 pids.add(Process.myPid()); 125 ActivityManagerService.dumpStackTraces(pids, null, null,
|
/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/av/media/utils/fuzzers/ |
D | TimeCheckFuzz.cpp | 40 std::vector<pid_t> pids(pid_size); in LLVMFuzzerTestOneInput() local 41 for (auto& pid : pids) { in LLVMFuzzerTestOneInput() 47 android::TimeCheck::setAudioHalPids(pids); in LLVMFuzzerTestOneInput()
|
/frameworks/opt/car/services/src/com/android/internal/car/ |
D | CarServiceHelperService.java | 537 HashSet<Integer> pids = new HashSet<>(); in getInterestingHalPids() local 545 pids.add(info.pid); in getInterestingHalPids() 549 return new ArrayList<Integer>(pids); in getInterestingHalPids() 559 ArrayList<Integer> pids = getInterestingHalPids(); in getInterestingNativePids() local 563 pids.ensureCapacity(pids.size() + nativePids.length); in getInterestingNativePids() 565 pids.add(i); in getInterestingNativePids() 569 return pids; in getInterestingNativePids() 575 ArrayList<Integer> pids = new ArrayList<>(); in dumpServiceStacks() local 576 pids.add(Process.myPid()); in dumpServiceStacks() 579 pids, null, null, getInterestingNativePids()); in dumpServiceStacks()
|
/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/native/libs/dumputils/ |
D | dump_utils.cpp | 135 std::set<int> pids; in get_interesting_hal_pids() local 149 pids.insert(info.pid); in get_interesting_hal_pids() 157 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/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/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | DumpTruck.java | 69 public DumpTruck captureHeaps(int[] pids) { in captureHeaps() argument 82 final int[] pids_copy = Arrays.copyOf(pids, pids.length); in captureHeaps()
|
/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/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 432 int[] pids = Process.getPids(statsFile, curPids); in collectStats() local 433 int NP = (pids == null) ? 0 : pids.length; in collectStats() 437 int pid = pids[i]; in collectStats() 611 return pids; in collectStats()
|
/frameworks/base/core/jni/ |
D | android_util_Process.cpp | 1168 Vector<jint> pids; in android_os_Process_getPidsForCommands() local 1206 pids.add(pid); in android_os_Process_getPidsForCommands() 1214 jintArray pidArray = env->NewIntArray(pids.size()); in android_os_Process_getPidsForCommands() 1220 if (pids.size() > 0) { in android_os_Process_getPidsForCommands() 1221 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array()); in android_os_Process_getPidsForCommands()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 297 int[] pids = { in getPss() local 300 MemoryInfo meminfo = am.getProcessMemoryInfo(pids)[0]; in getPss()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 103 void ListCommand::removeDeadProcesses(Pids *pids) { in removeDeadProcesses() argument 105 pids->erase(std::remove_if(pids->begin(), pids->end(), [this](auto pid) { in removeDeadProcesses() 107 }), pids->end()); in removeDeadProcesses()
|