/packages/apps/Phone/src/com/android/phone/ |
D | PhoneGlobals.java | 558 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 …]
|
D | EmergencyDialer.java | 232 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/ |
D | ImsFrameworkApp.java | 56 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/ |
D | Memory.java | 124 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/ |
D | RegisteredComponentCache.java | 70 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/ |
D | GalleryPicker.java | 277 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()
|
D | ImageGallery.java | 441 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/ |
D | ActivityBase.java | 301 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()
|
D | VideoModule.java | 735 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/ |
D | ActivityBase.java | 300 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()
|
D | VideoModule.java | 795 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/ |
D | ActivityMusic.java | 467 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/ |
D | VideoCamera.java | 859 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()
|
D | Camera.java | 1521 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/ |
D | MmsSmsDatabaseHelper.java | 1586 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/ |
D | SmsReceiverService.java | 672 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
|
D | TransactionService.java | 180 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 181 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in onCreate() 182 registerReceiver(mReceiver, intentFilter); in onCreate()
|
D | MessagingNotification.java | 182 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/ |
D | TestSongs.java | 106 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in rescanSdcard() local 107 intentFilter.addDataScheme("file"); in rescanSdcard()
|