Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsApplication.java122 final IntentFilter packageFilter = new IntentFilter(); in onCreate() local
123 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onCreate()
124 packageFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in onCreate()
125 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
126 packageFilter.addAction(Intent.ACTION_PACKAGE_DATA_CLEARED); in onCreate()
127 packageFilter.addDataScheme("package"); in onCreate()
128 registerReceiver(mCacheReceiver, packageFilter); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageManagerHelper.java215 IntentFilter packageFilter = new IntentFilter(); in getPackageFilter() local
217 packageFilter.addAction(action); in getPackageFilter()
219 packageFilter.addDataScheme("package"); in getPackageFilter()
220 packageFilter.addDataSchemeSpecificPart(pkg, PatternMatcher.PATTERN_LITERAL); in getPackageFilter()
221 return packageFilter; in getPackageFilter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java262 IntentFilter packageFilter = new IntentFilter(); in onResume() local
263 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onResume()
264 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onResume()
265 packageFilter.addDataScheme("package"); in onResume()
266 getActivity().registerReceiver(mPackageObserver, packageFilter); in onResume()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java262 IntentFilter packageFilter = new IntentFilter(); in onResume() local
263 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onResume()
264 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onResume()
265 packageFilter.addDataScheme("package"); in onResume()
266 getActivity().registerReceiver(mPackageObserver, packageFilter); in onResume()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java318 IntentFilter packageFilter = new IntentFilter(); in onResume() local
319 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onResume()
320 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onResume()
321 packageFilter.addDataScheme("package"); in onResume()
322 getActivity().registerReceiver(mPackageObserver, packageFilter); in onResume()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java616 final IntentFilter packageFilter = new IntentFilter(); in onCreate() local
617 packageFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in onCreate()
618 packageFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in onCreate()
619 packageFilter.addDataScheme(SCHEME_PACKAGE); in onCreate()
620 registerReceiver(mDictionaryPackInstallReceiver, packageFilter); in onCreate()