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()
234 void callbackDone(int scannerId, int status) { in callbackDone() argument
236 Log.d(TAG, "callback done for scannerId - " + scannerId + " status - " + status); in callbackDone()
317 + "later: " + client.scannerId); in handleStartScan()
320 client.stats.recordScanSuspend(client.scannerId); in handleStartScan()
328 + " resumed when location is on: " + client.scannerId); in handleStartScan()
331 client.stats.recordScanSuspend(client.scannerId); in handleStartScan()
381 Log.d(TAG, "app died, unregister scanner - " + client.scannerId); in handleStopScan()
383 mService.unregisterScanner(client.scannerId); in handleStopScan()
[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.java65 public int scannerId; field in AppScanStats.LastScan
68 boolean filtered, int scannerId) { in LastScan() argument
75 this.scannerId = scannerId; in LastScan()
122 synchronized void addResult(int scannerId) { in addResult() argument
123 LastScan scan = getScanFromScannerId(scannerId); in addResult()
146 LastScan getScanFromScannerId(int scannerId) { in getScanFromScannerId() argument
147 return mOngoingScans.get(scannerId); in getScanFromScannerId()
150 synchronized void recordScanStart(ScanSettings settings, boolean filtered, int scannerId) { in recordScanStart() argument
151 LastScan existingScan = getScanFromScannerId(scannerId); in recordScanStart()
158 LastScan scan = new LastScan(startTime, 0, false, false, filtered, scannerId); in recordScanStart()
[all …]
DGattService.java333 ScannerDeathRecipient(int scannerId) { in ScannerDeathRecipient() argument
334 mScannerId = scannerId; in ScannerDeathRecipient()
352 if (client.scannerId == clientIf) { in isScanClient()
357 if (client.scannerId == clientIf) { in isScanClient()
459 public void unregisterScanner(int scannerId) { in unregisterScanner() argument
464 service.unregisterScanner(scannerId); in unregisterScanner()
468 public void startScan(int scannerId, ScanSettings settings, List<ScanFilter> filters, in startScan() argument
474 service.startScan(scannerId, settings, filters, storages, callingPackage); in startScan()
498 public void stopScan(int scannerId) { in stopScan() argument
503 service.stopScan(new ScanClient(scannerId)); in stopScan()
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp958 void btgattc_register_scanner_cb(const Uuid& app_uuid, uint8_t scannerId, in btgattc_register_scanner_cb() argument
963 status, scannerId, UUID_PARAMS(app_uuid)); in btgattc_register_scanner_cb()