Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java65 IntentFilter packageFilter = new IntentFilter(Intent.ACTION_PACKAGE_REMOVED); in onStart() local
66 packageFilter.addDataScheme("package"); in onStart()
69 packageFilter, null /*broadcastPermission*/, null /*handler*/); in onStart()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java97 final IntentFilter packageFilter = new IntentFilter(); in GpuService() local
98 packageFilter.addAction(ACTION_PACKAGE_ADDED); in GpuService()
99 packageFilter.addAction(ACTION_PACKAGE_CHANGED); in GpuService()
100 packageFilter.addAction(ACTION_PACKAGE_REMOVED); in GpuService()
101 packageFilter.addDataScheme("package"); in GpuService()
103 packageFilter, null, null); in GpuService()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java287 IntentFilter packageFilter = new IntentFilter(ACTION_OVERLAY_CHANGED); in IconChangeReceiver() local
288 packageFilter.addDataScheme("package"); in IconChangeReceiver()
289 packageFilter.addDataSchemeSpecificPart("android", PatternMatcher.PATTERN_LITERAL); in IconChangeReceiver()
290 mContext.registerReceiver(this, packageFilter, null, handler); in IconChangeReceiver()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java183 final IntentFilter packageFilter = new IntentFilter(); in onPhaseActivityManagerReady() local
184 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onPhaseActivityManagerReady()
185 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onPhaseActivityManagerReady()
186 packageFilter.addDataScheme("package"); in onPhaseActivityManagerReady()
189 packageFilter, null, mHandler); in onPhaseActivityManagerReady()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java362 IntentFilter packageFilter = new IntentFilter(); in CarrierPrivilegesTracker() local
363 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in CarrierPrivilegesTracker()
364 packageFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in CarrierPrivilegesTracker()
365 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in CarrierPrivilegesTracker()
366 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in CarrierPrivilegesTracker()
370 packageFilter.addDataScheme("package"); in CarrierPrivilegesTracker()
371 mContext.registerReceiver(mIntentReceiver, packageFilter); in CarrierPrivilegesTracker()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java736 IntentFilter packageFilter = new IntentFilter(); in registerListeners() local
737 packageFilter.addDataScheme(IntentFilter.SCHEME_PACKAGE); in registerListeners()
738 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerListeners()
739 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerListeners()
740 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in registerListeners()
741 mContext.registerReceiver(mPackageBroadcastReceiver, packageFilter); in registerListeners()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java326 final IntentFilter packageFilter = new IntentFilter(); in ContentService() local
327 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ContentService()
328 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ContentService()
329 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ContentService()
330 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ContentService()
331 packageFilter.addDataScheme("package"); in ContentService()
333 packageFilter, null, null); in ContentService()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java2037 final IntentFilter packageFilter = new IntentFilter();
2038 packageFilter.addAction(ACTION_PACKAGE_ADDED);
2039 packageFilter.addAction(ACTION_PACKAGE_REMOVED);
2040 packageFilter.addDataScheme("package");
2091 mContext.registerReceiverForAllUsers(packageReceiver, packageFilter,
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java616 IntentFilter packageFilter = new IntentFilter(); in AppStandbyController() local
617 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in AppStandbyController()
618 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in AppStandbyController()
619 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in AppStandbyController()
620 packageFilter.addDataScheme("package"); in AppStandbyController()
622 mContext.registerReceiverAsUser(new PackageReceiver(), UserHandle.ALL, packageFilter, in AppStandbyController()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java401 IntentFilter packageFilter = new IntentFilter(); in registerBroadcastReceiver() local
402 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerBroadcastReceiver()
403 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerBroadcastReceiver()
404 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerBroadcastReceiver()
405 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in registerBroadcastReceiver()
406 packageFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in registerBroadcastReceiver()
407 packageFilter.addAction(Intent.ACTION_PACKAGE_UNSTOPPED); in registerBroadcastReceiver()
408 packageFilter.addDataScheme("package"); in registerBroadcastReceiver()
409 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in registerBroadcastReceiver()
411 packageFilter, null, mCallbackHandler); in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java534 final IntentFilter packageFilter = new IntentFilter(); in ShortcutService() local
535 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ShortcutService()
536 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ShortcutService()
537 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ShortcutService()
538 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ShortcutService()
539 packageFilter.addDataScheme("package"); in ShortcutService()
540 packageFilter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY); in ShortcutService()
542 packageFilter, null, mHandler); in ShortcutService()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java3414 final IntentFilter packageFilter = new IntentFilter();
3415 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED);
3416 packageFilter.addAction(Intent.ACTION_PACKAGE_FULLY_REMOVED);
3417 packageFilter.addDataScheme("package");
3418 mContext.registerReceiverForAllUsers(mBroadcastReceiver, packageFilter, null, mBgHandler);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java1015 NotifFilter packageFilter = new PackageFilter(PACKAGE_1); in testThatPluggableInvalidationsTriggersRerun() local
1022 mListBuilder.addPreGroupFilter(packageFilter); in testThatPluggableInvalidationsTriggersRerun()
1037 packageFilter.invalidateList(null); in testThatPluggableInvalidationsTriggersRerun()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1160 final IntentFilter packageFilter = new IntentFilter(); in initService() local
1161 packageFilter.addAction(ACTION_PACKAGE_ADDED); in initService()
1162 packageFilter.addDataScheme("package"); in initService()
1163 mContext.registerReceiverForAllUsers(mPackageReceiver, packageFilter, null, mHandler); in initService()