Home
last modified time | relevance | path

Searched refs:ACTIVITY_PAUSED (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java20 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
168 left.update("com.test.activity1", 350000, ACTIVITY_PAUSED, 1); in testActivity()
171 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED); in testActivity()
214 left.update("com.test.activity1", 100000, ACTIVITY_PAUSED, 1);
217 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
226 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1);
229 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
305 left.update("com.test.activity1", 250000, ACTIVITY_PAUSED, 1);
308 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
312 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java20 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
421 || type == ACTIVITY_PAUSED) { in hasVisibleActivity()
481 && eventType != ACTIVITY_PAUSED in updateActivity()
496 case ACTIVITY_PAUSED: in updateActivity()
517 case ACTIVITY_PAUSED: in updateActivity()
588 case ACTIVITY_PAUSED: in update()
DUsageEvents.java138 public static final int ACTIVITY_PAUSED = MOVE_TO_BACKGROUND; field in UsageEvents.Event
365 ACTIVITY_PAUSED,
/frameworks/base/core/java/android/service/contentcapture/
DActivityEvent.java47 public static final int TYPE_ACTIVITY_PAUSED = Event.ACTIVITY_PAUSED;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java162 case UsageEvents.Event.ACTIVITY_PAUSED: in eventToString()
/frameworks/base/services/people/java/com/android/server/people/data/
DUsageStatsQueryHelper.java107 case UsageEvents.Event.ACTIVITY_PAUSED: in querySince()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundInstallControlService.java398 && event.mEventType != UsageEvents.Event.ACTIVITY_PAUSED in handleUsageEvent()
593 case UsageEvents.Event.ACTIVITY_PAUSED: in addEvent()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java18 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
277 case ACTIVITY_PAUSED: in isStatefulEvent()
DUsageStatsService.java1109 case Event.ACTIVITY_PAUSED: in reportEvent()
1165 case Event.ACTIVITY_PAUSED: in reportEvent()
1179 logAppUsageEventReportedAtomLocked(Event.ACTIVITY_PAUSED, uid, in reportEvent()
1183 pausedData.lastEvent = Event.ACTIVITY_PAUSED; in reportEvent()
1204 if (prevData.lastEvent != Event.ACTIVITY_PAUSED) { in reportEvent()
1205 logAppUsageEventReportedAtomLocked(Event.ACTIVITY_PAUSED, uid, in reportEvent()
1278 case Event.ACTIVITY_PAUSED: in getAppUsageEventOccurredAtomEventType()
DUserUsageStatsService.java349 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent()
1103 || event.mEventType == Event.ACTIVITY_PAUSED in printEvent()
1341 case Event.ACTIVITY_PAUSED: in eventToString()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java2446 case UsageEvents.Event.ACTIVITY_PAUSED:
2598 case UsageEvents.Event.ACTIVITY_PAUSED:
2899 case UsageEvents.Event.ACTIVITY_PAUSED: in handleMessage()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java1147 || eventType == UsageEvents.Event.ACTIVITY_PAUSED in onUsageEvent()
1288 case UsageEvents.Event.ACTIVITY_PAUSED: return REASON_SUB_USAGE_MOVE_TO_BACKGROUND; in usageEventToSubReason()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java6038 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); in setState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt9466 field public static final int ACTIVITY_PAUSED = 2; // 0x2