Home
last modified time | relevance | path

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

/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java61 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiDirectActivity
92 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
93 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
94 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onCreate()
95 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onCreate()
115 registerReceiver(receiver, intentFilter); in onResume()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java70 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiServiceDiscoveryActivity
111 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
112 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
113 intentFilter in onCreate()
115 intentFilter in onCreate()
331 registerReceiver(receiver, intentFilter); in onResume()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java302 final IntentFilter intentFilter = new IntentFilter(); in makeGattUpdateIntentFilter() local
303 intentFilter.addAction(BluetoothLeService.ACTION_GATT_CONNECTED); in makeGattUpdateIntentFilter()
304 intentFilter.addAction(BluetoothLeService.ACTION_GATT_DISCONNECTED); in makeGattUpdateIntentFilter()
305 intentFilter.addAction(BluetoothLeService.ACTION_GATT_SERVICES_DISCOVERED); in makeGattUpdateIntentFilter()
306 intentFilter.addAction(BluetoothLeService.ACTION_DATA_AVAILABLE); in makeGattUpdateIntentFilter()
307 return intentFilter; in makeGattUpdateIntentFilter()
/development/apps/Development/src/com/android/development/
DMediaScannerActivity.java67 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in onCreate() local
68 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onCreate()
69 intentFilter.addDataScheme("file"); in onCreate()
70 registerReceiver(mReceiver, intentFilter); in onCreate()