/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiApIfaceHidlImplTest.java | 99 when(mIWifiApIfaceMockV14.setMacAddress(macByteArray)).thenReturn(mWifiStatusSuccess); in testSetMacAddressSuccess() 101 assertTrue(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressSuccess() 102 verify(mIWifiApIfaceMockV14).setMacAddress(macByteArray); in testSetMacAddressSuccess() 112 when(mIWifiApIfaceMockV14.setMacAddress(macByteArray)).thenReturn(mWifiStatusFailure); in testSetMacAddressFailDueToStatusFailure() 114 assertFalse(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToStatusFailure() 115 verify(mIWifiApIfaceMockV14).setMacAddress(macByteArray); in testSetMacAddressFailDueToStatusFailure() 125 doThrow(new RemoteException()).when(mIWifiApIfaceMockV14).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException() 127 assertFalse(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToRemoteException() 128 verify(mIWifiApIfaceMockV14).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
|
D | WifiApIfaceTest.java | 145 () -> mDut.setMacAddress(mock(MacAddress.class)), in testSetMacAddress() 146 mWifiApIfaceAidlImplMock.setMacAddress(any()), in testSetMacAddress() 148 verify(mWifiApIfaceAidlImplMock).setMacAddress(any()); in testSetMacAddress() 156 when(mWifiApIfaceAidlImplMock.setMacAddress(any())).thenReturn(true); in testSetMacAddressInvalidInput() 157 assertFalse(mDut.setMacAddress(null)); in testSetMacAddressInvalidInput() 158 verify(mWifiApIfaceAidlImplMock, never()).setMacAddress(any()); in testSetMacAddressInvalidInput()
|
D | WifiStaIfaceHidlImplTest.java | 934 when(mIWifiStaIfaceMockV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusSuccess); in testSetMacAddressSuccess() 936 assertTrue(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressSuccess() 937 verify(mIWifiStaIfaceMockV12).setMacAddress(macByteArray); in testSetMacAddressSuccess() 948 when(mIWifiStaIfaceMockV12.setMacAddress(macByteArray)).thenReturn(mWifiStatusFailure); in testSetMacAddressFailDueToStatusFailure() 950 assertFalse(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToStatusFailure() 951 verify(mIWifiStaIfaceMockV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToStatusFailure() 962 doThrow(new RemoteException()).when(mIWifiStaIfaceMockV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException() 964 assertFalse(mDut.setMacAddress(TEST_MAC_ADDRESS)); in testSetMacAddressFailDueToRemoteException() 965 verify(mIWifiStaIfaceMockV12).setMacAddress(macByteArray); in testSetMacAddressFailDueToRemoteException()
|
D | WifiRttControllerAidlImplTest.java | 393 .setMacAddress(MacAddress.fromString("08:09:08:07:06:88")) in testRangingWithInvalidParameterCombination() 400 .setMacAddress(MacAddress.fromString("08:09:08:07:06:89")) in testRangingWithInvalidParameterCombination()
|
D | WifiRttControllerHidlImplTest.java | 371 .setMacAddress(MacAddress.fromString("08:09:08:07:06:88")) in testRangingWithInvalidParameterCombination() 378 .setMacAddress(MacAddress.fromString("08:09:08:07:06:89")) in testRangingWithInvalidParameterCombination()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttTestUtils.java | 132 .setMacAddress(peer.getMacAddress()) in getDummyRangingResults() 155 builder.setMacAddress(peer.getMacAddress()); in getDummyRangingResults() 165 .setMacAddress(MacAddress.fromString("10:01:02:03:04:05")) in getDummyRangingResults() 178 .setMacAddress(MacAddress.fromString("1A:0B:0C:0D:0E:0F")) in getDummyRangingResults() 191 .setMacAddress(MacAddress.fromString("08:09:08:07:06:05")) in getDummyRangingResults()
|
D | RttMetricsTest.java | 603 .setMacAddress(MacAddress.fromBytes(placeholderMacBase)) in getDummyRangingRequest() 611 .setMacAddress(MacAddress.fromBytes(placeholderMacBase)) in getDummyRangingRequest() 629 .setMacAddress(peer.getMacAddress()) in getDummyRangingResults()
|
D | RttServiceImplTest.java | 892 .setMacAddress(removed.getMacAddress()) in testMissingResults() 897 .setMacAddress(removed.getMacAddress()) in testMissingResults() 940 .setMacAddress(result.getMacAddress()) in testMissingAllResults()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiApIfaceHidlImpl.java | 102 public boolean setMacAddress(MacAddress mac) { in setMacAddress() method in WifiApIfaceHidlImpl 174 return mac != null && setMacAddress(mac); in resetToFactoryMacAddressInternal() 188 WifiStatus status = ap14.setMacAddress(mac.toByteArray()); in setMacAddressInternal()
|
D | WifiApIface.java | 127 public boolean setMacAddress(MacAddress mac) { in setMacAddress() method in WifiApIface 133 () -> mWifiApIface.setMacAddress(mac)); in setMacAddress()
|
D | WifiApIfaceAidlImpl.java | 165 public boolean setMacAddress(MacAddress mac) { in setMacAddress() method in WifiApIfaceAidlImpl 170 mWifiApIface.setMacAddress(mac.toByteArray()); in setMacAddress()
|
D | IWifiApIface.java | 76 boolean setMacAddress(MacAddress mac); in setMacAddress() method
|
D | WifiStaIface.java | 334 public boolean setMacAddress(MacAddress mac) { in setMacAddress() method in WifiStaIface 336 () -> mWifiStaIface.setMacAddress(mac)); in setMacAddress()
|
D | IWifiStaIface.java | 177 boolean setMacAddress(MacAddress mac); in setMacAddress() method
|
D | WifiRttControllerHidlImpl.java | 401 .setMacAddress(MacAddress.fromBytes(rttResult.addr)) in convertHalResultsRangingResults() 444 .setMacAddress(MacAddress.fromBytes(rttResult.addr)) in convertHalResultsRangingResults14() 487 .setMacAddress(MacAddress.fromBytes(rttResult.addr)) in convertHalResultsRangingResults16()
|
D | WifiRttControllerAidlImpl.java | 280 .setMacAddress(MacAddress.fromBytes(rttResult.addr)) in halToFrameworkRangingResults()
|
D | WifiStaIfaceAidlImpl.java | 500 public boolean setMacAddress(MacAddress mac) { in setMacAddress() method in WifiStaIfaceAidlImpl 505 mWifiStaIface.setMacAddress(mac.toByteArray()); in setMacAddress()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/ |
D | AdvertisePointedTarget.java | 106 .setMacAddress( in parseVersion1() 118 public AdvertisePointedTarget.Builder setMacAddress(byte[] macAddress) { in setMacAddress() method in AdvertisePointedTarget.Builder
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 94 .setMacAddress(MacAddress.BROADCAST_ADDRESS) in testRangeSuccess() 302 .setMacAddress(MacAddress.fromString(scanResult2.BSSID)) in testRangingRequestAtLimit() 467 .setMacAddress(mac) in testRangingResultsParcel() 541 .setMacAddress(mac) in testRangingResultsEqualityLciLcr() 554 .setMacAddress(mac) in testRangingResultsEqualityLciLcr() 573 .setMacAddress(MacAddress.fromString("00:01:02:03:04:05")) in testResponderConfigParcel()
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | ResponderConfig.java | 479 .setMacAddress(macAddress) in fromScanResult() 506 .setMacAddress(macAddress) in fromWifiAwarePeerMacAddressWithDefaults() 717 public Builder setMacAddress(@NonNull MacAddress macAddress) { in setMacAddress() method in ResponderConfig.Builder 985 .setMacAddress(macAddress)
|
D | RangingResult.java | 169 public Builder setMacAddress(@Nullable MacAddress macAddress) { in setMacAddress() method in RangingResult.Builder 962 .setMacAddress(
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 50 setMacAddress(DEFAULT_MAC_ADDRESS); in reset()
|
D | WifiVendorHal.java | 936 return iface.setMacAddress(mac); in setStaMacAddress() 965 return iface.setMacAddress(mac); in setApMacAddress()
|
/packages/modules/Uwb/service/support_lib/test/ |
D | OemExtensionTests.java | 120 .setMacAddress(macAddress) in testAdvertisePointedTarget()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 1201 .setMacAddress(MacAddress.fromBytes(mac)) in processReceivedAwarePeerMacAddresses() 1315 builder.setMacAddress(peer.getMacAddress()); in postProcessResults() 1364 builder.setMacAddress(peer.getMacAddress()); in postProcessResults()
|