Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java189 void unregisterScanner(int scannerId) { in unregisterScanner() argument
190 mScanNative.unregisterScannerNative(scannerId); in unregisterScanner()
226 void stopScan(int scannerId) { in stopScan() argument
227 ScanClient client = mScanNative.getBatchScanClient(scannerId); in stopScan()
229 client = mScanNative.getRegularScanClient(scannerId); in stopScan()
238 void callbackDone(int scannerId, int status) { in callbackDone() argument
240 Log.d(TAG, "callback done for scannerId - " + scannerId + " status - " + status); in callbackDone()
321 + "later: " + client.scannerId); in handleStartScan()
324 client.stats.recordScanSuspend(client.scannerId); in handleStartScan()
332 + " resumed when location is on: " + client.scannerId); in handleStartScan()
[all …]
DScanClient.java35 public int scannerId; field in ScanClient
55 ScanClient(int scannerId) { in ScanClient() argument
56 this(scannerId, new UUID[0], DEFAULT_SCAN_SETTINGS, null, null); in ScanClient()
59 ScanClient(int scannerId, UUID[] uuids) { in ScanClient() argument
60 this(scannerId, uuids, DEFAULT_SCAN_SETTINGS, null, null); in ScanClient()
63 ScanClient(int scannerId, ScanSettings settings, List<ScanFilter> filters) { in ScanClient() argument
64 this(scannerId, new UUID[0], settings, filters, null); in ScanClient()
67 ScanClient(int scannerId, ScanSettings settings, List<ScanFilter> filters, in ScanClient() argument
69 this(scannerId, new UUID[0], settings, filters, storages); in ScanClient()
72 private ScanClient(int scannerId, UUID[] uuids, ScanSettings settings, List<ScanFilter> filters, in ScanClient() argument
[all …]
DAppScanStats.java76 public int scannerId; field in AppScanStats.LastScan
81 LastScan(long timestamp, boolean isFilterScan, boolean isCallbackScan, int scannerId, in LastScan() argument
94 this.scannerId = scannerId; in LastScan()
149 synchronized void addResult(int scannerId) { in addResult() argument
150 LastScan scan = getScanFromScannerId(scannerId); in addResult()
174 LastScan getScanFromScannerId(int scannerId) { in getScanFromScannerId() argument
175 return mOngoingScans.get(scannerId); in getScanFromScannerId()
179 boolean isFilterScan, boolean isCallbackScan, int scannerId) { in recordScanStart() argument
180 LastScan existingScan = getScanFromScannerId(scannerId); in recordScanStart()
187 LastScan scan = new LastScan(startTime, isFilterScan, isCallbackScan, scannerId, in recordScanStart()
[all …]
DGattService.java334 ScannerDeathRecipient(int scannerId) { in ScannerDeathRecipient() argument
335 mScannerId = scannerId; in ScannerDeathRecipient()
347 stopScan(client.scannerId); in binderDied()
353 if (client.scannerId == clientIf) { in getScanClient()
358 if (client.scannerId == clientIf) { in getScanClient()
460 public void unregisterScanner(int scannerId) { in unregisterScanner() argument
465 service.unregisterScanner(scannerId); in unregisterScanner()
469 public void startScan(int scannerId, ScanSettings settings, List<ScanFilter> filters, in startScan() argument
475 service.startScan(scannerId, settings, filters, storages, callingPackage, in startScan()
502 public void stopScan(int scannerId) { in stopScan() argument
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp957 void btgattc_register_scanner_cb(const Uuid& app_uuid, uint8_t scannerId, in btgattc_register_scanner_cb() argument
962 status, scannerId, UUID_PARAMS(app_uuid)); in btgattc_register_scanner_cb()