Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/camera/common/1.0/default/
H A DCameraMetadata.cpp483 size_t sectionLength = 0; in getTagFromName() local
498 if (section == NULL || sectionLength < strLength) { in getTagFromName()
501 sectionLength = strLength; in getTagFromName()
516 const char *nameTagName = name + sectionLength + 1; // x.y.z -> z in getTagFromName()
517 if (sectionLength + 1 >= nameLength) { in getTagFromName()
/aosp12/frameworks/av/camera/
H A DCameraMetadata.cpp807 size_t sectionLength = 0; in getTagFromName() local
822 if (section == NULL || sectionLength < strLength) { in getTagFromName()
825 sectionLength = strLength; in getTagFromName()
842 const char *nameTagName = name + sectionLength + 1; // x.y.z -> z in getTagFromName()
843 if (sectionLength + 1 >= nameLength) { in getTagFromName()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
H A 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
/aosp12/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp2470 unsigned sectionLength = U16_AT(mBuffer->data() + 1) & 0xfff; in isComplete() local
2471 return mBuffer->size() >= sectionLength + 3; in isComplete()
2497 unsigned sectionLength = U16_AT(data + 1) & 0xfff; in isCRCOkay() local
2498 ALOGV("sectionLength %u, skip %u", sectionLength, mSkipBytes); in isCRCOkay()
2501 if(sectionLength < mSkipBytes) { in isCRCOkay()
2508 sectionLength -= mSkipBytes; in isCRCOkay()
2511 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) { in isCRCOkay()