Home
last modified time | relevance | path

Searched refs:WifiP2pDevice (Results 1 – 21 of 21) 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/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/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/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java38 import android.net.wifi.p2p.WifiP2pDevice;
189 private WifiP2pDevice mThisDevice = new WifiP2pDevice();
978 WifiP2pDevice d = (WifiP2pDevice) message.obj; in processMessage()
1067 WifiP2pDevice device = (WifiP2pDevice) message.obj; in processMessage()
1073 device = (WifiP2pDevice) message.obj; in processMessage()
1123 WifiP2pDevice dev = in processMessage()
1234 mPeers.updateStatus(mSavedPeerConfig.deviceAddress, WifiP2pDevice.INVITED); in processMessage()
1263 WifiP2pDevice owner = group.getOwner(); in processMessage()
1431 WifiP2pDevice device = (WifiP2pDevice) message.obj; in processMessage()
1488 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;
1112 WifiP2pDevice getWifiP2pDevice(String dataString) { in getWifiP2pDevice()
1114 WifiP2pDevice device = new WifiP2pDevice(dataString); in getWifiP2pDevice()
1135 WifiP2pDevice device = getWifiP2pDevice(dataString); in handleP2pEvents()
1138 WifiP2pDevice device = getWifiP2pDevice(dataString); in handleP2pEvents()
1195 mStateMachine.sendMessage(AP_STA_CONNECTED_EVENT, new WifiP2pDevice(dataString)); in handleHostApEvents()
1198 mStateMachine.sendMessage(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.mk474 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pDevice.aidl \
/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/base/api/
Dcurrent.txt19381 public class WifiP2pDevice implements android.os.Parcelable {
19382 ctor public WifiP2pDevice();
19383 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice);
19393 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO…
19408 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String);
19409 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList();
19418 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList();
19421 method public android.net.wifi.p2p.WifiP2pDevice getOwner();
19499 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice);
19503 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice);
[all …]
Dsystem-current.txt21312 public class WifiP2pDevice implements android.os.Parcelable {
21313 ctor public WifiP2pDevice();
21314 ctor public WifiP2pDevice(android.net.wifi.p2p.WifiP2pDevice);
21324 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pDevice> CREATO…
21339 method public android.net.wifi.p2p.WifiP2pDevice get(java.lang.String);
21340 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getDeviceList();
21349 method public java.util.Collection<android.net.wifi.p2p.WifiP2pDevice> getClientList();
21352 method public android.net.wifi.p2p.WifiP2pDevice getOwner();
21430 …id onDnsSdServiceAvailable(java.lang.String, java.lang.String, android.net.wifi.p2p.WifiP2pDevice);
21434 …ang.String, java.util.Map<java.lang.String, java.lang.String>, android.net.wifi.p2p.WifiP2pDevice);
[all …]
/frameworks/base/docs/html/
Dsitemap.txt2932 http://developer.android.com/reference/android/net/wifi/p2p/WifiP2pDevice.html