Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 11 of 11) 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/chromium_org/chrome/browser/resources/chromeos/network_configuration/js/
Dmain_config.js32 networkConfig.networkId,
34 getShowMessageCallback('Set properties of ' + networkConfig.networkId));
39 networkConfig.networkId,
41 'Requested connect to ' + networkConfig.networkId));
46 networkConfig.networkId,
48 'Requested disconnect from ' + networkConfig.networkId));
Dmain_status.js12 chrome.extension.getURL('config.html?network=' + action.networkId);
Dnetwork_config.js125 get networkId() { getter in NetworkConfig
Dnetwork_status.js349 networkId: id property
/external/chromium_org/chrome/browser/resources/chromeos/
Dchoose_mobile_network.js52 chrome.send('connect', [this.networks_[i].networkId]);
/external/chromium_org/third_party/mesa/src/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/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…