Searched refs:foregroundActivity (Results 1 – 10 of 10) sorted by relevance
99 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()
125 public ComponentReference foregroundActivity() { in foregroundActivity() method in Activities
57 () -> TestApis.activities().foregroundActivity()) in startActivityFromBackground_dpcNotAllowed_unableToStart()73 () -> TestApis.activities().foregroundActivity()) in startActivityFromBackground_dpcAllowed_ableToStart()
421 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 …]
169 "foreground activity", () -> TestApis.activities().foregroundActivity()) in assertBlockedByAdminDialogAppears()
361 () -> TestApis.activities().foregroundActivity()) in setApplicationExemptions_noExemption_cannotStartActivityFromBg()387 () -> TestApis.activities().foregroundActivity()) in setApplicationExemptions_activityBgStartRestrictionExemption_canStartActivityFromBg()
228 () -> TestApis.activities().foregroundActivity().componentName()) in addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched()
52 assertThat(TestApis.activities().foregroundActivity()).isEqualTo( in start_activityIsStarted()
249 () -> TestApis.activities().foregroundActivity()).toBeEqualTo( in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()420 () -> TestApis.activities().foregroundActivity()).toBeEqualTo( in placeCall_fromPersonalProfile_allManagedSubscriptions_fails()
3318 Context foregroundActivity = mActivityRule.getActivity(); in testCameraOrientationAlignedWithDevice() local3320 WindowManager windowManager = foregroundActivity.getSystemService(WindowManager.class); in testCameraOrientationAlignedWithDevice()3334 Display display = foregroundActivity.getDisplay(); in testCameraOrientationAlignedWithDevice()