Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearHistory.java107 final int numRecords = size(); in toWearEstimateChanges() local
109 if (numRecords == 0) return Collections.emptyList(); in toWearEstimateChanges()
114 for (int i = 1; i < numRecords; ++i) { in toWearEstimateChanges()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java1558 void onBatchScanReports(int status, int scannerId, int reportType, int numRecords, in onBatchScanReports() argument
1562 + ", reportType=" + reportType + ", numRecords=" + numRecords); in onBatchScanReports()
1565 Set<ScanResult> results = parseBatchScanResults(numRecords, reportType, recordData); in onBatchScanReports()
1627 private Set<ScanResult> parseBatchScanResults(int numRecords, int reportType, in parseBatchScanResults() argument
1629 if (numRecords == 0) { in parseBatchScanResults()
1636 return parseTruncatedResults(numRecords, batchRecord); in parseBatchScanResults()
1638 return parseFullResults(numRecords, batchRecord); in parseBatchScanResults()
1642 private Set<ScanResult> parseTruncatedResults(int numRecords, byte[] batchRecord) { in parseTruncatedResults() argument
1646 Set<ScanResult> results = new HashSet<ScanResult>(numRecords); in parseTruncatedResults()
1648 for (int i = 0; i < numRecords; ++i) { in parseTruncatedResults()
[all …]