Searched refs:intentFilter (Results 1 – 4 of 4) sorted by relevance
62 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiDirectActivity127 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()128 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()129 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onCreate()130 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onCreate()151 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()
71 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiServiceDiscoveryActivity146 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()147 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()148 intentFilter in onCreate()150 intentFilter in onCreate()367 registerReceiver(receiver, intentFilter); in onResume()
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()