Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java20 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
166 left.update("com.test.activity1", 350000, ACTIVITY_PAUSED, 1); in testActivity()
169 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED); in testActivity()
212 left.update("com.test.activity1", 100000, ACTIVITY_PAUSED, 1);
215 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
224 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1);
227 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
303 left.update("com.test.activity1", 250000, ACTIVITY_PAUSED, 1);
306 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
310 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;
376 || type == ACTIVITY_PAUSED) { in hasVisibleActivity()
436 && eventType != ACTIVITY_PAUSED in updateActivity()
451 case ACTIVITY_PAUSED: in updateActivity()
472 case ACTIVITY_PAUSED: in updateActivity()
543 case ACTIVITY_PAUSED: in update()
DUsageEvents.java131 public static final int ACTIVITY_PAUSED = MOVE_TO_BACKGROUND; field in UsageEvents.Event
/frameworks/base/core/java/android/service/contentcapture/
DActivityEvent.java48 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.java100 case UsageEvents.Event.ACTIVITY_PAUSED: in querySince()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java18 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
273 case ACTIVITY_PAUSED: in isStatefulEvent()
DUserUsageStatsService.java315 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent()
892 || event.mEventType == Event.ACTIVITY_PAUSED in printEvent()
1123 case Event.ACTIVITY_PAUSED: in eventToString()
DUsageStatsService.java789 case Event.ACTIVITY_PAUSED: in reportEvent()
838 case Event.ACTIVITY_PAUSED: in reportEvent()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java874 || eventType == UsageEvents.Event.ACTIVITY_PAUSED in reportEvent()
963 case UsageEvents.Event.ACTIVITY_PAUSED: return REASON_SUB_USAGE_MOVE_TO_BACKGROUND; in usageEventToSubReason()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java4424 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); in setState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3226 if (mContentCaptureService != null && (event == Event.ACTIVITY_PAUSED in updateActivityUsageStats()
/frameworks/base/api/
Dcurrent.txt8049 field public static final int ACTIVITY_PAUSED = 2; // 0x2