Home
last modified time | relevance | path

Searched refs:queryBroadcastReceivers (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationSettingsFooterPreferenceControllerTest.java106 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in isAvailable_hasValidFooter_returnsTrue()
120 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in isAvailable_noSystemApp_returnsTrue()
133 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in isAvailable_noRequiredMetadata_returnsTrue()
143 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in updateState_setTitle()
156 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in onLocationModeChanged_off_setTitle()
174 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in onLocationModeChanged_on_setTitle()
191 when(mPackageManager.queryBroadcastReceivers(any(Intent.class), anyInt())) in updateState_notSystemApp_ignore()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java216 …List<ResolveInfo> ris = mPackageManager.queryBroadcastReceivers(i, PackageManager.GET_DISABLED_COM… in setDefault()
220 … ris = mPackageManager.queryBroadcastReceivers(i, PackageManager.GET_DISABLED_COMPONENTS); in setDefault()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRequiredBroadcastReceiver.java50 return userPackageManager.queryBroadcastReceivers(intent, flags); in queryIntentComponentsAsUser()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPartner.java105 for (ResolveInfo info : pm.queryBroadcastReceivers(intent, MATCH_SYSTEM_ONLY)) { in findSystemApk()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultPartnerProvider.java69 for (ResolveInfo info : pm.queryBroadcastReceivers(intent, 0)) { in findSystemApk()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DBroadcastReceiverLiveData.kt77 .queryBroadcastReceivers( in <lambda>()
/packages/services/Car/packages/CarDeveloperOptions/tests/unit/src/com/android/car/developeroptions/
DCarDeveloperOptionsIntentTest.java78 List<ResolveInfo> results = mPm.queryBroadcastReceivers(createSettingsPackageIntent(), in testAvailableBroadcastReceivers_returnsZero()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/customization/
DPartner.java50 .queryBroadcastReceivers(intent, 0); in Partner()
/packages/apps/Settings/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceController.java152 final List<ResolveInfo> receivers = mPackageManager.queryBroadcastReceivers( in shouldBeEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAppsPreferenceController.java67 List<ResolveInfo> receivers = mPm.queryBroadcastReceivers( in updateState()
DDeviceAdminAddFragment.java323 List<ResolveInfo> avail = pm.queryBroadcastReceivers( in isValidAdmin()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettingsFooterPreferenceController.java138 mPackageManager.queryBroadcastReceivers( in getFooterData()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailNotifier.java139 mContext.getPackageManager().queryBroadcastReceivers(intent, 0)) { in getBroadcastReceiverComponents()
DDbModifierWithNotification.java149 if (!context.getPackageManager().queryBroadcastReceivers(intent, 0).isEmpty()) { in notifyCallLogChange()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java117 public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags) { in queryBroadcastReceivers() method in ContactsMockPackageManager
/packages/apps/TV/src/com/android/tv/util/
DPartner.java168 for (ResolveInfo info : pm.queryBroadcastReceivers(intent, 0)) { in getPartnerResolveInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DVerifyAppsOverUsbPreferenceControllerTest.java93 when(mPackageManager.queryBroadcastReceivers(any(), anyInt())) in setupVerifyBroadcastReceivers()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterpriseTestCase.java199 .when(mSpiedPm).queryBroadcastReceivers(any(Intent.class), anyInt()); in mockQueryBroadcastReceivers()
DDeviceAdminAddFragmentTest.java489 doReturn(Arrays.asList(mDefaultResolveInfo)).when(mSpiedPm).queryBroadcastReceivers(any(), in mockValidAdmin()
/packages/services/Telephony/src/com/android/phone/vvm/
DRemoteVvmTaskManager.java201 .queryBroadcastReceivers(broadcastIntent, PackageManager.MATCH_ALL); in getBroadcastPackage()
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/
DPermissionUtils.java401 sContext.getPackageManager().queryBroadcastReceivers(jobSetupReceiverIntent, 0); in simulateReboot()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DTetherService.java295 packageManager.queryBroadcastReceivers(intent, PackageManager.MATCH_ALL); in setEntitlementAppActive()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java194 List<ResolveInfo> receivers = pm.queryBroadcastReceivers( in setAdminApps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/deviceadmin/
DDeviceAdminAdd.java181 List<ResolveInfo> avail = packageManager.queryBroadcastReceivers( in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DConnectedDevicesSliceProvider.java559 List<ResolveInfo> receivers = getContext().getPackageManager().queryBroadcastReceivers( in updateFmr()

12