Home
last modified time | relevance | path

Searched refs:sectionLength (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisement.java301 int sectionLength = 0; in toBytesInternal() local
327 sectionLength += saltOrEncryptionInfoBytes.length; in toBytesInternal()
332 sectionLength += identityHeaderBytes.length; in toBytesInternal()
338 sectionLength += ciphertext.length; in toBytesInternal()
340 sectionLength += CryptorMicImp.MIC_LENGTH; in toBytesInternal()
341 mLength = sectionLength; in toBytesInternal()
346 if (sectionLength > 255) { in toBytesInternal()
350 byte sectionHeader = (byte) sectionLength; in toBytesInternal()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputSectionParser.java230 int sectionLength = (((data[1] & 0x0f) << 8) | (data[2] & 0xff)) + 3; in checkValidPsipSection() local
231 if (sectionLength != data.length) { in checkValidPsipSection()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java657 int sectionLength = in parseSections() local
659 if (pos + sectionLength > data.length()) { in parseSections()
665 parseSection(Arrays.copyOfRange(data.buffer(), pos, pos + sectionLength)); in parseSections() local
666 pos += sectionLength; in parseSections()
1080 int sectionLength = ((data[1] & 0x0f) << 8) | (data[2] & 0xff); in parseSDT() local
1084 if (sectionLength + 3 > data.length) { in parseSDT()
1128 int sectionLength = ((data[1] & 0x0f) << 8) | (data[2] & 0xff); in parseDVBEIT() local