/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pDevice.aidl | 19 parcelable WifiP2pDevice;
|
WifiP2pDeviceList.java | 21 import android.net.wifi.p2p.WifiP2pDevice; 38 private final HashMap<String, WifiP2pDevice> mDevices = new HashMap<String, WifiP2pDevice>(); 46 for (WifiP2pDevice d : source.getDeviceList()) { 47 mDevices.put(d.deviceAddress, new WifiP2pDevice(d)); 53 public WifiP2pDeviceList(ArrayList<WifiP2pDevice> devices) { 54 for (WifiP2pDevice device : devices) { 56 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); 61 private void validateDevice(WifiP2pDevice device) { 87 public void update(WifiP2pDevice device) [all...] |
WifiP2pGroup.java | 52 private WifiP2pDevice mOwner; 58 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); 120 mOwner = new WifiP2pDevice(match.group(5)); 137 WifiP2pDevice dev = new WifiP2pDevice(); 144 mOwner = new WifiP2pDevice(nameValue[1]); 149 mOwner = new WifiP2pDevice(sa); 183 public void setOwner(WifiP2pDevice device) { 187 /** Get the details of the group owner as a {@link WifiP2pDevice} object * [all...] |
WifiP2pDevice.java | 32 public class WifiP2pDevice implements Parcelable { 34 private static final String TAG = "WifiP2pDevice"; 151 public WifiP2pDevice() { 171 public WifiP2pDevice(String string) throws IllegalArgumentException { 271 public void update(WifiP2pDevice device) { 277 void updateSupplicantDetails(WifiP2pDevice device) { 299 if (!(obj instanceof WifiP2pDevice)) return false; 301 WifiP2pDevice other = (WifiP2pDevice) obj; 328 public WifiP2pDevice(WifiP2pDevice source) [all...] |
WifiP2pProvDiscEvent.java | 41 public WifiP2pDevice device; 47 device = new WifiP2pDevice(); 75 device = new WifiP2pDevice();
|
WifiP2pService.java | 187 private WifiP2pDevice mThisDevice = new WifiP2pDevice(); [all...] |
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiP2pService.java | 4 import android.net.wifi.p2p.WifiP2pDevice; 10 WifiP2pDevice device;
|
WiFiDirectServicesList.java | 6 import android.net.wifi.p2p.WifiP2pDevice; 91 case WifiP2pDevice.CONNECTED: 93 case WifiP2pDevice.INVITED: 95 case WifiP2pDevice.FAILED: 97 case WifiP2pDevice.AVAILABLE: 99 case WifiP2pDevice.UNAVAILABLE:
|
WiFiDirectBroadcastReceiver.java | 25 import android.net.wifi.p2p.WifiP2pDevice; 85 WifiP2pDevice device = (WifiP2pDevice) intent
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 24 import android.net.wifi.p2p.WifiP2pDevice; 45 private List<WifiP2pDevice> peers = new ArrayList<WifiP2pDevice>(); 48 private WifiP2pDevice device; 66 public WifiP2pDevice getDevice() { 73 case WifiP2pDevice.AVAILABLE: 75 case WifiP2pDevice.INVITED: 77 case WifiP2pDevice.CONNECTED: 79 case WifiP2pDevice.FAILED: 81 case WifiP2pDevice.UNAVAILABLE [all...] |
WiFiDirectBroadcastReceiver.java | 23 import android.net.wifi.p2p.WifiP2pDevice; 106 fragment.updateThisDevice((WifiP2pDevice) intent.getParcelableExtra(
|
WiFiDirectActivity.java | 25 import android.net.wifi.p2p.WifiP2pDevice; 170 public void showDetails(WifiP2pDevice device) { 242 || fragment.getDevice().status == WifiP2pDevice.CONNECTED) { 244 } else if (fragment.getDevice().status == WifiP2pDevice.AVAILABLE 245 || fragment.getDevice().status == WifiP2pDevice.INVITED) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
P2pBroadcastReceiverTest.java | 23 import android.net.wifi.p2p.WifiP2pDevice; 75 public synchronized WifiP2pDevice waitDeviceFound(String targetAddr, long msec) 81 for (WifiP2pDevice dev: mPeers.getDeviceList()) { 127 for (WifiP2pDevice dev: mPeers.getDeviceList()) { 129 if (dev.status == WifiP2pDevice.CONNECTED) { 158 for (WifiP2pDevice dev: mPeers.getDeviceList()) { 160 if (dev.status != WifiP2pDevice.CONNECTED) {
|
UPnPServiceResponseListenerTest.java | 22 import android.net.wifi.p2p.WifiP2pDevice; 59 WifiP2pDevice srcDevice) {
|
DnsSdResponseListenerTest.java | 22 import android.net.wifi.p2p.WifiP2pDevice; 62 String registrationType, WifiP2pDevice srcDevice) {
|
DnsSdTxtRecordListenerTest.java | 24 import android.net.wifi.p2p.WifiP2pDevice; 64 Map<String, String> txtRecordMap, WifiP2pDevice srcDevice) {
|
ConnectReqTestCase.java | 22 import android.net.wifi.p2p.WifiP2pDevice; 100 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 81 int transId, WifiP2pDevice dev, byte[] data) { 147 int transId, WifiP2pDevice device, byte[] data) {
|
WifiP2pServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 60 protected WifiP2pDevice mDevice; 119 WifiP2pDevice device, byte[] data) { 175 public WifiP2pDevice getSrcDevice() { 180 public void setSrcDevice(WifiP2pDevice dev) { 204 WifiP2pDevice dev = new WifiP2pDevice(); 368 WifiP2pDevice dev = (WifiP2pDevice)in.readParcelable(null);
|
WifiP2pDnsSdServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 153 int tranId, WifiP2pDevice dev, byte[] data) { 296 int transId, WifiP2pDevice dev, byte[] data) {
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
WifiP2pPeer.java | 23 import android.net.wifi.p2p.WifiP2pDevice; 32 public WifiP2pDevice device; 39 public WifiP2pPeer(Context context, WifiP2pDevice dev) {
|
WifiP2pSettings.java | 32 import android.net.wifi.p2p.WifiP2pDevice; 108 private WifiP2pDevice mThisDevice; 144 mThisDevice = (WifiP2pDevice) intent.getParcelableExtra( 194 WifiP2pDevice device = savedInstanceState.getParcelable(SAVE_DIALOG_PEER); 377 if (mSelectedWifiPeer.device.status == WifiP2pDevice.CONNECTED) { 379 } else if (mSelectedWifiPeer.device.status == WifiP2pDevice.INVITED) { 501 for (WifiP2pDevice peer: mPeers.getDeviceList()) { 504 if (peer.status == WifiP2pDevice.CONNECTED) mConnectedDevices++;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
ResponderTestActivity.java | 22 import android.net.wifi.p2p.WifiP2pDevice; 120 final WifiP2pDevice myDevice = (WifiP2pDevice) intent.getParcelableExtra(
|
RequesterTestActivity.java | 25 import android.net.wifi.p2p.WifiP2pDevice; 257 final Collection<WifiP2pDevice> peerList = peers.getDeviceList(); 260 for (WifiP2pDevice dev: peerList) { 271 for (WifiP2pDevice dev: peerList) {
|
/frameworks/base/services/java/com/android/server/display/ |
WifiDisplayController.java | 35 import android.net.wifi.p2p.WifiP2pDevice; 106 private final ArrayList<WifiP2pDevice> mAvailableWifiDisplayPeers = 107 new ArrayList<WifiP2pDevice>(); 119 private WifiP2pDevice mDesiredDevice; 123 private WifiP2pDevice mConnectingDevice; 126 private WifiP2pDevice mDisconnectingDevice; 129 private WifiP2pDevice mCancelingDevice; 132 private WifiP2pDevice mConnectedDevice; 161 private WifiP2pDevice mThisDevice; 236 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) [all...] |