Home
last modified time | relevance | path

Searched refs:packageFilter (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java89 final IntentFilter packageFilter = new IntentFilter(); in GpuService() local
90 packageFilter.addAction(ACTION_PACKAGE_ADDED); in GpuService()
91 packageFilter.addAction(ACTION_PACKAGE_CHANGED); in GpuService()
92 packageFilter.addAction(ACTION_PACKAGE_REMOVED); in GpuService()
93 packageFilter.addDataScheme("package"); in GpuService()
95 packageFilter, null, null); in GpuService()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java62 IntentFilter packageFilter = new IntentFilter(Intent.ACTION_PACKAGE_REMOVED); in onStart() local
63 packageFilter.addDataScheme("package"); in onStart()
66 packageFilter, null /*broadcastPermission*/, null /*handler*/); in onStart()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java226 IntentFilter packageFilter = new IntentFilter(); in CarrierPrivilegesTracker() local
227 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in CarrierPrivilegesTracker()
228 packageFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in CarrierPrivilegesTracker()
229 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in CarrierPrivilegesTracker()
233 packageFilter.addDataScheme("package"); in CarrierPrivilegesTracker()
234 mContext.registerReceiver(mIntentReceiver, packageFilter); in CarrierPrivilegesTracker()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java182 final IntentFilter packageFilter = new IntentFilter(); in onPhaseActivityManagerReady() local
183 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onPhaseActivityManagerReady()
184 packageFilter.addDataScheme("package"); in onPhaseActivityManagerReady()
187 packageFilter, null, mHandler); in onPhaseActivityManagerReady()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java247 final IntentFilter packageFilter = new IntentFilter(); in OverlayManagerService() local
248 packageFilter.addAction(ACTION_PACKAGE_ADDED); in OverlayManagerService()
249 packageFilter.addAction(ACTION_PACKAGE_CHANGED); in OverlayManagerService()
250 packageFilter.addAction(ACTION_PACKAGE_REMOVED); in OverlayManagerService()
251 packageFilter.addDataScheme("package"); in OverlayManagerService()
253 packageFilter, null, null); in OverlayManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java293 final IntentFilter packageFilter = new IntentFilter(); in ContentService() local
294 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ContentService()
295 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ContentService()
296 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ContentService()
297 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ContentService()
298 packageFilter.addDataScheme("package"); in ContentService()
300 packageFilter, null, null); in ContentService()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java590 private Set<Association> readAllAssociations(int userId, @Nullable String packageFilter) {
609 if (packageFilter != null && !packageFilter.equals(appPackage)) continue;
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java344 IntentFilter packageFilter = new IntentFilter(); in AppStandbyController() local
345 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in AppStandbyController()
346 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in AppStandbyController()
347 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in AppStandbyController()
348 packageFilter.addDataScheme("package"); in AppStandbyController()
350 mContext.registerReceiverAsUser(new PackageReceiver(), UserHandle.ALL, packageFilter, in AppStandbyController()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java457 final IntentFilter packageFilter = new IntentFilter(); in ShortcutService() local
458 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ShortcutService()
459 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ShortcutService()
460 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ShortcutService()
461 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ShortcutService()
462 packageFilter.addDataScheme("package"); in ShortcutService()
463 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in ShortcutService()
465 packageFilter, null, mHandler); in ShortcutService()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java294 IntentFilter packageFilter = new IntentFilter(); in registerBroadcastReceiver() local
295 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerBroadcastReceiver()
296 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerBroadcastReceiver()
297 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerBroadcastReceiver()
298 packageFilter.addDataScheme("package"); in registerBroadcastReceiver()
300 packageFilter, null, null); in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java832 final IntentFilter packageFilter = new IntentFilter(); in initService() local
833 packageFilter.addAction(ACTION_PACKAGE_ADDED); in initService()
834 packageFilter.addDataScheme("package"); in initService()
835 mContext.registerReceiver(mPackageReceiver, packageFilter, null, mHandler); in initService()