/cts/tests/tests/app/src/android/app/cts/ |
D | KeyguardInitialLockTest.java | 38 for (ResolveInfo ri : activities) { in testSetInitialLockPermission() 39 if (ri != null) { in testSetInitialLockPermission() 40 allowedPackages.add(ri.activityInfo.packageName); in testSetInitialLockPermission() 41 validPkg = ri.activityInfo.packageName; in testSetInitialLockPermission()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodRegistrationTest.java | 95 ri -> ri.serviceInfo.applicationInfo.className != null in verifyTestSetup_initiallyDisabledImes_AreFound() 97 ComponentName.createRelative(ri.serviceInfo.applicationInfo.packageName, in verifyTestSetup_initiallyDisabledImes_AreFound() 98 ri.serviceInfo.applicationInfo.className)) in verifyTestSetup_initiallyDisabledImes_AreFound() 99 && !ri.serviceInfo.enabled).findAny(); in verifyTestSetup_initiallyDisabledImes_AreFound() 101 ri -> ri.serviceInfo.applicationInfo.className != null in verifyTestSetup_initiallyDisabledImes_AreFound() 103 ComponentName.createRelative(ri.serviceInfo.applicationInfo.packageName, in verifyTestSetup_initiallyDisabledImes_AreFound() 104 ri.serviceInfo.applicationInfo.className)) in verifyTestSetup_initiallyDisabledImes_AreFound() 105 && !ri.serviceInfo.enabled).findAny(); in verifyTestSetup_initiallyDisabledImes_AreFound()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | IntentSenderRemovalTest.java | 41 ResolveInfo ri = pm.resolveActivity(debugIntentSender, 0); in testIntentSenderIntent() local 43 assertNull("com.android.settings.DebugIntentSender should not be a valid activity", ri); in testIntentSenderIntent()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | IntentSenderActivity.java | 101 for (ResolveInfo ri : ris) { in getCrossProfileResult() 102 if (!ri.activityInfo.packageName.equals("com.android.cts.intent.receiver")) { in getCrossProfileResult() 103 intent.setComponent(new ComponentName(ri.activityInfo.packageName, in getCrossProfileResult() 104 ri.activityInfo.name)); in getCrossProfileResult()
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | AppLocaleSettingsTest.java | 51 final ResolveInfo ri = InstrumentationRegistry.getTargetContext() in testAppLocaleSettingsExist() local 54 assertTrue(ri != null); in testAppLocaleSettingsExist()
|
D | TetherProvisioningCarrierDialogActivityTest.java | 55 final ResolveInfo ri = InstrumentationRegistry.getTargetContext() in testTetheringProvisioningCarrierUiExisted() local 58 assertTrue(ri != null); in testTetheringProvisioningCarrierUiExisted()
|
D | SettingsIntentsTest.java | 74 final ResolveInfo ri = mPackageManager.resolveActivity(intent, in settingActivity_launchSatelliteSettingIntent() local 76 assertNotNull(ri); in settingActivity_launchSatelliteSettingIntent()
|
D | SettingsIntentsInWorkProfileTest.java | 95 final ResolveInfo ri = packageManager.resolveActivity(intent, in startActivity() local 97 assertNotNull(ri); in startActivity()
|
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/ |
D | PhotoPickerPackageUtils.java | 58 final ResolveInfo ri = inst.getContext().getPackageManager().resolveActivity(intent, 0); in getActivityPackageNameFromIntent() local 59 return ri.activityInfo.packageName; in getActivityPackageNameFromIntent()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0642/ |
D | CVE_2021_0642.java | 67 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in testCVE_2021_0642() local 68 final String resolvedPkgName = ri.activityInfo.packageName; in testCVE_2021_0642() 69 final String resolvedActivityName = ri.activityInfo.name; in testCVE_2021_0642()
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | InlineReply.java | 45 final RemoteInput ri = new RemoteInput.Builder("result").setLabel("Remote input").build(); in showNotificationWithInlineReply() local 52 .addRemoteInput(ri) in showNotificationWithInlineReply()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/ |
D | DeviceTest.java | 96 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in startVulnerableActivity() local 97 assumeNotNull(mContext.getString(R.string.activityNotFoundMsg, intent), ri); in startVulnerableActivity() local 98 assumeNotNull(ri.activityInfo); in startVulnerableActivity() 99 mVulActivity = ri.activityInfo.name; in startVulnerableActivity()
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/ |
D | PrivilegedUpdateTest.java | 151 for (ResolveInfo ri : entries) { in assertFilterPriority() 152 if (ri.activityInfo.name.equals(className)) { in assertFilterPriority() 153 foundInfo = ri; in assertFilterPriority()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileUtils.java | 120 for (ResolveInfo ri : ris) { in testDisableAllBrowsers() 121 Log.d(TAG, "Hiding " + ri.activityInfo.packageName); in testDisableAllBrowsers() 122 dpm.setApplicationHidden(ADMIN_RECEIVER_COMPONENT, ri.activityInfo.packageName, true); in testDisableAllBrowsers()
|
/cts/tests/credentials/src/android/credentials/cts/ |
D | CtsSettingsIntentTest.java | 127 final ResolveInfo ri = in testCredentialManagerSettingsIntent() local 130 assertThat(ri).isNotNull(); in testCredentialManagerSettingsIntent() 167 final ResolveInfo ri = in testCredentialManagerAutofillSettingsIntent() local 170 assertThat(ri).isNotNull(); in testCredentialManagerAutofillSettingsIntent()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20230/src/android/security/cts/CVE_2022_20230/ |
D | DeviceTest.java | 330 ResolveInfo ri = pm.resolveActivity(vulIntent, PackageManager.MATCH_DEFAULT_ONLY); in testCVE_2022_20230() local 331 assumeNotNull(mContext.getString(R.string.activityNotFoundMsg) + intent, ri); in testCVE_2022_20230() local 332 String vulActivityName = ri.activityInfo.name; in testCVE_2022_20230()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | PocActivity.java | 41 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in onCreate() local 42 if (ri == null) { in onCreate()
|
D | DeviceTest.java | 136 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in testOverlayButtonPresence() local 137 assumeTrue(resources.getString(R.string.activityNotFoundMsg, intent), ri != null); in testOverlayButtonPresence() 138 String testVulnerableActivity = ri.activityInfo.name; in testOverlayButtonPresence()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/ |
D | DeviceTest.java | 88 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in startVulnerableActivity() local 89 assumeTrue(context.getString(R.string.activityNotFoundMsg, intent), ri != null); in startVulnerableActivity() 90 testVulnerablePackage = ri.activityInfo.packageName; in startVulnerableActivity()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/ |
D | DeviceTest.java | 74 for (ResolveInfo ri : ris) { in startVulnerableActivity() 75 if (ri.activityInfo.name in startVulnerableActivity() 77 mVulnerablePkgName = ri.activityInfo.packageName; in startVulnerableActivity()
|
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/ |
D | AbstractRecognitionServiceTest.java | 132 SpeechRecognitionActivity.RecognizerInfo ri = mActivity.getRecognizerInfoDefault(); in testStartListening() local 133 setCurrentRecognizer(ri.mRecognizer, CTS_VOICE_RECOGNITION_SERVICE); in testStartListening() 141 assertThat(ri.mCountDownLatch.await( in testStartListening() 389 SpeechRecognitionActivity.RecognizerInfo ri = in executeSequenceTest() local 391 assertThat(ri.mRecognizer).isNotNull(); in executeSequenceTest() 392 setCurrentRecognizer(ri.mRecognizer, IN_PACKAGE_RECOGNITION_SERVICE); in executeSequenceTest() 393 ri.mCallbackMethodsInvoked.clear(); in executeSequenceTest() 492 SpeechRecognitionActivity.RecognizerInfo ri = in executeSequenceTest() local 512 assertThat(ri.mCallbackMethodsInvoked).isEqualTo(sei.mExpectedClientCallbackMethods); in executeSequenceTest() 513 assertThat(ri.mErrorCodesReceived).isEqualTo(sei.mExpectedErrorCodesReceived); in executeSequenceTest()
|
/cts/tests/tests/systemintents/src/android/systemintents/cts/ |
D | TestSystemIntents.java | 120 final ResolveInfo ri = mPackageManager.resolveActivity(e.intent, in testSystemIntents() local 123 .that(ri).isNotNull(); in testSystemIntents()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/ |
D | DeviceTest.java | 99 ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in testOverlayButtonPresence() local 100 assumeNotNull(mContext.getString(R.string.activityNotFoundMsg, intent), ri); in testOverlayButtonPresence() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/ |
D | DeviceTest.java | 183 ResolveInfo ri = in testOverlayButtonPresence() local 186 String vulnerableActivityName = ri.activityInfo.name; in testOverlayButtonPresence() 187 String vulnerablePkgName = ri.activityInfo.packageName; in testOverlayButtonPresence()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0953/src/android/security/cts/CVE_2021_0953/ |
D | PocActivity.java | 84 for (ResolveInfo ri : ris) { in onCreate() 85 if (ri.activityInfo.name.contains("AllowBindAppWidgetActivity")) { in onCreate() 86 settingsPkgName = ri.activityInfo.packageName; in onCreate()
|