Home
last modified time | relevance | path

Searched refs:testIntent (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceEnrollEducationTest.java95 final Intent testIntent = new Intent(); in setupActivityForPosture() local
97 testIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, new byte[0]); in setupActivityForPosture()
98 testIntent.putExtra(EXTRA_KEY_NEXT_LAUNCHED, false); in setupActivityForPosture()
99 testIntent.putExtra(EXTRA_LAUNCHED_POSTURE_GUIDANCE, false); in setupActivityForPosture()
102 testIntent); in setupActivityForPosture()
105 TestFaceEnrollEducation.class, testIntent); in setupActivityForPosture()
112 final Intent testIntent = new Intent(); in setupActivity() local
114 testIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, new byte[0]); in setupActivity()
120 TestFaceEnrollEducation.class, testIntent); in setupActivity()
DFaceEnrollIntroductionTest.java203 final Intent testIntent = new Intent(); in setupActivity() local
205 testIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, new byte[0]); in setupActivity()
206 testIntent.putExtra(BiometricUtils.EXTRA_ENROLL_REASON, in setupActivity()
214 TestFaceEnrollIntroduction.class, testIntent); in setupActivity()
227 final Intent testIntent = new Intent(); in setupActivityForPosture() local
229 testIntent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, new byte[0]); in setupActivityForPosture()
230 testIntent.putExtra(EXTRA_KEY_NEXT_LAUNCHED, false); in setupActivityForPosture()
231 testIntent.putExtra(EXTRA_LAUNCHED_POSTURE_GUIDANCE, false); in setupActivityForPosture()
232 testIntent.putExtra(BiometricUtils.EXTRA_ENROLL_REASON, in setupActivityForPosture()
236 testIntent); in setupActivityForPosture()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenRuleStarredContactsPreferenceControllerTest.java62 private Intent testIntent; field in ZenRuleStarredContactsPreferenceControllerTest
83 when(testIntent.resolveActivity(any())).thenReturn(mComponentName); in setup()
90 ReflectionHelpers.setField(mCallsController, "mStarredContactsIntent", testIntent); in setup()
99 ReflectionHelpers.setField(mMessagesController, "mStarredContactsIntent", testIntent); in setup()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/broadcast/
DBroadcastDispatcherTest.kt72 val testIntent = Intent("ACTION_TEST") in <lambda>() constant
89 capturedReceiver?.let { collectedValues.add(testIntent to it.broadcastReceiver) } in <lambda>()
95 val expectedValues = listOf(testIntent to capturedReceiver?.broadcastReceiver) in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/
DSelectionBarFeatureTest.kt162 val testIntent = in setup() constant
166 configurationManager.setIntent(testIntent) in setup()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/cloudmedia/
DMediaPreloaderTest.kt192 val testIntent = in setup() constant
196 configurationManager.setIntent(testIntent) in setup()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java1028 final Intent testIntent = new Intent(); in testGetChooseCloudMediaAccountActivityIntent() local
1029 mBannerController.setChooseCloudMediaAccountActivityIntent(testIntent); in testGetChooseCloudMediaAccountActivityIntent()
1032 assertEquals(testIntent, in testGetChooseCloudMediaAccountActivityIntent()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java1146 final Intent testIntent = makeDirectlyOpenIntent(uri, mimeType); in startDirectlyOpenDownload() local
1147 if (getPackageManager().resolveActivity(testIntent, 0 /* flag */) == null) { in startDirectlyOpenDownload()
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java3039 Intent testIntent = new Intent("TestIntent"); in createShortcuts() local
3044 .setIntent(testIntent).setShortLabel("label1").setRank(3).build(), // 0 2 in createShortcuts()
3048 .setIntent(testIntent).setShortLabel("label2").setRank(7).build(), // 1 3 in createShortcuts()
3052 .setIntent(testIntent).setShortLabel("label3").setRank(1).build(), // 2 0 in createShortcuts()
3056 .setIntent(testIntent).setShortLabel("label4").setRank(3).build(), // 3 2 in createShortcuts()