Home
last modified time | relevance | path

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

/external/robolectric/v1/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/v1/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/autotest/client/cros/networking/chrome_testing/network_test_ext/
Dbackground.js122 Networking.prototype.getNetworkInfo = function(networkId) { argument
126 chrome.networking.onc.getProperties(networkId, function(networkInfo) {
131 Networking.prototype.connectToNetwork = function(networkId) { argument
135 chrome.networking.onc.startConnect(networkId, function() {
140 Networking.prototype.disconnectFromNetwork = function(networkId) { argument
144 chrome.networking.onc.startDisconnect(networkId, function() {
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java637 @RpcParameter(name = "networkId") Integer networkId) { in wifiConnectByNetworkId()
641 mWifi.connect(networkId, listener); in wifiConnectByNetworkId()
676 public void wifiForgetNetwork(@RpcParameter(name = "wifiSSID") Integer networkId) { in wifiForgetNetwork()
679 mWifi.forget(networkId, listener); in wifiForgetNetwork()
/external/swiftshader/include/GL/
Dglxext.h682 int networkId; member
710 typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpip…
719 int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, i…
/external/mesa3d/include/GL/
Dglxext.h746 int networkId; member
774 typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpip…
783 int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, i…
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java926 config.put("networkId", data.networkId); in buildWifiConfiguration()