/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 145 IntentFilter intentFilter = new IntentFilter(); in RegisteredServicesCache() local 146 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredServicesCache() 147 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredServicesCache() 148 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredServicesCache() 149 intentFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in RegisteredServicesCache() 150 intentFilter.addAction(Intent.ACTION_PACKAGE_FIRST_LAUNCH); in RegisteredServicesCache() 151 intentFilter.addAction(Intent.ACTION_PACKAGE_RESTARTED); in RegisteredServicesCache() 152 intentFilter.addDataScheme("package"); in RegisteredServicesCache() 153 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache() local
|
/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/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()
|
D | ConfirmConnectToWifiNetworkActivity.java | 47 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 48 intentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in onCreate() 49 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 417 IntentFilter intentFilter = in onCreate() local 419 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); in onCreate() 420 intentFilter.addAction(Intent.ACTION_DOCK_EVENT); in onCreate() 421 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); in onCreate() 422 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); in onCreate() 423 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in onCreate() 424 intentFilter.addAction(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED); in onCreate() 425 registerReceiver(mReceiver, intentFilter); in onCreate()
|
D | EmergencyDialer.java | 233 final IntentFilter intentFilter = new IntentFilter(); in onCreate() local 234 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); in onCreate() 235 registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | Memory.java | 128 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in onResume() local 129 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onResume() 130 intentFilter.addDataScheme("file"); in onResume() 131 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter); in onResume() 133 intentFilter = new IntentFilter(); in onResume() 134 intentFilter.addAction(UsbManager.ACTION_USB_STATE); in onResume() 135 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter); in onResume()
|
/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/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()
|
/packages/apps/Camera2/src/com/android/camera/processing/ |
D | ProcessingService.java | 112 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 113 intentFilter.addAction(ACTION_PAUSE_PROCESSING_SERVICE); in onCreate() 114 intentFilter.addAction(ACTION_RESUME_PROCESSING_SERVICE); in onCreate() 115 LocalBroadcastManager.getInstance(this).registerReceiver(mServiceController, intentFilter); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AuthenticatorHelper.java | 236 IntentFilter intentFilter = new IntentFilter(); in listenToAccountUpdates() local 237 intentFilter.addAction(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION); in listenToAccountUpdates() 240 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in listenToAccountUpdates() 241 mContext.registerReceiverAsUser(this, mUserHandle, intentFilter, null, null); in listenToAccountUpdates()
|
D | AccountSettings.java | 518 IntentFilter intentFilter = new IntentFilter(); in register() local 519 intentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_REMOVED); in register() 520 intentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_ADDED); in register() 521 context.registerReceiver(this, intentFilter); in register()
|
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
D | Listener.java | 208 final IntentFilter intentFilter = new IntentFilter(); in onCreate() local 209 intentFilter.addAction(ACTION_DISMISS); in onCreate() 210 intentFilter.addAction(ACTION_LAUNCH); in onCreate() 211 LocalBroadcastManager.getInstance(this).registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapEmailAppObserver.java | 193 IntentFilter intentFilter = new IntentFilter(); in createReceiver() local 194 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in createReceiver() 195 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in createReceiver() 196 intentFilter.addDataScheme("package"); in createReceiver()
|
/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/services/Telephony/src/com/android/services/telephony/ |
D | TtyManager.java | 75 IntentFilter intentFilter = new IntentFilter( in TtyManager() local 77 intentFilter.addAction(TelecomManager.ACTION_TTY_PREFERRED_MODE_CHANGED); in TtyManager() 78 context.registerReceiver(mReceiver, intentFilter); in TtyManager()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | BluetoothManager.java | 96 IntentFilter intentFilter = in BluetoothManager() local 98 intentFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); in BluetoothManager() 99 context.registerReceiver(mReceiver, intentFilter); in BluetoothManager()
|
D | WiredHeadsetManager.java | 67 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_HEADSET_PLUG); in WiredHeadsetManager() local 68 context.registerReceiver(mReceiver, intentFilter); in WiredHeadsetManager()
|
D | TtyManager.java | 49 IntentFilter intentFilter = new IntentFilter( in TtyManager() local 51 mContext.registerReceiver(mReceiver, intentFilter); in TtyManager()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkDialogActivity.java | 87 IntentFilter intentFilter = new IntentFilter(); in onCreate() local 88 intentFilter.addAction(ALARM_TIMEOUT); in onCreate() 89 mContext.registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
|
/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 | 1671 IntentFilter intentFilter = new IntentFilter(); in getWritableDatabase() local 1672 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_LOW); in getWritableDatabase() 1673 intentFilter.addAction(Intent.ACTION_DEVICE_STORAGE_OK); in getWritableDatabase() 1674 mContext.registerReceiver(mLowStorageMonitor, intentFilter); in getWritableDatabase()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | SmsReceiverService.java | 681 IntentFilter intentFilter = new IntentFilter(); in registerForServiceStateChanges() local 682 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); in registerForServiceStateChanges() 687 context.registerReceiver(SmsReceiver.getInstance(), intentFilter); in registerForServiceStateChanges() local
|