Home
last modified time | relevance | path

Searched refs:getServiceData (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DAppAdvertiseStats.java148 advertiseData.getServiceData(), in recordAdvertiseStart()
158 scanResponse.getServiceData(), in recordAdvertiseStart()
168 periodicData.getServiceData(), in recordAdvertiseStart()
237 data.getServiceData(), in setAdvertisingData()
243 mAdvertisingData.serviceData = data.getServiceData(); in setAdvertisingData()
255 data.getServiceData(), in setScanResponseData()
261 mScanResponseData.serviceData = data.getServiceData(); in setScanResponseData()
293 data.getServiceData(), in setPeriodicAdvertisingData()
299 mPeriodicAdvertisingData.serviceData = data.getServiceData(); in setPeriodicAdvertisingData()
DAdvertiseHelper.java146 if (!data.getServiceData().isEmpty()) { in advertiseDataToBytes()
147 for (ParcelUuid parcelUuid : data.getServiceData().keySet()) { in advertiseDataToBytes()
148 byte[] serviceData = data.getServiceData().get(parcelUuid); in advertiseDataToBytes()
/packages/modules/Bluetooth/framework/tests/unit/src/android/bluetooth/le/
DScanRecordTest.java195 assertThat(data.getServiceData().containsKey(uuid2)).isTrue(); in testParser()
196 assertThat(data.getServiceData().get(uuid2)).isEqualTo(new byte[] {0x50, 0x64}); in testParser()
263 assertThat(data.getServiceData().containsKey(uuid2)).isTrue(); in testParserMultipleManufacturerSpecificData()
264 assertThat(data.getServiceData().get(uuid2)).isEqualTo(new byte[] {0x50, 0x64}); in testParserMultipleManufacturerSpecificData()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java251 if (filter.getServiceDataUuid() != null && filter.getServiceData() != null) { in addScanFilter()
253 byte[] serviceData = filter.getServiceData(); in addScanFilter()
DAppScanStats.java685 if (filter.getServiceData() != null) { in filterToStringWithoutNullParam()
686 filterString += " ServiceData=" + Arrays.toString(filter.getServiceData()); in filterToStringWithoutNullParam()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingDevicePairingFragmentTest.java301 doReturn(fakeAshaServiceData).when(scanRecord).getServiceData(BluetoothUuid.HEARING_AID); in createAshaScanResult()
318 doReturn(fakeMfiServiceData).when(scanRecord).getServiceData(BluetoothUuid.MFI_HAS); in createMfiHasScanResult()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DScanRecord.java411 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() method in ScanRecord
420 public byte[] getServiceData(ParcelUuid serviceDataUuid) { in getServiceData() method in ScanRecord
DBluetoothLeAdvertiser.java711 for (ParcelUuid uuid : data.getServiceData().keySet()) {
716 + byteLength(data.getServiceData().get(uuid));
DAdvertiseData.java108 public Map<ParcelUuid, byte[]> getServiceData() { in getServiceData() method in AdvertiseData
DScanFilter.java377 public byte[] getServiceData() { in getServiceData() method in ScanFilter
489 mServiceData, mServiceDataMask, scanRecord.getServiceData(mServiceDataUuid))) { in matches()
/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingDevicePairingFragment.java441 if (scanRecord.getServiceData(BluetoothUuid.HEARING_AID) != null in isAndroidCompatibleHearingAid()
442 || scanRecord.getServiceData(BluetoothUuid.HAS) != null) { in isAndroidCompatibleHearingAid()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/
DBleDiscoveryScanProvider.java147 byte[] serviceData = record.getServiceData(UuidConstants.FIRA_CP_PARCEL_UUID); in processScanResult()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DBleDiscoveryProvider.java89 Map<ParcelUuid, byte[]> serviceDataMap = record.getServiceData();
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java2563 .getServiceData() in testAddSourceToUnsyncedSource_causesSyncBeforeAddingSource()
2778 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2791 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2804 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2817 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2830 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2843 .getServiceData() in testSelectSource_orderOfSyncRegistering()
2856 .getServiceData() in testSelectSource_orderOfSyncRegistering()
DBassClientStateMachineTest.java647 assertThat(data.getServiceData(BassConstants.BASIC_AUDIO_UUID)).isNotNull(); in parseScanRecord_withBaseData_callsUpdateBase()
2363 BaseData.parseBaseData(record.getServiceData(BassConstants.BASIC_AUDIO_UUID)); in periodicAdvertisingCallbackOnBigInfoAdvertisingReport_updateRssi()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java382 Map<ParcelUuid, byte[]> bmsAdvDataMap = record.getServiceData(); in parseScanRecord()
392 byte[] advData = record.getServiceData(BassConstants.BASIC_AUDIO_UUID); in parseScanRecord()
450 Map<ParcelUuid, byte[]> listOfUuids = scanRecord.getServiceData(); in selectSource()
DBassClientService.java1658 Map<ParcelUuid, byte[]> listOfUuids = scanRecord.getServiceData(); in startSearchingForSources()
2161 Map<ParcelUuid, byte[]> bmsAdvDataMap = record.getServiceData(); in parseScanRecord()
2171 byte[] advData = record.getServiceData(BassConstants.BASIC_AUDIO_UUID); in parseScanRecord()
2251 Map<ParcelUuid, byte[]> listOfUuids = scanRecord.getServiceData(); in handleSelectSourceRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DFastPairAdvertiserTest.java337 Map<ParcelUuid, byte[]> actualServiceData = actual.getServiceData(); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds()
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt1150 method public java.util.Map<android.os.ParcelUuid,byte[]> getServiceData();
1330 method @Nullable public byte[] getServiceData();
1366 method public java.util.Map<android.os.ParcelUuid,byte[]> getServiceData();
1367 method @Nullable public byte[] getServiceData(android.os.ParcelUuid);