Home
last modified time | relevance | path

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

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java76 final IntentFilter packageFilter = new IntentFilter(); in onCreate() local
77 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onCreate()
78 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate()
79 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
80 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in onCreate()
81 packageFilter.addDataScheme("package"); in onCreate()
82 registerReceiver(mCacheReceiver, packageFilter); in onCreate()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java263 final IntentFilter packageFilter = new IntentFilter(); in ContentService() local
264 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in ContentService()
265 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in ContentService()
266 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in ContentService()
267 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in ContentService()
268 packageFilter.addDataScheme("package"); in ContentService()
270 packageFilter, null, null); in ContentService()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java182 IntentFilter packageFilter = new IntentFilter(); in onStart() local
183 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onStart()
184 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onStart()
185 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onStart()
186 packageFilter.addDataScheme("package"); in onStart()
188 getContext().registerReceiverAsUser(new PackageReceiver(), UserHandle.ALL, packageFilter, in onStart()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java265 IntentFilter packageFilter = new IntentFilter(); in registerBroadcastReceiver() local
266 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerBroadcastReceiver()
267 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerBroadcastReceiver()
268 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerBroadcastReceiver()
269 packageFilter.addDataScheme("package"); in registerBroadcastReceiver()
271 packageFilter, null, null); in registerBroadcastReceiver()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java609 final IntentFilter packageFilter = new IntentFilter(); in systemReady() local
610 packageFilter.addAction(ACTION_PACKAGE_ADDED); in systemReady()
611 packageFilter.addDataScheme("package"); in systemReady()
612 mContext.registerReceiver(mPackageReceiver, packageFilter, null, mHandler); in systemReady()