/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | EmergencyInfoPreferenceControllerTest.java | 89 when(mContext.getPackageManager().queryIntentActivities( in updateRawDataToIndex_prefUnavailable_shouldNotUpdate() 103 when(mContext.getPackageManager().queryIntentActivities( in updateRawDataToIndex_prefAvailable_shouldUpdate() 115 when(mContext.getPackageManager().queryIntentActivities( in displayPref_prefUnAvailable_shouldNotDisplay() 128 when(mContext.getPackageManager().queryIntentActivities( in displayPref_prefAvailable_shouldDisplay()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | TermsPreferenceControllerTest.java | 82 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_systemApp_shouldReturnTrue() 93 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash() 98 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())).thenReturn(null); in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash()
|
D | WebViewLicensePreferenceControllerTest.java | 82 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_systemApp_shouldReturnTrue() 93 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash() 98 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())).thenReturn(null); in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash()
|
D | CopyrightPreferenceControllerTest.java | 82 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_systemApp_shouldReturnTrue() 93 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash() 98 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())).thenReturn(null); in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash()
|
D | LicensePreferenceControllerTest.java | 82 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_systemApp_shouldReturnTrue() 93 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash() 98 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())).thenReturn(null); in getAvailabilityStatus_notSystemApp_shouldReturnFalseAndNoCrash()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TopLevelDisplayPreferenceControllerTest.java | 83 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getSummary_hasWallpaper_shouldReturnWallpaperSummary() 96 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getSummary_hasWallpaperWithStyles_shouldReturnWallpaperSummary() 106 when(mPackageManager.queryIntentActivities(any(Intent.class), anyInt())) in getSummary_hasWallpaper_shouldReturnNoWallpaperSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | RegulatoryInfoPreferenceControllerTest.java | 70 when(mPackageManager.queryIntentActivities(any(Intent.class), eq(0))) in isAvailable_hasIntent_returnTrue() 79 when(mPackageManager.queryIntentActivities(any(Intent.class), eq(0))) in isAvailable_hasNoIntent_returnFalse()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PhoneCapabilityTester.java | 50 final List<ResolveInfo> receiverList = packageManager.queryIntentActivities(intent, in isIntentRegistered() 88 final List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, 0); in getSmsComponent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/ |
D | SecurityPatchLevelPreferenceControllerTest.java | 82 when(mPackageManager.queryIntentActivities(any(), anyInt())) in onClick_noActivityIntent_shouldDoNothing() 97 when(mPackageManager.queryIntentActivities(any(), anyInt())) in onClick_activityIntentFound_shouldStartActivity()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ThirdPartyAppCategory.java | 56 final List<ResolveInfo> apps = pm.queryIntentActivities(pickWallpaperIntent, 0); in getAll() 64 context.getPackageManager().queryIntentActivities(pickImageIntent, 0); in getAll()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | ThirdPartyWallpaperInfo.java | 65 for (ResolveInfo info : pm.queryIntentActivities(pickImageIntent, 0)) { in getAll() 72 for (ResolveInfo info : pm.queryIntentActivities(pickWallpaperIntent, 0)) { in getAll()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyAssistanceHelper.java | 63 infos = packageManager.queryIntentActivities(queryIntent, 0); in resolveAssistPackageAndQueryActivities() 108 infos = context.getPackageManager().queryIntentActivities(queryIntent, 0); in queryAssistActivities()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 212 List<ResolveInfo> infos = packageManager.queryIntentActivities( in isEditorAvailable() 227 List<ResolveInfo> infos = packageManager.queryIntentActivities( in isAnyCameraAvailable() 240 List<ResolveInfo> apps = pm.queryIntentActivities(cameraIntent, 0); in isCameraAvailable()
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | LensPickerActivity.java | 170 return mPackageManager.queryIntentActivities(intent, 0); in resolvePackage() 178 return mPackageManager.queryIntentActivities(intent, 0); in resolveCategory()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | AssistantRoleBehavior.java | 134 List<ResolveInfo> activities = userPackageManager.queryIntentActivities( in getQualifyingPackagesAsUser() 171 boolean hasAssistantActivity = !packageManager.queryIntentActivities(pkgActivityProbe, in isPackageQualified()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 154 when(mPackageManager.queryIntentActivities(nullable(Intent.class), anyInt())) in buildConfigureIntent_noActivityHandleIntent_returnNull() 163 when(mPackageManager.queryIntentActivities(nullable(Intent.class), anyInt())) in buildConfigureIntent_hasActivityHandleIntent_returnIntent()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | SafetyInfoPreferenceController.java | 40 return !mPackageManager.queryIntentActivities(INTENT_PROBE, 0).isEmpty(); in isAvailable()
|
D | RegulatoryInfoPreferenceController.java | 37 return !mContext.getPackageManager().queryIntentActivities(INTENT_PROBE, 0).isEmpty(); in isAvailable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | SafetyInfoPreferenceController.java | 40 return !mPackageManager.queryIntentActivities(INTENT_PROBE, 0).isEmpty(); in isAvailable()
|
D | RegulatoryInfoPreferenceController.java | 37 return !mContext.getPackageManager().queryIntentActivities(INTENT_PROBE, 0).isEmpty(); in isAvailable()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | LiveCaptionPreferenceController.java | 47 mPackageManager.queryIntentActivities(LIVE_CAPTION_INTENT, 0 /* flags */); in getAvailabilityStatus()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | LiveCaptionPreferenceController.java | 47 mPackageManager.queryIntentActivities(LIVE_CAPTION_INTENT, 0 /* flags */); in getAvailabilityStatus()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | PreferenceUtils.java | 47 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); in resolveSystemActivityOrRemove()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/backup/ |
D | BackupIntentTest.java | 56 List<ResolveInfo> activities = pm.queryIntentActivities(intent, 0); in testPrivacySettingsIntentResolvesToOnlyOneActivity()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | IntentHelper.java | 39 pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in getGalleryIntent()
|