OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serviceData
(Results
1 - 14
of
14
) sorted by null
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ScanFilterQueue.java
230
byte[]
serviceData
= filter.getServiceData();
233
serviceDataMask = new byte[
serviceData
.length];
236
serviceData
= concate(serviceDataUuid,
serviceData
);
238
if (
serviceData
!= null && serviceDataMask != null) {
239
addServiceData(
serviceData
, serviceDataMask);
244
private byte[] concate(ParcelUuid serviceDataUuid, byte[]
serviceData
) {
245
int dataLen = 2 + (
serviceData
== null ? 0 :
serviceData
.length);
257
if (
serviceData
!= null)
[
all
...]
AdvertiseManager.java
370
byte[]
serviceData
= getServiceData(data);
390
manufacturerData,
serviceData
, serviceUuids);
394
manufacturerData,
serviceData
, serviceUuids);
423
byte[]
serviceData
= advertiseData.getServiceData().get(uuid);
424
int dataLen = 2 + (
serviceData
== null ? 0 :
serviceData
.length);
432
if (
serviceData
!= null) {
433
System.arraycopy(
serviceData
, 0, concated, 2,
serviceData
.length);
497
int appearance, byte[] manufacturerData, byte[]
serviceData
, byte[] serviceUuid)
[
all
...]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
ScanRecordTest.java
62
final byte[]
serviceData
= new byte[] {
64
TestUtils.assertArrayEquals(
serviceData
, data.getServiceData().get(uuid2));
65
TestUtils.assertArrayEquals(
serviceData
, data.getServiceData(uuid2));
AdvertiseDataTest.java
89
byte[]
serviceData
= new byte[0];
92
.addServiceData(uuid,
serviceData
).build();
146
byte[]
serviceData
= new byte[] {
150
.addServiceData(uuid,
serviceData
).build();
156
TestUtils.assertArrayEquals(
serviceData
, dataFromParcel.getServiceData().get(uuid));
BluetoothLeScanTest.java
138
Map<ParcelUuid, byte[]>
serviceData
= record.getServiceData();
139
if (
serviceData
!= null && !
serviceData
.isEmpty()) {
140
ParcelUuid uuid =
serviceData
.keySet().iterator().next();
ScanFilterTest.java
191
byte[]
serviceData
= new byte[] {
195
filter = mFilterBuilder.setServiceData(serviceDataUuid,
serviceData
).build();
203
filter = mFilterBuilder.setServiceData(serviceDataUuid,
serviceData
, serviceDataMask)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleScannerService.java
168
Map<ParcelUuid, byte[]>
serviceData
= record.getServiceData();
170
if (
serviceData
.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID)) != null) {
172
serviceData
.get(new ParcelUuid(BleAdvertiserService.POWER_LEVEL_UUID));
195
if (
serviceData
.get(new ParcelUuid(BleAdvertiserService.SCAN_RESP_UUID)) != null) {
202
if (
serviceData
.containsKey(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID))) {
204
data =
serviceData
.get(new ParcelUuid(BleAdvertiserService.SCANNABLE_UUID));
206
if (
serviceData
.containsKey(new ParcelUuid(BleAdvertiserService.UNSCANNABLE_UUID))) {
208
data =
serviceData
.get(new ParcelUuid(BleAdvertiserService.UNSCANNABLE_UUID));
/frameworks/base/core/java/android/bluetooth/le/
AdvertiseData.java
53
Map<ParcelUuid, byte[]>
serviceData
,
58
mServiceData =
serviceData
;
208
byte[]
serviceData
= new byte[serviceDataLength];
209
in.readByteArray(
serviceData
);
210
builder.addServiceData(serviceDataUuid,
serviceData
);
248
* @param
serviceData
Service data
249
* @throws IllegalArgumentException If the {@code serviceDataUuid} or {@code
serviceData
} is
252
public Builder addServiceData(ParcelUuid serviceDataUuid, byte[]
serviceData
) {
253
if (serviceDataUuid == null ||
serviceData
== null) {
257
mServiceData.put(serviceDataUuid,
serviceData
);
[
all
...]
ScanFilter.java
75
byte[]
serviceData
, byte[] serviceDataMask,
82
mServiceData =
serviceData
;
175
byte[]
serviceData
= new byte[serviceDataLength];
176
in.readByteArray(
serviceData
);
178
builder.setServiceData(servcieDataUuid,
serviceData
);
184
servcieDataUuid,
serviceData
, serviceDataMask);
496
public Builder setServiceData(ParcelUuid serviceDataUuid, byte[]
serviceData
) {
501
mServiceData =
serviceData
;
510
* The {@code serviceDataMask} must have the same length of the {@code
serviceData
}.
513
* {@code serviceDataMask} is {@code null} while {@code
serviceData
} is not o
[
all
...]
ScanRecord.java
152
Map<ParcelUuid, byte[]>
serviceData
,
157
mServiceData =
serviceData
;
187
Map<ParcelUuid, byte[]>
serviceData
= new ArrayMap<ParcelUuid, byte[]>();
237
serviceData
.put(serviceDataUuid, serviceDataArray);
258
return new ScanRecord(serviceUuids, manufacturerData,
serviceData
,
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
AdvertiseDataTest.java
81
byte[]
serviceData
= new byte[0];
84
.addServiceData(uuid,
serviceData
).build();
133
byte[]
serviceData
= new byte[] {
137
.addServiceData(uuid,
serviceData
).build();
ScanFilterTest.java
174
byte[]
serviceData
= new byte[] {
178
filter = mFilterBuilder.setServiceData(serviceDataUuid,
serviceData
).build();
186
filter = mFilterBuilder.setServiceData(serviceDataUuid,
serviceData
, serviceDataMask)
/packages/apps/Bluetooth/jni/
com_android_bluetooth_gatt.cpp
[
all
...]
/prebuilts/sdk/21/
android.jar
Completed in 93 milliseconds