/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIface.java | 90 void onBackgroundFullScanResult(int cmdId, int bucketsScanned, ScanResult result); in onBackgroundFullScanResult() argument 98 void onBackgroundScanFailure(int cmdId); in onBackgroundScanFailure() argument 108 void onBackgroundScanResults(int cmdId, WifiScanner.ScanData[] scanDatas); in onBackgroundScanResults() argument 119 void onRssiThresholdBreached(int cmdId, byte[] currBssid, int currRssi); in onRssiThresholdBreached() argument 127 void onTwtFailure(int cmdId, @TwtSessionCallback.TwtErrorCode int twtErrorCode); in onTwtFailure() argument 139 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId, in onTwtSessionCreate() argument 150 void onTwtSessionTeardown(int cmdId, int twtSessionId, in onTwtSessionTeardown() argument 160 void onTwtSessionStats(int cmdId, int twtSessionId, Bundle twtStats); in onTwtSessionStats() argument 359 public boolean startBackgroundScan(int cmdId, StaBackgroundScanParameters params) { in startBackgroundScan() argument 361 () -> mWifiStaIface.startBackgroundScan(cmdId, params)); in startBackgroundScan() [all …]
|
D | IWifiStaIface.java | 204 boolean startBackgroundScan(int cmdId, WifiStaIface.StaBackgroundScanParameters params); in startBackgroundScan() argument 222 boolean startRssiMonitoring(int cmdId, int maxRssi, int minRssi); in startRssiMonitoring() argument 235 boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 244 boolean stopBackgroundScan(int cmdId); in stopBackgroundScan() argument 252 boolean stopRssiMonitoring(int cmdId); in stopRssiMonitoring() argument 260 boolean stopSendingKeepAlivePackets(int cmdId); in stopSendingKeepAlivePackets() argument 297 default boolean setupTwtSession(int cmdId, TwtRequest twtRequest) { in setupTwtSession() argument 308 default boolean tearDownTwtSession(int cmdId, int sessionId) { in tearDownTwtSession() argument 319 default boolean getStatsTwtSession(int cmdId, int sessionId) { in getStatsTwtSession() argument
|
D | WifiRttControllerHidlImpl.java | 127 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest() argument 130 () -> rangeRequestInternal(methodStr, cmdId, request)); in rangeRequest() 136 public boolean rangeCancel(int cmdId, List<MacAddress> macAddresses) { in rangeCancel() argument 139 () -> rangeCancelInternal(methodStr, cmdId, macAddresses)); in rangeCancel() 186 private boolean rangeRequestInternal(String methodStr, int cmdId, RangingRequest request) { in rangeRequestInternal() argument 188 Log.v(TAG, "rangeRequest: cmdId=" + cmdId + ", # of requests=" in rangeRequestInternal() 194 return sendRangeRequest16(cmdId, request); in rangeRequestInternal() 196 return sendRangeRequest14(cmdId, request); in rangeRequestInternal() 198 return sendRangeRequest(cmdId, request); in rangeRequestInternal() 202 private boolean sendRangeRequest(int cmdId, RangingRequest request) { in sendRangeRequest() argument [all …]
|
D | WifiStaIfaceAidlImpl.java | 568 public boolean startBackgroundScan(int cmdId, WifiStaIface.StaBackgroundScanParameters params) { in startBackgroundScan() argument 574 mWifiStaIface.startBackgroundScan(cmdId, halParams); in startBackgroundScan() 612 public boolean startRssiMonitoring(int cmdId, int maxRssi, int minRssi) { in startRssiMonitoring() argument 617 mWifiStaIface.startRssiMonitoring(cmdId, maxRssi, minRssi); in startRssiMonitoring() 633 public boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 639 mWifiStaIface.startSendingKeepAlivePackets(cmdId, ipPacketData, (char) etherType, in startSendingKeepAlivePackets() 655 public boolean stopBackgroundScan(int cmdId) { in stopBackgroundScan() argument 660 mWifiStaIface.stopBackgroundScan(cmdId); in stopBackgroundScan() 675 public boolean stopRssiMonitoring(int cmdId) { in stopRssiMonitoring() argument 680 mWifiStaIface.stopRssiMonitoring(cmdId); in stopRssiMonitoring() [all …]
|
D | WifiStaIfaceHidlImpl.java | 276 public boolean startBackgroundScan(int cmdId, WifiStaIface.StaBackgroundScanParameters params) { in startBackgroundScan() argument 279 () -> startBackgroundScanInternal(methodStr, cmdId, params)); in startBackgroundScan() 295 public boolean startRssiMonitoring(int cmdId, int maxRssi, int minRssi) { in startRssiMonitoring() argument 298 () -> startRssiMonitoringInternal(methodStr, cmdId, maxRssi, minRssi)); in startRssiMonitoring() 305 public boolean startSendingKeepAlivePackets(int cmdId, byte[] ipPacketData, int etherType, in startSendingKeepAlivePackets() argument 309 () -> startSendingKeepAlivePacketsInternal(methodStr, cmdId, ipPacketData, in startSendingKeepAlivePackets() 316 public boolean stopBackgroundScan(int cmdId) { in stopBackgroundScan() argument 319 () -> stopBackgroundScanInternal(methodStr, cmdId)); in stopBackgroundScan() 325 public boolean stopRssiMonitoring(int cmdId) { in stopRssiMonitoring() argument 328 () -> stopRssiMonitoringInternal(methodStr, cmdId)); in stopRssiMonitoring() [all …]
|
D | WifiRttControllerAidlImpl.java | 154 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest() argument 159 Log.v(TAG, "rangeRequest: cmdId=" + cmdId + ", # of requests=" in rangeRequest() 172 dispatchOnRangingResults(cmdId, new ArrayList<>()); in rangeRequest() 175 mWifiRttController.rangeRequest(cmdId, rttConfigs); in rangeRequest() 190 public boolean rangeCancel(int cmdId, List<MacAddress> macAddresses) { in rangeCancel() argument 203 mWifiRttController.rangeCancel(cmdId, halAddresses); in rangeCancel() 229 public void onResults(int cmdId, RttResult[] halResults) { in onResults() argument 232 Log.v(TAG, "onResults: cmdId=" + cmdId + ", # of results=" + numResults); in onResults() 238 dispatchOnRangingResults(cmdId, rangingResults); in onResults() 686 private void dispatchOnRangingResults(int cmdId, List<RangingResult> rangingResults) { in dispatchOnRangingResults() argument [all …]
|
D | WifiRttController.java | 182 void onRangingResults(int cmdId, List<RangingResult> rangingResults); in onRangingResults() argument 258 public boolean rangeRequest(int cmdId, RangingRequest request) { in rangeRequest() argument 260 () -> mWifiRttController.rangeRequest(cmdId, request)); in rangeRequest() 266 public boolean rangeCancel(int cmdId, ArrayList<MacAddress> macAddresses) { in rangeCancel() argument 268 () -> mWifiRttController.rangeCancel(cmdId, macAddresses)); in rangeCancel()
|
D | IWifiRttController.java | 71 boolean rangeRequest(int cmdId, RangingRequest request); in rangeRequest() argument 83 boolean rangeCancel(int cmdId, List<MacAddress> macAddresses); in rangeCancel() argument
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiRttControllerAidlImplTest.java | 97 int cmdId = 55; in testBurstDuration() local 99 mDut.rangeRequest(cmdId, request); in testBurstDuration() 100 verify(mIWifiRttControllerMock).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testBurstDuration() 106 cmdId = 56; in testBurstDuration() 108 mDut.rangeRequest(cmdId, request); in testBurstDuration() 109 verify(mIWifiRttControllerMock).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testBurstDuration() 115 cmdId = 57; in testBurstDuration() 117 mDut.rangeRequest(cmdId, request); in testBurstDuration() 118 verify(mIWifiRttControllerMock).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testBurstDuration() 133 int cmdId = 55; in testRangeRequest() local [all …]
|
D | WifiRttControllerHidlImplTest.java | 114 int cmdId = 55; in testRangeRequest() local 118 mDut.rangeRequest(cmdId, request); in testRangeRequest() 121 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequest() 171 int cmdId = 55; in testRangeRequestWithLimitedCapabilities() local 186 mDut.rangeRequest(cmdId, request); in testRangeRequestWithLimitedCapabilities() 189 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilities() 226 int cmdId = 55; in testRangeRequestWithLimitedCapabilitiesNoOverlap() local 240 mDut.rangeRequest(cmdId, request); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 243 verify(mockRttController).rangeRequest(eq(cmdId), mRttConfigCaptor.capture()); in testRangeRequestWithLimitedCapabilitiesNoOverlap() 266 int cmdId = 66; in testRangeCancel() local [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiVendorHal.java | 602 public int cmdId; field in WifiVendorHal.CurrentBackgroundScan 609 cmdId = id; in CurrentBackgroundScan() 643 iface.stopBackgroundScan(mScan.cmdId); in startBgScan() 649 boolean success = iface.startBackgroundScan(scan.cmdId, scan.param); in startBgScan() 669 iface.stopBackgroundScan(mScan.cmdId); in stopBgScan() 685 if (!iface.stopBackgroundScan(mScan.cmdId)) return; in pauseBgScan() 701 if (!iface.startBackgroundScan(mScan.cmdId, mScan.param)) return; in restartBgScan() 1688 public void onBackgroundScanFailure(int cmdId) { 1689 mVerboseLog.d("onBackgroundScanFailure " + cmdId); 1692 if (mScan == null || cmdId != mScan.cmdId) return; [all …]
|
D | TwtManager.java | 404 public void onTwtFailure(int cmdId, int twtErrorCode) { in onTwtFailure() argument 405 ITwtCallback iTwtCallback = (ITwtCallback) getCallback(cmdId); in onTwtFailure() 407 Log.e(TAG, "onTwtFailure: Command Id is not registered " + cmdId); in onTwtFailure() 415 unregisterCallback(cmdId); in onTwtFailure() 419 public void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, in onTwtSessionCreate() argument 421 ITwtCallback iTwtCallback = (ITwtCallback) getCallback(cmdId); in onTwtSessionCreate() 423 Log.e(TAG, "onTwtSessionCreate failed. No callback registered for " + cmdId); in onTwtSessionCreate() 426 if (!registerSession(cmdId, sessionId)) { in onTwtSessionCreate() 431 iTwtCallback.onCreate(wakeDurationUs, wakeIntervalUs, linkId, getOwnerUid(cmdId), in onTwtSessionCreate() 436 unregisterCallback(cmdId); in onTwtSessionCreate() [all …]
|
D | WifiNative.java | 5455 void onTwtFailure(int cmdId, @TwtSessionCallback.TwtErrorCode int twtErrorCode); 5466 void onTwtSessionCreate(int cmdId, int wakeDurationUs, long wakeIntervalUs, int linkId, 5476 void onTwtSessionTeardown(int cmdId, int twtSessionId, 5486 void onTwtSessionStats(int cmdId, int twtSessionId, Bundle twtStats);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 132 public void onRangingResults(int cmdId, List<RangingResult> rangingResults) { 133 if (mVerboseLoggingEnabled) Log.d(TAG, "onRangingResults: cmdId=" + cmdId); 135 mRttServiceSynchronized.onRangingResults(cmdId, rangingResults); 713 mWifiRttController.rangeCancel(rri.cmdId, macAddresses); in cancelRanging() 776 + rri.cmdId); in cleanUpClientRequests() 974 nextRequest.cmdId = mNextCommandId++; in startRanging() 977 && mWifiRttController.rangeRequest(nextRequest.cmdId, nextRequest.request)) { in startRanging() 1223 private void onRangingResults(int cmdId, List<RangingResult> results) { in onRangingResults() argument 1233 Log.v(TAG, "RttServiceSynchronized.onRangingResults: cmdId=" + cmdId in onRangingResults() 1238 if (topOfQueueRequest.cmdId != cmdId) { in onRangingResults() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 1185 mWifiStaIfaceEventCallback.onBackgroundScanFailure(mWifiVendorHal.mScan.cmdId); in testBgScanFailureCallback() 1200 mWifiStaIfaceEventCallback.onBackgroundScanFailure(mWifiVendorHal.mScan.cmdId + 1); in testBgScanFailureCallbackWithInvalidCmdId() 1219 mWifiVendorHal.mScan.cmdId, 5, result); in testBgScanFullScanResults() 1240 mWifiVendorHal.mScan.cmdId, data); in testBgScanScanResults() 1257 int cmdId1 = mWifiVendorHal.mScan.cmdId; in testBgScanReplacement() 1259 assertNotEquals(mWifiVendorHal.mScan.cmdId, cmdId1); in testBgScanReplacement() 1275 int cmdId = mWifiVendorHal.mScan.cmdId; in testBgScanStop() local 1279 verify(mWifiStaIface).stopBackgroundScan(cmdId); // Should be called just once in testBgScanStop() 1293 int cmdId = mWifiVendorHal.mScan.cmdId; in testBgScanPauseAndRestart() local 1297 verify(mWifiStaIface).stopBackgroundScan(cmdId); // Should be called just once in testBgScanPauseAndRestart() [all …]
|