Home
last modified time | relevance | path

Searched refs:twtRequest (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/twt/
DTwtRequestTest.java50 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/
DTwtManagerTest.java221 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 …]
DWifiServiceImplTest.java12683 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/
DWifiStaIface.java442 public boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument
444 () -> mWifiStaIface.setupTwtSession(cmdId, twtRequest)); in setupTwtSession()
DIWifiStaIface.java297 default boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument
DWifiStaIfaceAidlImpl.java821 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/
DTwtManager.java508 public void setupTwtSession(@Nullable String interfaceName, @NonNull TwtRequest twtRequest, in setupTwtSession() argument
529 if (!mWifiNative.setupTwtSession(id, interfaceName, twtRequest)) { in setupTwtSession()
DWifiVendorHal.java2136 public boolean setupTwtSession(int cmdId, String ifaceName, TwtRequest twtRequest) {
2140 return wifiStaIface.setupTwtSession(cmdId, twtRequest);
DWifiNative.java5498 public boolean setupTwtSession(int commandId, String interfaceName, TwtRequest twtRequest) {
5499 return mWifiVendorHal.setupTwtSession(commandId, interfaceName, twtRequest);
DWifiServiceImpl.java8662 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/
DIWifiManager.aidl506 void setupTwtSession(in TwtRequest twtRequest, in ITwtCallback callback, in Bundle extras); in setupTwtSession() argument
DBaseWifiService.java1181 public void setupTwtSession(TwtRequest twtRequest, ITwtCallback iTwtCallback, Bundle extras) { in setupTwtSession() argument
DWifiManager.java12704 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/
DWifiManagerTest.java4280 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()