Home
last modified time | relevance | path

Searched refs:manufacturerId (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp69 uint16_t DisplayId::manufacturerId() const { in manufacturerId() function in android::DisplayId
73 DisplayId DisplayId::fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash) { in fromEdid() argument
74 return {(static_cast<Type>(manufacturerId) << 40) | (static_cast<Type>(displayNameHash) << 8) | in fromEdid()
102 const uint16_t manufacturerId = in parseEdid() local
105 const auto pnpId = getPnpId(manufacturerId); in parseEdid()
165 return Edid{manufacturerId, *pnpId, displayName}; in parseEdid()
168 std::optional<PnpId> getPnpId(uint16_t manufacturerId) { in getPnpId() argument
169 const char a = getPnpLetter<0>(manufacturerId); in getPnpId()
170 const char b = getPnpLetter<1>(manufacturerId); in getPnpId()
171 const char c = getPnpLetter<2>(manufacturerId); in getPnpId()
[all …]
DDisplayIdentification.h34 uint16_t manufacturerId() const;
36 static DisplayId fromEdid(uint8_t port, uint16_t manufacturerId, uint32_t displayNameHash);
62 uint16_t manufacturerId; member
69 std::optional<PnpId> getPnpId(uint16_t manufacturerId);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DScanFilterTest.java128 int manufacturerId = 0xE0; in testManufacturerSpecificData() local
130 mFilterBuilder.setManufacturerData(manufacturerId, setManufacturerData).build(); in testManufacturerSpecificData()
134 filter = mFilterBuilder.setManufacturerData(manufacturerId, emptyData).build(); in testManufacturerSpecificData()
139 filter = mFilterBuilder.setManufacturerData(manufacturerId, prefixData).build(); in testManufacturerSpecificData()
145 filter = mFilterBuilder.setManufacturerData(manufacturerId, nonMatchData).build(); in testManufacturerSpecificData()
150 filter = mFilterBuilder.setManufacturerData(manufacturerId, nonMatchData, mask).build(); in testManufacturerSpecificData()
192 int manufacturerId = 0xE0; in testReadWriteParcel() local
193 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData).build(); in testReadWriteParcel()
202 filter = mFilterBuilder.setManufacturerData(manufacturerId, manufacturerData, in testReadWriteParcel()
DAdvertiseDataTest.java65 int manufacturerId = 50; in testEmptyManufacturerData() local
69 .addManufacturerData(manufacturerId, manufacturerData).build(); in testEmptyManufacturerData()
114 int manufacturerId = 50; in testManufacturerData() local
120 .addManufacturerData(manufacturerId, manufacturerData).build(); in testManufacturerData()
/frameworks/base/core/java/android/bluetooth/le/
DAdvertiseData.java179 int manufacturerId = in.readInt();
181 builder.addManufacturerData(manufacturerId, manufacturerData);
249 public Builder addManufacturerData(int manufacturerId, byte[] manufacturerSpecificData) { in addManufacturerData() argument
250 if (manufacturerId < 0) { in addManufacturerData()
252 "invalid manufacturerId - " + manufacturerId); in addManufacturerData()
257 mManufacturerSpecificData.put(manufacturerId, manufacturerSpecificData); in addManufacturerData()
DScanFilter.java87 int manufacturerId, byte[] manufacturerData, byte[] manufacturerDataMask) { in ScanFilter() argument
97 mManufacturerId = manufacturerId; in ScanFilter()
221 int manufacturerId = in.readInt();
227 builder.setManufacturerData(manufacturerId, manufacturerData);
232 builder.setManufacturerData(manufacturerId, manufacturerData,
679 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData) { in setManufacturerData() argument
680 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData()
683 mManufacturerId = manufacturerId; in setManufacturerData()
699 public Builder setManufacturerData(int manufacturerId, byte[] manufacturerData, in setManufacturerData() argument
701 if (manufacturerData != null && manufacturerId < 0) { in setManufacturerData()
[all …]
DScanRecord.java119 public byte[] getManufacturerSpecificData(int manufacturerId) { in getManufacturerSpecificData() argument
123 return mManufacturerSpecificData.get(manufacturerId); in getManufacturerSpecificData()
285 int manufacturerId = ((scanRecord[currentPos + 1] & 0xFF) << 8) in parseFromBytes() local
289 manufacturerData.put(manufacturerId, manufacturerDataBytes); in parseFromBytes()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdentificationTest.cpp97 EXPECT_EQ(0x4ca3u, edid->manufacturerId); in TEST()
104 EXPECT_EQ(0x22f0u, edid->manufacturerId); in TEST()
110 EXPECT_EQ(0x4c2du, edid->manufacturerId); in TEST()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...