Home
last modified time | relevance | path

Searched refs:sdFilter (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DPackageIntentReceiver.java42 IntentFilter sdFilter = new IntentFilter(); in PackageIntentReceiver() local
43 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver()
44 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
45 context.registerReceiver(this, sdFilter, RECEIVER_NOT_EXPORTED); in PackageIntentReceiver()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java86 IntentFilter sdFilter = new IntentFilter(); in RegisteredComponentCache() local
87 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredComponentCache()
88 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredComponentCache()
89 mContext.registerReceiverForAllUsers(receiver, sdFilter, null, null); in RegisteredComponentCache()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsCategory.java99 IntentFilter sdFilter = new IntentFilter(); in PackageIntentReceiver() local
100 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver()
101 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
102 mLoader.getContext().registerReceiver(this, sdFilter); in PackageIntentReceiver()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java296 IntentFilter sdFilter = new IntentFilter(); in AccountTypeManagerImpl() local
297 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in AccountTypeManagerImpl()
298 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in AccountTypeManagerImpl()
299 mContext.registerReceiver(mBroadcastReceiver, sdFilter); in AccountTypeManagerImpl()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java416 IntentFilter sdFilter = new IntentFilter();
417 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
418 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
419 mContext.registerReceiver(mBroadcastReceiver, sdFilter);
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCache.java201 IntentFilter sdFilter = new IntentFilter(); in RegisteredNfcFServicesCache() local
202 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredNfcFServicesCache()
203 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredNfcFServicesCache()
204 mContext.registerReceiverForAllUsers(mReceiver.get(), sdFilter, null, null); in RegisteredNfcFServicesCache() local
DRegisteredServicesCache.java306 IntentFilter sdFilter = new IntentFilter(); in RegisteredServicesCache() local
307 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredServicesCache()
308 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredServicesCache()
309 mContext.registerReceiverForAllUsers(mReceiver.get(), sdFilter, null, null); in RegisteredServicesCache() local
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCacheTest.java196 IntentFilter sdFilter = intentFilterCaptor.getAllValues().get(1); in testConstructor() local
204 Assert.assertTrue(sdFilter.hasAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE)); in testConstructor()
205 Assert.assertTrue(sdFilter.hasAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE)); in testConstructor()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java1493 IntentFilter sdFilter = new IntentFilter(); in registerReceiver() local
1494 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in registerReceiver()
1495 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in registerReceiver()
1496 mContext.registerReceiver(this, sdFilter); in registerReceiver()