Home
last modified time | relevance | path

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

/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DMainActivity.java55 private final IntentFilter intentFilter = new IntentFilter(); field in MainActivity
73 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
74 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
75 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onCreate()
76 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onCreate()
89 registerReceiver(receiver, intentFilter); in onResume()
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/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()
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/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()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichTvInputService.java91 IntentFilter intentFilter = new IntentFilter(); in onCreate() local
92 intentFilter.addAction(TvInputManager.ACTION_BLOCKED_RATINGS_CHANGED); in onCreate()
93 intentFilter.addAction(TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED); in onCreate()
94 registerReceiver(mParentalControlsBroadcastReceiver, intentFilter); in onCreate()