Home
last modified time | relevance | path

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

12

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pGroupList.java38 private final LruCache<Integer, WifiP2pGroup> mGroups;
56 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) { in WifiP2pGroupList()
59 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList()
67 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) { in WifiP2pGroupList()
79 public Collection<WifiP2pGroup> getGroupList() { in getGroupList()
89 public void add(WifiP2pGroup group) { in add()
137 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
138 for (WifiP2pGroup grp: groups) { in getNetworkId()
162 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values(); in getNetworkId()
163 for (WifiP2pGroup grp: groups) { in getNetworkId()
[all …]
DWifiP2pGroup.java37 public class WifiP2pGroup implements Parcelable { class
83 public WifiP2pGroup() { in WifiP2pGroup() method in WifiP2pGroup
104 public WifiP2pGroup(String supplicantEvent) throws IllegalArgumentException { in WifiP2pGroup() method in WifiP2pGroup
306 public WifiP2pGroup(WifiP2pGroup source) { in WifiP2pGroup() method in WifiP2pGroup
335 public static final @android.annotation.NonNull Creator<WifiP2pGroup> CREATOR =
336 new Creator<WifiP2pGroup>() {
337 public WifiP2pGroup createFromParcel(Parcel in) {
338 WifiP2pGroup group = new WifiP2pGroup();
353 public WifiP2pGroup[] newArray(int size) {
354 return new WifiP2pGroup[size];
DWifiP2pConfig.java108 public int netId = WifiP2pGroup.PERSISTENT_NET_ID;
242 private int mNetId = WifiP2pGroup.TEMPORARY_NET_ID;
422 mNetId = WifiP2pGroup.PERSISTENT_NET_ID; in enablePersistentMode()
424 mNetId = WifiP2pGroup.TEMPORARY_NET_ID; in enablePersistentMode()
DWifiP2pManager.java666 public void onGroupInfoAvailable(WifiP2pGroup group); in onGroupInfoAvailable()
983 WifiP2pGroup group = (WifiP2pGroup) message.obj; in handleMessage()
1280 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID, in createGroup()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java21 import android.net.wifi.p2p.WifiP2pGroup;
98 WifiP2pGroup group = new WifiP2pGroup(); in startAndEndGroupEventSucceeds()
185 WifiP2pGroup group1 = new WifiP2pGroup(); in updatePersistentGroup()
187 WifiP2pGroup group2 = new WifiP2pGroup(); in updatePersistentGroup()
189 WifiP2pGroup group3 = new WifiP2pGroup(); in updatePersistentGroup()
207 WifiP2pGroup group = new WifiP2pGroup(); in updateGroupEvent()
244 WifiP2pGroup group = new WifiP2pGroup(); in updateGroupEventWithNoCurrentGroup()
274 WifiP2pGroup group = new WifiP2pGroup(); in updateGroupEventWithDifferentGroup()
276 WifiP2pGroup differentGroup = new WifiP2pGroup(); in updateGroupEventWithDifferentGroup()
DSupplicantP2pIfaceCallbackTest.java33 import android.net.wifi.p2p.WifiP2pGroup;
353 public void answer(String iface, WifiP2pGroup group) { in testOnGroupStarted_success()
357 assertEquals(group.getNetworkId(), WifiP2pGroup.PERSISTENT_NET_ID); in testOnGroupStarted_success()
364 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_success()
377 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_success()
399 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
405 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
411 anyString(), any(WifiP2pGroup.class)); in testOnGroupStarted_invalidArguments()
589 ArgumentCaptor<WifiP2pGroup> groupCaptor = ArgumentCaptor.forClass(WifiP2pGroup.class); in testOnGroupRemovedForGroupOwner()
602 ArgumentCaptor<WifiP2pGroup> groupCaptor = ArgumentCaptor.forClass(WifiP2pGroup.class); in testOnGroupRemovedForGroupClient()
[all …]
DWifiP2pNativeTest.java35 import android.net.wifi.p2p.WifiP2pGroup;
88 private WifiP2pGroup createP2pGroup( in createP2pGroup()
90 WifiP2pGroup group = new WifiP2pGroup(); in createP2pGroup()
122 for (WifiP2pGroup g : mWifiP2pGroupList.getGroupList()) { in setUp()
459 when(mSupplicantP2pIfaceHalMock.invite(any(WifiP2pGroup.class), anyString())) in testP2pInvite()
461 WifiP2pGroup group = new WifiP2pGroup(); in testP2pInvite()
463 ArgumentCaptor<WifiP2pGroup> groupCaptor = ArgumentCaptor.forClass(WifiP2pGroup.class); in testP2pInvite()
DWifiP2pServiceImplTest.java56 import android.net.wifi.p2p.WifiP2pGroup;
126 private WifiP2pGroup mTestWifiP2pNewPersistentGoGroup;
127 private WifiP2pGroup mTestWifiP2pGroup;
153 mTestWifiP2pGroup = new WifiP2pGroup(); in generatorTestData()
170 mTestWifiP2pNewPersistentGoGroup = new WifiP2pGroup(); in generatorTestData()
171 mTestWifiP2pNewPersistentGoGroup.setNetworkId(WifiP2pGroup.PERSISTENT_NET_ID); in generatorTestData()
177 WifiP2pGroup group1 = new WifiP2pGroup(); in generatorTestData()
184 WifiP2pGroup group2 = new WifiP2pGroup(); in generatorTestData()
191 WifiP2pGroup group3 = new WifiP2pGroup(); in generatorTestData()
372 private void sendGroupStartedMsg(WifiP2pGroup group) throws Exception { in sendGroupStartedMsg()
[all …]
DSupplicantP2pIfaceHalTest.java44 import android.net.wifi.p2p.WifiP2pGroup;
913 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_success()
929 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_invalidArguments()
955 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_failure()
971 WifiP2pGroup group = createDummyP2pGroup(); in testInvite_exception()
2525 for (WifiP2pGroup group : p2pGroups.getGroupList()) { in testLoadGroups()
2871 private WifiP2pGroup createDummyP2pGroup() { in createDummyP2pGroup()
2872 WifiP2pGroup group = new WifiP2pGroup(); in createDummyP2pGroup()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pGroupListTest.java41 private WifiP2pGroup mTestGroup1;
42 private WifiP2pGroup mTestGroup2;
43 private WifiP2pGroup mTestGroup3;
44 private WifiP2pGroup mTestGroup4;
46 private WifiP2pGroup createGroup( in createGroup()
50 WifiP2pGroup group = new WifiP2pGroup(); in createGroup()
DWifiP2pGroupTest.java49 WifiP2pGroup group = new WifiP2pGroup(); in testSetterGetter()
87 WifiP2pGroup fromParcel = WifiP2pGroup.CREATOR.createFromParcel(parcelR); in testSetterGetter()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java24 import android.net.wifi.p2p.WifiP2pGroup;
272 WifiP2pGroup group = new WifiP2pGroup(); in onGroupStarted()
288 group.setNetworkId(WifiP2pGroup.PERSISTENT_NET_ID); in onGroupStarted()
290 group.setNetworkId(WifiP2pGroup.TEMPORARY_NET_ID); in onGroupStarted()
320 WifiP2pGroup group = new WifiP2pGroup(); in onGroupRemoved()
338 WifiP2pGroup group = new WifiP2pGroup(); in onInvitationReceived()
DWifiP2pMonitor.java21 import android.net.wifi.p2p.WifiP2pGroup;
356 public void broadcastP2pGroupStarted(String iface, WifiP2pGroup group) { in broadcastP2pGroupStarted()
368 public void broadcastP2pGroupRemoved(String iface, WifiP2pGroup group) { in broadcastP2pGroupRemoved()
380 public void broadcastP2pInvitationReceived(String iface, WifiP2pGroup group) { in broadcastP2pInvitationReceived()
DWifiP2pMetrics.java20 import android.net.wifi.p2p.WifiP2pGroup;
309 final Collection<WifiP2pGroup> list = groups.getGroupList(); in updatePersistentGroup()
375 public void startGroupEvent(WifiP2pGroup group) { in startGroupEvent()
412 public void updateGroupEvent(WifiP2pGroup group) { in updateGroupEvent()
DWifiP2pServiceImpl.java51 import android.net.wifi.p2p.WifiP2pGroup;
789 private WifiP2pGroup mGroup;
1152 mGroup = (WifiP2pGroup) message.obj; in processMessage()
1854 WifiP2pGroup group = (WifiP2pGroup) message.obj; in processMessage()
1949 } else if (netId == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
1984 mGroup = (WifiP2pGroup) message.obj; in processMessage()
1992 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
2355 mGroup = (WifiP2pGroup) message.obj; in processMessage()
2362 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()
2448 mSavedPeerConfig.netId = WifiP2pGroup.PERSISTENT_NET_ID; in processMessage()
[all …]
DWifiP2pNative.java24 import android.net.wifi.p2p.WifiP2pGroup;
603 (config.netId == WifiP2pGroup.PERSISTENT_NET_ID), in p2pGroupAdd()
646 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) { in p2pInvite()
DSupplicantP2pIfaceHal.java35 import android.net.wifi.p2p.WifiP2pGroup;
823 boolean persistent = (config.netId == WifiP2pGroup.PERSISTENT_NET_ID); in connect()
943 public boolean invite(WifiP2pGroup group, String peerAddress) { in invite()
2014 WifiP2pGroup group = new WifiP2pGroup(); in loadGroups()
/frameworks/base/wifi/aidl-export/android/net/wifi/p2p/
DWifiP2pGroup.aidl19 parcelable WifiP2pGroup;
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java37 import android.net.wifi.p2p.WifiP2pGroup;
134 private WifiP2pGroup mConnectedDeviceGroupInfo;
787 private WifiDisplaySessionInfo getSessionInfo(WifiP2pGroup info, int session) { in getSessionInfo()
821 public void onGroupInfoAvailable(WifiP2pGroup info) { in handleConnectionChanged()
996 private static Inet4Address getInterfaceAddress(WifiP2pGroup info) { in getInterfaceAddress()
1043 private static String describeWifiP2pGroup(WifiP2pGroup group) { in describeWifiP2pGroup()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java104 import android.net.wifi.p2p.WifiP2pGroup;
1015 private boolean isGroupOwner(WifiP2pGroup group) { in isGroupOwner()
1025 final WifiP2pGroup group = in handleWifiP2pAction()
1026 (WifiP2pGroup) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); in handleWifiP2pAction()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java121 import android.net.wifi.p2p.WifiP2pGroup;
624 WifiP2pGroup group = null; in sendWifiP2pConnectionChanged()
629 group = mock(WifiP2pGroup.class); in sendWifiP2pConnectionChanged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46693 Landroid/net/wifi/p2p/WifiP2pGroup;->addClient(Landroid/net/wifi/p2p/WifiP2pDevice;)V
46694 Landroid/net/wifi/p2p/WifiP2pGroup;->addClient(Ljava/lang/String;)V
46695 Landroid/net/wifi/p2p/WifiP2pGroup;->contains(Landroid/net/wifi/p2p/WifiP2pDevice;)Z
46696 Landroid/net/wifi/p2p/WifiP2pGroup;->groupStartedPattern:Ljava/util/regex/Pattern;
46697 Landroid/net/wifi/p2p/WifiP2pGroup;->mClients:Ljava/util/List;
46698 Landroid/net/wifi/p2p/WifiP2pGroup;->mInterface:Ljava/lang/String;
46699 Landroid/net/wifi/p2p/WifiP2pGroup;->mIsGroupOwner:Z
46700 Landroid/net/wifi/p2p/WifiP2pGroup;->mNetId:I
46701 Landroid/net/wifi/p2p/WifiP2pGroup;->mNetworkName:Ljava/lang/String;
46702 Landroid/net/wifi/p2p/WifiP2pGroup;->mOwner:Landroid/net/wifi/p2p/WifiP2pDevice;
[all …]
/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/non-updatable-api/
Dcurrent.txt30566 public class WifiP2pGroup implements android.os.Parcelable {
30567 ctor public WifiP2pGroup();
30568 ctor public WifiP2pGroup(android.net.wifi.p2p.WifiP2pGroup);
30578 …nNull public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pGroup> CREATOR;
30674 method public void onGroupInfoAvailable(android.net.wifi.p2p.WifiP2pGroup);
/frameworks/base/api/
Dcurrent.txt30710 public class WifiP2pGroup implements android.os.Parcelable {
30711 ctor public WifiP2pGroup();
30712 ctor public WifiP2pGroup(android.net.wifi.p2p.WifiP2pGroup);
30722 …nNull public static final android.os.Parcelable.Creator<android.net.wifi.p2p.WifiP2pGroup> CREATOR;
30818 method public void onGroupInfoAvailable(android.net.wifi.p2p.WifiP2pGroup);

12