/packages/modules/Wifi/framework/tests/src/android/net/wifi/twt/ |
D | TwtRequestTest.java | 50 TwtRequest twtRequest = builder.build(); in testTwtRequest() local 51 assertEquals(testMinWakeDuration, twtRequest.getMinWakeDurationMicros()); in testTwtRequest() 52 assertEquals(testMaxWakeDuration, twtRequest.getMaxWakeDurationMicros()); in testTwtRequest() 53 assertEquals(testMinWakeInterval, twtRequest.getMinWakeIntervalMicros()); in testTwtRequest() 54 assertEquals(testMaxWakeInterval, twtRequest.getMaxWakeIntervalMicros()); in testTwtRequest() 55 assertEquals(testMloLinkId, twtRequest.getLinkId()); in testTwtRequest()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | TwtManagerTest.java | 221 TwtRequest twtRequest = mock(TwtRequest.class); in testOuiBlockListing() local 224 when(mWifiNative.setupTwtSession(eq(1), eq(WIFI_IFACE_NAME), eq(twtRequest))).thenReturn( in testOuiBlockListing() 226 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testOuiBlockListing() 235 TwtRequest twtRequest = mock(TwtRequest.class); in testSetupTwtSession() local 241 mTwtManager.setupTwtSession(null, twtRequest, iTwtCallback, Binder.getCallingUid(), in testSetupTwtSession() 246 when(mWifiNative.setupTwtSession(eq(1), eq(WIFI_IFACE_NAME), eq(twtRequest))).thenReturn( in testSetupTwtSession() 248 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testSetupTwtSession() 258 when(mWifiNative.setupTwtSession(eq(1), eq(WIFI_IFACE_NAME), eq(twtRequest))).thenReturn( in testSetupTwtSession() 260 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testSetupTwtSession() 268 mTwtManager.setupTwtSession(WIFI_IFACE_NAME, twtRequest, iTwtCallback, in testSetupTwtSession() [all …]
|
D | WifiServiceImplTest.java | 12683 TwtRequest twtRequest = mock(TwtRequest.class); in testSetupTwtSession() local 12689 () -> mWifiServiceImpl.setupTwtSession(twtRequest, iTwtCallback, mExtras)); in testSetupTwtSession() 12699 () -> mWifiServiceImpl.setupTwtSession(twtRequest, null, mExtras)); in testSetupTwtSession() 12702 mWifiServiceImpl.setupTwtSession(twtRequest, iTwtCallback, mExtras); in testSetupTwtSession() 12708 mWifiServiceImpl.setupTwtSession(twtRequest, iTwtCallback, mExtras); in testSetupTwtSession() 12710 verify(mTwtManager).setupTwtSession(eq(WIFI_IFACE_NAME), eq(twtRequest), eq(iTwtCallback), in testSetupTwtSession()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIface.java | 442 public boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument 444 () -> mWifiStaIface.setupTwtSession(cmdId, twtRequest)); in setupTwtSession()
|
D | IWifiStaIface.java | 297 default boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument
|
D | WifiStaIfaceAidlImpl.java | 821 public boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument 830 halTwtRequest.maxWakeDurationUs = twtRequest.getMaxWakeDurationMicros(); in setupTwtSession() 831 halTwtRequest.minWakeDurationUs = twtRequest.getMinWakeDurationMicros(); in setupTwtSession() 832 halTwtRequest.maxWakeIntervalUs = twtRequest.getMaxWakeIntervalMicros(); in setupTwtSession() 833 halTwtRequest.minWakeIntervalUs = twtRequest.getMinWakeIntervalMicros(); in setupTwtSession()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | TwtManager.java | 508 public void setupTwtSession(@Nullable String interfaceName, @NonNull TwtRequest twtRequest, in setupTwtSession() argument 529 if (!mWifiNative.setupTwtSession(id, interfaceName, twtRequest)) { in setupTwtSession()
|
D | WifiVendorHal.java | 2136 public boolean setupTwtSession(int cmdId, String ifaceName, TwtRequest twtRequest) { 2140 return wifiStaIface.setupTwtSession(cmdId, twtRequest);
|
D | WifiNative.java | 5498 public boolean setupTwtSession(int commandId, String interfaceName, TwtRequest twtRequest) { 5499 return mWifiVendorHal.setupTwtSession(commandId, interfaceName, twtRequest);
|
D | WifiServiceImpl.java | 8662 public void setupTwtSession(TwtRequest twtRequest, ITwtCallback iTwtCallback, Bundle extras) { 8669 if (twtRequest == null) { 8688 twtRequest, iTwtCallback, callingUid, bssid);
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | IWifiManager.aidl | 506 void setupTwtSession(in TwtRequest twtRequest, in ITwtCallback callback, in Bundle extras); in setupTwtSession() argument
|
D | BaseWifiService.java | 1181 public void setupTwtSession(TwtRequest twtRequest, ITwtCallback iTwtCallback, Bundle extras) { in setupTwtSession() argument
|
D | WifiManager.java | 12704 public void setupTwtSession(@NonNull TwtRequest twtRequest, in setupTwtSession() argument 12708 Objects.requireNonNull(twtRequest, "twtRequest cannot be null"); in setupTwtSession() 12717 mService.setupTwtSession(twtRequest, binderCallback, extras); in setupTwtSession()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 4280 TwtRequest twtRequest = mock(TwtRequest.class); in testSetupTwtSession() local 4285 () -> mWifiManager.setupTwtSession(twtRequest, null, resultCallback)); in testSetupTwtSession() 4287 () -> mWifiManager.setupTwtSession(twtRequest, executor, null)); in testSetupTwtSession() 4289 mWifiManager.setupTwtSession(twtRequest, executor, resultCallback); in testSetupTwtSession()
|