Home
last modified time | relevance | path

Searched refs:ScanRecord (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/
DScanRecordTest.java76 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(RECORD_URL)) in testMatchesAnyField_Eddystone_Parser()
118 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(RECORD_IBEACON)) in testMatchesAnyField_iBeacon_Parser()
178 ScanRecord data = ScanRecord.parseFromBytes(scanRecord); in testParser()
246 ScanRecord data = ScanRecord.parseFromBytes(scanRecord); in testParserMultipleManufacturerSpecificData()
269 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(record)) in assertMatchesAnyField()
276 ScanRecord.parseFromBytes(HexDump.hexStringToByteArray(record)) in assertNotMatchesAnyField()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DBleDiscoveryScanProviderTest.java35 import android.bluetooth.le.ScanRecord;
229 private static ScanRecord parseScanRecord(byte[] bytes) { in parseScanRecord()
230 Class<?> scanRecordClass = ScanRecord.class; in parseScanRecord()
233 return (ScanRecord) method.invoke(null, bytes); in parseScanRecord()
269 ScanRecord scanRecord = in testBleScanResult_noServiceData()
295 ScanRecord scanRecord = in testBleScanResult_serviceDataParsingFailed()
335 ScanRecord scanRecord = in testBleScanResult_rssiBelowThreshold()
375 ScanRecord scanRecord = in testBleScanResult_success()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DPeriodicAdvertisingReport.java47 @Nullable private ScanRecord mData;
54 int syncHandle, int txPower, int rssi, int dataStatus, ScanRecord data) { in PeriodicAdvertisingReport()
86 mData = ScanRecord.parseFromBytes(in.createByteArray()); in readFromParcel()
123 public ScanRecord getData() { in getData()
DScanResult.java66 @Nullable private ScanRecord mScanRecord;
93 BluetoothDevice device, ScanRecord scanRecord, int rssi, long timestampNanos) { in ScanResult()
129 ScanRecord scanRecord, in ScanResult()
176 mScanRecord = ScanRecord.parseFromBytes(in.createByteArray()); in readFromParcel()
210 public ScanRecord getScanRecord() { in getScanRecord()
DScanRecord.java45 public final class ScanRecord { class
489 private ScanRecord( in ScanRecord() method in ScanRecord
524 public static ScanRecord parseFromBytes(byte[] scanRecord) { in parseFromBytes()
680 return new ScanRecord( in parseFromBytes()
695 return new ScanRecord( in parseFromBytes()
DScanFilter.java30 import android.bluetooth.le.ScanRecord.AdvertisingDataType;
79 private int mAdvertisingDataType = ScanRecord.DATA_TYPE_NONE;
452 ScanRecord scanRecord = scanResult.getScanRecord(); in matches()
718 private int mAdvertisingDataType = ScanRecord.DATA_TYPE_NONE;
DTransportBlockFilter.java188 ScanRecord scanRecord = scanResult.getScanRecord(); in matches()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingDevicePairingFragmentTest.java31 import android.bluetooth.le.ScanRecord;
297 ScanRecord scanRecord = mock(ScanRecord.class); in createAshaScanResult()
307 ScanRecord scanRecord = mock(ScanRecord.class); in createHasScanResult()
315 ScanRecord scanRecord = mock(ScanRecord.class); in createMfiHasScanResult()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/
DBleDiscoveryProviderTest.java33 import android.bluetooth.le.ScanRecord;
155 private static ScanRecord parseScanRecord(byte[] bytes) { in parseScanRecord()
156 Class<?> scanRecordClass = ScanRecord.class; in parseScanRecord()
160 return (ScanRecord) method.invoke(null, bytes); in parseScanRecord()
/packages/modules/Bluetooth/framework/tests/util/src/android/bluetooth/test_utils/
DTestUtils.java21 import android.bluetooth.le.ScanRecord;
88 public static ScanRecord parseScanRecord(byte[] bytes) { in parseScanRecord()
89 Class<?> scanRecordClass = ScanRecord.class; in parseScanRecord()
92 return (ScanRecord) method.invoke(null, bytes); in parseScanRecord()
/packages/modules/Bluetooth/android/pandora/server/src/
DHost.kt35 import android.bluetooth.le.ScanRecord
608 scanData[ScanRecord.DATA_TYPE_LOCAL_NAME_SHORT]?.let { in scan()
613 scanData[ScanRecord.DATA_TYPE_LOCAL_NAME_COMPLETE]?.let { in scan()
618 scanData[ScanRecord.DATA_TYPE_ADVERTISING_INTERVAL]?.let { in scan()
624 scanData[ScanRecord.DATA_TYPE_ADVERTISING_INTERVAL_LONG]?.let { in scan()
630 scanData[ScanRecord.DATA_TYPE_APPEARANCE]?.let { in scan()
636 scanData[ScanRecord.DATA_TYPE_CLASS_OF_DEVICE]?.let { in scan()
640 scanData[ScanRecord.DATA_TYPE_URI]?.let { in scan()
644 scanData[ScanRecord.DATA_TYPE_LE_SUPPORTED_FEATURES]?.let { in scan()
648 scanData[ScanRecord.DATA_TYPE_SLAVE_CONNECTION_INTERVAL_RANGE]?.let { in scan()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DBleDiscoveryScanProvider.java24 import android.bluetooth.le.ScanRecord;
141 ScanRecord record = scanResult.getScanRecord(); in processScanResult()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DTransitionalScanHelper.java33 import android.bluetooth.le.ScanRecord;
174 final ScanRecord scanRecord = scanResult.getScanRecord();
275 ScanRecord record = result.getScanRecord(); in getSanitizedExposureNotification()
280 ScanRecord.parseFromBytes( in getSanitizedExposureNotification()
404 ScanRecord scanRecord = ScanRecord.parseFromBytes(scanRecordData); in onScanResultInternal()
850 device, ScanRecord.parseFromBytes(new byte[0]), rssi, timestampNanos)); in parseTruncatedResults()
895 device, ScanRecord.parseFromBytes(scanRecord), rssi, timestampNanos)); in parseFullResults()
988 ScanRecord.parseFromBytes(trackingInfo.getResult()), in onTrackAdvFoundLost()
DPeriodicScanManager.java23 import android.bluetooth.le.ScanRecord;
243 syncHandle, txPower, rssi, dataStatus, ScanRecord.parseFromBytes(data)); in onSyncReport()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java57 import android.bluetooth.le.ScanRecord;
924 ScanRecord.parseFromBytes(scanRecord), in onScanResult()
1966 ScanRecord.parseFromBytes(scanRecord), in testSelectSource_withSameBroadcastId()
1978 ScanRecord.parseFromBytes(scanRecord), in testSelectSource_withSameBroadcastId()
2066 ScanRecord.parseFromBytes(scanRecord), in testSelectSource_wrongBassUUID()
2176 ScanRecord.parseFromBytes(scanRecord), in testSelectSource_wrongPublicBroadcastUUID()
2252 ScanRecord.parseFromBytes(scanRecord), in testSelectSource_wrongPublicBroadcastData()
2677 ScanRecord.parseFromBytes(scanRecord1), in testSelectSource_orderOfSyncRegistering()
2689 ScanRecord.parseFromBytes(scanRecord2), in testSelectSource_orderOfSyncRegistering()
2701 ScanRecord.parseFromBytes(scanRecord3), in testSelectSource_orderOfSyncRegistering()
[all …]
DBassClientStateMachineTest.java85 import android.bluetooth.le.ScanRecord;
576 ScanRecord data = ScanRecord.parseFromBytes(scanRecord); in parseScanRecord_withoutBaseData_callCancelActiveSync()
645 ScanRecord data = ScanRecord.parseFromBytes(scanRecordWithBaseData); in parseScanRecord_withBaseData_callsUpdateBase()
1344 ScanRecord record = ScanRecord.parseFromBytes(scanRecord); in sendSelectBcastSourceMessage_inConnectedState()
2111 ScanRecord record = ScanRecord.parseFromBytes(scanRecord); in selectBcastSource_withSameBroadcastId()
2222 ScanRecord record = ScanRecord.parseFromBytes(scanRecord); in addBcastSource_withCachedScanResults()
2348 ScanRecord record = ScanRecord.parseFromBytes(scanRecordWithBaseData); in periodicAdvertisingCallbackOnBigInfoAdvertisingReport_updateRssi()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DBleDiscoveryProvider.java29 import android.bluetooth.le.ScanRecord;
83 ScanRecord record = scanResult.getScanRecord();
/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingDevicePairingFragment.java34 import android.bluetooth.le.ScanRecord;
423 ScanRecord scanRecord = scanResult.getScanRecord(); in isAndroidCompatibleHearingAid()
/packages/modules/Bluetooth/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt2584 Landroid/bluetooth/le/PeriodicAdvertisingReport;-><init>(IIIILandroid/bluetooth/le/ScanRecord;)V
2589 Landroid/bluetooth/le/PeriodicAdvertisingReport;->getData()Landroid/bluetooth/le/ScanRecord;
2595 Landroid/bluetooth/le/PeriodicAdvertisingReport;->mData:Landroid/bluetooth/le/ScanRecord;
2636 Landroid/bluetooth/le/ScanRecord;-><init>(Ljava/util/List;Landroid/util/SparseArray;Ljava/util/Map;…
2637 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_FLAGS:I
2638 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_LOCAL_NAME_COMPLETE:I
2639 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_LOCAL_NAME_SHORT:I
2640 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_MANUFACTURER_SPECIFIC_DATA:I
2641 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_SERVICE_DATA_128_BIT:I
2642 Landroid/bluetooth/le/ScanRecord;->DATA_TYPE_SERVICE_DATA_16_BIT:I
[all …]
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DNearbyDeviceParcelable.java22 import android.bluetooth.le.ScanRecord;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientService.java51 import android.bluetooth.le.ScanRecord;
1653 ScanRecord scanRecord = result.getScanRecord(); in startSearchingForSources()
2152 boolean parseScanRecord(int syncHandle, ScanRecord record) { in parseScanRecord()
2180 private String checkAndParseBroadcastName(ScanRecord record) { in checkAndParseBroadcastName()
2214 ScanRecord scanRecord = scanRes.getScanRecord(); in addSelectSourceRequest()
2245 ScanRecord scanRecord = scanRes.getScanRecord(); in handleSelectSourceRequest()
DBassClientStateMachine.java42 import android.bluetooth.le.ScanRecord;
375 void parseScanRecord(int syncHandle, ScanRecord record) { in parseScanRecord()
405 private String checkAndParseBroadcastName(ScanRecord record) { in checkAndParseBroadcastName()
448 ScanRecord scanRecord = scanRes.getScanRecord(); in selectSource()
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt1359 public final class ScanRecord {
1421 …d public ScanResult(android.bluetooth.BluetoothDevice, android.bluetooth.le.ScanRecord, int, long);
1422 …uetooth.BluetoothDevice, int, int, int, int, int, int, int, android.bluetooth.le.ScanRecord, long);
1430 method @Nullable public android.bluetooth.le.ScanRecord getScanRecord();
Dsystem-current.txt1408 public final class ScanRecord {
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java50 import android.bluetooth.le.ScanRecord;
4265 ScanRecord scanRecord = result.getScanRecord(); in startLeScan()