/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentsPreferenceControllerTest.java | 27 import android.content.pm.ResolveInfo; 100 final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); in onStart_noTrustAgent_shouldNotAddPreference() 113 final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); in onStart_hasAUninstalledTrustAgent_shouldRemoveOnePreferenceAndLeaveTwoPreferences() 114 final ResolveInfo uninstalledTrustAgent = availableAgents.get(0); in onStart_hasAUninstalledTrustAgent_shouldRemoveOnePreferenceAndLeaveTwoPreferences() 116 for (ResolveInfo rInfo : availableAgents) { in onStart_hasAUninstalledTrustAgent_shouldRemoveOnePreferenceAndLeaveTwoPreferences() 133 final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); in onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences() 135 final ResolveInfo newTrustAgent = createFakeResolveInfo(newComponentName); in onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences() 136 for (ResolveInfo rInfo : availableAgents) { in onStart_hasANewTrustAgent_shouldAddOnePreferenceAndHaveFourPreferences() 155 final List<ResolveInfo> availableAgents = createFakeAvailableAgents(); in onStart_hasUnrestrictedTrustAgent_shouldAddThreeChangeablePreferences() 156 for (ResolveInfo rInfo : availableAgents) { in onStart_hasUnrestrictedTrustAgent_shouldAddThreeChangeablePreferences() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 29 import android.content.pm.ResolveInfo; 87 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_stringResources_shouldLoadResources() 117 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_metadataBundleIsValue() 122 ResolveInfo resolveInfoNonSystem = new ResolveInfo(); in testLoadPreference_metadataBundleIsValue() 157 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_integerResources_shouldLoadResources() 162 ResolveInfo resolveInfoNonSystem = new ResolveInfo(); in testLoadPreference_integerResources_shouldLoadResources() 192 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_noDefaultSummary() 220 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_noCategory_shouldSetToDeviceCategory() 249 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_noCategoryMatched_shouldNotReturnPreferences() 274 ResolveInfo resolveInfoSystem = new ResolveInfo(); in testLoadPreference_shouldLoadDefaultIcon() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestPackageManager.java | 25 import android.content.pm.ResolveInfo; 41 public Map<String, ResolveInfo> contentProviders; 42 public List<ResolveInfo> queryIntentProvidersResults = new ArrayList<>(); 48 ResolveInfo info = new ResolveInfo(); in addStubContentProviderForRoot() 64 public List<ResolveInfo> queryIntentContentProviders(Intent intent, int flags) { in queryIntentContentProviders() 65 List<ResolveInfo> result = new ArrayList<>(); in queryIntentContentProviders() 74 public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { in queryIntentActivities() 83 public ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() 84 ResolveInfo info = new TestResolveInfo(); in resolveActivity() 94 public final ResolveInfo resolveActivityAsUser( in resolveActivityAsUser() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/ |
D | RegulatoryInfoPreferenceControllerTest.java | 29 import android.content.pm.ResolveInfo; 73 List<ResolveInfo> activities = new ArrayList<>(); in hasIntent_isAvailable() 74 activities.add(new ResolveInfo()); in hasIntent_isAvailable() 85 List<ResolveInfo> activities = new ArrayList<>(); in hasIntent_isAvailable_zoneWrite() 86 activities.add(new ResolveInfo()); in hasIntent_isAvailable_zoneWrite() 97 List<ResolveInfo> activities = new ArrayList<>(); in hasIntent_isAvailable_zoneRead() 98 activities.add(new ResolveInfo()); in hasIntent_isAvailable_zoneRead() 110 List<ResolveInfo> activities = new ArrayList<>(); in hasIntent_isAvailable_zoneHidden() 111 activities.add(new ResolveInfo()); in hasIntent_isAvailable_zoneHidden() 122 List<ResolveInfo> activities = new ArrayList<>(); in hasNoIntent_isNotAvailable() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/ |
D | TestUtils.java | 20 import android.content.pm.ResolveInfo; 33 ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) in createTvInputInfo() 44 ResolveInfo service, in createTvInputInfo() 72 ResolveInfo service, in createTvInputInfoForO() 82 ResolveInfo.class, in createTvInputInfoForO() 126 ResolveInfo service, in createTvInputInfoForNyc() 136 ResolveInfo.class, in createTvInputInfoForNyc() 175 ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) in createTvInputInfoForMnc() 179 ResolveInfo.class, String.class, String.class, int.class, boolean.class); in createTvInputInfoForMnc() 184 public static ResolveInfo createResolveInfo(String packageName, String name) { in createResolveInfo() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | MigrationBroadcastSendingTest.java | 38 import android.content.pm.ResolveInfo; 126 MigrationTestUtils.setResolveActivityResult(new ResolveInfo(), mPackageManager); in testBroadcast_oneConfiguredMigratorAppWithNonNullReceiver_explicitBroadcastSent() 131 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithNonNullReceiver_explicitBroadcastSent() 154 MigrationTestUtils.setResolveActivityResult(new ResolveInfo(), mPackageManager); in testBroadcast_oneConfiguredMigratorAppWithNullReceiver_implicitBroadcastSent() 159 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithNullReceiver_implicitBroadcastSent() 182 MigrationTestUtils.setResolveActivityResult(new ResolveInfo(), mPackageManager); in testBroadcast_oneConfiguredMigratorAppWithoutReceiver_implicitBroadcastSent() 187 List<android.content.pm.ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithoutReceiver_implicitBroadcastSent() 188 new ArrayList<android.content.pm.ResolveInfo>(); in testBroadcast_oneConfiguredMigratorAppWithoutReceiver_implicitBroadcastSent() 209 MigrationTestUtils.setResolveActivityResult(new ResolveInfo(), mPackageManager); in testBroadcast_oneConfiguredMigratorAppWithMultipleReceivers_implicitBroadcastSent() 214 List<ResolveInfo> resolveInfoList = in testBroadcast_oneConfiguredMigratorAppWithMultipleReceivers_implicitBroadcastSent() [all …]
|
D | MigrationTestUtils.java | 25 import android.content.pm.ResolveInfo; 54 static List<ResolveInfo> createResolveInfoList( in createResolveInfoList() 56 List<ResolveInfo> resolveInfoArray = new ArrayList<ResolveInfo>(); in createResolveInfoList() 58 ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfoList() 69 public static void setResolveActivityResult(ResolveInfo result, PackageManager packageManager) { in setResolveActivityResult() 74 ResolveInfo result, PackageManager packageManager, int flags) { in setResolveActivityResult()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 37 import android.content.pm.ResolveInfo; 81 private ResolveInfo createResolveInfo(String packageName, String className, Bundle metaData, in createResolveInfo() 88 ResolveInfo resolveInfoSystem = new ResolveInfo(); in createResolveInfo() 95 private Map<Preference, Bundle> executeLoadPreferences(List<ResolveInfo> resolveInfoList, in executeLoadPreferences() 115 ResolveInfo resolveInfoSystem = createResolveInfo("package_name", "class_name", in testLoadPreference_uriResources_shouldNotLoadStaticResources() 137 ResolveInfo resolveInfoSystem1 = createResolveInfo("package_name1", "class_name1", in testLoadPreference_sortPreferences_byMetadata() 145 ResolveInfo resolveInfoSystem2 = createResolveInfo("package_name2", "class_name2", in testLoadPreference_sortPreferences_byMetadata() 148 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testLoadPreference_sortPreferences_byMetadata() 168 ResolveInfo resolveInfoSystem1 = createResolveInfo("package_name1", "class_name1", in testLoadPreference_sortPreferences_byPackageName() 175 ResolveInfo resolveInfoSystem2 = createResolveInfo("package_name2", "class_name2", in testLoadPreference_sortPreferences_byPackageName() [all …]
|
/packages/services/Car/packages/CarDeveloperOptions/tests/unit/src/com/android/car/developeroptions/ |
D | CarDeveloperOptionsIntentTest.java | 24 import android.content.pm.ResolveInfo; 52 List<ResolveInfo> results = mPm.queryIntentActivities(createSettingsPackageIntent(), in testAvailableIntentActivities_onlyAllowlisted() 55 for (ResolveInfo resolved : results) { in testAvailableIntentActivities_onlyAllowlisted() 66 List<ResolveInfo> results = mPm.queryIntentServices(createSettingsPackageIntent(), in testAvailableIntentServices_returnsZero() 69 for (ResolveInfo resolved : results) { in testAvailableIntentServices_returnsZero() 78 List<ResolveInfo> results = mPm.queryBroadcastReceivers(createSettingsPackageIntent(), in testAvailableBroadcastReceivers_returnsZero() 81 for (ResolveInfo resolved : results) { in testAvailableBroadcastReceivers_returnsZero() 90 List<ResolveInfo> results = mPm.queryIntentContentProviders(createSettingsPackageIntent(), in testAvailableContentProviders_returnsZero() 93 for (ResolveInfo resolved : results) { in testAvailableContentProviders_returnsZero()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/legal/ |
D | LegalPreferenceControllerTestCase.java | 38 import android.content.pm.ResolveInfo; 103 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_systemApp_shouldReturnAvailable() 115 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_systemApp_shouldReturnAvailable_zoneWrite() 127 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_systemApp_shouldReturnAvailable_zoneRead() 139 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_systemApp_shouldReturnAvailable_zoneHidden() 150 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_notSystemApp_shouldReturnUnsupported() 165 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_notSystemApp_shouldReturnUnsupported_zoneWrite() 180 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_notSystemApp_shouldReturnUnsupported_zoneRead() 195 List<ResolveInfo> list = new ArrayList<>(); in getAvailabilityStatus_notSystemApp_shouldReturnUnsupported_zoneHidden() 250 List<ResolveInfo> list = new ArrayList<>(); in onCreate_intentResolvesToActivity_isVisible() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | LiveWallpaperInfo.java | 24 import android.content.pm.ResolveInfo; 124 List<ResolveInfo> resolveInfos = context.getPackageManager().queryIntentServices(intent, in fromPackageAndServiceName() 197 List<ResolveInfo> resolveInfos = getAllOnDevice(context); in getAll() 202 ResolveInfo resolveInfo = resolveInfos.get(i); in getAll() 229 List<ResolveInfo> resolveInfos; in getFromSpecifiedPackage() 240 ResolveInfo resolveInfo = resolveInfos.get(i); in getFromSpecifiedPackage() 272 private static List<ResolveInfo> getAllContainingServiceNames(Context context, in getAllContainingServiceNames() 276 List<ResolveInfo> allResolveInfos = pm.queryIntentServices( in getAllContainingServiceNames() 283 ResolveInfo[] specifiedResolveInfos = new ResolveInfo[serviceNames.size()]; in getAllContainingServiceNames() 284 for (ResolveInfo resolveInfo : allResolveInfos) { in getAllContainingServiceNames() [all …]
|
D | ThirdPartyAppCategory.java | 23 import android.content.pm.ResolveInfo; 37 private final ResolveInfo mResolveInfo; 39 public ThirdPartyAppCategory(Context context, ResolveInfo resolveInfo, String collectionId, in ThirdPartyAppCategory() 56 final List<ResolveInfo> apps = pm.queryIntentActivities(pickWallpaperIntent, 0); in getAll() 63 final List<ResolveInfo> imagePickerActivities = in getAll() 68 ResolveInfo info = apps.get(i); in getAll() 80 for (ResolveInfo imagePickerActivityInfo : imagePickerActivities) { in getAll() 135 public ResolveInfo getResolveInfo() { in getResolveInfo()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | Compatibility.java | 28 import android.content.pm.ResolveInfo; 72 ResolveInfo defPanel = Service.searchControlPanel(this, null); in onCreate() 151 … private static final ResolveInfo searchControlPanel(Context context, String updatedPackage) { in searchControlPanel() 153 ResolveInfo defPanel = null; in searchControlPanel() 154 ResolveInfo otherPanel = null; in searchControlPanel() 155 ResolveInfo thisPanel = null; in searchControlPanel() 157 List<ResolveInfo> ris = context.getPackageManager().queryIntentActivities( in searchControlPanel() 164 for (ResolveInfo foo: ris) { in searchControlPanel() 202 ResolveInfo defPanel = searchControlPanel(this, updatedPackage); in pickDefaultControlPanel() 216 …List<ResolveInfo> ris = mPackageManager.queryBroadcastReceivers(i, PackageManager.GET_DISABLED_COM… in setDefault() [all …]
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/ |
D | ResolverDataProvider.java | 25 import android.content.pm.ResolveInfo; 107 public static ResolveInfo createResolveInfo(int i, int userId) { in createResolveInfo() 111 public static ResolveInfo createResolveInfo(int i, int userId, UserHandle resolvedForUser) { in createResolveInfo() 115 public static ResolveInfo createResolveInfo(ComponentName componentName, int userId) { in createResolveInfo() 119 public static ResolveInfo createResolveInfo( in createResolveInfo() 124 public static ResolveInfo createResolveInfo( in createResolveInfo() 126 final ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfo() 168 public ResolveInfo resolveInfo; 231 ResolveInfo resolveInfo = new ResolveInfo() { in createPackageManagerMockedInfo()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 25 import android.content.pm.ResolveInfo; 108 public ResolveInfo bestResolve; 135 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, in getEntry() 139 ResolveInfo bestResolve = null; in getEntry() 168 protected ResolveInfo getBestResolve(Intent intent, List<ResolveInfo> matches) { in getBestResolve() 170 final ResolveInfo foundResolve = mPackageManager.resolveActivity(intent, in getBestResolve() 181 ResolveInfo firstSystem = null; in getBestResolve() 182 for (ResolveInfo info : matches) { in getBestResolve()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolvedComponentInfo.java | 21 import android.content.pm.ResolveInfo; 38 private final List<ResolveInfo> mResolveInfos = new ArrayList<>(); 46 public ResolvedComponentInfo(ComponentName name, Intent intent, ResolveInfo info) { in ResolvedComponentInfo() 54 public void add(Intent intent, ResolveInfo info) { in add() 70 public ResolveInfo getResolveInfoAt(int index) { in getResolveInfoAt() 86 public int findResolveInfo(ResolveInfo info) { in findResolveInfo()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | CrossProfileUtils.java | 23 import android.content.pm.ResolveInfo; 49 public static boolean isCrossProfileIntentForwarderActivity(ResolveInfo info) { in isCrossProfileIntentForwarderActivity() 64 public static ResolveInfo getCrossProfileResolveInfo(UserId currentUser, in getCrossProfileResolveInfo() 76 private static ResolveInfo getCrossProfileResolveInfoPostV( in getCrossProfileResolveInfoPostV() 97 for (ResolveInfo info : packageManager.queryIntentActivitiesAsUser(intent, in getCrossProfileResolveInfoPostV() 107 private static ResolveInfo getCrossProfileResolveInfoPreV( in getCrossProfileResolveInfoPreV() 110 for (ResolveInfo info : packageManager.queryIntentActivities(intent, in getCrossProfileResolveInfoPreV()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/shortcut/ |
D | CreateShortcutPreferenceControllerTest.java | 36 import android.content.pm.ResolveInfo; 106 final ResolveInfo ri = mContext.getPackageManager().resolveActivity(intent, 0); in createResultIntent() 122 final ResolveInfo ri1 = new ResolveInfo(); in queryShortcuts_shouldOnlyIncludeSystemApp() 127 final ResolveInfo ri2 = new ResolveInfo(); in queryShortcuts_shouldOnlyIncludeSystemApp() 138 final List<ResolveInfo> info = mController.queryShortcuts(); in queryShortcuts_shouldOnlyIncludeSystemApp() 146 final ResolveInfo ri1 = new ResolveInfo(); in queryShortcuts_shouldSortBasedOnPriority() 153 final ResolveInfo ri2 = new ResolveInfo(); in queryShortcuts_shouldSortBasedOnPriority() 165 final List<ResolveInfo> info = mController.queryShortcuts(); in queryShortcuts_shouldSortBasedOnPriority() 272 ResolveInfo ri = new ResolveInfo(); in setupActivityInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TopLevelWallpaperPreferenceControllerTest.java | 25 import android.content.pm.ResolveInfo; 79 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue() 81 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue() 89 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue() 101 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue() 120 Lists.newArrayList(mock(ResolveInfo.class))); in getComponentClassString_stylesAvailable_returnsStylePickerClassString() 155 Lists.newArrayList(mock(ResolveInfo.class))); in areStylesAvailable_componentResolved() 163 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in handlePreferenceTreeClick_wallpaperOnly() 181 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in handlePreferenceTreeClick_stylesAndWallpaper() 211 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in handlePreferenceTreeClick_embeddingActivityDisabled_launchWithTaskFlag() [all …]
|
D | WallpaperPreferenceControllerTest.java | 25 import android.content.pm.ResolveInfo; 78 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue() 80 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerEnabled_returnsTrue() 88 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerEnabledAndStylePickerDisabled_returnsTrue() 100 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in isAvailable_wallpaperPickerDisabledAndStylePickerEnabled_returnsTrue() 119 Lists.newArrayList(mock(ResolveInfo.class))); in getComponentClassString_stylesAvailable_returnsStylePickerClassString() 154 Lists.newArrayList(mock(ResolveInfo.class))); in areStylesAvailable_componentResolved() 174 Lists.newArrayList(mock(ResolveInfo.class))); in getKeywords_withStyles() 186 mWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in handlePreferenceTreeClick_wallpaperOnly() 204 mStylesAndWallpaperIntent, Lists.newArrayList(mock(ResolveInfo.class))); in handlePreferenceTreeClick_stylesAndWallpaper()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationSettingsFooterPreferenceControllerTest.java | 35 import android.content.pm.ResolveInfo; 103 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in isAvailable_hasValidFooter_returnsTrue() 117 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in isAvailable_noSystemApp_returnsTrue() 130 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in isAvailable_noRequiredMetadata_returnsTrue() 140 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in updateState_setTitle() 153 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in onLocationModeChanged_off_setTitle() 171 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in onLocationModeChanged_on_setTitle() 188 final List<ResolveInfo> testResolveInfos = new ArrayList<>(); in updateState_notSystemApp_ignore() 203 private ResolveInfo getTestResolveInfo(boolean isSystemApp, boolean hasRequiredMetaData) { in getTestResolveInfo() 204 ResolveInfo testResolveInfo = new ResolveInfo(); in getTestResolveInfo()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/assist/ |
D | VoiceInputInfoProviderTest.java | 31 import android.content.pm.ResolveInfo; 67 ResolveInfo resolveInfo = new ResolveInfo(); in getInteractionInfoList_hasElement() 73 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in getInteractionInfoList_hasElement() 87 ResolveInfo otherInfo = new ResolveInfo(); in getRecognitionInfoList_hasElement() 92 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in getRecognitionInfoList_hasElement()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | RequiredActivity.java | 23 import android.content.pm.ResolveInfo; 46 protected List<ResolveInfo> queryIntentComponentsAsUser(@NonNull Intent intent, int flags, in queryIntentComponentsAsUser() 55 protected boolean isComponentQualified(@NonNull ResolveInfo resolveInfo) { in isComponentQualified() 61 protected ComponentInfo getComponentComponentInfo(@NonNull ResolveInfo resolveInfo) { in getComponentComponentInfo() 66 protected int getComponentFlags(@NonNull ResolveInfo resolveInfo) { in getComponentFlags() 72 protected String getComponentPermission(@NonNull ResolveInfo resolveInfo) { in getComponentPermission()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accessibility/ |
D | ScreenReaderSettingsIntentPreferenceControllerTest.java | 27 import android.content.pm.ResolveInfo; 78 ResolveInfo resolveInfo = new ResolveInfo(); in testUpdateState_noSettingsActivity_hidesSettings() 101 ResolveInfo resolveInfo = new ResolveInfo(); in testUpdateState_noSettingsActivity_hidesSettings_zoneWrite() 125 ResolveInfo resolveInfo = new ResolveInfo(); in testUpdateState_noSettingsActivity_hidesSettings_zoneRead() 149 ResolveInfo resolveInfo = new ResolveInfo(); in testUpdateState_noSettingsActivity_hidesSettings_zoneHidden()
|
D | ScreenReaderCategoryPreferenceControllerTest.java | 28 import android.content.pm.ResolveInfo; 72 ResolveInfo resolveInfo = new ResolveInfo(); in testGetAvailability_screenReaderInstalled_isAvailable() 90 ResolveInfo resolveInfo = new ResolveInfo(); in testGetAvailability_screenReaderInstalled_zoneWrite() 109 ResolveInfo resolveInfo = new ResolveInfo(); in testGetAvailability_screenReaderInstalled_zoneRead() 128 ResolveInfo resolveInfo = new ResolveInfo(); in testGetAvailability_screenReaderInstalled_zoneHidden()
|