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.java1554 void onBatchScanReports(int status, int scannerId, int reportType, int numRecords, in onBatchScanReports() argument
1558 + ", reportType=" + reportType + ", numRecords=" + numRecords); in onBatchScanReports()
1561 Set<ScanResult> results = parseBatchScanResults(numRecords, reportType, recordData); in onBatchScanReports()
1623 private Set<ScanResult> parseBatchScanResults(int numRecords, int reportType, in parseBatchScanResults() argument
1625 if (numRecords == 0) { in parseBatchScanResults()
1632 return parseTruncatedResults(numRecords, batchRecord); in parseBatchScanResults()
1634 return parseFullResults(numRecords, batchRecord); in parseBatchScanResults()
1638 private Set<ScanResult> parseTruncatedResults(int numRecords, byte[] batchRecord) { in parseTruncatedResults() argument
1642 Set<ScanResult> results = new HashSet<ScanResult>(numRecords); in parseTruncatedResults()
1644 for (int i = 0; i < numRecords; ++i) { in parseTruncatedResults()
[all …]