Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java940 void onBatchScanReports(int status, int clientIf, int reportType, int numRecords, in onBatchScanReports() argument
944 + ", reportType=" + reportType + ", numRecords=" + numRecords); in onBatchScanReports()
947 Set<ScanResult> results = parseBatchScanResults(numRecords, reportType, recordData); in onBatchScanReports()
979 private Set<ScanResult> parseBatchScanResults(int numRecords, int reportType, in parseBatchScanResults() argument
981 if (numRecords == 0) { in parseBatchScanResults()
986 return parseTruncatedResults(numRecords, batchRecord); in parseBatchScanResults()
988 return parseFullResults(numRecords, batchRecord); in parseBatchScanResults()
992 private Set<ScanResult> parseTruncatedResults(int numRecords, byte[] batchRecord) { in parseTruncatedResults() argument
994 Set<ScanResult> results = new HashSet<ScanResult>(numRecords); in parseTruncatedResults()
996 for (int i = 0; i < numRecords; ++i) { in parseTruncatedResults()
[all …]