/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowWifiManager.java | 126 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/ |
D | ShadowWifiConfigurationTest.java | 27 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()
|
D | ShadowWifiManagerTest.java | 160 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/ |
D | background.js | 122 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/ |
D | ConnectivityManagerFacade.java | 1057 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/ |
D | glxext.h | 763 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/ |
D | glxext.h | 749 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/ |
D | WifiManagerFacade.java | 1068 @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/ |
D | JsonBuilder.java | 1043 config.put("networkId", data.networkId); in buildWifiConfiguration()
|