Searched refs:WifiP2pGroup (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroup.aidl19 parcelable WifiP2pGroup;
H A DWifiP2pGroupList.java36 private final LruCache<Integer, WifiP2pGroup> mGroups;
53 mGroups = new LruCache<Integer, WifiP2pGroup>(CREDENTIAL_MAX_NUM) {
56 WifiP2pGroup oldValue, WifiP2pGroup newValue) {
64 for (Map.Entry<Integer, WifiP2pGroup> item : source.mGroups.snapshot().entrySet()) {
75 public Collection<WifiP2pGroup> getGroupList() {
85 public void add(WifiP2pGroup group) {
133 final Collection<WifiP2pGroup> groups = mGroups.snapshot().values();
134 for (WifiP2pGroup grp: groups) {
158 final Collection<WifiP2pGroup> group
[all...]
H A DWifiP2pGroup.java36 public class WifiP2pGroup implements Parcelable { class in inherits:Parcelable
78 public WifiP2pGroup() { method in class:WifiP2pGroup
98 public WifiP2pGroup(String supplicantEvent) throws IllegalArgumentException { method in class:WifiP2pGroup
283 public WifiP2pGroup(WifiP2pGroup source) { method in class:WifiP2pGroup
310 public static final Creator<WifiP2pGroup> CREATOR =
311 new Creator<WifiP2pGroup>() {
312 public WifiP2pGroup createFromParcel(Parcel in) {
313 WifiP2pGroup group = new WifiP2pGroup();
[all...]
H A DWifiP2pConfig.java55 public int netId = WifiP2pGroup.PERSISTENT_NET_ID;
H A DWifiP2pManager.java128 * {@see WifiP2pGroup}
198 * The lookup key for a {@link android.net.wifi.p2p.WifiP2pGroup} object
565 public void onGroupInfoAvailable(WifiP2pGroup group);
817 WifiP2pGroup group = (WifiP2pGroup) message.obj;
1074 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID,
1397 * a network id can be obtained by {@link WifiP2pGroup#getNetworkId()}.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallback.java24 import android.net.wifi.p2p.WifiP2pGroup;
266 WifiP2pGroup group = new WifiP2pGroup();
281 group.setNetworkId(WifiP2pGroup.PERSISTENT_NET_ID);
283 group.setNetworkId(WifiP2pGroup.TEMPORARY_NET_ID);
313 WifiP2pGroup group = new WifiP2pGroup();
331 WifiP2pGroup group = new WifiP2pGroup();
H A DWifiP2pMonitor.java21 import android.net.wifi.p2p.WifiP2pGroup;
358 public void broadcastP2pGroupStarted(String iface, WifiP2pGroup group) {
370 public void broadcastP2pGroupRemoved(String iface, WifiP2pGroup group) {
382 public void broadcastP2pInvitationReceived(String iface, WifiP2pGroup group) {
H A DWifiP2pNative.java23 import android.net.wifi.p2p.WifiP2pGroup;
564 public boolean p2pInvite(WifiP2pGroup group, String deviceAddress) {
H A DWifiP2pServiceImpl.java43 import android.net.wifi.p2p.WifiP2pGroup;
685 private WifiP2pGroup mGroup;
932 mGroup != null ? new WifiP2pGroup(mGroup) : null);
993 mGroup = (WifiP2pGroup) message.obj;
1512 WifiP2pGroup group = (WifiP2pGroup) message.obj;
1581 if (netId == WifiP2pGroup.PERSISTENT_NET_ID) {
1607 mGroup = (WifiP2pGroup) message.obj;
1615 if (mGroup.getNetworkId() == WifiP2pGroup.PERSISTENT_NET_ID) {
1944 mGroup = (WifiP2pGroup) messag
[all...]
H A DSupplicantP2pIfaceHal.java35 import android.net.wifi.p2p.WifiP2pGroup;
797 boolean persistent = (config.netId == WifiP2pGroup.PERSISTENT_NET_ID);
917 public boolean invite(WifiP2pGroup group, String peerAddress) {
1943 WifiP2pGroup group = new WifiP2pGroup();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackTest.java32 import android.net.wifi.p2p.WifiP2pGroup;
302 public void answer(String iface, WifiP2pGroup group) {
306 assertEquals(group.getNetworkId(), WifiP2pGroup.PERSISTENT_NET_ID);
313 anyString(), any(WifiP2pGroup.class));
326 anyString(), any(WifiP2pGroup.class));
348 anyString(), any(WifiP2pGroup.class));
354 anyString(), any(WifiP2pGroup.class));
360 anyString(), any(WifiP2pGroup.class));
H A DSupplicantP2pIfaceHalTest.java44 import android.net.wifi.p2p.WifiP2pGroup;
894 WifiP2pGroup group = createDummyP2pGroup();
910 WifiP2pGroup group = createDummyP2pGroup();
936 WifiP2pGroup group = createDummyP2pGroup();
952 WifiP2pGroup group = createDummyP2pGroup();
2400 for (WifiP2pGroup group : p2pGroups.getGroupList()) {
2726 * Create new dummy WifiP2pGroup instance.
2728 private WifiP2pGroup createDummyP2pGroup() {
2729 WifiP2pGroup group = new WifiP2pGroup();
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java37 import android.net.wifi.p2p.WifiP2pGroup;
134 private WifiP2pGroup mConnectedDeviceGroupInfo;
787 private WifiDisplaySessionInfo getSessionInfo(WifiP2pGroup info, int session) {
821 public void onGroupInfoAvailable(WifiP2pGroup info) {
996 private static Inet4Address getInterfaceAddress(WifiP2pGroup info) {
1043 private static String describeWifiP2pGroup(WifiP2pGroup group) {

Completed in 284 milliseconds