/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 | 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()
|
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 | 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 | 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()
|
/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/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/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/services/Telephony/src/com/android/phone/ |
D | EmergencyAssistanceHelper.java | 65 infos = packageManager.queryIntentActivities(queryIntent, 0); in resolveAssistPackageAndQueryActivities() 110 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 | 118 List<ResolveInfo> activities = userPackageManager.queryIntentActivities( in getQualifyingPackagesAsUser() 155 boolean hasAssistantActivity = !packageManager.queryIntentActivities(pkgActivityProbe, in isPackageQualified()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 142 when(mPackageManager.queryIntentActivities(nullable(Intent.class), anyInt())) in buildConfigureIntent_noActivityHandleIntent_returnNull() 151 when(mPackageManager.queryIntentActivities(nullable(Intent.class), anyInt())) in buildConfigureIntent_hasActivityHandleIntent_returnIntent()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | RegulatoryInfoPreferenceController.java | 37 return !mContext.getPackageManager().queryIntentActivities(INTENT_PROBE, 0).isEmpty(); in isAvailable()
|
D | SafetyInfoPreferenceController.java | 40 return !mPackageManager.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/UnifiedEmail/src/com/android/mail/browse/ |
D | WebViewContextMenu.java | 104 mSupportsDial = !pm.queryIntentActivities( in WebViewContextMenu() 107 mSupportsSms = !pm.queryIntentActivities( in WebViewContextMenu()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | EditUserPhotoController.java | 204 return mImageView.getContext().getPackageManager().queryIntentActivities( in canTakePhoto() 212 return mImageView.getContext().getPackageManager().queryIntentActivities( in canChoosePhoto()
|