Home
last modified time | relevance | path

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

/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/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java67 IntentFilter intentFilter = new IntentFilter(); in RegisteredComponentCache() local
68 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredComponentCache()
69 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredComponentCache()
70 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredComponentCache()
71 intentFilter.addDataScheme("package"); in RegisteredComponentCache()
72 mContext.registerReceiver(receiver, intentFilter); in RegisteredComponentCache()
/packages/apps/Mms/src/com/android/mms/transaction/
DMmsSystemEventReceiver.java89 IntentFilter intentFilter = new IntentFilter(); in registerForConnectionStateChanges() local
90 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); in registerForConnectionStateChanges()
98 context.registerReceiver(sMmsSystemEventReceiver, intentFilter); in registerForConnectionStateChanges()
DSmsReceiverService.java639 IntentFilter intentFilter = new IntentFilter(); in registerForServiceStateChanges() local
640 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in registerForServiceStateChanges()
645 context.registerReceiver(SmsReceiver.getInstance(), intentFilter); in registerForServiceStateChanges() local
DTransactionService.java174 IntentFilter intentFilter = new IntentFilter(); in onCreate() local
175 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in onCreate()
176 registerReceiver(mReceiver, intentFilter); in onCreate()
DMessagingNotification.java189 IntentFilter intentFilter = new IntentFilter(); in init() local
190 intentFilter.addAction(NOTIFICATION_DELETED_ACTION); in init()
193 context.registerReceiver(sNotificationDeletedReceiver, intentFilter); in init()
/packages/apps/Phone/src/com/android/phone/
DPhoneApp.java581 IntentFilter intentFilter = in onCreate() local
583 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in onCreate()
584 intentFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in onCreate()
585 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); in onCreate()
586 intentFilter.addAction(Intent.ACTION_HEADSET_PLUG); in onCreate()
587 intentFilter.addAction(Intent.ACTION_DOCK_EVENT); in onCreate()
588 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate()
589 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate()
590 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate()
591 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate()
[all …]
DEmergencyDialer.java208 final IntentFilter intentFilter = new IntentFilter(); in onCreate() local
209 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); in onCreate()
210 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMemory.java117 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in onResume() local
118 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onResume()
119 intentFilter.addDataScheme("file"); in onResume()
120 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter); in onResume()
/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/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()
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java452 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_HEADSET_PLUG); in onResume() local
453 intentFilter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); in onResume()
454 intentFilter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in onResume()
455 intentFilter.addAction(AudioManager.ACTION_AUDIO_BECOMING_NOISY); in onResume()
456 registerReceiver(mReceiver, intentFilter); in onResume()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsDatabaseHelper.java1456 IntentFilter intentFilter = new IntentFilter(); in getWritableDatabase() local
1457 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_LOW); in getWritableDatabase()
1458 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in getWritableDatabase()
1459 mContext.registerReceiver(mLowStorageMonitor, intentFilter); in getWritableDatabase()
/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/apps/Camera/src/com/android/camera/
DVideoCamera.java789 IntentFilter intentFilter = in onResume() local
791 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT); in onResume()
792 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in onResume()
793 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); in onResume()
794 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onResume()
795 intentFilter.addDataScheme("file"); in onResume()
797 registerReceiver(mReceiver, intentFilter); in onResume()
DCamera.java1545 IntentFilter intentFilter = in installIntentFilter() local
1547 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in installIntentFilter()
1548 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in installIntentFilter()
1549 intentFilter.addAction(Intent.ACTION_MEDIA_CHECKING); in installIntentFilter()
1550 intentFilter.addDataScheme("file"); in installIntentFilter()
1551 registerReceiver(mReceiver, intentFilter); in installIntentFilter()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java550 IntentFilter intentFilter = new IntentFilter(BluetoothDevice.ACTION_UUID); in doOpushSdp() local
551 mContext.registerReceiver(mReceiver, intentFilter); in doOpushSdp()