Lines Matching refs:netId
1194 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1198 public boolean removeNetwork(int netId) {
1200 return mService.removeNetwork(netId);
1228 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1234 public boolean enableNetwork(int netId, boolean attemptConnect) {
1246 success = mService.enableNetwork(netId, attemptConnect);
1266 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1270 public boolean disableNetwork(int netId) {
1272 return mService.disableNetwork(netId);
2853 public void forget(int netId, ActionListener listener) {
2854 if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
2855 getChannel().sendMessage(FORGET_NETWORK, netId, putListener(listener));
2861 * @param netId is the network Id
2867 public void disable(int netId, ActionListener listener) {
2868 if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
2869 getChannel().sendMessage(DISABLE_NETWORK, netId, putListener(listener));