Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
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()
DAppCopyHelper.java212 final List<ResolveInfo> intentApps = mPackageManager.queryIntentActivities(intent, 0); in addSystemApps()
DAvatarPhotoController.java331 .queryIntentActivities(intent, PackageManager.MATCH_SYSTEM_ONLY); in startSystemActivityForResult()
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java239 searchList = queryIntentActivities(intent, in updateSearchableList()
244 webSearchInfoList = queryIntentActivities(webSearchIntent, in updateSearchableList()
308 List<ResolveInfo> activities = queryIntentActivities(intent, in findGlobalSearchActivities()
345 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled()
418 queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY); in findWebSearchActivity()
429 private List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { in queryIntentActivities() method in Searchables
433 mPm.queryIntentActivities(intent, in queryIntentActivities()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserSettingsManager.java84 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/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java120 mPackageManager.queryIntentActivities(intent, PACKAGE_QUERY_FLAGS); in getSystemLauncherPackages()
201 mPackageManager.queryIntentActivities(intentToResolve, PACKAGE_QUERY_FLAGS); in hasLauncherIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java328 public List<ResolveInfo> queryIntentActivities(Intent intent, int flags) { in queryIntentActivities() method in SearchablesTest.MyMockPackageManager
335 return mRealPackageManager.queryIntentActivities(intent, flags); in queryIntentActivities()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qrcodescanner/controller/
DQRCodeScannerController.java313 return !mContext.getPackageManager().queryIntentActivities(intent, in isActivityAvailable()
324 return !mContext.getPackageManager().queryIntentActivities(intent, in isActivityCallable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java65 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/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java115 List<ResolveInfo> list = getPackageManager().queryIntentActivities(mLaunchIntent, in bindUi()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageManagerPerfTest.java114 pm.queryIntentActivities(intent, 0); in testQueryIntentActivities()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java182 return mPackageManager.queryIntentActivities(intent, null, in queryIntentActivitiesAsUser()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DVectorDrawableTest.java64 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DHwTests.java65 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData()
/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.kt222 val activities: List<ResolveInfo> = context.packageManager.queryIntentActivities( in <lambda>()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkRegistry.java77 List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, in loadBenchmarks()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppCopyingHelperTest.java180 when(mPm.queryIntentActivities(argThat(new IntentMatcher(intent)), anyInt())) in addSystemAppsForIntent()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java239 final List<ResolveInfo> activities = pm.queryIntentActivities(launchable, 0); in getLauncherActivities()

1234