HomeSort by relevance Sort by last modified time
    Searched refs:WifiP2pManager (Results 1 - 14 of 14) sorted by null

  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
WiFiDirectBroadcastReceiver.java 24 import android.net.wifi.p2p.WifiP2pManager;
25 import android.net.wifi.p2p.WifiP2pManager.Channel;
26 import android.net.wifi.p2p.WifiP2pManager.PeerListListener;
34 private WifiP2pManager manager;
39 * @param manager WifiP2pManager system service
43 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel,
59 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
62 int state = intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE, -1);
63 if (state == WifiP2pManager.WIFI_P2P_STATE_ENABLED) {
72 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action))
    [all...]
WiFiDirectActivity.java 26 import android.net.wifi.p2p.WifiP2pManager;
27 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
28 import android.net.wifi.p2p.WifiP2pManager.Channel;
29 import android.net.wifi.p2p.WifiP2pManager.ChannelListener;
51 private WifiP2pManager manager;
73 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
74 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION);
75 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
76 intentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION);
78 manager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE)
    [all...]
DeviceListFragment.java 26 import android.net.wifi.p2p.WifiP2pManager.PeerListListener;
DeviceDetailFragment.java 29 import android.net.wifi.p2p.WifiP2pManager.ConnectionInfoListener;
  /packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pEnabler.java 25 import android.net.wifi.p2p.WifiP2pManager;
41 private WifiP2pManager mWifiP2pManager;
42 private WifiP2pManager.Channel mChannel;
49 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
51 WifiP2pManager.EXTRA_WIFI_STATE, WifiP2pManager.WIFI_P2P_STATE_DISABLED));
60 mWifiP2pManager = (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE);
72 mIntentFilter = new IntentFilter(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
105 case WifiP2pManager.WIFI_P2P_STATE_ENABLED:
108 case WifiP2pManager.WIFI_P2P_STATE_DISABLED
    [all...]
WifiP2pSettings.java 33 import android.net.wifi.p2p.WifiP2pManager;
34 import android.net.wifi.p2p.WifiP2pManager.PeerListListener;
70 private WifiP2pManager mWifiP2pManager;
71 private WifiP2pManager.Channel mChannel;
91 if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
93 } else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) {
97 } else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
100 WifiP2pManager.EXTRA_NETWORK_INFO);
104 } else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
106 WifiP2pManager.EXTRA_WIFI_P2P_DEVICE)
    [all...]
WifiP2pPeer.java 23 import android.net.wifi.p2p.WifiP2pManager;
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pService.java 75 * through the WifiP2pManager interface. The state machine communicates with the wifi
333 sendMessage(WifiP2pManager.DISABLE_P2P);
336 case WifiP2pManager.ENABLE_P2P:
337 replyToMessage(message, WifiP2pManager.ENABLE_P2P_FAILED,
338 WifiP2pManager.BUSY);
340 case WifiP2pManager.DISABLE_P2P:
341 replyToMessage(message, WifiP2pManager.DISABLE_P2P_FAILED,
342 WifiP2pManager.BUSY);
344 case WifiP2pManager.DISCOVER_PEERS:
345 replyToMessage(message, WifiP2pManager.DISCOVER_PEERS_FAILED
    [all...]
WifiP2pManager.java 99 public class WifiP2pManager {
100 private static final String TAG = "WifiP2pManager";
266 * Create a new WifiP2pManager instance. Applications use
273 public WifiP2pManager(IWifiP2pManager service) {
378 case WifiP2pManager.DISCOVER_PEERS_FAILED:
379 case WifiP2pManager.CONNECT_FAILED:
380 case WifiP2pManager.CANCEL_CONNECT_FAILED:
381 case WifiP2pManager.CREATE_GROUP_FAILED:
382 case WifiP2pManager.REMOVE_GROUP_FAILED:
388 case WifiP2pManager.DISCOVER_PEERS_SUCCEEDED
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiStateTracker.java 27 import android.net.wifi.p2p.WifiP2pManager;
90 filter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
211 if (intent.getAction().equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) {
213 WifiP2pManager.EXTRA_NETWORK_INFO);
215 WifiP2pManager.EXTRA_LINK_PROPERTIES);
220 WifiP2pManager.EXTRA_LINK_CAPABILITIES);
WifiStateMachine.java 59 import android.net.wifi.p2p.WifiP2pManager;
184 private WifiP2pManager mWifiP2pManager;
    [all...]
  /packages/apps/Settings/src/com/android/settings/
WirelessSettings.java 25 import android.net.wifi.p2p.WifiP2pManager;
141 WifiP2pManager p2p = (WifiP2pManager) activity.getSystemService(Context.WIFI_P2P_SERVICE);
  /frameworks/base/core/java/android/app/
ContextImpl.java 63 import android.net.wifi.p2p.WifiP2pManager;
448 return new WifiP2pManager(service);
    [all...]
  /prebuilt/sdk/14/
android.jar 

Completed in 378 milliseconds