Home
last modified time | relevance | path

Searched refs:startedActivities (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java77 synchronized ( Activities.startedActivities) { in testUsageStartAndStopReporting()
78 activity = Activities.startedActivities.valueAt(0); in testUsageStartAndStopReporting()
100 synchronized ( Activities.startedActivities) { in testUsagePastReporting()
101 activity = Activities.startedActivities.valueAt(0); in testUsagePastReporting()
116 synchronized ( Activities.startedActivities) { in testUsageReportingMissingStop()
117 activity = Activities.startedActivities.valueAt(0); in testUsageReportingMissingStop()
135 synchronized ( Activities.startedActivities) { in testExceptionOnRepeatReport()
136 activity = Activities.startedActivities.valueAt(0); in testExceptionOnRepeatReport()
174 synchronized ( Activities.startedActivities) { in testMultipleTokenUsageReporting()
175 activity = Activities.startedActivities.valueAt(0); in testMultipleTokenUsageReporting()
[all …]
DActivities.java27 public static final ArraySet<Activity> startedActivities = new ArraySet(); field in Activities
38 synchronized (startedActivities) { in onStart()
39 startedActivities.add(this); in onStart()
45 synchronized (startedActivities) { in onStop()
46 startedActivities.remove(this); in onStop()