Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiManager.java126 int networkId = networkIdToConfiguredNetworks.size(); in addNetwork() local
127 config.networkId = -1; in addNetwork()
128 networkIdToConfiguredNetworks.put(networkId, makeCopy(config, networkId)); in addNetwork()
129 return networkId; in addNetwork()
140 if (config == null || config.networkId < 0) { in updateNetwork()
143 networkIdToConfiguredNetworks.put(config.networkId, makeCopy(config, config.networkId)); in updateNetwork()
144 return config.networkId; in updateNetwork()
219 shadowWifiInfo.setNetworkId(wifiConfiguration.networkId); in connect()
248 protected void connect(int networkId, WifiManager.ActionListener listener) { in connect() argument
250 wifiConfiguration.networkId = networkId; in connect()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWifiConfigurationTest.java27 wifiConfiguration.networkId = 1; in shouldCopy()
47 assertThat(copy.networkId).isEqualTo(1); in shouldCopy()
71 wifiConfiguration.networkId = 1; in shouldCopy_sdk18()
80 assertThat(copy.networkId).isEqualTo(1); in shouldCopy_sdk18()
92 wifiConfiguration.networkId = 1; in shouldCopy_sdk21()
98 assertThat(copy.networkId).isEqualTo(1); in shouldCopy_sdk21()
108 wifiConfiguration.networkId = 1; in shouldCopy_sdk23()
115 assertThat(copy.networkId).isEqualTo(1); in shouldCopy_sdk23()
DShadowWifiManagerTest.java160 wifiConfiguration.networkId = -1; in shouldRecordTheLastAddedNetwork()
161 int networkId = wifiManager.addNetwork(wifiConfiguration); in shouldRecordTheLastAddedNetwork() local
162 assertThat(networkId).isEqualTo(0); in shouldRecordTheLastAddedNetwork()
164 assertThat(wifiConfiguration.networkId).isEqualTo(-1); in shouldRecordTheLastAddedNetwork()
165 assertThat(wifiManager.getConfiguredNetworks().get(0).networkId).isEqualTo(0); in shouldRecordTheLastAddedNetwork()
169 assertThat(anotherConfig.networkId).isEqualTo(-1); in shouldRecordTheLastAddedNetwork()
170 assertThat(wifiManager.getConfiguredNetworks().get(1).networkId).isEqualTo(1); in shouldRecordTheLastAddedNetwork()
176 wifiConfiguration.networkId = -1; in updateNetwork_shouldReplaceNetworks()
180 int networkId = wifiManager.addNetwork(anotherConfig); in updateNetwork_shouldReplaceNetworks() local
182 assertThat(networkId).isEqualTo(1); in updateNetwork_shouldReplaceNetworks()
[all …]
/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/
DConnectivityManagerFacade.java1057 public Integer connectivityGetMultipathPreferenceForNetwork(Long networkId) { in connectivityGetMultipathPreferenceForNetwork() argument
1058 Network network = sNetworkHashMap.get(networkId.longValue()); in connectivityGetMultipathPreferenceForNetwork()
1090 public void connectivityNetworkOpenConnection(Long networkId, String urlString) { in connectivityNetworkOpenConnection() argument
1091 Network network = sNetworkHashMap.get(networkId.longValue()); in connectivityNetworkOpenConnection()
/external/swiftshader/include/GL/
Dglxext.h763 int networkId; member
791 typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpip…
800 int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, i…
/external/mesa3d/include/GL/
Dglxext.h749 int networkId; member
777 typedef int ( *PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpip…
786 int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, i…
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiManagerFacade.java1068 @RpcParameter(name = "networkId") Integer networkId) { in wifiConnectByNetworkId()
1072 mWifi.connect(networkId, listener); in wifiConnectByNetworkId()
1107 public void wifiForgetNetwork(@RpcParameter(name = "wifiSSID") Integer networkId) { in wifiForgetNetwork()
1110 mWifi.forget(networkId, listener); in wifiForgetNetwork()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java1043 config.put("networkId", data.networkId); in buildWifiConfiguration()