OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:manufacturerId
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
ScanFilterTest.java
128
int
manufacturerId
= 0xE0;
130
mFilterBuilder.setManufacturerData(
manufacturerId
, setManufacturerData).build();
134
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, emptyData).build();
139
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, prefixData).build();
145
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, nonMatchData).build();
150
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, nonMatchData, mask).build();
192
int
manufacturerId
= 0xE0;
193
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, manufacturerData).build();
202
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, manufacturerData,
AdvertiseDataTest.java
65
int
manufacturerId
= 50;
69
.addManufacturerData(
manufacturerId
, manufacturerData).build();
114
int
manufacturerId
= 50;
120
.addManufacturerData(
manufacturerId
, manufacturerData).build();
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
ScanFilterTest.java
140
int
manufacturerId
= 0xE0;
142
mFilterBuilder.setManufacturerData(
manufacturerId
, manufacturerData).build();
143
assertEquals(
manufacturerId
, filter.getManufacturerId());
148
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, emptyData).build();
153
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, prefixData).build();
159
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, nonMatchData).build();
164
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, nonMatchData, mask).build();
165
assertEquals(
manufacturerId
, filter.getManufacturerId());
209
int
manufacturerId
= 0xE0;
210
filter = mFilterBuilder.setManufacturerData(
manufacturerId
, manufacturerData).build()
[
all
...]
AdvertiseDataTest.java
72
int
manufacturerId
= 50;
76
.addManufacturerData(
manufacturerId
, manufacturerData).build();
82
TestUtils.assertArrayEquals(new byte[0], dataFromParcel.getManufacturerSpecificData().get(
manufacturerId
));
125
int
manufacturerId
= 50;
131
.addManufacturerData(
manufacturerId
, manufacturerData).build();
139
dataFromParcel.getManufacturerSpecificData().get(
manufacturerId
));
/frameworks/base/core/java/android/bluetooth/le/
ScanFilter.java
76
int
manufacturerId
, byte[] manufacturerData, byte[] manufacturerDataMask) {
84
mManufacturerId =
manufacturerId
;
189
int
manufacturerId
= in.readInt();
195
builder.setManufacturerData(
manufacturerId
, manufacturerData);
200
builder.setManufacturerData(
manufacturerId
, manufacturerData,
540
* Set filter on on manufacturerData. A negative
manufacturerId
is considered as invalid id.
542
* Note the first two bytes of the {@code manufacturerData} is the
manufacturerId
.
544
* @throws IllegalArgumentException If the {@code
manufacturerId
} is invalid.
546
public Builder setManufacturerData(int
manufacturerId
, byte[] manufacturerData) {
547
if (manufacturerData != null &&
manufacturerId
< 0)
[
all
...]
AdvertiseData.java
194
int
manufacturerId
= in.readInt();
199
builder.addManufacturerData(
manufacturerId
, manufacturerData);
268
* @param
manufacturerId
Manufacturer ID assigned by Bluetooth SIG.
270
* @throws IllegalArgumentException If the {@code
manufacturerId
} is negative or
273
public Builder addManufacturerData(int
manufacturerId
, byte[] manufacturerSpecificData) {
274
if (
manufacturerId
< 0) {
276
"invalid
manufacturerId
- " +
manufacturerId
);
281
mManufacturerSpecificData.put(
manufacturerId
, manufacturerSpecificData);
ScanRecord.java
98
* {@code null} if the {@code
manufacturerId
} is not found.
101
public byte[] getManufacturerSpecificData(int
manufacturerId
) {
102
return mManufacturerSpecificData.get(
manufacturerId
);
242
int
manufacturerId
= ((scanRecord[currentPos + 1] & 0xFF) << 8) +
246
manufacturerData.put(
manufacturerId
, manufacturerDataBytes);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
AdvertiseManager.java
403
int
manufacturerId
= advertiseData.getManufacturerSpecificData().keyAt(0);
405
manufacturerId
);
409
concated[0] = (byte) (
manufacturerId
& 0xFF);
410
concated[1] = (byte) ((
manufacturerId
>> 8) & 0xFF);
/prebuilts/sdk/21/
android.jar
Completed in 162 milliseconds