Home
last modified time | relevance | path

Searched refs:queryIntentActivities (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DPhotoCapabilityUtils.java36 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/
DUsbProfileGroupSettingsManagerTest.java178 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/
DSearchables.java257 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/
DUsbUserSettingsManager.java84 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/
DComponentTest.java170 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/
DExportedComponentTest.kt37 val packageInstallers = context.packageManager.queryIntentActivities(intent, in verifyNoExportedReceivers()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DActivityTile.java61 pm.queryIntentActivities(intent, PackageManager.GET_META_DATA); in getComponentInfo()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java260 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/
DEmergencyGestureModule.kt59 val emergencyActivities = packageManager.queryIntentActivities(emergencyIntent, in getEmergencyActionIntent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java117 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/
DQRCodeScannerController.java314 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/
DInstallSuccessFragment.java86 List<ResolveInfo> list = mPm.queryIntentActivities(mDialogData.getResultIntent(), 0); in onStart()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java115 if (getActivity().getPackageManager().queryIntentActivities( in initializeHelpAndFeedbackPreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java70 return pm.queryIntentActivities(homeIntent, 0).isEmpty(); in isHeadlessRemoteDisplayProvider()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java102 final List<ResolveInfo> activities = mPackageManager.queryIntentActivities(intent, 0); in getWorkPolicyInfoIntentDO()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogDelegateTest.java198 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/
DInstallSuccess.java114 List<ResolveInfo> list = getPackageManager().queryIntentActivities(mLaunchIntent, in bindUi()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java182 return mPackageManager.queryIntentActivities(intent, null, in queryIntentActivitiesAsUser()
/frameworks/base/tests/graphics/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java64 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/mediaprojection/domain/interactor/
DMediaProjectionChipInteractorTest.kt161 .queryIntentActivities(any(), anyInt()) in setUpPackageManagerForMediaProjection()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java133 pm.queryIntentActivities(intent, PackageManager.GET_RESOLVED_FILTER); in getFeedbackReporterPackage()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DMainActivity.java95 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt214 val activities: List<ResolveInfo> = context.packageManager.queryIntentActivities( in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppCopyHelper.java212 final List<ResolveInfo> intentApps = mPackageManager.queryIntentActivities(intent, 0); in addSystemApps()

1234