Home
last modified time | relevance | path

Searched refs:WifiP2pDevice (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pDeviceList.java21 import android.net.wifi.p2p.WifiP2pDevice;
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()
86 public void update(WifiP2pDevice device) { in update()
92 public void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails()
[all …]
DWifiP2pGroup.java52 private WifiP2pDevice mOwner;
58 private List<WifiP2pDevice> mClients = new ArrayList<WifiP2pDevice>();
120 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup()
137 WifiP2pDevice dev = new WifiP2pDevice(); in WifiP2pGroup()
144 mOwner = new WifiP2pDevice(nameValue[1]); in WifiP2pGroup()
149 mOwner = new WifiP2pDevice(sa); in WifiP2pGroup()
183 public void setOwner(WifiP2pDevice device) { in setOwner()
188 public WifiP2pDevice getOwner() { in getOwner()
194 addClient(new WifiP2pDevice(address)); in addClient()
198 public void addClient(WifiP2pDevice device) { in addClient()
[all …]
DWifiP2pDevice.java32 public class WifiP2pDevice implements Parcelable { class
151 public WifiP2pDevice() { in WifiP2pDevice() method in WifiP2pDevice
171 public WifiP2pDevice(String string) throws IllegalArgumentException { in WifiP2pDevice() method in WifiP2pDevice
271 public void update(WifiP2pDevice device) { in update()
277 public void updateSupplicantDetails(WifiP2pDevice device) { in updateSupplicantDetails()
299 if (!(obj instanceof WifiP2pDevice)) return false; in equals()
301 WifiP2pDevice other = (WifiP2pDevice) obj; in equals()
328 public WifiP2pDevice(WifiP2pDevice source) { in WifiP2pDevice() method in WifiP2pDevice
361 public static final Creator<WifiP2pDevice> CREATOR =
362 new Creator<WifiP2pDevice>() {
[all …]
DWifiP2pProvDiscEvent.java37 public WifiP2pDevice device;
43 device = new WifiP2pDevice(); in WifiP2pProvDiscEvent()
71 device = new WifiP2pDevice(); in WifiP2pProvDiscEvent()
DWifiP2pDevice.aidl19 parcelable WifiP2pDevice;
DWifiP2pManager.java575 byte[] responseData, WifiP2pDevice srcDevice); in onServiceAvailable()
596 String registrationType, WifiP2pDevice srcDevice); in onDnsSdServiceAvailable()
618 WifiP2pDevice srcDevice); in onDnsSdTxtRecordAvailable()
638 WifiP2pDevice srcDevice); in onUpnpServiceAvailable()
1307 WifiP2pDevice d = new WifiP2pDevice(); in setDeviceName()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java35 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) { in dump()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java19 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()
204 WifiP2pDevice dev = new WifiP2pDevice(); in newInstance()
368 WifiP2pDevice dev = (WifiP2pDevice)in.readParcelable(null);
DWifiP2pUpnpServiceResponse.java19 import android.net.wifi.p2p.WifiP2pDevice;
81 int transId, WifiP2pDevice dev, byte[] data) { in WifiP2pUpnpServiceResponse()
147 int transId, WifiP2pDevice device, byte[] data) { in newInstance()
DWifiP2pDnsSdServiceResponse.java19 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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java38 import android.net.wifi.p2p.WifiP2pDevice;
191 private WifiP2pDevice mThisDevice = new WifiP2pDevice();
1086 WifiP2pDevice d = (WifiP2pDevice) message.obj; in processMessage()
1175 WifiP2pDevice device = (WifiP2pDevice) message.obj; in processMessage()
1181 device = (WifiP2pDevice) message.obj; in processMessage()
1231 WifiP2pDevice dev = in processMessage()
1330 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
1359 WifiP2pDevice owner = group.getOwner(); in processMessage()
1527 WifiP2pDevice device = (WifiP2pDevice) message.obj; in processMessage()
1584 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMonitor.java25 import android.net.wifi.p2p.WifiP2pDevice;
1158 private WifiP2pDevice getWifiP2pDevice(String dataString) { in getWifiP2pDevice()
1160 return new WifiP2pDevice(dataString); in getWifiP2pDevice()
1179 WifiP2pDevice device = getWifiP2pDevice(dataString); in handleP2pEvents()
1182 WifiP2pDevice device = getWifiP2pDevice(dataString); in handleP2pEvents()
1233 sendMessage(iface, AP_STA_CONNECTED_EVENT, new WifiP2pDevice(dataString)); in handleHostApEvents()
1236 sendMessage(iface, AP_STA_DISCONNECTED_EVENT, new WifiP2pDevice(dataString)); in handleHostApEvents()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dwifi-direct.jd151 fragment.updateThisDevice((WifiP2pDevice) intent.getParcelableExtra(
226 private List<WifiP2pDevice> peers = new ArrayList<WifiP2pDevice>();
281 {@link android.net.wifi.p2p.WifiP2pDevice} representing the device you want to
291 WifiP2pDevice device = peers.get(0);
Dnsd-wifi-direct.jd135 String fullDomain, Map<String,String> record, WifiP2pDevice device) {
163 WifiP2pDevice resourceType) {
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd457 WifiP2pDevice device;
/frameworks/base/
DAndroid.mk551 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
Dcompiled-classes-phone2887 android.net.wifi.p2p.WifiP2pDevice
2888 android.net.wifi.p2p.WifiP2pDevice$1
/frameworks/base/docs/html/about/versions/
Dandroid-4.1.jd535 {@link android.net.wifi.p2p.WifiP2pDevice} object representing the peer device.</p>
Dandroid-4.0.jd656 android.net.wifi.p2p.WifiP2pDevice} object for each device within range and get information such as
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18150 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/
Dcurrent.txt24631 public class WifiP2pDevice implements android.os.Parcelable {
24632 ctor public WifiP2pDevice();
24633 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice);
24643 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO…
24658 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String);
24659 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList();
24668 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList();
24671 method public android.net.wifi.p2p.WifiP2pDevice getOwner();
24749 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice);
24753 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice);
[all …]
Dtest-current.txt24700 public class WifiP2pDevice implements android.os.Parcelable {
24701 ctor public WifiP2pDevice();
24702 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice);
24712 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO…
24727 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String);
24728 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList();
24737 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList();
24740 method public android.net.wifi.p2p.WifiP2pDevice getOwner();
24818 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice);
24822 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice);
[all …]
Dsystem-current.txt27058 public class WifiP2pDevice implements android.os.Parcelable {
27059 ctor public WifiP2pDevice();
27060 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice);
27070 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO…
27085 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String);
27086 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList();
27095 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList();
27098 method public android.net.wifi.p2p.WifiP2pDevice getOwner();
27176 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice);
27180 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice);
[all …]