/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | OomAdjusterTests.java | 141 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS() 152 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction() 163 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction() 175 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
|
D | ActivityManagerServiceTest.java | 22 import static android.app.ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE; 164 PROCESS_STATE_FOREGROUND_SERVICE, // prevState in incrementProcStateSeqAndNotifyAppsLocked() 197 PROCESS_STATE_FOREGROUND_SERVICE, // prevState in incrementProcStateSeqAndNotifyAppsLocked() 233 PROCESS_STATE_FOREGROUND_SERVICE, // curState in incrementProcStateSeqAndNotifyAppsLocked() 443 uidRec.setProcState = PROCESS_STATE_FOREGROUND_SERVICE; in testBlockStateForUid() 465 uidRec.setCurProcState(PROCESS_STATE_FOREGROUND_SERVICE); in testBlockStateForUid() 513 ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, in testDispatchUids_dispatchNeededChanges() 640 changeItem.processState = ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE; in testDispatchUidChanges_procStateCutpoint() 677 ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, in testDispatchUidChanges_validateUidsUpdated()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 18 import static android.app.ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE; 377 mAppOpsService.updateUidProcState(mMyUid, PROCESS_STATE_FOREGROUND_SERVICE); in testUidProcStateChange_cachedToFgs() 408 mAppOpsService.updateUidProcState(mMyUid, PROCESS_STATE_FOREGROUND_SERVICE); in testUidProcStateChange_topToFgs() 411 mAppOpsService.updateUidProcState(mMyUid, PROCESS_STATE_FOREGROUND_SERVICE); in testUidProcStateChange_topToFgs() 435 mAppOpsService.updateUidProcState(mMyUid, PROCESS_STATE_FOREGROUND_SERVICE); in testUidProcStateChange_topToFgsLocationToFgs() 438 mAppOpsService.updateUidProcState(mMyUid, PROCESS_STATE_FOREGROUND_SERVICE); in testUidProcStateChange_topToFgsLocationToFgs()
|
/frameworks/native/libs/binder/include/binder/ |
D | ActivityManager.h | 51 PROCESS_STATE_FOREGROUND_SERVICE = 5, enumerator
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsNoteTest.java | 128 stateRuntimeMap.put(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 2468); in testNoteUidProcessStateLocked() 161 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE, in testNoteUidProcessStateLocked() 163 expectedRunTimeMs = stateRuntimeMap.get(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testNoteUidProcessStateLocked() 197 expectedRunTimeMs = stateRuntimeMap.get(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testNoteUidProcessStateLocked()
|
D | BatteryStatsImplTest.java | 23 import static android.os.BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE; 83 PROCESS_STATE_FOREGROUND_SERVICE, in testUpdateProcStateCpuTimes() 240 PROCESS_STATE_FOREGROUND_SERVICE, in testCopyFromAllUidsCpuTimes()
|
D | BstatsCpuTimesValidationTest.java | 24 import static android.os.BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE; 391 getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_FOREGROUND_SERVICE)); in testCpuFreqTimes_stateFgService() 393 doSomeWork(PROCESS_STATE_FOREGROUND_SERVICE); in testCpuFreqTimes_stateFgService() 396 final long[] cpuTimesMs = getAllCpuFreqTimes(sTestPkgUid, PROCESS_STATE_FOREGROUND_SERVICE); in testCpuFreqTimes_stateFgService() 673 case PROCESS_STATE_FOREGROUND_SERVICE: in doSomeWork()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 23 import static android.app.ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE; 884 procState = PROCESS_STATE_FOREGROUND_SERVICE; in computeOomAdjLocked() 972 procState = PROCESS_STATE_FOREGROUND_SERVICE; in computeOomAdjLocked() 1338 <= PROCESS_STATE_FOREGROUND_SERVICE) { in computeOomAdjLocked() 1340 clientProcState = PROCESS_STATE_FOREGROUND_SERVICE; in computeOomAdjLocked() 1470 if (clientProcState <= PROCESS_STATE_FOREGROUND_SERVICE) { in computeOomAdjLocked() 2013 } else if (app.getCurProcState() <= PROCESS_STATE_FOREGROUND_SERVICE) { in maybeUpdateUsageStatsLocked()
|
D | HealthStatsBatteryStatsWriter.java | 259 uid.getProcessStateTimer(BatteryStats.Uid.PROCESS_STATE_FOREGROUND_SERVICE)); in writeUid()
|
D | ProcessList.java | 906 case ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE: in makeProcStateString() 973 return AppProtoEnums.PROCESS_STATE_FOREGROUND_SERVICE; in makeProcStateProtoEnum() 976 case ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE: in makeProcStateProtoEnum() 977 return AppProtoEnums.PROCESS_STATE_FOREGROUND_SERVICE; in makeProcStateProtoEnum()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | QuotaControllerTest.java | 193 eq(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE), in setUp() 239 if (procState <= ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE) { in setProcessState() 2117 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTimerTracking_AllForeground() 2161 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTimerTracking_ForegroundAndBackground() 2184 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTimerTracking_ForegroundAndBackground() 2218 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTimerTracking_JobCount_Foreground() 2327 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTimerTracking_TopAndNonTop() 2409 setProcessState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testTracking_OutOfQuota_ForegroundAndBackground()
|
/frameworks/base/core/proto/android/app/ |
D | enums.proto | 63 PROCESS_STATE_FOREGROUND_SERVICE = 1003; enumerator
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 529 public static final int PROCESS_STATE_FOREGROUND_SERVICE = 5; field in ActivityManager 619 case PROCESS_STATE_FOREGROUND_SERVICE: in processStateAmToProto() 620 return AppProtoEnums.PROCESS_STATE_FOREGROUND_SERVICE; in processStateAmToProto() 674 || procState == PROCESS_STATE_FOREGROUND_SERVICE; in isForegroundService() 3039 return PROCESS_STATE_FOREGROUND_SERVICE;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 1674 CALLING_UID_1, ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0); in testThrottling_foreground() 1701 CALLING_UID_2, ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0); in testThrottling_foreground() 1734 CALLING_UID_2, ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0); in testThrottling_foreground() 1763 ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0); in testThrottling_foreground()
|
D | BaseShortcutManagerTest.java | 2225 uid, ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0);
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | QuotaController.java | 592 ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, null); in QuotaController() 1921 if (procState <= ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE) { in handleMessage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 533 ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE, 0); in testUidStateForeground()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 745 PROCESS_STATE_FOREGROUND_SERVICE = 1; enumerator
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 626 return Uid.PROCESS_STATE_FOREGROUND_SERVICE; in mapToInternalProcessState() 830 public static final int PROCESS_STATE_FOREGROUND_SERVICE = 1; field in BatteryStats.Uid 888 PROCESS_STATE_BOUND_TOP, PROCESS_STATE_FOREGROUND_SERVICE,
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 1219 } else if (procState <= ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE) { in updateUidState()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 3850 Landroid/app/AppProtoEnums;->PROCESS_STATE_FOREGROUND_SERVICE:I 48933 Landroid/os/BatteryStats$Uid;->PROCESS_STATE_FOREGROUND_SERVICE:I 53831 Landroid/os/UidProto$StateTime;->PROCESS_STATE_FOREGROUND_SERVICE:I
|