Home
last modified time | relevance | path

Searched refs:kMagic (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/DisplayHardware/
DDisplayIdentification.cpp79 const uint8_t kMagic[] = {0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0}; in isEdid() local
80 return data.size() >= sizeof(kMagic) && in isEdid()
81 std::equal(std::begin(kMagic), std::end(kMagic), data.begin()); in isEdid()
/frameworks/av/media/bufferpool/1.0/vts/
Dallocator.cpp38 mInts{ int (size & 0xFFFFFFFF), int((uint64_t(size) >> 32) & 0xFFFFFFFF), kMagic } {}
60 kMagic = 'ahm\x00', enumerator
80 return other->mInts.mMagic == kMagic; in isValid()
/frameworks/av/media/bufferpool/2.0/tests/
Dallocator.cpp38 mInts{ int (size & 0xFFFFFFFF), int((uint64_t(size) >> 32) & 0xFFFFFFFF), kMagic } {}
60 kMagic = 'ahm\x00', enumerator
80 return other->mInts.mMagic == kMagic; in isValid()
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp612 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' }; variable
634 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header()
647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
/frameworks/av/media/codec2/vndk/
DC2AllocatorIon.cpp72 mInts{ int(size & 0xFFFFFFFF), int((uint64_t(size) >> 32) & 0xFFFFFFFF), kMagic } { }
95 kMagic = '\xc2io\x00', enumerator
117 return other->mInts.mMagic == kMagic; in isValid()