/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/activities/ |
D | ActivityEventsImpl.java | 42 .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()
|
D | ActivityRestartedEvent.java | 62 public ActivityQuery<ActivityRestartedEventQuery> whereActivity() { in whereActivity() method in ActivityRestartedEvent.ActivityRestartedEventQuery
|
D | ActivityResumedEvent.java | 62 public ActivityQuery<ActivityResumedEventQuery> whereActivity() { in whereActivity() method in ActivityResumedEvent.ActivityResumedEventQuery
|
D | ActivityPausedEvent.java | 62 public ActivityQuery<ActivityPausedEventQuery> whereActivity() { in whereActivity() method in ActivityPausedEvent.ActivityPausedEventQuery
|
D | ActivityStoppedEvent.java | 61 public ActivityQuery<ActivityStoppedEventQuery> whereActivity() { in whereActivity() method in ActivityStoppedEvent.ActivityStoppedEventQuery
|
D | ActivityStartedEvent.java | 61 public ActivityQuery<ActivityStartedEventQuery> whereActivity() { in whereActivity() method in ActivityStartedEvent.ActivityStartedEventQuery
|
D | ActivityDestroyedEvent.java | 62 public ActivityQuery<ActivityDestroyedEventQuery> whereActivity() { in whereActivity() method in ActivityDestroyedEvent.ActivityDestroyedEventQuery
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppActivitiesTest.java | 69 .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()
|
D | TestAppAppComponentFactoryTest.java | 78 .whereActivity().activityClass().className() in startActivity_activityDoesNotExist_startsLoggingActivity()
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibActivityTest.java | 72 .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 …]
|
D | EventLibAppComponentFactoryTest.java | 70 … .whereActivity().activityClass().className().isEqualTo(DECLARED_ACTIVITY_WITH_NO_CLASS); in startActivity_activityDoesNotExist_startsLoggingActivity()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ActivityTest.java | 73 .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()
|
D | StatusBarTest.java | 71 .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()
|
D | SystemErrorDialogsTest.java | 151 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()
|
D | LauncherAppsTest.java | 207 .whereActivity().exported().isTrue() in disableMainActivity() 208 .whereActivity().intentFilters().contains( in disableMainActivity()
|
D | ManagedProfileTest.java | 71 testApp.activities().query().whereActivity().exported().isTrue().get(); in startActivityInManagedProfile_activityStarts()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/ |
D | ProcessReferenceTest.java | 47 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/ |
D | ActivityPausedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityStartedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityRestartedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityResumedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityDestroyedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityStoppedEventTest.java | 59 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_works() 75 .whereActivity().activityClass().className().isEqualTo(ACTIVITY_CLASS_NAME); in whereActivity_skipsNonMatching()
|
D | ActivityCreatedEventTest.java | 141 .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/ |
D | TestAppActivitiesQueryBuilder.java | 43 public ActivityQuery<TestAppActivitiesQueryBuilder> whereActivity() { in whereActivity() method in TestAppActivitiesQueryBuilder
|