Searched refs:mPids (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcLocksReader.java | 41 private IntArray mPids = new IntArray(); field in ProcLocksReader 83 mPids.clear(); in handleBlockingFileLocks() 95 mPids.add(pid); in handleBlockingFileLocks() 101 if (mPids.size() > 1) { in handleBlockingFileLocks() 102 callback.onBlockingFileLock(mPids); in handleBlockingFileLocks() 103 mPids.clear(); in handleBlockingFileLocks() 113 if (mPids.size() == 0) { in handleBlockingFileLocks() 114 mPids.add(pid); in handleBlockingFileLocks() 116 mPids.set(0, pid); in handleBlockingFileLocks() 124 if (mPids.size() > 1) { in handleBlockingFileLocks() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | ProcLocksReaderTest.java | 43 private ArrayList<int[]> mPids = new ArrayList<>(); field in ProcLocksReaderTest 60 assertTrue(mPids.isEmpty()); in testRunSimpleLocks() 72 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunBlockingLocks() 73 assertTrue(mPids.isEmpty()); in testRunBlockingLocks() 83 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunLastBlockingLocks() 84 assertTrue(mPids.isEmpty()); in testRunLastBlockingLocks() 99 assertTrue(Arrays.equals(mPids.remove(0), new int[]{18292, 18291, 18293})); in testRunMultipleBlockingLocks() 100 assertTrue(Arrays.equals(mPids.remove(0), new int[]{3840, 3841})); in testRunMultipleBlockingLocks() 101 assertTrue(Arrays.equals(mPids.remove(0), new int[]{3888, 3887})); in testRunMultipleBlockingLocks() 102 assertTrue(mPids.isEmpty()); in testRunMultipleBlockingLocks() [all …]
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | DynamicFlagBinderDelegate.java | 213 private final Set<Integer> mPids = new HashSet<>(); field in DynamicFlagBinderDelegate.DynamicFlagData 239 mPids.add(pid); in addClientPid() 243 return mPids.contains(pid); in containsPid()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryStatsImpl.java | 5356 u.mPids.remove(pid); in noteProcessDiedLocked() 8294 final SparseArray<Pid> mPids = new SparseArray<>(); field in BatteryStatsImpl.Uid 9828 for (int i = mPids.size() - 1; i >= 0; i--) { in reset() 9829 Pid pid = mPids.valueAt(i); in reset() 9833 mPids.removeAt(i); in reset() 9901 mPids.clear(); in detachFromTimeBase() 10958 return mPids; in getPidStats() 10962 Pid p = mPids.get(pid); in getPidStatsLocked() 10965 mPids.put(pid, p); in getPidStatsLocked() 11163 Pid p = mPids.get(pid); in noteStopWakeLocked()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 73295 Lcom/android/internal/os/BatteryStatsImpl$Uid;->mPids:Landroid/util/SparseArray;
|