Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/usage/
DUsageStatsTest.java21 import static android.app.usage.UsageEvents.Event.ACTIVITY_RESUMED;
141 left.mActivities.put(1, Event.ACTIVITY_RESUMED); in testParcelable()
142 left.mActivities.put(2, Event.ACTIVITY_RESUMED); in testParcelable()
158 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1); in testActivity()
161 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED); in testActivity()
193 left.update("com.test.activity1", 100000, Event.ACTIVITY_RESUMED, 1);
196 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED);
202 assertEquals(left.mActivities.get(1), Event.ACTIVITY_RESUMED);
217 left.update("com.test.activity1", 200000, Event.ACTIVITY_RESUMED, 1);
220 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;
360 if (mActivities.valueAt(i) == ACTIVITY_RESUMED) { in hasForegroundActivity()
375 if (type == ACTIVITY_RESUMED in hasVisibleActivity()
435 if (eventType != ACTIVITY_RESUMED in updateActivity()
447 case ACTIVITY_RESUMED: in updateActivity()
461 case ACTIVITY_RESUMED: in updateActivity()
542 case ACTIVITY_RESUMED: in update()
601 if (eventType == ACTIVITY_RESUMED) { in update()
DUsageEvents.java114 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/services/tests/servicestests/src/com/android/server/people/data/
DUsageStatsQueryHelperTest.java195 assertEquals(UsageEvents.Event.ACTIVITY_RESUMED, events.get(0).getEventType()); in testQueryAppMovingToForegroundEvents()
197 assertEquals(UsageEvents.Event.ACTIVITY_RESUMED, events.get(1).getEventType()); in testQueryAppMovingToForegroundEvents()
305 UsageEvents.Event e = createUsageEvent(UsageEvents.Event.ACTIVITY_RESUMED, timestamp); in createActivityResumedEvent()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java159 case UsageEvents.Event.ACTIVITY_RESUMED: in eventToString()
/frameworks/base/services/people/java/com/android/server/people/data/
DUsageStatsQueryHelper.java132 if (e.getEventType() == UsageEvents.Event.ACTIVITY_RESUMED) { in queryAppMovingToForegroundEvents()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java94 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;
272 case ACTIVITY_RESUMED: in isStatefulEvent()
DUserUsageStatsService.java311 if (event.mEventType == Event.ACTIVITY_RESUMED) { in reportEvent()
891 } else if (event.mEventType == Event.ACTIVITY_RESUMED in printEvent()
1125 case Event.ACTIVITY_RESUMED: in eventToString()
DUsageStatsService.java788 case Event.ACTIVITY_RESUMED: in reportEvent()
812 case Event.ACTIVITY_RESUMED: in reportEvent()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java873 if ((eventType == UsageEvents.Event.ACTIVITY_RESUMED in reportEvent()
962 case UsageEvents.Event.ACTIVITY_RESUMED: return REASON_SUB_USAGE_MOVE_TO_FOREGROUND; in usageEventToSubReason()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java4421 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_RESUMED); in setState()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3227 || event == Event.ACTIVITY_RESUMED || event == Event.ACTIVITY_STOPPED in updateActivityUsageStats()
/frameworks/base/api/
Dcurrent.txt8050 field public static final int ACTIVITY_RESUMED = 1; // 0x1