Searched refs:WifiP2pGroup (Results 1 – 20 of 20) sorted by relevance
38 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 …]
37 public class WifiP2pGroup implements Parcelable { class83 public WifiP2pGroup() { in WifiP2pGroup() method in WifiP2pGroup104 public WifiP2pGroup(String supplicantEvent) throws IllegalArgumentException { in WifiP2pGroup() method in WifiP2pGroup306 public WifiP2pGroup(WifiP2pGroup source) { in WifiP2pGroup() method in WifiP2pGroup335 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];
107 public int netId = WifiP2pGroup.PERSISTENT_NET_ID;237 private int mNetId = WifiP2pGroup.TEMPORARY_NET_ID;413 mNetId = WifiP2pGroup.PERSISTENT_NET_ID; in enablePersistentMode()415 mNetId = WifiP2pGroup.TEMPORARY_NET_ID; in enablePersistentMode()
19 parcelable WifiP2pGroup;
666 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()
21 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()
33 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 …]
35 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()
56 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 …]
44 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()
41 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()
49 WifiP2pGroup group = new WifiP2pGroup(); in testSetterGetter()87 WifiP2pGroup fromParcel = WifiP2pGroup.CREATOR.createFromParcel(parcelR); in testSetterGetter()
24 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()
21 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()
20 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()
48 import android.net.wifi.p2p.WifiP2pGroup;770 private WifiP2pGroup mGroup;1133 mGroup = (WifiP2pGroup) message.obj; in processMessage()1836 WifiP2pGroup group = (WifiP2pGroup) message.obj; in processMessage()1931 } else if (netId == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()1966 mGroup = (WifiP2pGroup) message.obj; in processMessage()1974 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()2337 mGroup = (WifiP2pGroup) message.obj; in processMessage()2344 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) { in processMessage()2430 mSavedPeerConfig.netId = WifiP2pGroup.PERSISTENT_NET_ID; in processMessage()[all …]
24 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()
35 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()
37 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()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...