Home
last modified time | relevance | path

Searched refs:wifiP2pGroup (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWifiP2pManagerTest.java110 WifiP2pGroup wifiP2pGroup = new WifiP2pGroup(); in requestGroupInfo() local
111 shadowOf(wifiP2pGroup).setInterface("ssid"); in requestGroupInfo()
112 shadowOf(wifiP2pGroup).setPassphrase("passphrase"); in requestGroupInfo()
113 shadowOf(wifiP2pGroup).setNetworkName("networkname"); in requestGroupInfo()
115 shadowManager.setGroupInfo(channel, wifiP2pGroup); in requestGroupInfo()
119 assertThat(listener.group.getNetworkName()).isEqualTo(wifiP2pGroup.getNetworkName()); in requestGroupInfo()
120 assertThat(listener.group.getInterface()).isEqualTo(wifiP2pGroup.getInterface()); in requestGroupInfo()
121 assertThat(listener.group.getPassphrase()).isEqualTo(wifiP2pGroup.getPassphrase()); in requestGroupInfo()
126 WifiP2pGroup wifiP2pGroup = new WifiP2pGroup(); in requestGroupInfo_nullListener() local
127 shadowManager.setGroupInfo(channel, wifiP2pGroup); in requestGroupInfo_nullListener()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiP2pManager.java105 public void setGroupInfo(Channel channel, WifiP2pGroup wifiP2pGroup) { in setGroupInfo() argument
106 p2pGroupmap.put(channel, wifiP2pGroup); in setGroupInfo()