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.java239 final IntentFilter packageFilter = new IntentFilter(); in OverlayManagerService()
240 packageFilter.addAction(ACTION_PACKAGE_ADDED); in OverlayManagerService()
241 packageFilter.addAction(ACTION_PACKAGE_CHANGED); in OverlayManagerService()
242 packageFilter.addAction(ACTION_PACKAGE_REMOVED); in OverlayManagerService()
243 packageFilter.addDataScheme("package"); in OverlayManagerService()
245 packageFilter, null, null); in OverlayManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java261 final IntentFilter packageFilter = new IntentFilter(); in ContentService() local
262 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ContentService()
263 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ContentService()
264 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ContentService()
265 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ContentService()
266 packageFilter.addDataScheme("package"); in ContentService()
268 packageFilter, null, null); in ContentService()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java553 private ArrayList<Association> readAllAssociations(int userId, @Nullable String packageFilter) {
572 if (packageFilter != null && !packageFilter.equals(appPackage)) continue;
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java201 IntentFilter packageFilter = new IntentFilter(); in onStart() local
202 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
203 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
204 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
205 packageFilter.addDataScheme("package"); in onStart()
207 getContext().registerReceiverAsUser(new PackageReceiver(), UserHandle.ALL, packageFilter, in onStart()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java441 final IntentFilter packageFilter = new IntentFilter(); in ShortcutService() local
442 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ShortcutService()
443 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ShortcutService()
444 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ShortcutService()
445 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ShortcutService()
446 packageFilter.addDataScheme("package"); in ShortcutService()
447 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in ShortcutService()
449 packageFilter, null, mHandler); in ShortcutService()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java280 IntentFilter packageFilter = new IntentFilter(); in registerBroadcastReceiver() local
281 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerBroadcastReceiver()
282 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerBroadcastReceiver()
283 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerBroadcastReceiver()
284 packageFilter.addDataScheme("package"); in registerBroadcastReceiver()
286 packageFilter, null, null); in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java730 final IntentFilter packageFilter = new IntentFilter(); in initService() local
731 packageFilter.addAction(ACTION_PACKAGE_ADDED); in initService()
732 packageFilter.addDataScheme("package"); in initService()
733 mContext.registerReceiver(mPackageReceiver, packageFilter, null, mHandler); in initService()