Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/
DActivity.java99 ComponentReference startActivity = TestApis.activities().foregroundActivity(); in startActivity()
101 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity()
108 Poll.forValue("Foreground activity", () -> TestApis.activities().foregroundActivity()) in startActivity()
DActivities.java125 public ComponentReference foregroundActivity() { in foregroundActivity() method in Activities
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DStartActivityFromBackgroundTest.java57 () -> TestApis.activities().foregroundActivity()) in startActivityFromBackground_dpcNotAllowed_unableToStart()
73 () -> TestApis.activities().foregroundActivity()) in startActivityFromBackground_dpcAllowed_ableToStart()
DLockTaskTest.kt421 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in <lambda>()
454 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in <lambda>()
487 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in <lambda>()
524 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in <lambda>()
560 assertThat(TestApis.activities().foregroundActivity()).isNotEqualTo( in <lambda>()
590 assertThat(TestApis.activities().foregroundActivity()).isNotEqualTo( in <lambda>()
638 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in <lambda>()
677 assertThat(TestApis.activities().foregroundActivity()) in <lambda>()
719 .foregroundActivity() in <lambda>()
766 .foregroundActivity() in <lambda>()
[all …]
DMaximumTimeOffTest.java169 "foreground activity", () -> TestApis.activities().foregroundActivity()) in assertBlockedByAdminDialogAppears()
DApplicationExemptionsTest.java361 () -> TestApis.activities().foregroundActivity()) in setApplicationExemptions_noExemption_cannotStartActivityFromBg()
387 () -> TestApis.activities().foregroundActivity()) in setApplicationExemptions_activityBgStartRestrictionExemption_canStartActivityFromBg()
DCrossProfileSharingTest.java228 () -> TestApis.activities().foregroundActivity().componentName()) in addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppActivityReferenceTest.java52 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in start_activityIsStarted()
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/
DWorkProfileTelephonyTest.java249 () -> TestApis.activities().foregroundActivity()).toBeEqualTo( in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()
420 () -> TestApis.activities().foregroundActivity()).toBeEqualTo( in placeCall_fromPersonalProfile_allManagedSubscriptions_fails()
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java3318 Context foregroundActivity = mActivityRule.getActivity(); in testCameraOrientationAlignedWithDevice() local
3320 WindowManager windowManager = foregroundActivity.getSystemService(WindowManager.class); in testCameraOrientationAlignedWithDevice()
3334 Display display = foregroundActivity.getDisplay(); in testCameraOrientationAlignedWithDevice()