Home
last modified time | relevance | path

Searched refs:macAddress (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderConfig.java133 public final MacAddress macAddress; field in ResponderConfig
200 public ResponderConfig(@NonNull MacAddress macAddress, @ResponderType int responderType, in ResponderConfig() argument
203 if (macAddress == null) { in ResponderConfig()
207 this.macAddress = macAddress; in ResponderConfig()
242 this.macAddress = null; in ResponderConfig()
277 public ResponderConfig(@NonNull MacAddress macAddress, @NonNull PeerHandle peerHandle, in ResponderConfig() argument
281 this.macAddress = macAddress; in ResponderConfig()
297 MacAddress macAddress = MacAddress.fromString(scanResult.BSSID); in fromScanResult() local
332 return new ResponderConfig(macAddress, responderType, supports80211mc, channelWidth, in fromScanResult()
340 public static ResponderConfig fromWifiAwarePeerMacAddressWithDefaults(MacAddress macAddress) { in fromWifiAwarePeerMacAddressWithDefaults() argument
[all …]
DResponderLocation.java743 MacAddress macAddress = MacAddress.fromBytes(bssid); in parseSubelementBssidList() local
744 mBssidList.add(macAddress); in parseSubelementBssidList()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java85 String macAddress = null; in updateConnectivity() local
87 macAddress = macAddresses[0]; in updateConnectivity()
90 if (TextUtils.isEmpty(macAddress)) { in updateConnectivity()
93 mWifiMacAddress.setSummary(macAddress); in updateConnectivity()
/frameworks/base/core/java/android/view/
DDisplayAddress.java50 public static Network fromMacAddress(String macAddress) { in fromMacAddress() argument
51 return new Network(macAddress); in fromMacAddress()
162 private Network(String macAddress) { in Network() argument
163 mMacAddress = macAddress; in Network()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevDetailMo.java151 String macAddress = info.getMacAddress(IFNAME); in serializeToXml() local
152 if (macAddress != null) { in serializeToXml()
153 macAddress = macAddress.replace(":", ""); in serializeToXml()
155 if (TextUtils.isEmpty(macAddress)) { in serializeToXml()
207 wifiNode.appendChild(moSerializer.createNodeForValue(doc, TAG_WIFI_MAC_ADDR, macAddress)); in serializeToXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java908 byte[] macAddress = null; in provisionDiscovery()
910 macAddress = NativeUtil.macAddressToByteArray(config.deviceAddress); in provisionDiscovery()
919 result.setResult(mISupplicantP2pIface.provisionDiscovery(macAddress, targetMethod)); in provisionDiscovery()
1016 byte[] macAddress = null; in reject()
1018 macAddress = NativeUtil.macAddressToByteArray(peerAddress); in reject()
1027 result.setResult(mISupplicantP2pIface.reject(macAddress)); in reject()
1083 byte[] macAddress = null; in getSsid()
1085 macAddress = NativeUtil.macAddressToByteArray(address); in getSsid()
1095 macAddress, (SupplicantStatus status, ArrayList<Byte> ssid) -> { in getSsid()
1134 byte[] macAddress = null; in reinvoke()
[all …]
/frameworks/base/wifi/java/android/net/wifi/aware/
DIWifiAwareMacAddressProvider.aidl26 void macAddress(in Map peerIdToMacMap); in macAddress() method
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java134 peer.macAddress, rangeCmBase++, rangeStdDevCmBase++, rssiBase++, in getDummyRangingResults()
142 halResults.add(getMatchingRttResult(rangingResult, peer.macAddress)); in getDummyRangingResults()
DRttServiceImplTest.java339 finalRequest.mRttPeers.get(finalRequest.mRttPeers.size() - 2).macAddress); in testRangingFlowUsingAwarePeerHandles()
341 finalRequest.mRttPeers.get(finalRequest.mRttPeers.size() - 1).macAddress); in testRangingFlowUsingAwarePeerHandles()
1477 callback.macAddress(result); in answer()
DRttMetricsTest.java586 System.arraycopy(peer.macAddress.toByteArray(), 0, rttResult.addr, 0, 6); in getDummyRangingResults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java1616 public boolean initiateTdlsDiscover(@NonNull String ifaceName, String macAddress) { in initiateTdlsDiscover() argument
1620 ifaceName, NativeUtil.macAddressToByteArray(macAddress)); in initiateTdlsDiscover()
1622 Log.e(TAG, "Illegal argument " + macAddress, e); in initiateTdlsDiscover()
1628 private boolean initiateTdlsDiscover(@NonNull String ifaceName, byte[/* 6 */] macAddress) { in initiateTdlsDiscover() argument
1634 SupplicantStatus status = iface.initiateTdlsDiscover(macAddress); in initiateTdlsDiscover()
1650 public boolean initiateTdlsSetup(@NonNull String ifaceName, String macAddress) { in initiateTdlsSetup() argument
1653 return initiateTdlsSetup(ifaceName, NativeUtil.macAddressToByteArray(macAddress)); in initiateTdlsSetup()
1655 Log.e(TAG, "Illegal argument " + macAddress, e); in initiateTdlsSetup()
1661 private boolean initiateTdlsSetup(@NonNull String ifaceName, byte[/* 6 */] macAddress) { in initiateTdlsSetup() argument
1667 SupplicantStatus status = iface.initiateTdlsSetup(macAddress); in initiateTdlsSetup()
[all …]
DWifiConfigManager.java1877 public boolean setNetworkDefaultGwMacAddress(int networkId, String macAddress) { in setNetworkDefaultGwMacAddress() argument
1882 config.defaultGwMacAddress = macAddress; in setNetworkDefaultGwMacAddress()
1893 public boolean setNetworkRandomizedMacAddress(int networkId, MacAddress macAddress) { in setNetworkRandomizedMacAddress() argument
1898 config.setRandomizedMacAddress(macAddress); in setNetworkRandomizedMacAddress()
DWifiServiceImpl.java2510 String macAddress = null; in doInBackground() local
2532 macAddress = mac; in doInBackground()
2537 if (macAddress == null) { in doInBackground()
2541 enableTdlsWithMacAddress(macAddress, enable); in doInBackground()
DClientModeImpl.java3271 String macAddress = null; in macAddressFromRoute() local
3291 macAddress = mac; in macAddressFromRoute()
3296 if (macAddress == null) { in macAddressFromRoute()
3313 return macAddress; in macAddressFromRoute()
6351 MacAddress macAddress = mWifiNative.getFactoryMacAddress(mInterfaceName); in getFactoryMacAddress() local
6352 if (macAddress != null) { in getFactoryMacAddress()
6353 return macAddress.toString(); in getFactoryMacAddress()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java593 macAddresses.add(peer.macAddress.toByteArray()); in cancelRanging()
989 if (rttPeer.peerHandle != null && rttPeer.macAddress == null) { in processAwarePeerHandles()
1017 public void macAddress(Map peerIdToMacMap) { in processAwarePeerHandles()
1052 if (rttPeer.peerHandle != null && rttPeer.macAddress == null) { in processReceivedAwarePeerMacAddresses()
1142 RttResult resultForRequest = resultEntries.get(peer.macAddress); in postProcessResults()
1145 Log.v(TAG, "postProcessResults: missing=" + peer.macAddress); in postProcessResults()
1157 new RangingResult(errorCode, peer.macAddress, 0, 0, 0, 0, 0, null, in postProcessResults()
1201 finalResults.add(new RangingResult(status, peer.macAddress, in postProcessResults()
DRttNative.java296 System.arraycopy(responder.macAddress.toByteArray(), 0, config.addr, 0, in convertRangingRequestToRttConfigs()
DRttMetrics.java157 requestEntries.put(responder.macAddress, responder); in recordResult()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java1101 public String macAddress = ""; field in RttManager.ResponderConfig
1136 builder.append("macAddress = ").append(macAddress) in toString()
1152 dest.writeString(macAddress); in writeToParcel()
1166 config.macAddress = in.readString();
DWifiInfo.java465 public void setMacAddress(String macAddress) { in setMacAddress() argument
466 this.mMacAddress = macAddress; in setMacAddress()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareServiceImplTest.java583 public void macAddress(Map peerIdToMacMap) throws RemoteException { in testRequestMacAddress()
605 public void macAddress(Map peerIdToMacMap) throws RemoteException { in testRequestMacAddressWithoutPermission()
DWifiAwareStateManagerTest.java324 public void macAddress(Map peerIdToMacMap) throws RemoteException { in testRequestMacAddresses()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java525 callback.macAddress(peerIdToMacMap); in requestMacAddresses()
/frameworks/base/api/
Dsystem-current.txt4560 field @Deprecated public String macAddress;
5016 field public final android.net.MacAddress macAddress;