Home
last modified time | relevance | path

Searched refs:whereActivity (Results 1 – 25 of 36) sorted by relevance

12

/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/
DActivityEventsImpl.java42 .whereActivity().activityClass().className().isEqualTo( in activityCreated()
50 .whereActivity().activityClass().className().isEqualTo( in activityDestroyed()
58 .whereActivity().activityClass().className().isEqualTo( in activityPaused()
66 .whereActivity().activityClass().className().isEqualTo( in activityRestarted()
74 .whereActivity().activityClass().className().isEqualTo( in activityResumed()
83 .whereActivity().activityClass().className().isEqualTo( in activityStarted()
92 .whereActivity().activityClass().className().isEqualTo( in activityStopped()
DActivityRestartedEvent.java62 public ActivityQuery<ActivityRestartedEventQuery> whereActivity() { in whereActivity() method in ActivityRestartedEvent.ActivityRestartedEventQuery
DActivityResumedEvent.java62 public ActivityQuery<ActivityResumedEventQuery> whereActivity() { in whereActivity() method in ActivityResumedEvent.ActivityResumedEventQuery
DActivityPausedEvent.java62 public ActivityQuery<ActivityPausedEventQuery> whereActivity() { in whereActivity() method in ActivityPausedEvent.ActivityPausedEventQuery
DActivityStoppedEvent.java61 public ActivityQuery<ActivityStoppedEventQuery> whereActivity() { in whereActivity() method in ActivityStoppedEvent.ActivityStoppedEventQuery
DActivityStartedEvent.java61 public ActivityQuery<ActivityStartedEventQuery> whereActivity() { in whereActivity() method in ActivityStartedEvent.ActivityStartedEventQuery
DActivityDestroyedEvent.java62 public ActivityQuery<ActivityDestroyedEventQuery> whereActivity() { in whereActivity() method in ActivityDestroyedEvent.ActivityDestroyedEventQuery
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppActivitiesTest.java69 .whereActivity().activityClass().className().isEqualTo(EXISTING_ACTIVITY) in query_matchesActivity_returnsActivity()
78 .whereActivity().activityClass().className().isEqualTo(EXISTING_ACTIVITY) in query_matchesPreviouslyReturnedActivity_throwsException()
83 .whereActivity().activityClass().className().isEqualTo(EXISTING_ACTIVITY) in query_matchesPreviouslyReturnedActivity_throwsException()
91 .whereActivity().activityClass().className() in query_doesNotMatchActivity_throwsException()
106 .whereActivity().activityClass().className().isEqualTo(EXISTING_ACTIVITY) in query_matchesActivityPreviouslyReturnedByDifferentInstance_returnsActivity()
113 .whereActivity().activityClass().className().isEqualTo(EXISTING_ACTIVITY) in query_matchesActivityPreviouslyReturnedByDifferentInstance_returnsActivity()
128 queryBuilder.whereActivity().activityClass().className().isNull(); in queryBuilderIsEmpty_hasActivityQuery_returnsFalse()
DTestAppAppComponentFactoryTest.java78 .whereActivity().activityClass().className() in startActivity_activityDoesNotExist_startsLoggingActivity()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/
DEventLibActivityTest.java72 .whereActivity().activityClass().isSameClassAs(EventLibActivity.class); in launchEventLibActivity_logsActivityCreatedEvent()
86 … .whereActivity().activityClass().className().isEqualTo(GENERATED_ACTIVITY_CLASS_NAME); in launchEventLibActivity_withGeneratedActivityClass_logsActivityCreatedEventWithCorrectClassName()
103 .whereActivity().activityClass().isSameClassAs(EventLibActivity.class); in startEventLibActivity_logsActivityStartedEvent()
120 … .whereActivity().activityClass().className().isEqualTo(GENERATED_ACTIVITY_CLASS_NAME); in startEventLibActivity_withGeneratedActivityClass_logsActivityStartedEventWithCorrectClassName()
137 .whereActivity().activityClass().isSameClassAs(EventLibActivity.class); in stopEventLibActivity_logsActivityStoppedEvent()
154 … .whereActivity().activityClass().className().isEqualTo(GENERATED_ACTIVITY_CLASS_NAME); in stopEventLibActivity_withGeneratedActivityClass_logsActivityStoppedEventWithCorrectClassName()
171 .whereActivity().activityClass().isSameClassAs(EventLibActivity.class); in destroyEventLibActivity_logsActivityDestroyedEvent()
188 … .whereActivity().activityClass().className().isEqualTo(GENERATED_ACTIVITY_CLASS_NAME); in destroyEventLibActivity_withGeneratedActivityClass_logsActivityDestroyedEventWithCorrectClassName()
207 .whereActivity().activityClass().isSameClassAs(EventLibActivity.class); in pauseEventLibActivity_logsActivityPausedEvent()
226 … .whereActivity().activityClass().className().isEqualTo(GENERATED_ACTIVITY_CLASS_NAME); in pauseEventLibActivity_withGeneratedActivityClass_logsActivityPausedEventWithCorrectClassName()
[all …]
DEventLibAppComponentFactoryTest.java70 … .whereActivity().activityClass().className().isEqualTo(DECLARED_ACTIVITY_WITH_NO_CLASS); in startActivity_activityDoesNotExist_startsLoggingActivity()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DActivityTest.java73 .whereActivity().exported().isTrue() in startActivityForResultAsUser_differentUser_startedSuccessfully()
96 .whereActivity().exported().isTrue() in startActivityForResultAsUser_requestCodeAndResultPassedSuccessfully()
130 .whereActivity().exported().isTrue() in startActivityForResultAsUser_noPermissions_throwsSecurityException()
153 .whereActivity().exported().isTrue() in startActivityAsUser_differentUser_startedSuccessfully()
177 .whereActivity().exported().isTrue() in startActivityAsUser_noPermissions_throwsSecurityException()
DStatusBarTest.java71 .whereActivity().exported().isTrue() in statusBar_personalActivityIsInForeground_doesNotIncludeWorkBadge()
72 .whereActivity().intentFilters().isEmpty() in statusBar_personalActivityIsInForeground_doesNotIncludeWorkBadge()
89 .whereActivity().exported().isTrue() in statusBar_workActivityIsInForeground_includesWorkBadge()
90 .whereActivity().intentFilters().isEmpty() in statusBar_workActivityIsInForeground_includesWorkBadge()
DSystemErrorDialogsTest.java151 t.activities().query().whereActivity().exported().isTrue().get().start(); in appCrashes_disallowSystemErrorDialogsNotSet_alwaysShowSystemErrorDialogsEnabled_showsDialog()
175 t.activities().query().whereActivity().exported().isTrue().get().start(); in appCrashes_disallowSystemErrorDialogsSet_alwaysShowSystemErrorDialogsEnabled_doesNotShowDialog()
DLauncherAppsTest.java207 .whereActivity().exported().isTrue() in disableMainActivity()
208 .whereActivity().intentFilters().contains( in disableMainActivity()
DManagedProfileTest.java71 testApp.activities().query().whereActivity().exported().isTrue().get(); in startActivityInManagedProfile_activityStarts()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DProcessReferenceTest.java47 testApp.activities().query().whereActivity().exported().isTrue().get().start(); in kill_killsProcess()
64 testApp.activities().query().whereActivity().exported().isTrue().get().start(); in crash_crashesProcess()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/activities/
DActivityPausedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityStartedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityRestartedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityResumedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityDestroyedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityStoppedEventTest.java59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
DActivityCreatedEventTest.java141 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works()
157 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivitiesQueryBuilder.java43 public ActivityQuery<TestAppActivitiesQueryBuilder> whereActivity() { in whereActivity() method in TestAppActivitiesQueryBuilder

12