/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | PhotoCapabilityUtils.java | 36 return context.getPackageManager().queryIntentActivities( in canTakePhoto() 51 context.getPackageManager().queryIntentActivities(intent, 0).size() > 0; in canChoosePhoto() 66 context.getPackageManager().queryIntentActivities(intent, 0).size() > 0; in canCropPhoto()
|
/frameworks/base/tests/UsbManagerTests/src/com/android/server/usbtest/ |
D | UsbProfileGroupSettingsManagerTest.java | 178 verify(mUsbUserSettingsManager, times(0)).queryIntentActivities(any(Intent.class)); in testDeviceAttached_foregroundActivityWithManifestField_resolveActivityNotCalled() 187 verify(mUsbUserSettingsManager).queryIntentActivities(any(Intent.class)); in testDeviceAttached_noForegroundActivity_resolveActivityCalled() 199 verify(mUsbUserSettingsManager).queryIntentActivities(any(Intent.class)); in testDeviceAttached_noForegroundActivityWithUsbPermission_resolveActivityCalled() 208 verify(mUsbUserSettingsManager).queryIntentActivities(any(Intent.class)); in testDeviceAttached_restricUsbOverlayPropertyDisabled_resolveActivityCalled() 217 verify(mUsbUserSettingsManager).queryIntentActivities(any(Intent.class)); in testDeviceAttached_flagFalse_resolveActivityCalled() 228 verify(mUsbUserSettingsManager, times(0)).queryIntentActivities(any(Intent.class)); in testDeviceAttached_setupNotCompleteAndNoBlockingActivities_resolveActivityNotCalled()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 257 searchList = queryIntentActivities(intent, in updateSearchableListIfNeeded() 262 webSearchInfoList = queryIntentActivities(webSearchIntent, in updateSearchableListIfNeeded() 352 List<ResolveInfo> activities = queryIntentActivities(intent, in findGlobalSearchActivities() 389 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled() 462 queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in findWebSearchActivity() 473 private List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { in queryIntentActivities() method in Searchables 477 mPm.queryIntentActivities(intent, in queryIntentActivities()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserSettingsManager.java | 84 public List<ResolveInfo> queryIntentActivities(@NonNull Intent intent) { in queryIntentActivities() method in UsbUserSettingsManager 190 List<ResolveInfo> deviceAttachedActivities = queryIntentActivities( in dump() 217 queryIntentActivities(new Intent(UsbManager.ACTION_USB_ACCESSORY_ATTACHED)); in dump()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 170 mPackageManager.queryIntentActivities(mDisabledActivityIntent, 0); in testQueryDisabledActivity() 174 mPackageManager.queryIntentActivities(mDisabledActivityIntent, in testQueryDisabledActivity() 190 mPackageManager.queryIntentActivities(mEnabledActivityIntent, 0); in testQueryEnabledActivity() 249 mPackageManager.queryIntentActivities(mDisabledActivityIntent, 0); in testEnableActivity() 277 mPackageManager.queryIntentActivities(mEnabledActivityIntent, 0); in testDisableActivity() 720 mPackageManager.queryIntentActivities(intent, 0); in testNonExplicitResolveAfterEnabling() 730 mPackageManager.queryIntentActivities(intent, 0); in testNonExplicitResolveAfterEnabling()
|
/frameworks/base/services/tests/PackageManager/packageinstaller/src/com/android/packageinstaller/test/ |
D | ExportedComponentTest.kt | 37 val packageInstallers = context.packageManager.queryIntentActivities(intent, in verifyNoExportedReceivers()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | ActivityTile.java | 61 pm.queryIntentActivities(intent, PackageManager.GET_META_DATA); in getComponentInfo()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceManager.java | 260 private List<ResolveInfo> queryIntentActivities(Intent queryIntent) { in queryIntentActivities() method in PreferenceManager 261 return mContext.getPackageManager().queryIntentActivities(queryIntent, in queryIntentActivities() 282 final List<ResolveInfo> activities = queryIntentActivities(queryIntent); in inflateFromIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/emergency/ |
D | EmergencyGestureModule.kt | 59 val emergencyActivities = packageManager.queryIntentActivities(emergencyIntent, in getEmergencyActionIntent()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PersonalAppsSuspensionHelper.java | 117 mPackageManager.queryIntentActivities(intent, PACKAGE_QUERY_FLAGS); in getSystemLauncherPackages() 198 mPackageManager.queryIntentActivities(intentToResolve, PACKAGE_QUERY_FLAGS); in hasLauncherIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qrcodescanner/controller/ |
D | QRCodeScannerController.java | 314 return !mContext.getPackageManager().queryIntentActivities(intent, in isActivityAvailable() 325 return !mContext.getPackageManager().queryIntentActivities(intent, in isActivityCallable()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/fragments/ |
D | InstallSuccessFragment.java | 86 List<ResolveInfo> list = mPm.queryIntentActivities(mDialogData.getResultIntent(), 0); in onStart()
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/ |
D | A11yMenuSettingsActivity.java | 115 if (getActivity().getPackageManager().queryIntentActivities( in initializeHelpAndFeedbackPreference()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | Utils.java | 70 return pm.queryIntentActivities(homeIntent, 0).isEmpty(); in isHeadlessRemoteDisplayProvider()
|
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/ |
D | WorkPolicyUtils.java | 102 final List<ResolveInfo> activities = mPackageManager.queryIntentActivities(intent, 0); in getWorkPolicyInfoIntentDO()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesDialogDelegateTest.java | 198 when(mPackageManager.queryIntentActivities( in showDialog_hasLiveCaption_noRelatedToolsInConfig_showOneRelatedTool() 215 when(mPackageManager.queryIntentActivities( in showDialog_hasLiveCaption_oneRelatedToolInConfig_showTwoRelatedTools()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallSuccess.java | 114 List<ResolveInfo> list = getPackageManager().queryIntentActivities(mLaunchIntent, in bindUi()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | HwTests.java | 65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppsQueryHelper.java | 182 return mPackageManager.queryIntentActivities(intent, null, in queryIntentActivitiesAsUser()
|
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawableTest.java | 64 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/mediaprojection/domain/interactor/ |
D | MediaProjectionChipInteractorTest.kt | 161 .queryIntentActivities(any(), anyInt()) in setUpPackageManagerForMediaProjection()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 133 pm.queryIntentActivities(intent, PackageManager.GET_RESOLVED_FILTER); in getFeedbackReporterPackage()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | MainActivity.java | 95 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlActionCoordinatorImpl.kt | 214 val activities: List<ResolveInfo> = context.packageManager.queryIntentActivities( in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppCopyHelper.java | 212 final List<ResolveInfo> intentApps = mPackageManager.queryIntentActivities(intent, 0); in addSystemApps()
|