Searched refs:ACTIVITY_PAUSED (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | UsageStatsTest.java | 20 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/ |
D | UsageStats.java | 20 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()
|
D | UsageEvents.java | 131 public static final int ACTIVITY_PAUSED = MOVE_TO_BACKGROUND; field in UsageEvents.Event
|
/frameworks/base/core/java/android/service/contentcapture/ |
D | ActivityEvent.java | 48 public static final int TYPE_ACTIVITY_PAUSED = Event.ACTIVITY_PAUSED;
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 162 case UsageEvents.Event.ACTIVITY_PAUSED: in eventToString()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | UsageStatsQueryHelper.java | 100 case UsageEvents.Event.ACTIVITY_PAUSED: in querySince()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 18 import static android.app.usage.UsageEvents.Event.ACTIVITY_PAUSED; 273 case ACTIVITY_PAUSED: in isStatefulEvent()
|
D | UserUsageStatsService.java | 315 } else if (event.mEventType == Event.ACTIVITY_PAUSED) { in reportEvent() 892 || event.mEventType == Event.ACTIVITY_PAUSED in printEvent() 1123 case Event.ACTIVITY_PAUSED: in eventToString()
|
D | UsageStatsService.java | 789 case Event.ACTIVITY_PAUSED: in reportEvent() 838 case Event.ACTIVITY_PAUSED: in reportEvent()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 874 || 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/ |
D | ActivityRecord.java | 4424 mAtmService.updateActivityUsageStats(this, Event.ACTIVITY_PAUSED); in setState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 3226 if (mContentCaptureService != null && (event == Event.ACTIVITY_PAUSED in updateActivityUsageStats()
|
/frameworks/base/api/ |
D | current.txt | 8049 field public static final int ACTIVITY_PAUSED = 2; // 0x2
|