Home
last modified time | relevance | path

Searched refs:ACTIVITY_RESUMED (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java21 import static android.app.usage.UsageEvents.Event.ACTIVITY_RESUMED;
129 left.mActivities.put(1, Event.ACTIVITY_RESUMED); in testParcelable()
130 left.mActivities.put(2, Event.ACTIVITY_RESUMED); in testParcelable()
146 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1); in testActivity()
149 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); in testActivity()
181 left.update("com.test.activity1", 100000, Event.ACTIVITY_RESUMED, 1);
184 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED);
190 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED);
205 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1);
208 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED);
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java21 import static android.app.usage.UsageEvents.Event.ACTIVITY_RESUMED;
348 if (mActivities.valueAt(i) == ACTIVITY_RESUMED) { in hasForegroundActivity()
363 if (type == ACTIVITY_RESUMED in hasVisibleActivity()
423 if (eventType != ACTIVITY_RESUMED in updateActivity()
435 case ACTIVITY_RESUMED: in updateActivity()
449 case ACTIVITY_RESUMED: in updateActivity()
530 case ACTIVITY_RESUMED: in update()
577 if (eventType == ACTIVITY_RESUMED) { in update()
DUsageEvents.java77 public static final int ACTIVITY_RESUMED = MOVE_TO_FOREGROUND; field in UsageEvents.Event
/frameworks/base/core/java/android/service/contentcapture/
DActivityEvent.java43 public static final int TYPE_ACTIVITY_RESUMED = Event.ACTIVITY_RESUMED;
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java159 case UsageEvents.Event.ACTIVITY_RESUMED: in eventToString()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java92 event.mEventType = UsageEvents.Event.ACTIVITY_RESUMED; in populateIntervalStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java19 import static android.app.usage.UsageEvents.Event.ACTIVITY_RESUMED;
258 case ACTIVITY_RESUMED: in isStatefulEvent()
DUserUsageStatsService.java199 if (event.mEventType == Event.ACTIVITY_RESUMED) { in reportEvent()
736 } else if (event.mEventType == Event.ACTIVITY_RESUMED in printEvent()
969 case Event.ACTIVITY_RESUMED: in eventToString()
DAppStandbyController.java880 if ((event.mEventType == UsageEvents.Event.ACTIVITY_RESUMED in reportEvent()
940 case UsageEvents.Event.ACTIVITY_RESUMED: return REASON_SUB_USAGE_MOVE_TO_FOREGROUND; in usageEventToSubReason()
DUsageStatsService.java481 case Event.ACTIVITY_RESUMED: in reportEvent()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1884 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_RESUMED); in setState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3111 || event == Event.ACTIVITY_RESUMED || event == Event.ACTIVITY_STOPPED in updateActivityUsageStats()
/frameworks/base/non-updatable-api/
Dcurrent.txt7748 field public static final int ACTIVITY_RESUMED = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt7748 field public static final int ACTIVITY_RESUMED = 1; // 0x1