Searched refs:mPhantomProcesses (Results 1 – 2 of 2) sorted by relevance
66 final SparseArray<PhantomProcessRecord> mPhantomProcesses = new SparseArray<>(); field in PhantomProcessList302 final int index = mPhantomProcesses.indexOfKey(pid); in getOrCreatePhantomProcessIfNeededLocked()304 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(index); in getOrCreatePhantomProcessIfNeededLocked()339 mPhantomProcesses.put(pid, proc); in getOrCreatePhantomProcessIfNeededLocked()391 mPhantomProcesses.remove(proc.mPid); in onPhantomProcessKilledLocked()431 if (mService.mConstants.MAX_PHANTOM_PROCESSES < mPhantomProcesses.size()) { in trimPhantomProcessesIfNecessary()432 for (int i = mPhantomProcesses.size() - 1; i >= 0; i--) { in trimPhantomProcessesIfNecessary()433 mTempPhantomProcesses.add(mPhantomProcesses.valueAt(i)); in trimPhantomProcessesIfNecessary()473 for (int i = mPhantomProcesses.size() - 1; i >= 0; i--) { in pruneStaleProcessesLocked()474 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(i); in pruneStaleProcessesLocked()[all …]
160 assertEquals(0, mPhantomProcessList.mPhantomProcesses.size()); in testManageAppChildProcesses()182 assertEquals(1, mPhantomProcessList.mPhantomProcesses.size()); in testManageAppChildProcesses()183 assertEquals(pr, mPhantomProcessList.mPhantomProcesses.valueAt(0)); in testManageAppChildProcesses()193 assertEquals(1, mPhantomProcessList.mPhantomProcesses.size()); in testManageAppChildProcesses()194 assertEquals(pr, mPhantomProcessList.mPhantomProcesses.valueAt(0)); in testManageAppChildProcesses()205 assertEquals(2, mPhantomProcessList.mPhantomProcesses.size()); in testManageAppChildProcesses()211 for (int i = mPhantomProcessList.mPhantomProcesses.size() - 1; i >= 0; i--) { in testManageAppChildProcesses()212 set.remove(mPhantomProcessList.mPhantomProcesses.valueAt(i)); in testManageAppChildProcesses()