Searched defs:pids (Results 1 - 10 of 10) sorted by relevance

/frameworks/native/include/binder/
H A DProcessInfoService.h39 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,
49 * For each PID in the given "pids" input array, write the current process state
56 static status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, argument
58 return ProcessInfoService::getInstance().getProcessStatesImpl(length, /*in*/ pids,
63 * For each PID in the given "pids" input array, write the current process state
72 static status_t getProcessStatesScoresFromPids(size_t length, /*in*/ int32_t* pids, argument
75 length, /*in*/ pids, /*out*/ states, /*out*/ scores);
/frameworks/native/libs/binder/
H A DIProcessInfoService.cpp31 virtual status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, argument
36 data.writeInt32Array(length, pids);
53 /*in*/ int32_t* pids, /*out*/ int32_t* states, /*out*/ int32_t* scores)
57 data.writeInt32Array(length, pids);
52 getProcessStatesAndOomScoresFromPids(size_t length, int32_t* pids, int32_t* states, int32_t* scores) argument
H A DProcessInfoService.cpp29 status_t ProcessInfoService::getProcessStatesImpl(size_t length, /*in*/ int32_t* pids, argument
40 err = pis->getProcessStatesFromPids(length, /*in*/ pids, /*out*/ states);
61 /*in*/ int32_t* pids, /*out*/ int32_t* states,
73 /*in*/ pids, /*out*/ states, /*out*/ scores);
60 getProcessStatesScoresImpl(size_t length, int32_t* pids, int32_t* states, int32_t *scores) argument
/frameworks/native/libs/binder/include/binder/
H A DProcessInfoService.h39 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,
49 * For each PID in the given "pids" input array, write the current process state
56 static status_t getProcessStatesFromPids(size_t length, /*in*/ int32_t* pids, argument
58 return ProcessInfoService::getInstance().getProcessStatesImpl(length, /*in*/ pids,
63 * For each PID in the given "pids" input array, write the current process state
72 static status_t getProcessStatesScoresFromPids(size_t length, /*in*/ int32_t* pids, argument
75 length, /*in*/ pids, /*out*/ states, /*out*/ scores);
/frameworks/native/libs/dumputils/
H A Ddump_utils.cpp81 std::set<int> pids; local
93 pids.insert(info.pid);
101 return pids; // whether it was okay or not
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DDumpTruck.java62 * @param pids
65 public DumpTruck captureHeaps(int[] pids) { argument
78 final int[] pids_copy = Arrays.copyOf(pids, pids.length);
/frameworks/native/cmds/lshal/
H A DListCommand.cpp85 void ListCommand::removeDeadProcesses(Pids *pids) { argument
87 pids->erase(std::remove_if(pids->begin(), pids->end(), [this](auto pid) {
89 }), pids->end());
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp1143 Vector<jint> pids; local
1181 pids.add(pid);
1189 jintArray pidArray = env->NewIntArray(pids.size());
1195 if (pids.size() > 0) {
1196 env->SetIntArrayRegion(pidArray, 0, pids.size(), pids.array());
/frameworks/base/core/java/android/app/
H A DActivityManager.java3587 * @param pids The pids of the processes whose memory usage is to be
3592 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) { argument
3594 return getService().getProcessMemoryInfo(pids);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java4211 checkTime(startTime, "startProcess: removing from pids map");
4216 checkTime(startTime, "startProcess: done removing from pids map");
4585 checkTime(app.startTime, "startProcess: starting to update pids map");
4607 checkTime(app.startTime, "startProcess: done updating pids map");
6116 * @param nativePids optional list of native pids to dump stack crawls
6353 // First collect all of the stacks of the most important pids.
6379 // Next collect the stacks of the native pids
6960 public Debug.MemoryInfo[] getProcessMemoryInfo(int[] pids) { argument
6962 Debug.MemoryInfo[] infos = new Debug.MemoryInfo[pids.length];
6963 for (int i=pids
6992 getProcessPss(int[] pids) argument
8987 getProcessStatesFromPids( int[] pids, int[] states) argument
8993 getProcessStatesAndOomScoresFromPids( int[] pids, int[] states, int[] scores) argument
9007 getProcessStatesAndOomScoresForPIDs( int[] pids, int[] states, int[] scores) argument
14772 killPids(int[] pids, String pReason, boolean secure) argument
[all...]

Completed in 3465 milliseconds