HomeSort by relevance Sort by last modified time
    Searched refs:startedActivities (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/app.usage/src/android/app/usage/cts/
Activities.java 27 public static final ArraySet<Activity> startedActivities = new ArraySet();
38 synchronized (startedActivities) {
39 startedActivities.add(this);
45 synchronized (startedActivities) {
46 startedActivities.remove(this);
UsageReportingTest.java 75 synchronized ( Activities.startedActivities) {
76 activity = Activities.startedActivities.valueAt(0);
98 synchronized ( Activities.startedActivities) {
99 activity = Activities.startedActivities.valueAt(0);
114 synchronized ( Activities.startedActivities) {
115 activity = Activities.startedActivities.valueAt(0);
133 synchronized ( Activities.startedActivities) {
134 activity = Activities.startedActivities.valueAt(0);
172 synchronized ( Activities.startedActivities) {
173 activity = Activities.startedActivities.valueAt(0)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowInstrumentation.java 63 private List<Intent> startedActivities = new ArrayList<>();
128 startedActivities.add(intent);
398 if (startedActivities.isEmpty()) {
401 return startedActivities.remove(startedActivities.size() - 1);
406 if (startedActivities.isEmpty()) {
409 return startedActivities.get(startedActivities.size() - 1);
420 startedActivities.clear();

Completed in 236 milliseconds