Home
last modified time | relevance | path

Searched refs:processRecord (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java647 ProcessRecord processRecord = mProcessRecords.get(activeRequest.getPid()); in commitPendingState() local
648 if (processRecord != null) { in commitPendingState()
649 processRecord.notifyRequestActiveAsync(activeRequest.getToken()); in commitPendingState()
742 ProcessRecord processRecord = mProcessRecords.get(request.getPid()); in onOverrideRequestStatusChangedLocked() local
743 if (processRecord == null) { in onOverrideRequestStatusChangedLocked()
755 processRecord.notifyRequestActiveAsync(request.getToken()); in onOverrideRequestStatusChangedLocked()
758 processRecord.notifyRequestCanceledAsync(request.getToken()); in onOverrideRequestStatusChangedLocked()
772 ProcessRecord processRecord = mProcessRecords.get(request.getPid()); in enableBaseStateRequestLocked() local
773 processRecord.notifyRequestActiveAsync(request.getToken()); in enableBaseStateRequestLocked()
805 private void handleProcessDied(ProcessRecord processRecord) { in handleProcessDied() argument
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCachedAppOptimizerTest.java777 ProcessRecord processRecord = makeProcessRecord(pid, 2, 3, "p1", "app1"); in processWithDeltaRSSTooSmall_notFullCompacted() local
784 mCachedAppOptimizerUnderTest.compactApp(processRecord, in processWithDeltaRSSTooSmall_notFullCompacted()
798 processRecord.mOptRecord.setLastCompactTime( in processWithDeltaRSSTooSmall_notFullCompacted()
799 processRecord.mOptRecord.getLastCompactTime() - 10_000); in processWithDeltaRSSTooSmall_notFullCompacted()
801 mCachedAppOptimizerUnderTest.compactApp(processRecord, in processWithDeltaRSSTooSmall_notFullCompacted()
816 processRecord.mOptRecord.setLastCompactTime( in processWithDeltaRSSTooSmall_notFullCompacted()
817 processRecord.mOptRecord.getLastCompactTime() - 10_000); in processWithDeltaRSSTooSmall_notFullCompacted()
819 mCachedAppOptimizerUnderTest.compactApp(processRecord, in processWithDeltaRSSTooSmall_notFullCompacted()
854 ProcessRecord processRecord = in processWithAnonRSSTooSmall_notFullCompacted() local
862 mCachedAppOptimizerUnderTest.compactApp(processRecord, in processWithAnonRSSTooSmall_notFullCompacted()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java463 final private WindowProcessController processRecord; field in ActivityMetricsLogger.TransitionInfoSnapshot
509 processRecord = launchedActivity.app; in TransitionInfoSnapshot()
684 final WindowProcessController processRecord = launchedActivity.app != null in notifyActivityLaunched() local
689 final boolean processRunning = processRecord != null; in notifyActivityLaunched()
695 || !processRecord.hasStartedActivity(launchedActivity); in notifyActivityLaunched()
699 processState = processRecord.getCurrentProcState(); in notifyActivityLaunched()
700 processOomAdj = processRecord.getCurrentAdj(); in notifyActivityLaunched()
1227 if (info.processRecord != null) { in logAppTransition()
1228 info.processRecord.setWasStoppedLogged(true); in logAppTransition()
1477 if (info.processRecord == null) { in logAppStartMemoryStateCapture()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessProfileRecord.java607 private static int getUidForAttribution(ProcessRecord processRecord) { in getUidForAttribution() argument
608 if (Process.isIsolatedUid(processRecord.uid)) { in getUidForAttribution()
609 return processRecord.info.uid; in getUidForAttribution()
611 return processRecord.uid; in getUidForAttribution()
DProcessList.java3498 ProcessRecord processRecord = mLruProcesses.get(i);
3499 final IApplicationThread thread = processRecord.getThread();