Searched refs:netId (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | ConnectivityFragment.java | 186 public void requestNetworkById(int netId) { in requestNetworkById() argument 187 if (mNetworkCallbacks.get(netId) != null) { in requestNetworkById() 191 Network network = mNetworks.get(netId); in requestNetworkById() 198 mNetworkCallbacks.put(netId, cb); in requestNetworkById() 200 showToast("Requesting Network " + netId); in requestNetworkById() 203 public void releaseNetworkById(int netId) { in releaseNetworkById() argument 204 NetworkByIdCallback cb = mNetworkCallbacks.get(netId); in releaseNetworkById() 207 mNetworkCallbacks.remove(netId); in releaseNetworkById() 208 showToast("Released Network " + netId); in releaseNetworkById() 218 public void bindToNetwork(int netId) { in bindToNetwork() argument [all …]
|
D | NetworkListAdapter.java | 58 vh.netId = convertView.findViewById(R.id.network_id); in getView() 84 vh.netId.setText("" + mNetworkList[position].mNetId); in getView() 189 public TextView netId; field in NetworkListAdapter.ViewHolder
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | AddWifiNetworkTask.java | 133 int netId = tryAddingNetwork(wifiConf); in connectToProvidedNetwork() local 135 if (netId == ADD_NETWORK_FAIL) { in connectToProvidedNetwork() 142 mWifiManager.enableNetwork(netId, true); in connectToProvidedNetwork() 159 int netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork() local 163 while(netId == -1 && retriesLeft > 0) { in tryAddingNetwork() 172 netId = mWifiManager.addNetwork(wifiConf); in tryAddingNetwork() 174 return netId; in tryAddingNetwork()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 196 int netId = wifiManager.addNetwork(wifiConfig); in connectToAccessPoint() local 199 if (netId == INVALID_NET_ID) { in connectToAccessPoint() 203 wifiManager.enableNetwork(netId, true); in connectToAccessPoint() 205 return netId; in connectToAccessPoint()
|
D | NetworkPasswordPreferenceController.java | 100 int netId = WifiUtil.connectToAccessPoint(getContext(), mNetworkName, mSecurityType, in handlePreferenceChanged() local 103 LOG.d("connected to netId: " + netId); in handlePreferenceChanged() 104 if (netId != WifiUtil.INVALID_NET_ID) { in handlePreferenceChanged()
|
D | AddWifiFragment.java | 107 int netId = WifiUtil.connectToAccessPoint(getContext(), mNetworkName, in onActivityCreated() 110 LOG.d("connected to netId: " + netId); in onActivityCreated() 111 if (netId != WifiUtil.INVALID_NET_ID) { in onActivityCreated()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 61 protected void forget(int netId, WifiManager.ActionListener listener) { in forget() argument 62 mLastForgottenNetwork = netId; in forget()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | AccessPointListPreferenceControllerTest.java | 184 int netId = 1; in performButtonClick_savedAccessPoint_wrongPassword_forgetsNetwork() local 189 config.networkId = netId; in performButtonClick_savedAccessPoint_wrongPassword_forgetsNetwork() 206 assertThat(getShadowWifiManager().getLastForgottenNetwork()).isEqualTo(netId); in performButtonClick_savedAccessPoint_wrongPassword_forgetsNetwork()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 733 assertEquals(TEST_NETID, bundleNetwork.netId); in testLaunchCaptivePortalApp() 737 assertEquals(TEST_NETID, networkCaptor.getValue().netId); in testLaunchCaptivePortalApp()
|