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.java197 void unregisterScanner(int scannerId) { in unregisterScanner() argument
198 mScanNative.unregisterScannerNative(scannerId); in unregisterScanner()
234 void stopScan(int scannerId) { in stopScan() argument
235 ScanClient client = mScanNative.getBatchScanClient(scannerId); in stopScan()
237 client = mScanNative.getRegularScanClient(scannerId); in stopScan()
246 void callbackDone(int scannerId, int status) { in callbackDone() argument
248 Log.d(TAG, "callback done for scannerId - " + scannerId + " status - " + status); in callbackDone()
327 + "later: " + client.scannerId); in handleStartScan()
330 client.stats.recordScanSuspend(client.scannerId); in handleStartScan()
338 + " resumed when location is on: " + client.scannerId); in handleStartScan()
[all …]
DScanClient.java34 public int scannerId; field in ScanClient
57 ScanClient(int scannerId) { in ScanClient() argument
58 this(scannerId, DEFAULT_SCAN_SETTINGS, null, null); in ScanClient()
61 ScanClient(int scannerId, ScanSettings settings, List<ScanFilter> filters) { in ScanClient() argument
62 this(scannerId, settings, filters, null); in ScanClient()
65 ScanClient(int scannerId, ScanSettings settings, List<ScanFilter> filters, in ScanClient() argument
67 this.scannerId = scannerId; in ScanClient()
84 return scannerId == other.scannerId; in equals()
89 return Objects.hash(scannerId); in hashCode()
DAppScanStats.java79 public int scannerId; field in AppScanStats.LastScan
84 LastScan(long timestamp, boolean isFilterScan, boolean isCallbackScan, int scannerId, in LastScan() argument
97 this.scannerId = scannerId; in LastScan()
160 synchronized void addResult(int scannerId) { in addResult() argument
161 LastScan scan = getScanFromScannerId(scannerId); in addResult()
185 LastScan getScanFromScannerId(int scannerId) { in getScanFromScannerId() argument
186 return mOngoingScans.get(scannerId); in getScanFromScannerId()
190 boolean isFilterScan, boolean isCallbackScan, int scannerId) { in recordScanStart() argument
191 LastScan existingScan = getScanFromScannerId(scannerId); in recordScanStart()
198 LastScan scan = new LastScan(startTime, isFilterScan, isCallbackScan, scannerId, in recordScanStart()
[all …]
DGattService.java430 ScannerDeathRecipient(int scannerId) { in ScannerDeathRecipient() argument
431 mScannerId = scannerId; in ScannerDeathRecipient()
443 stopScan(client.scannerId, getAttributionSource()); in binderDied()
449 if (client.scannerId == clientIf) { in getScanClient()
454 if (client.scannerId == clientIf) { in getScanClient()
558 public void unregisterScanner(int scannerId, AttributionSource attributionSource) { in unregisterScanner() argument
563 service.unregisterScanner(scannerId, attributionSource); in unregisterScanner()
567 public void startScan(int scannerId, ScanSettings settings, List<ScanFilter> filters, in startScan() argument
573 service.startScan(scannerId, settings, filters, storages, attributionSource); in startScan()
598 public void stopScan(int scannerId, AttributionSource attributionSource) { in stopScan() argument
[all …]
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp873 void OnScannerRegistered(const Uuid app_uuid, uint8_t scannerId, in OnScannerRegistered() argument
878 status, scannerId, UUID_PARAMS(app_uuid)); in OnScannerRegistered()
1159 void btgattc_register_scanner_cb(const Uuid& app_uuid, uint8_t scannerId, in btgattc_register_scanner_cb() argument
1164 status, scannerId, UUID_PARAMS(app_uuid)); in btgattc_register_scanner_cb()