Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowWifiManager.java69 int networkId = networkIdToConfiguredNetworks.size(); in addNetwork() local
70 config.networkId = -1; in addNetwork()
71 networkIdToConfiguredNetworks.put(networkId, makeCopy(config, networkId)); in addNetwork()
72 return networkId; in addNetwork()
75 private WifiConfiguration makeCopy(WifiConfiguration config, int networkId) { in makeCopy() argument
77 copy.networkId = networkId; in makeCopy()
84 if (config == null || config.networkId < 0) { in updateNetwork()
87 networkIdToConfiguredNetworks.put(config.networkId, makeCopy(config, config.networkId)); in updateNetwork()
88 return config.networkId; in updateNetwork()
DShadowWifiConfiguration.java14 realObject.networkId = -1; in __constructor__()
34 config.networkId = realObject.networkId; in copy()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DWifiManagerTest.java66 int networkId = 666; in shouldEnableNetworks() local
67 wifiManager.enableNetwork(networkId, true); in shouldEnableNetworks()
87 wifiConfiguration.networkId = -1; in shouldRecordTheLastAddedNetwork()
88 int networkId = wifiManager.addNetwork(wifiConfiguration); in shouldRecordTheLastAddedNetwork() local
89 assertThat(networkId, equalTo(0)); in shouldRecordTheLastAddedNetwork()
91 assertThat(wifiConfiguration.networkId, equalTo(-1)); in shouldRecordTheLastAddedNetwork()
92 assertThat(wifiManager.getConfiguredNetworks().get(0).networkId, equalTo(0)); in shouldRecordTheLastAddedNetwork()
96 assertThat(anotherConfig.networkId, equalTo(-1)); in shouldRecordTheLastAddedNetwork()
97 assertThat(wifiManager.getConfiguredNetworks().get(1).networkId, equalTo(1)); in shouldRecordTheLastAddedNetwork()
103 wifiConfiguration.networkId = -1; in updateNetwork_shouldReplaceNetworks()
[all …]
DWifiConfigurationTest.java25 wifiConfiguration.networkId = 1; in shouldCopy()
45 assertThat(copy.networkId, equalTo(1)); in shouldCopy()
/external/mesa3d/include/GL/
Dglxext.h838 int networkId; member
862 extern int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX …
871 typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpi…
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...