Home
last modified time | relevance | path

Searched refs:WifiP2pGroup (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java36 private final LruCache<Integer, WifiP2pGroup> mGroups;
53 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) { in WifiP2pGroupList()
56 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList()
64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { in WifiP2pGroupList()
75 public Collection<WifiP2pGroup> getGroupList() { in getGroupList()
85 public void add(WifiP2pGroup group) { in add()
133 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
134 for (WifiP2pGroup grp: groups) { in getNetworkId()
158 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
159 for (WifiP2pGroup grp: groups) { in getNetworkId()
[all …]
DWifiP2pGroup.java36 public class WifiP2pGroup implements Parcelable { class
78 public WifiP2pGroup() { in WifiP2pGroup() method in WifiP2pGroup
98 public WifiP2pGroup(String supplicantEvent) throws IllegalArgumentException { in WifiP2pGroup() method in WifiP2pGroup
283 public WifiP2pGroup(WifiP2pGroup source) { in WifiP2pGroup() method in WifiP2pGroup
310 public static final Creator<WifiP2pGroup> CREATOR =
311 new Creator<WifiP2pGroup>() {
312 public WifiP2pGroup createFromParcel(Parcel in) {
313 WifiP2pGroup group = new WifiP2pGroup();
327 public WifiP2pGroup[] newArray(int size) {
328 return new WifiP2pGroup[size];
DWifiP2pGroup.aidl19 parcelable WifiP2pGroup;
DWifiP2pConfig.java55 public int netId = WifiP2pGroup.PERSISTENT_NET_ID;
DWifiP2pManager.java562 public void onGroupInfoAvailable(WifiP2pGroup group); in onGroupInfoAvailable()
770 WifiP2pGroup group = (WifiP2pGroup) message.obj; in handleMessage()
1022 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID, in createGroup()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java24 import android.net.wifi.p2p.WifiP2pGroup;
271 WifiP2pGroup group = new WifiP2pGroup(); in onGroupStarted()
286 group.setNetworkId(WifiP2pGroup.PERSISTENT_NET_ID); in onGroupStarted()
288 group.setNetworkId(WifiP2pGroup.TEMPORARY_NET_ID); in onGroupStarted()
318 WifiP2pGroup group = new WifiP2pGroup(); in onGroupRemoved()
336 WifiP2pGroup group = new WifiP2pGroup(); in onInvitationReceived()
DWifiP2pMonitor.java21 import android.net.wifi.p2p.WifiP2pGroup;
393 public void broadcastP2pGroupStarted(String iface, WifiP2pGroup group) { in broadcastP2pGroupStarted()
405 public void broadcastP2pGroupRemoved(String iface, WifiP2pGroup group) { in broadcastP2pGroupRemoved()
417 public void broadcastP2pInvitationReceived(String iface, WifiP2pGroup group) { in broadcastP2pInvitationReceived()
DWifiP2pNative.java20 import android.net.wifi.p2p.WifiP2pGroup;
418 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) { in p2pInvite()
DWifiP2pServiceImpl.java40 import android.net.wifi.p2p.WifiP2pGroup;
600 private WifiP2pGroup mGroup;
812 mGroup != null ? new WifiP2pGroup(mGroup) : null); in processMessage()
873 mGroup = (WifiP2pGroup) message.obj; in processMessage()
1412 WifiP2pGroup group = (WifiP2pGroup) message.obj; in processMessage()
1466 if (netId == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1492 mGroup = (WifiP2pGroup) message.obj; in processMessage()
1496 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1825 mGroup = (WifiP2pGroup) message.obj; in processMessage()
1827 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
[all …]
DSupplicantP2pIfaceHal.java34 import android.net.wifi.p2p.WifiP2pGroup;
664 boolean persistent = (config.netId == WifiP2pGroup.PERSISTENT_NET_ID); in connect()
784 public boolean invite(WifiP2pGroup group, String peerAddress) { in invite()
1809 WifiP2pGroup group = new WifiP2pGroup(); in loadGroups()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallbackTest.java32 import android.net.wifi.p2p.WifiP2pGroup;
302 public void answer(String iface, WifiP2pGroup group) { in testOnGroupStarted_success()
306 assertEquals(group.getNetworkId(), WifiP2pGroup.PERSISTENT_NET_ID); in testOnGroupStarted_success()
313 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_success()
326 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_success()
348 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
354 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
360 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
DSupplicantP2pIfaceHalTest.java41 import android.net.wifi.p2p.WifiP2pGroup;
813 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_success()
829 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_invalidArguments()
855 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_failure()
871 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_exception()
2319 for (WifiP2pGroup group : p2pGroups.getGroupList()) { in testLoadGroups()
2580 private WifiP2pGroup createDummyP2pGroup() { in createDummyP2pGroup()
2581 WifiP2pGroup group = new WifiP2pGroup(); in createDummyP2pGroup()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java37 import android.net.wifi.p2p.WifiP2pGroup;
135 private WifiP2pGroup mConnectedDeviceGroupInfo;
788 private WifiDisplaySessionInfo getSessionInfo(WifiP2pGroup info, int session) { in getSessionInfo()
822 public void onGroupInfoAvailable(WifiP2pGroup info) { in handleConnectionChanged()
997 private static Inet4Address getInterfaceAddress(WifiP2pGroup info) { in getInterfaceAddress()
1044 private static String describeWifiP2pGroup(WifiP2pGroup group) { in describeWifiP2pGroup()
/frameworks/base/
DAndroid.mk636 frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pGroup.aidl \
Dcompiled-classes-phone3042 android.net.wifi.p2p.WifiP2pGroup
3043 android.net.wifi.p2p.WifiP2pGroup$1
/frameworks/base/services/
Dprofile-classes1869 Landroid/net/wifi/p2p/WifiP2pGroup;
1870 Landroid/net/wifi/p2p/WifiP2pGroup$1;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18183 public class WifiP2pGroup implements android.os.Parcelable {
18184 ctor public WifiP2pGroup();
18185 ctor public WifiP2pGroup(android.net.wifi.p2p.WifiP2pGroup);
18194 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pGroup> CREATOR;
18276 method public abstract void onGroupInfoAvailable(android.net.wifi.p2p.WifiP2pGroup);
/frameworks/base/api/
Dcurrent.txt26884 public class WifiP2pGroup implements android.os.Parcelable {
26885 ctor public WifiP2pGroup();
26886 ctor public WifiP2pGroup(android.net.wifi.p2p.WifiP2pGroup);
26895 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pGroup> CREATOR;
26977 method public abstract void onGroupInfoAvailable(android.net.wifi.p2p.WifiP2pGroup);
Dsystem-current.txt29580 public class WifiP2pGroup implements android.os.Parcelable {
29581 ctor public WifiP2pGroup();
29582 ctor public WifiP2pGroup(android.net.wifi.p2p.WifiP2pGroup);
29591 …field public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pGroup> CREATOR;
29673 method public abstract void onGroupInfoAvailable(android.net.wifi.p2p.WifiP2pGroup);