OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serviceDataUuid
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
ScanFilterTest.java
100
ParcelUuid
serviceDataUuid
= ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB");
101
ScanFilter filter = mFilterBuilder.setServiceData(
serviceDataUuid
, setServiceData).build();
105
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, emptyData).build();
110
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, prefixData).build();
117
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, nonMatchData, mask).build();
120
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, nonMatchData).build();
177
ParcelUuid
serviceDataUuid
= ParcelUuid.fromString("0000110B-0000-1000-8000-00805F9B34FB");
178
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, serviceData).build();
181
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, new byte[0]).build();
186
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, serviceData, serviceDataMask
[
all
...]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
ScanFilterTest.java
109
ParcelUuid
serviceDataUuid
= ParcelUuid.fromString(UUID2);
110
ScanFilter filter = mFilterBuilder.setServiceData(
serviceDataUuid
, setServiceData).build();
111
assertEquals(
serviceDataUuid
, filter.getServiceDataUuid());
115
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, emptyData).build();
120
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, prefixData).build();
127
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, nonMatchData, mask).build();
132
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, nonMatchData).build();
194
ParcelUuid
serviceDataUuid
= ParcelUuid.fromString(UUID2);
195
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, serviceData).build();
198
filter = mFilterBuilder.setServiceData(
serviceDataUuid
, new byte[0]).build()
[
all
...]
/frameworks/base/core/java/android/bluetooth/le/
AdvertiseData.java
204
ParcelUuid
serviceDataUuid
= in.readParcelable(
210
builder.addServiceData(
serviceDataUuid
, serviceData);
247
* @param
serviceDataUuid
16-bit UUID of the service the data is associated with
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) {
255
"
serviceDataUuid
or
serviceDataUuid
is null");
257
mServiceData.put(
serviceDataUuid
, serviceData);
ScanRecord.java
114
* {@code null} if the {@code
serviceDataUuid
} is not found.
117
public byte[] getServiceData(ParcelUuid
serviceDataUuid
) {
118
if (
serviceDataUuid
== null) {
121
return mServiceData.get(
serviceDataUuid
);
233
ParcelUuid
serviceDataUuid
= BluetoothUuid.parseUuidFrom(
237
serviceData.put(
serviceDataUuid
, serviceDataArray);
ScanFilter.java
74
ParcelUuid uuidMask, ParcelUuid
serviceDataUuid
,
81
mServiceDataUuid =
serviceDataUuid
;
494
* @throws IllegalArgumentException If {@code
serviceDataUuid
} is null.
496
public Builder setServiceData(ParcelUuid
serviceDataUuid
, byte[] serviceData) {
497
if (
serviceDataUuid
== null) {
498
throw new IllegalArgumentException("
serviceDataUuid
is null");
500
mServiceDataUuid =
serviceDataUuid
;
512
* @throws IllegalArgumentException If {@code
serviceDataUuid
} is null or
516
public Builder setServiceData(ParcelUuid
serviceDataUuid
,
518
if (
serviceDataUuid
== null)
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
ScanFilterQueue.java
229
ParcelUuid
serviceDataUuid
= filter.getServiceDataUuid();
236
serviceData = concate(
serviceDataUuid
, serviceData);
237
serviceDataMask = concate(
serviceDataUuid
, serviceDataMask);
244
private byte[] concate(ParcelUuid
serviceDataUuid
, byte[] serviceData) {
253
serviceDataUuid
);
/prebuilts/sdk/21/
android.jar
Completed in 1601 milliseconds