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;
154 left.update("com.test.activity1", 350000, ACTIVITY_PAUSED, 1); in testActivity()
157 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED); in testActivity()
200 left.update("com.test.activity1", 100000, ACTIVITY_PAUSED, 1);
203 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
212 left.update("com.test.activity1", 300000, ACTIVITY_PAUSED, 1);
215 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
291 left.update("com.test.activity1", 250000, ACTIVITY_PAUSED, 1);
294 assertEquals(left.mActivities.get(1), ACTIVITY_PAUSED);
298 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;
364 || type == ACTIVITY_PAUSED) { in hasVisibleActivity()
424 && eventType != ACTIVITY_PAUSED in updateActivity()
439 case ACTIVITY_PAUSED: in updateActivity()
460 case ACTIVITY_PAUSED: in updateActivity()
531 case ACTIVITY_PAUSED: in update()
DUsageEvents.java94 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/usage/java/com/android/server/usage/
DIntervalStats.java18 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED;
259 case ACTIVITY_PAUSED: in isStatefulEvent()
DUserUsageStatsService.java203 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent()
737 || event.mEventType == Event.ACTIVITY_PAUSED in printEvent()
967 case Event.ACTIVITY_PAUSED: in eventToString()
DAppStandbyController.java881 || event.mEventType == UsageEvents.Event.ACTIVITY_PAUSED in reportEvent()
941 case UsageEvents.Event.ACTIVITY_PAUSED: return REASON_SUB_USAGE_MOVE_TO_BACKGROUND; in usageEventToSubReason()
DUsageStatsService.java500 case Event.ACTIVITY_PAUSED: in reportEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1887 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); in setState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3110 if (mContentCaptureService != null && (event == Event.ACTIVITY_PAUSED in updateActivityUsageStats()
/frameworks/base/non-updatable-api/
Dcurrent.txt7747 field public static final int ACTIVITY_PAUSED = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt7747 field public static final int ACTIVITY_PAUSED = 2; // 0x2