Home
last modified time | relevance | path

Searched refs:ActivityCreatedEvent (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/activities/
DActivityCreatedEventTest.java63 ActivityCreatedEvent.logger(activity, ACTIVITY_INFO, mSavedInstanceState) in whereSavedInstanceState_works()
66 EventLogs<ActivityCreatedEvent> eventLogs = in whereSavedInstanceState_works()
67 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereSavedInstanceState_works()
81 ActivityCreatedEvent.logger(activity, ACTIVITY_INFO, differentInstanceState) in whereSavedInstanceState_skipsNonMatching()
83 ActivityCreatedEvent.logger(activity, ACTIVITY_INFO, mSavedInstanceState) in whereSavedInstanceState_skipsNonMatching()
87 EventLogs<ActivityCreatedEvent> eventLogs = in whereSavedInstanceState_skipsNonMatching()
88 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in whereSavedInstanceState_skipsNonMatching()
99 ActivityCreatedEvent.logger(activity, ACTIVITY_INFO, mSavedInstanceState) in wherePersistentState_works()
103 EventLogs<ActivityCreatedEvent> eventLogs = in wherePersistentState_works()
104 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in wherePersistentState_works()
[all …]
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/
DActivityCreatedEvent.java44 public final class ActivityCreatedEvent extends Event { class
55 extends EventLogsQuery<ActivityCreatedEvent, ActivityCreatedEventQuery> {
67 super(ActivityCreatedEvent.class, packageName); in ActivityCreatedEventQuery()
102 protected boolean filter(ActivityCreatedEvent event) { in filter()
120 return toStringBuilder(ActivityCreatedEvent.class, this) in describeQuery()
135 public static final class ActivityCreatedEventLogger extends EventLogger<ActivityCreatedEvent> {
137 super(activity, new ActivityCreatedEvent()); in ActivityCreatedEventLogger()
DActivityEventsImpl.java40 public ActivityCreatedEvent.ActivityCreatedEventQuery activityCreated() { in activityCreated()
41 return ActivityCreatedEvent.queryPackage(mComponentName.getPackageName()) in activityCreated()
DActivityEvents.kt23 import com.android.eventlib.events.activities.ActivityCreatedEvent.ActivityCreatedEventQuery
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibAppComponentFactoryTest.java27 import com.android.eventlib.events.activities.ActivityCreatedEvent;
68 EventLogs<ActivityCreatedEvent> eventLogs = in startActivity_activityDoesNotExist_startsLoggingActivity()
69 ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in startActivity_activityDoesNotExist_startsLoggingActivity()
DEventLibActivityTest.java33 import com.android.eventlib.events.activities.ActivityCreatedEvent;
70 EventLogs<ActivityCreatedEvent> eventLogs = ActivityCreatedEvent in launchEventLibActivity_logsActivityCreatedEvent()
84 EventLogs<ActivityCreatedEvent> eventLogs = ActivityCreatedEvent in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppAppComponentFactoryTest.java31 import com.android.eventlib.events.activities.ActivityCreatedEvent;
77 assertThat(ActivityCreatedEvent.queryPackage(sContext.getPackageName()) in startActivity_activityDoesNotExist_startsLoggingActivity()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/premade/
DEventLibActivity.java26 import com.android.eventlib.events.activities.ActivityCreatedEvent;
93 ActivityCreatedEvent.logger(this, activityInfo(), savedInstanceState) in logOnCreate()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppEvents.kt18 import com.android.eventlib.events.activities.ActivityCreatedEvent
19 import com.android.eventlib.events.activities.ActivityCreatedEvent.ActivityCreatedEventQuery
132 ActivityCreatedEvent.queryPackage(mTestApp.packageName()).onUser(mTestApp.user())
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java81 import com.android.eventlib.events.activities.ActivityCreatedEvent;
589 ActivityCreatedEvent event = in startActivity_byIntent_sameTaskByDefault()
611 ActivityCreatedEvent event = in startMainActivity_byComponent_nullActivity_newTask()
633 ActivityCreatedEvent event = in startMainActivity_byComponent_setsActivity_sameTask()
655 ActivityCreatedEvent event = in startNonMainActivity_byComponent_nullActivity_newTask()
677 ActivityCreatedEvent event = in startNonMainActivity_byComponent_setsActivity_sameTask()