Home
last modified time | relevance | path

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

/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
DWiFiDirectActivity.java55 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiDirectActivity
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()
87 registerReceiver(receiver, intentFilter); in onResume()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiServiceDiscoveryActivity.java64 private final IntentFilter intentFilter = new IntentFilter(); field in WiFiServiceDiscoveryActivity
90 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onCreate()
91 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onCreate()
92 intentFilter in onCreate()
94 intentFilter in onCreate()
300 registerReceiver(receiver, intentFilter); in onResume()
/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()