Home
last modified time | relevance | path

Searched refs:intentFilter (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
DPhoneGlobals.java558 IntentFilter intentFilter = in onCreate() local
560 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in onCreate()
561 intentFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in onCreate()
562 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); in onCreate()
563 intentFilter.addAction(Intent.ACTION_HEADSET_PLUG); in onCreate()
564 intentFilter.addAction(Intent.ACTION_DOCK_EVENT); in onCreate()
565 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate()
566 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate()
567 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate()
568 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate()
[all …]
DEmergencyDialer.java232 final IntentFilter intentFilter = new IntentFilter(); in onCreate() local
233 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); in onCreate()
234 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
DImsFrameworkApp.java56 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED); in onCreate() local
57 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); in onCreate()
58 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate()
59 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate()
60 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate()
61 registerReceiver(mReceiver, intentFilter); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMemory.java124 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in onResume() local
125 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onResume()
126 intentFilter.addDataScheme("file"); in onResume()
127 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter); in onResume()
129 intentFilter = new IntentFilter(); in onResume()
130 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in onResume()
131 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter); in onResume()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java70 IntentFilter intentFilter = new IntentFilter(); in RegisteredComponentCache() local
71 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredComponentCache()
72 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredComponentCache()
73 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredComponentCache()
74 intentFilter.addDataScheme("package"); in RegisteredComponentCache()
75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null); in RegisteredComponentCache()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java277 IntentFilter intentFilter = new IntentFilter(); in onStart() local
278 intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED); in onStart()
279 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in onStart()
280 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in onStart()
281 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onStart()
282 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT); in onStart()
283 intentFilter.addDataScheme("file"); in onStart()
285 registerReceiver(mReceiver, intentFilter); in onStart()
DImageGallery.java441 IntentFilter intentFilter =
443 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED);
444 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED);
445 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED);
446 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT);
447 intentFilter.addDataScheme("file");
470 registerReceiver(mReceiver, intentFilter);
/packages/apps/Gallery2/src/com/android/camera/
DActivityBase.java301 IntentFilter intentFilter = in installIntentFilter() local
303 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in installIntentFilter()
304 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in installIntentFilter()
305 intentFilter.addAction(Intent.ACTION_MEDIA_CHECKING); in installIntentFilter()
306 intentFilter.addDataScheme("file"); in installIntentFilter()
307 registerReceiver(mReceiver, intentFilter); in installIntentFilter()
DVideoModule.java735 IntentFilter intentFilter = in installIntentFilter() local
737 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in installIntentFilter()
738 intentFilter.addDataScheme("file"); in installIntentFilter()
740 mActivity.registerReceiver(mReceiver, intentFilter); in installIntentFilter()
/packages/apps/Camera/src/com/android/camera/
DActivityBase.java300 IntentFilter intentFilter = in installIntentFilter() local
302 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in installIntentFilter()
303 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in installIntentFilter()
304 intentFilter.addAction(Intent.ACTION_MEDIA_CHECKING); in installIntentFilter()
305 intentFilter.addDataScheme("file"); in installIntentFilter()
306 registerReceiver(mReceiver, intentFilter); in installIntentFilter()
DVideoModule.java795 IntentFilter intentFilter = in installIntentFilter() local
797 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in installIntentFilter()
798 intentFilter.addDataScheme("file"); in installIntentFilter()
800 mActivity.registerReceiver(mReceiver, intentFilter); in installIntentFilter()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java467 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_HEADSET_PLUG); in onResume() local
468 intentFilter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); in onResume()
469 intentFilter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in onResume()
470 intentFilter.addAction(AudioManager.ACTION_AUDIO_BECOMING_NOISY); in onResume()
471 registerReceiver(mReceiver, intentFilter); in onResume()
/packages/apps/LegacyCamera/src/com/android/camera/
DVideoCamera.java859 IntentFilter intentFilter = in doOnResume() local
861 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT); in doOnResume()
862 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in doOnResume()
863 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in doOnResume()
864 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in doOnResume()
865 intentFilter.addDataScheme("file"); in doOnResume()
867 registerReceiver(mReceiver, intentFilter); in doOnResume()
DCamera.java1521 IntentFilter intentFilter = in installIntentFilter() local
1523 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in installIntentFilter()
1524 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in installIntentFilter()
1525 intentFilter.addAction(Intent.ACTION_MEDIA_CHECKING); in installIntentFilter()
1526 intentFilter.addDataScheme("file"); in installIntentFilter()
1527 registerReceiver(mReceiver, intentFilter); in installIntentFilter()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java1586 IntentFilter intentFilter = new IntentFilter(); in getWritableDatabase() local
1587 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_LOW); in getWritableDatabase()
1588 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in getWritableDatabase()
1589 mContext.registerReceiver(mLowStorageMonitor, intentFilter); in getWritableDatabase()
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java672 IntentFilter intentFilter = new IntentFilter(); in registerForServiceStateChanges() local
673 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in registerForServiceStateChanges()
678 context.registerReceiver(SmsReceiver.getInstance(), intentFilter); in registerForServiceStateChanges() local
DTransactionService.java180 IntentFilter intentFilter = new IntentFilter(); in onCreate() local
181 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in onCreate()
182 registerReceiver(mReceiver, intentFilter); in onCreate()
DMessagingNotification.java182 IntentFilter intentFilter = new IntentFilter(); in init() local
183 intentFilter.addAction(NOTIFICATION_DELETED_ACTION); in init()
186 context.registerReceiver(sNotificationDeletedReceiver, intentFilter); in init()
/packages/apps/Music/tests/src/com/android/music/functional/
DTestSongs.java106 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in rescanSdcard() local
107 intentFilter.addDataScheme("file"); in rescanSdcard()