Searched refs:kMagic (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | DisplayIdentification.cpp | 79 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/2.0/tests/ |
D | allocator.cpp | 38 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/1.0/vts/ |
D | allocator.cpp | 38 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/ |
D | etc1.cpp | 608 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' }; variable 630 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header() 643 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorIon.cpp | 72 mInts{ int(size & 0xFFFFFFFF), int((uint64_t(size) >> 32) & 0xFFFFFFFF), kMagic } { } 95 kMagic = '\xc2io\x00', enumerator 117 return other->mInts.mMagic == kMagic; in isValid()
|