Searched refs:intentFilter (Results 1 – 4 of 4) sorted by relevance
61 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiDirectActivity92 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()
70 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiServiceDiscoveryActivity111 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()
302 final IntentFilter intentFilter = new IntentFilter(); in makeGattUpdateIntentFilter() local303 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()
67 IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_SCANNER_STARTED); in onCreate() local68 intentFilter.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED); in onCreate()69 intentFilter.addDataScheme("file"); in onCreate()70 registerReceiver(mReceiver, intentFilter); in onCreate()