/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
ImsFrameworkApp.java | 23 import android.content.IntentFilter; 56 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED); 57 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); 58 intentFilter.addAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED); 59 intentFilter.addAction(TelephonyIntents.ACTION_RADIO_TECHNOLOGY_CHANGED); 60 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); 61 registerReceiver(mReceiver, intentFilter);
|
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 25 import android.content.IntentFilter; 119 IntentFilter intentFilter = new IntentFilter(); 120 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIME); 121 intentFilter.addAction(TelephonyIntents.ACTION_NETWORK_SET_TIMEZONE); 122 mContext.registerReceiver(mNitzReceiver, intentFilter); 132 }, new IntentFilter(ACTION_POLL)); 136 IntentFilter intentFilter = new IntentFilter() [all...] |
WifiService.java | 28 import android.content.IntentFilter; 386 new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED)); 388 IntentFilter filter = new IntentFilter(); [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
MmsSystemEventReceiver.java | 23 import android.content.IntentFilter; 87 IntentFilter intentFilter = new IntentFilter(); 88 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); 96 context.registerReceiver(sMmsSystemEventReceiver, intentFilter);
|
SmsReceiverService.java | 40 import android.content.IntentFilter; 634 IntentFilter intentFilter = new IntentFilter(); 635 intentFilter.addAction(TelephonyIntents.ACTION_SERVICE_STATE_CHANGED); 640 context.registerReceiver(SmsReceiver.getInstance(), intentFilter);
|
/cts/tests/tests/app/src/android/app/cts/ |
DownloadManagerTest.java | 24 import android.content.IntentFilter; 67 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); 68 mContext.registerReceiver(receiver, intentFilter); 95 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE); 96 mContext.registerReceiver(receiver, intentFilter); 152 IntentFilter intentFilter = new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE) [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
WiFiDirectActivity.java | 23 import android.content.IntentFilter; 55 private final IntentFilter intentFilter = new IntentFilter(); 73 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); 74 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); 75 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); 76 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); 87 registerReceiver(receiver, intentFilter);
|
/packages/apps/Nfc/src/com/android/nfc/ |
RegisteredComponentCache.java | 26 import android.content.IntentFilter; 68 IntentFilter intentFilter = new IntentFilter(); 69 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); 70 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); 71 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); 72 intentFilter.addDataScheme("package"); 73 mContext.registerReceiver(receiver, intentFilter); 75 IntentFilter sdFilter = new IntentFilter() [all...] |
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 24 import android.content.IntentFilter; 67 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); 68 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); 69 intentFilter.addDataScheme("file"); 70 registerReceiver(mReceiver, intentFilter);
|
/packages/apps/Phone/src/com/android/phone/ |
PhoneApp.java | 31 import android.content.IntentFilter; 522 IntentFilter intentFilter = 523 new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED); 524 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); 525 intentFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); 526 intentFilter.addAction(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED); 527 intentFilter.addAction(Intent.ACTION_HEADSET_PLUG); 528 intentFilter.addAction(Intent.ACTION_DOCK_EVENT); 529 intentFilter.addAction(Intent.ACTION_BATTERY_LOW) [all...] |
EmergencyDialer.java | 26 import android.content.IntentFilter; 219 final IntentFilter intentFilter = new IntentFilter(); 220 intentFilter.addAction(Intent.ACTION_SCREEN_OFF); 221 registerReceiver(mBroadcastReceiver, intentFilter);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
ConnectionAccessServerActivity.java | 28 import android.content.IntentFilter; 79 IntentFilter intentFilter = new IntentFilter(ACTION_CONNECTION_ACCESS_REQUEST); 80 registerReceiver(mConnectionAccessRequestReceiver, intentFilter);
|
MessageTestActivity.java | 30 import android.content.IntentFilter; 130 IntentFilter intentFilter = new IntentFilter(ACTION_PAIRING_REQUEST); 131 registerReceiver(mPairingActionReceiver, intentFilter);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Memory.java | 25 import android.content.IntentFilter; 116 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); 117 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); 118 intentFilter.addDataScheme("file"); 119 getActivity().registerReceiver(mMediaScannerReceiver, intentFilter);
|
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 24 import android.content.IntentFilter; 396 IntentFilter intentFilter = new IntentFilter(); 397 intentFilter.addAction(Intents.DATA_SMS_RECEIVED_ACTION); 398 intentFilter.addDataScheme("sms"); 399 intentFilter.addDataAuthority("localhost","7275"); 400 context.registerReceiver(mBroadcastReciever, intentFilter); 402 intentFilter = new IntentFilter(); [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 22 import android.content.IntentFilter; 114 IntentFilter intentFilter = new IntentFilter(); 115 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); 116 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); 117 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); 118 intentFilter.addDataScheme("package"); 119 mContext.registerReceiver(receiver, intentFilter); 121 IntentFilter sdFilter = new IntentFilter() [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
GalleryPicker.java | 31 import android.content.IntentFilter; 277 IntentFilter intentFilter = new IntentFilter(); 278 intentFilter.addAction(Intent.ACTION_MEDIA_MOUNTED); 279 intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); 280 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED); 281 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); 282 intentFilter.addAction(Intent.ACTION_MEDIA_EJECT); 283 intentFilter.addDataScheme("file") [all...] |
ImageGallery.java | 30 import android.content.IntentFilter; 441 IntentFilter intentFilter = 442 new IntentFilter(Intent.ACTION_MEDIA_MOUNTED); 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); [all...] |
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestSongs.java | 35 import android.content.IntentFilter; 106 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); 107 intentFilter.addDataScheme("file");
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
ScoAudioTest.java | 27 import android.content.IntentFilter; 103 IntentFilter intentFilter = 104 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); 105 intentFilter.addAction(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED); 106 intentFilter.addAction(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED); 107 registerReceiver(mReceiver, intentFilter);
|
/frameworks/base/media/java/android/media/ |
AudioService.java | 38 import android.content.IntentFilter; 364 IntentFilter intentFilter = 365 new IntentFilter(Intent.ACTION_HEADSET_PLUG); 367 intentFilter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); 368 intentFilter.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED); 369 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); 370 intentFilter.addAction(Intent.ACTION_DOCK_EVENT); 371 intentFilter.addAction(Intent.ACTION_USB_ANLG_HEADSET_PLUG); 372 intentFilter.addAction(Intent.ACTION_USB_DGTL_HEADSET_PLUG) [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
ActivityMusic.java | 34 import android.content.IntentFilter; 452 final IntentFilter intentFilter = new IntentFilter(Intent.ACTION_HEADSET_PLUG); 453 intentFilter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); 454 intentFilter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); 455 intentFilter.addAction(AudioManager.ACTION_AUDIO_BECOMING_NOISY); 456 registerReceiver(mReceiver, intentFilter);
|
/frameworks/base/core/java/android/content/ |
SyncManager.java | 321 IntentFilter intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); 322 context.registerReceiver(mConnectivityIntentReceiver, intentFilter); 325 intentFilter = new IntentFilter(Intent.ACTION_BOOT_COMPLETED); 326 context.registerReceiver(mBootCompletedReceiver, intentFilter); 329 intentFilter = new IntentFilter(ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED); 330 context.registerReceiver(mBackgroundDataSettingChanged, intentFilter); [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountManager.java | 22 import android.content.IntentFilter; [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsSmsDatabaseHelper.java | 29 import android.content.IntentFilter; [all...] |