Home
last modified time | relevance | path

Searched refs:networkName (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pConfig.java55 public String networkName = ""; field in WifiP2pConfig
168 sbuf.append("\n networkName: ").append(networkName); in toString()
187 networkName = source.networkName; in WifiP2pConfig()
199 dest.writeString(networkName); in writeToParcel()
213 config.networkName = in.readString();
282 public @NonNull Builder setNetworkName(@NonNull String networkName) { in setNetworkName() argument
283 if (TextUtils.isEmpty(networkName)) { in setNetworkName()
287 if (networkName.getBytes(StandardCharsets.UTF_8).length > MAX_SSID_BYTES) { in setNetworkName()
292 if (!networkName.matches("^DIRECT-[a-zA-Z0-9]{2}.*")) { in setNetworkName()
299 mNetworkName = networkName; in setNetworkName()
[all …]
DWifiP2pGroup.java166 public void setNetworkName(String networkName) { in setNetworkName() argument
167 mNetworkName = networkName; in setNetworkName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java110 String networkName = info.getCarrierName() != null ? info.getCarrierName().toString() in MobileSignalController() local
112 mLastState.networkName = mCurrentState.networkName = networkName; in MobileSignalController()
113 mLastState.networkNameData = mCurrentState.networkNameData = networkName; in MobileSignalController()
389 description = mCurrentState.isEmergency ? null : mCurrentState.networkName; in notifyListeners()
491 mCurrentState.networkName = str.toString(); in updateNetworkName()
493 mCurrentState.networkName = mNetworkNameDefault; in updateNetworkName()
565 if (mCurrentState.networkName.equals(mNetworkNameDefault) && mServiceState != null in updateTelephony()
567 mCurrentState.networkName = mServiceState.getOperatorAlphaShort(); in updateTelephony()
709 String networkName; field in MobileSignalController.MobileState
726 networkName = state.networkName; in copyFrom()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java480 final String networkName = NetworkAgentInfo.toShortString(nai); in handleStopKeepalive() local
483 Log.e(TAG, "Attempt to stop keepalive on nonexistent network " + networkName); in handleStopKeepalive()
488 Log.e(TAG, "Attempt to stop nonexistent keepalive " + slot + " on " + networkName); in handleStopKeepalive()
497 final String networkName = NetworkAgentInfo.toShortString(nai); in cleanupStoppedKeepalive() local
500 Log.e(TAG, "Attempt to remove keepalive on nonexistent network " + networkName); in cleanupStoppedKeepalive()
505 Log.e(TAG, "Attempt to remove nonexistent keepalive " + slot + " on " + networkName); in cleanupStoppedKeepalive()
509 Log.d(TAG, "Remove keepalive " + slot + " on " + networkName + ", " in cleanupStoppedKeepalive()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pGroupListTest.java47 int networkId, String networkName, in createGroup() argument
52 group.setNetworkName(networkName); in createGroup()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java89 int networkId, String networkName, String passphrase, boolean isGo, String goAddr) { in createP2pGroup() argument
92 group.setNetworkName(networkName); in createP2pGroup()
DWifiP2pServiceImplTest.java3802 mTestWifiP2pFastConnectionConfig.networkName = "DIRECT-xy-abcdefghijklmnopqrstuvw"; in testSendConnectMsgWithTooLongNetworkName()
3814 mTestWifiP2pFastConnectionConfig.networkName = "DIRECT-x"; in testSendConnectMsgWithTooShortNetworkName()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java601 config.networkName, in p2pGroupAdd()
DSupplicantP2pIfaceHal.java1195 public boolean groupAdd(String networkName, String passphrase, in groupAdd() argument
1199 java.util.ArrayList<Byte> ssid = NativeUtil.decodeSsid("\"" + networkName + "\""); in groupAdd()
1211 new SupplicantResult("groupAdd(" + networkName + ", " in groupAdd()
DWifiP2pServiceImpl.java3282 private boolean isValidNetworkName(String networkName) { in isValidNetworkName() argument
3283 if (TextUtils.isEmpty(networkName)) return false; in isValidNetworkName()
3285 byte[] ssidBytes = networkName.getBytes(StandardCharsets.UTF_8); in isValidNetworkName()
3302 if (isValidNetworkName(config.networkName) in isConfigValidAsGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java474 assertEquals("Network name", expected, mMobileSignalController.getState().networkName); in assertNetworkNameEquals()