Searched refs:mProcessRecord (Results 1 – 2 of 2) sorted by relevance
53 private ProcessRecord mProcessRecord; field in ProcessRecordTests73 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()75 doNothing().when(mProcessRecord).startAppProblemLocked(); in setUpProcess()76 doReturn(false).when(mProcessRecord).isSilentAnr(); in setUpProcess()77 doReturn(false).when(mProcessRecord).isMonitorCpuUsage(); in setUpProcess()78 doReturn(Collections.emptyList()).when(mProcessRecord).getLruProcessList(); in setUpProcess()89 assertFalse(mProcessRecord.isNotResponding()); in testProcessDefaultAnrRelatedStatus()90 assertFalse(mProcessRecord.isCrashing()); in testProcessDefaultAnrRelatedStatus()91 assertFalse(mProcessRecord.killedByAm); in testProcessDefaultAnrRelatedStatus()92 assertFalse(mProcessRecord.killed); in testProcessDefaultAnrRelatedStatus()[all …]
49 private ProcessRecord mProcessRecord; field in OomAdjusterTests81 mProcessRecord = spy(new ProcessRecord(sService, sContext.getApplicationInfo(), in setUpProcess()94 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT_UI); in testMaybeUpdateUsageStats_ProcStatePersistentUI()95 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStatePersistentUI()103 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop()104 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop()112 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()113 mProcessRecord.reportedInteraction = true; in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()114 sService.mOomAdjuster.maybeUpdateUsageStats(mProcessRecord, elapsedTime); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()122 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()[all …]