summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAhmed ElArabawy <arabawy@google.com>2019-11-07 04:35:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-11-07 04:35:54 +0000
commitc9efa3deee6cbd3ce5087f8096ad3ba440eac0f9 (patch)
tree7fce8ae50cbc3be907c7b517a94c78ba7e9fb8a3 /tests
parent3e60832ea4810660a17d699fc30c4664c74df459 (diff)
parent6566fa2c6437bc6a01521160613e798f9996abd7 (diff)
Merge "Add 802.11ax support to RTT"
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/rtt/RttNativeTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/rtt/RttNativeTest.java b/tests/wifitests/src/com/android/server/wifi/rtt/RttNativeTest.java
index 036e4d070..1b93bb02f 100644
--- a/tests/wifitests/src/com/android/server/wifi/rtt/RttNativeTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/rtt/RttNativeTest.java
@@ -121,6 +121,8 @@ public class RttNativeTest extends WifiBaseTest {
verify(mockRttController).getCapabilities(mGetCapCbCatpr.capture());
// will override capabilities (just call cb again) for specific tests
mGetCapCbCatpr.getValue().onValues(mStatusSuccess, getFullRttCapabilities());
+ // This is for the castFrom() call
+ verify(mockRttController).asBinder();
assertTrue(mDut.isReady());
}
@@ -367,6 +369,8 @@ public class RttNativeTest extends WifiBaseTest {
verify(mockRttController, times(2)).registerEventCallback(any());
verify(mockRttServiceImpl, times(2)).enableIfPossible();
verify(mockRttController, times(2)).getCapabilities(mGetCapCbCatpr.capture());
+ // This is for the castFrom() calls
+ verify(mockRttController, times(2)).asBinder();
assertTrue(mDut.isReady());
verifyNoMoreInteractions(mockRttServiceImpl, mockRttController);
@@ -487,7 +491,8 @@ public class RttNativeTest extends WifiBaseTest {
cap.lciSupported = true;
cap.lcrSupported = true;
cap.responderSupported = true; // unused
- cap.preambleSupport = RttPreamble.LEGACY | RttPreamble.HT | RttPreamble.VHT;
+ cap.preambleSupport = RttPreamble.LEGACY | RttPreamble.HT | RttPreamble.VHT
+ | android.hardware.wifi.V1_4.RttPreamble.HE;
cap.bwSupport =
RttBw.BW_5MHZ | RttBw.BW_10MHZ | RttBw.BW_20MHZ | RttBw.BW_40MHZ | RttBw.BW_80MHZ
| RttBw.BW_160MHZ;