/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pDeviceTest.java | 38 private void compareWifiP2pDevices(WifiP2pDevice devA, WifiP2pDevice devB) { in compareWifiP2pDevices() 62 WifiP2pDevice dev_a = new WifiP2pDevice(); in testEqualsWithHashCode() 64 WifiP2pDevice dev_b = new WifiP2pDevice(); in testEqualsWithHashCode() 76 WifiP2pDevice device = new WifiP2pDevice(); in testCopyConstructorWithDefaultValues() 77 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithDefaultValues() 86 WifiP2pDevice device = new WifiP2pDevice(); in testCopyConstructorWithUpdatedValues() 94 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithUpdatedValues() 96 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithUpdatedValues() 105 WifiP2pDevice device = new WifiP2pDevice(); in testCopyConstructorWithNullWfdInfo() 113 device.status = WifiP2pDevice.CONNECTED; in testCopyConstructorWithNullWfdInfo() [all …]
|
D | WifiP2pDeviceListTest.java | 33 private static final WifiP2pDevice TEST_DEVICE_1 = new WifiP2pDevice("aa:bb:cc:dd:ee:ff"); 34 private static final WifiP2pDevice TEST_DEVICE_2 = new WifiP2pDevice("aa:bb:cc:dd:ee:f1"); 35 private static final WifiP2pDevice TEST_DEVICE_3 = new WifiP2pDevice("11:22:33:44:55:66"); 36 private static final WifiP2pDevice TEST_DEVICE_4 = new WifiP2pDevice("a0:b0:c0:d0:e0:f0");
|
D | WifiP2pGroupListTest.java | 35 private static final WifiP2pDevice TEST_GROUP_OWNER_1 = new WifiP2pDevice("aa:bb:cc:dd:ee:f0"); 36 private static final WifiP2pDevice TEST_GROUP_OWNER_2 = new WifiP2pDevice("aa:bb:cc:dd:ee:f1"); 37 private static final WifiP2pDevice TEST_GROUP_OWNER_3 = new WifiP2pDevice("aa:bb:cc:dd:ee:f2"); 38 private static final WifiP2pDevice TEST_GROUP_OWNER_OTHER = 39 new WifiP2pDevice("aa:bb:cc:dd:ee:f3"); 49 WifiP2pDevice goDev) { in createGroup()
|
D | WifiP2pGroupTest.java | 39 private static final WifiP2pDevice GROUP_OWNER = new WifiP2pDevice("de:ad:be:ef:00:01"); 41 private static final WifiP2pDevice CLIENT_1 = new WifiP2pDevice("aa:bb:cc:dd:ee:01"); 42 private static final WifiP2pDevice CLIENT_2 = new WifiP2pDevice("aa:bb:cc:dd:ee:02");
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pDeviceList.java | 37 private final HashMap<String, WifiP2pDevice> mDevices = new HashMap<String, WifiP2pDevice>(); 45 for (WifiP2pDevice d : source.getDeviceList()) { in WifiP2pDeviceList() 46 mDevices.put(d.deviceAddress, new WifiP2pDevice(d)); in WifiP2pDeviceList() 52 public WifiP2pDeviceList(ArrayList<WifiP2pDevice> devices) { in WifiP2pDeviceList() 53 for (WifiP2pDevice device : devices) { in WifiP2pDeviceList() 55 mDevices.put(device.deviceAddress, new WifiP2pDevice(device)); in WifiP2pDeviceList() 60 private void validateDevice(WifiP2pDevice device) { in validateDevice() 87 public void update(WifiP2pDevice device) { in update() 93 public void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails() 95 WifiP2pDevice d = mDevices.get(device.deviceAddress); in updateSupplicantDetails() [all …]
|
D | WifiP2pGroup.java | 66 private WifiP2pDevice mOwner; 72 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>(); 139 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup() 156 WifiP2pDevice dev = new WifiP2pDevice(); in WifiP2pGroup() 163 mOwner = new WifiP2pDevice(nameValue[1]); in WifiP2pGroup() 202 public void setOwner(WifiP2pDevice device) { in setOwner() 207 public WifiP2pDevice getOwner() { in getOwner() 213 addClient(new WifiP2pDevice(address)); in addClient() 217 public void addClient(WifiP2pDevice device) { in addClient() 218 for (WifiP2pDevice client : mClients) { in addClient() [all …]
|
D | WifiP2pDevice.java | 36 public class WifiP2pDevice implements Parcelable { class 168 public WifiP2pDevice() { in WifiP2pDevice() method in WifiP2pDevice 189 public WifiP2pDevice(String string) throws IllegalArgumentException { in WifiP2pDevice() method in WifiP2pDevice 295 public void update(@NonNull WifiP2pDevice device) { in update() 301 public void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails() 323 if (!(obj instanceof WifiP2pDevice)) return false; in equals() 325 WifiP2pDevice other = (WifiP2pDevice) obj; in equals() 359 public WifiP2pDevice(WifiP2pDevice source) { in WifiP2pDevice() method in WifiP2pDevice 395 public static final @android.annotation.NonNull Creator<WifiP2pDevice> CREATOR = 396 new Creator<WifiP2pDevice>() { [all …]
|
D | WifiP2pProvDiscEvent.java | 41 public WifiP2pDevice device; 49 device = new WifiP2pDevice(); in WifiP2pProvDiscEvent() 77 device = new WifiP2pDevice(); in WifiP2pProvDiscEvent()
|
D | WifiP2pManager.java | 700 byte[] responseData, WifiP2pDevice srcDevice); in onServiceAvailable() 721 String registrationType, WifiP2pDevice srcDevice); in onDnsSdServiceAvailable() 743 WifiP2pDevice srcDevice); in onDnsSdTxtRecordAvailable() 763 WifiP2pDevice srcDevice); in onUpnpServiceAvailable() 846 void onDeviceInfoAvailable(@Nullable WifiP2pDevice wifiP2pDevice); in onDeviceInfoAvailable() 1058 .onDeviceInfoAvailable((WifiP2pDevice) message.obj); in handleMessage() 1679 WifiP2pDevice d = new WifiP2pDevice(); in setDeviceName()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackTest.java | 32 import android.net.wifi.p2p.WifiP2pDevice; 101 public void answer(String iface, WifiP2pDevice device) { in testOnDeviceFound_success() 111 assertEquals(device.status, WifiP2pDevice.AVAILABLE); in testOnDeviceFound_success() 115 anyString(), any(WifiP2pDevice.class)); in testOnDeviceFound_success() 133 anyString(), any(WifiP2pDevice.class)); in testOnDeviceFound_success() 156 ArgumentCaptor<WifiP2pDevice> deviceCaptor = ArgumentCaptor.forClass(WifiP2pDevice.class); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 159 WifiP2pDevice device = deviceCaptor.getValue(); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 166 assertEquals(WifiP2pDevice.AVAILABLE, device.status); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 177 anyString(), any(WifiP2pDevice.class)); in testOnDeviceFoundWithSignBitInDeviceInfoBytesSuccess() 199 anyString(), any(WifiP2pDevice.class)); in testOnDeviceFound_invalidArguments() [all …]
|
D | WifiP2pServiceImplTest.java | 62 import android.net.wifi.p2p.WifiP2pDevice; 147 private WifiP2pDevice mTestWifiP2pDevice; 149 private WifiP2pDevice mTestThisDevice; 176 mTestWifiP2pDevice = spy(new WifiP2pDevice()); in generatorTestData() 194 mTestWifiP2pNewPersistentGoGroup.setOwner(new WifiP2pDevice(thisDeviceMac)); in generatorTestData() 209 group2.setOwner(new WifiP2pDevice("12:34:56:78:90:ab")); in generatorTestData() 216 group3.setOwner(new WifiP2pDevice(thisDeviceMac)); in generatorTestData() 220 mTestThisDevice = new WifiP2pDevice(); in generatorTestData() 443 private void sendDeviceFoundEventMsg(WifiP2pDevice device) throws Exception { in sendDeviceFoundEventMsg() 503 Messenger replyMessenger, WifiP2pDevice dev) throws Exception { in sendSetDeviceNameMsg() [all …]
|
D | WifiP2pNativeTest.java | 35 import android.net.wifi.p2p.WifiP2pDevice; 106 group.setOwner(new WifiP2pDevice(goAddr)); in createP2pGroup()
|
D | SupplicantP2pIfaceHalTest.java | 43 import android.net.wifi.p2p.WifiP2pDevice; 2895 WifiP2pDevice owner = new WifiP2pDevice(); in createDummyP2pGroup()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallback.java | 23 import android.net.wifi.p2p.WifiP2pDevice; 102 WifiP2pDevice device = new WifiP2pDevice(); in onDeviceFound() 126 device.status = WifiP2pDevice.AVAILABLE; in onDeviceFound() 145 WifiP2pDevice device = new WifiP2pDevice(); in onDeviceLost() 154 device.status = WifiP2pDevice.UNAVAILABLE; in onDeviceLost() 293 WifiP2pDevice owner = new WifiP2pDevice(); in onGroupStarted() 341 WifiP2pDevice client = new WifiP2pDevice(); in onInvitationReceived() 352 WifiP2pDevice owner = new WifiP2pDevice(); in onInvitationReceived() 402 event.device = new WifiP2pDevice(); in onProvisionDiscoveryCompleted() 464 private WifiP2pDevice createStaEventDevice(byte[] srcAddress, byte[] p2pDeviceAddress) { in createStaEventDevice() [all …]
|
D | WifiP2pServiceImpl.java | 51 import android.net.wifi.p2p.WifiP2pDevice; 243 private WifiP2pDevice mThisDevice = new WifiP2pDevice(); 1510 WifiP2pDevice d = (WifiP2pDevice) message.obj; in processMessage() 1621 WifiP2pDevice device = (WifiP2pDevice) message.obj; in processMessage() 1631 device = (WifiP2pDevice) message.obj; in processMessage() 1694 WifiP2pDevice dev = in processMessage() 1860 WifiP2pDevice.INVITED); in processMessage() 1897 WifiP2pDevice owner = group.getOwner(); in processMessage() 1907 group.setOwner(new WifiP2pDevice(addr)); in processMessage() 1954 WifiP2pDevice device = provDisc.device; in processMessage() [all …]
|
D | WifiP2pMonitor.java | 20 import android.net.wifi.p2p.WifiP2pDevice; 269 public void broadcastP2pDeviceFound(String iface, WifiP2pDevice device) { in broadcastP2pDeviceFound() 281 public void broadcastP2pDeviceLost(String iface, WifiP2pDevice device) { in broadcastP2pDeviceLost() 470 public void broadcastP2pApStaConnected(String iface, WifiP2pDevice device) { in broadcastP2pApStaConnected() 479 public void broadcastP2pApStaDisconnected(String iface, WifiP2pDevice device) { in broadcastP2pApStaDisconnected()
|
D | SupplicantP2pIfaceHal.java | 34 import android.net.wifi.p2p.WifiP2pDevice; 2054 WifiP2pDevice device = new WifiP2pDevice(); in loadGroups()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | WifiDisplayController.java | 33 import android.net.wifi.p2p.WifiP2pDevice; 105 private final ArrayList<WifiP2pDevice> mAvailableWifiDisplayPeers = 106 new ArrayList<WifiP2pDevice>(); 118 private WifiP2pDevice mDesiredDevice; 122 private WifiP2pDevice mConnectingDevice; 125 private WifiP2pDevice mDisconnectingDevice; 128 private WifiP2pDevice mCancelingDevice; 131 private WifiP2pDevice mConnectedDevice; 160 private WifiP2pDevice mThisDevice; 244 for (WifiP2pDevice device : mAvailableWifiDisplayPeers) { in dump() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 60 protected WifiP2pDevice mDevice; 119 WifiP2pDevice device, byte[] data) { in WifiP2pServiceResponse() 175 public WifiP2pDevice getSrcDevice() { in getSrcDevice() 180 public void setSrcDevice(WifiP2pDevice dev) { in setSrcDevice() 198 WifiP2pDevice dev = new WifiP2pDevice(); in newInstance() 360 WifiP2pDevice dev = (WifiP2pDevice)in.readParcelable(null);
|
D | WifiP2pUpnpServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 81 int transId, WifiP2pDevice dev, byte[] data) { in WifiP2pUpnpServiceResponse() 147 int transId, WifiP2pDevice device, byte[] data) { in newInstance()
|
D | WifiP2pDnsSdServiceResponse.java | 19 import android.net.wifi.p2p.WifiP2pDevice; 153 int tranId, WifiP2pDevice dev, byte[] data) { in WifiP2pDnsSdServiceResponse() 296 int transId, WifiP2pDevice dev, byte[] data) { in newInstance()
|
/frameworks/base/wifi/aidl-export/android/net/wifi/p2p/ |
D | WifiP2pDevice.aidl | 19 parcelable WifiP2pDevice;
|
/frameworks/base/wifi/api/ |
D | current.txt | 838 public class WifiP2pDevice implements android.os.Parcelable { 839 ctor public WifiP2pDevice(); 840 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice); 845 method public void update(@NonNull android.net.wifi.p2p.WifiP2pDevice); 852 …Null public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATOR; 867 method public android.net.wifi.p2p.WifiP2pDevice get(String); 868 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList(); 877 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList(); 882 method public android.net.wifi.p2p.WifiP2pDevice getOwner(); 968 method public void onDeviceInfoAvailable(@Nullable android.net.wifi.p2p.WifiP2pDevice); [all …]
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18150 public class WifiP2pDevice implements android.os.Parcelable { 18151 ctor public WifiP2pDevice(); 18152 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice); 18162 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO… 18177 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String); 18178 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList(); 18187 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList(); 18190 method public android.net.wifi.p2p.WifiP2pDevice getOwner(); 18268 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice); 18272 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice); [all …]
|
/frameworks/base/api/ |
D | current.txt | 31918 public class WifiP2pDevice implements android.os.Parcelable { 31919 ctor public WifiP2pDevice(); 31920 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice); 31925 method public void update(@NonNull android.net.wifi.p2p.WifiP2pDevice); 31932 …Null public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATOR; 31947 method public android.net.wifi.p2p.WifiP2pDevice get(String); 31948 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList(); 31957 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList(); 31962 method public android.net.wifi.p2p.WifiP2pDevice getOwner(); 32048 method public void onDeviceInfoAvailable(@Nullable android.net.wifi.p2p.WifiP2pDevice); [all …]
|