Home
last modified time | relevance | path

Searched refs:launchActivity (Results 1 – 25 of 49) sorted by relevance

12

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivityTest.java114 mActivityTestRule.launchActivity(intent); in onCreate_requestDisableIntent_hasDisableRequestType()
124 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType()
134 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout()
146 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout()
157 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan()
167 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog()
177 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered()
188 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery()
205 mActivityTestRule.launchActivity(intent); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
215 mActivityTestRule.launchActivity(intent); in onCreate_requestEnableIntent_hasEnableRequestType()
[all …]
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DResolverActivityTest.java142 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in twoOptionsAndUserSelectsOne()
173 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setMaxHeight()
216 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in setShowAtTopToTrue()
249 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivity()
279 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileOneOption()
313 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasOtherProfileTwoOptionsAndUserSelectsOne()
354 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in hasLastChosenActivityAndOtherProfile()
386 mActivityRule.launchActivity(sendIntent); in testWorkTab_displayedWhenWorkProfileUserAvailable()
396 mActivityRule.launchActivity(sendIntent); in testWorkTab_hiddenWhenWorkProfileUserNotAvailable()
414 final ResolverWrapperActivity activity = mActivityRule.launchActivity(sendIntent); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
[all …]
DChooserActivityTest.java355 final IChooserWrapper activity = (IChooserWrapper) mActivityRule.launchActivity( in customTitle()
370 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "chooser test")); in customTitleIgnoredForSendIntents()
382 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyTitle()
411 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in test_shareRichTextWithRichTitle_richTextAndRichTitleDisplayed()
446 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in emptyPreviewTitleAndThumbnail()
461 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithoutThumbnail()
479 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleWithInvalidThumbnail()
498 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in visiblePreviewTitleAndThumbnail()
514 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in twoOptionsAndUserSelectsOne()
560 mActivityRule.launchActivity(Intent.createChooser(sendIntent, null)); in fourOptionsStackedIntoOneTarget()
[all …]
DChooserActivityWorkProfileTest.java139 launchActivity(mTestCase.getIsSendAction()); in testBlocker()
406 private void launchActivity(boolean isSendAction) { in launchActivity() method in ChooserActivityWorkProfileTest
408 mActivityRule.launchActivity(Intent.createChooser(sendIntent, "Test")); in launchActivity()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/password/
DSetupChooseLockPasswordAppTest.java76 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in testSkipDialogIsShown()
89 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_activityLaunchedInitially()
97 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsNotShown_when_nothingEntered()
108 SetupChooseLockPassword activity = mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm()
112 mActivityTestRule.launchActivity(null); in clearIsShown_when_somethingEnteredToConfirm()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptDeviceActivityTest.java125 Activity activity = mActivityRule.launchActivity(PROFILE_OWNER_INTENT); in testProfileOwner()
146 Activity activity = mActivityRule.launchActivity(DEVICE_OWNER_INTENT); in testDeviceOwner()
167 mActivityRule.launchActivity(new Intent()); in testNoParams()
DWebActivityTest.java60 Activity activity = mActivityRule.launchActivity( in testUrlLaunched()
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkPolicyManagerTest.java146 launchActivity(); in testIsUidNetworkingBlocked_withDataSaverMode()
228 launchActivity(); in testIsUidRestrictedOnMeteredNetworks()
258 launchActivity(); in testIsUidNetworkingBlocked_whenInBackground()
DNetworkCallbackTest.java383 launchActivity(); in testOnBlockedStatusChanged_default()
409 launchActivity(); in testOnBlockedStatusChanged_default()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickActivityTest.java103 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked()
128 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked_otherUser()
154 PickActivity pickActivity = mRule.launchActivity(mIntentGetContent); in testOnDocumentPicked_otherUserDoesNotReturn()
DDialogUiTest.java140 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
161 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargerDensity()
181 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargestDensity()
203 mActivityTestRule.launchActivity(mFileActivityIntent); in testCreateDirectoryFragmentShows_textInputEditText_shouldNotTruncateOnLandscape()
DActivityTest.java144 launchActivity(); in setUp()
165 protected void launchActivity() { in launchActivity() method in ActivityTest
DInspectorUiTest.java41 public void launchActivity() { in launchActivity() method in InspectorUiTest
DPickerPreviewTextUiTest.java40 protected void launchActivity() { in launchActivity() method in PickerPreviewTextUiTest
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DActivityLauncher.kt76 private fun executeBlockAndExit(block: () -> Unit, launchActivity: () -> Unit) { in executeBlockAndExit()
79 launchActivity() in executeBlockAndExit()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DActionDisabledByAdminActivityTest.java55 mActivityTestRule.launchActivity(getIntent(false)); in onCreate_showDialog()
68 mActivityTestRule.launchActivity(getIntent(true)); in onCreate_readsIntentRestriction()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterActivityLauncher.kt98 fun executeBlockAndExit(block: () -> Unit, launchActivity: () -> Unit) { in executeBlockAndExit()
101 launchActivity() in executeBlockAndExit()
/packages/modules/AdServices/sdksandbox/tests/inprocess/src/com/android/sdksandbox/inprocess/
DSdkSandboxInstrumentationTest.java90 activity = mActivityRule.launchActivity(/* intent */ null); in testLaunchEmptyActivity()
107 return mActivityRule.launchActivity(/* intent */ null); in testLaunchEmptyActivity_sdkInSandbox()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DRetryLaunchActivity.java143 launchActivity(((LaunchActivityEvent) viewModelEvent).getIntent());
190 private void launchActivity(Intent intent) {
DRetryLaunchViewModel.java87 launchActivity(mActivityIntent); in tryStartActivity()
125 private void launchActivity(Intent intent) { in launchActivity() method in RetryLaunchViewModel
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivityTest.java145 mActivityRule.launchActivity( in expanderTest()
150 mActivityRule.launchActivity( in expanderTest()
209 mActivityRule.launchActivity( in expanderTest_automotive()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DPublicVolumeSettingsTest.java48 mActivityRule.launchActivity(intent); in test_invalidSetupDoesNotCrashSettings()
DPrivateVolumeForgetTest.java49 mActivityRule.launchActivity(intent); in test_invalidSetupDoesNotCrashSettings()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DDualPaneBaseCarSettingsActivityTest.java169 activityTestRule.launchActivity(null); in onActivityCreated_homepage_topLevelMenuFocused()
180 activityTestRule.launchActivity(null); in onActivityCreated_hasFragment_contentFocused()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DExpiredTimersActivityTest.java49 final ExpiredTimersActivity activity = rule.launchActivity(intent); in configurationChanges_DoNotResetFiringTimer()

12