Home
last modified time | relevance | path

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

/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/base/services/core/java/com/android/server/om/
DOverlayManagerService.java241 final IntentFilter packageFilter = new IntentFilter(); in OverlayManagerService()
242 packageFilter.addAction(ACTION_PACKAGE_ADDED); in OverlayManagerService()
243 packageFilter.addAction(ACTION_PACKAGE_CHANGED); in OverlayManagerService()
244 packageFilter.addAction(ACTION_PACKAGE_REMOVED); in OverlayManagerService()
245 packageFilter.addDataScheme("package"); in OverlayManagerService()
247 packageFilter, null, null); in OverlayManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java289 final IntentFilter packageFilter = new IntentFilter(); in ContentService() local
290 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ContentService()
291 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ContentService()
292 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ContentService()
293 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ContentService()
294 packageFilter.addDataScheme("package"); in ContentService()
296 packageFilter, null, null); in ContentService()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java559 private Set<Association> readAllAssociations(int userId, @Nullable String packageFilter) {
578 if (packageFilter != null && !packageFilter.equals(appPackage)) continue;
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java332 IntentFilter packageFilter = new IntentFilter(); in AppStandbyController() local
333 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in AppStandbyController()
334 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in AppStandbyController()
335 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in AppStandbyController()
336 packageFilter.addDataScheme("package"); in AppStandbyController()
338 mContext.registerReceiverAsUser(new PackageReceiver(), UserHandle.ALL, packageFilter, in AppStandbyController()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java451 final IntentFilter packageFilter = new IntentFilter(); in ShortcutService() local
452 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ShortcutService()
453 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ShortcutService()
454 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ShortcutService()
455 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ShortcutService()
456 packageFilter.addDataScheme("package"); in ShortcutService()
457 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in ShortcutService()
459 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.java810 final IntentFilter packageFilter = new IntentFilter(); in initService() local
811 packageFilter.addAction(ACTION_PACKAGE_ADDED); in initService()
812 packageFilter.addDataScheme("package"); in initService()
813 mContext.registerReceiver(mPackageReceiver, packageFilter, null, mHandler); in initService()