/frameworks/av/media/module/foundation/tests/ |
D | AData_test.cpp | 41 EventCounter(int *counter, int magic=1234) : mCounter(counter), mMagic(magic) { } in EventCounter() 43 int magic() const { return mMagic; } in magic() function 50 DerivedCounter(int *counter, int magic=1234) : EventCounter(counter, magic) { } in DerivedCounter() 327 EXPECT_EQ(123, _unique->magic()); in TEST_F() 345 EXPECT_EQ(1234, _unique->magic()); in TEST_F() 364 EXPECT_EQ(234, _shared->magic()); in TEST_F() 375 EXPECT_EQ(234, _shared->magic()); in TEST_F() 386 EXPECT_EQ(234, _shared->magic()); in TEST_F() 403 EXPECT_EQ(1234, _shared->magic()); in TEST_F() 481 EXPECT_EQ(123, _unique->magic()); in TEST_F() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_parcelable.cpp | 81 uint32_t magic = 0; in readFromParcel() local 91 res = parcel->readUint32(&magic); in readFromParcel() 98 if (magic != kUdsMagicParcelHeader) { in readFromParcel() 102 magic, kUdsMagicParcelHeader); in readFromParcel()
|
D | ipc_helper.cpp | 171 uint32_t magic{0}; member 193 preamble.magic = kMagicPreamble; in Send() 299 if (preamble.magic != kMagicPreamble) { in Receive()
|
/frameworks/av/media/mtp/ |
D | MtpDescriptors.cpp | 169 .magic = htole32(FUNCTIONFS_STRINGS_MAGIC), 207 .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2), 225 .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2), 243 .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC), 254 .magic = htole32(FUNCTIONFS_DESCRIPTORS_MAGIC),
|
D | MtpDescriptors.h | 72 __le32 magic; member
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagReaders.inc | 3 "magic number is mismatched in `%0'", 4 "magic number is mismatched in `%0'")
|
/frameworks/native/libs/nativebase/include/nativebase/ |
D | nativebase.h | 46 int magic; member 70 common.magic = ANDROID_NATIVE_BUFFER_MAGIC; in ANativeWindowBuffer()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_ColorSpace.cpp | 70 static const FloatUIntUnion magic = { 126 << 23 }; in halfToFloat() local 75 o.mUInt = magic.mUInt + halfMantissa(bits); in halfToFloat() 76 o.mFloat -= magic.mFloat; in halfToFloat()
|
/frameworks/base/core/java/android/util/ |
D | Xml.java | 222 final byte[] magic = new byte[4]; in resolvePullParser() 225 Os.pread(((FileInputStream) in).getFD(), magic, 0, magic.length, 0); in resolvePullParser() local 234 in.read(magic); in resolvePullParser() 239 if (Arrays.equals(magic, BinaryXmlSerializer.PROTOCOL_MAGIC_VERSION_0)) { in resolvePullParser()
|
/frameworks/base/core/java/android/net/netstats/ |
D | NetworkStatsDataMigrationUtils.java | 272 final int magic = in.readInt(); in readPlatformCollection() local 273 if (magic != FILE_MAGIC) { in readPlatformCollection() 274 throw new ProtocolException("unexpected magic: " + magic); in readPlatformCollection() 539 final int magic = in.readInt(); in readLegacyUid() local 540 if (magic != FILE_MAGIC) { in readLegacyUid() 541 throw new ProtocolException("unexpected magic: " + magic); in readLegacyUid()
|
/frameworks/base/tools/aapt2/format/ |
D | Container.cpp | 275 ::google::protobuf::uint32 magic; in ContainerReader() 276 if (!coded_in_.ReadLittleEndian32(&magic)) { in ContainerReader() 283 if (magic != kContainerFormatMagic) { in ContainerReader() 285 StringPrintf("magic value is 0x%08x but AAPT expects 0x%08x", magic, kContainerFormatMagic); in ContainerReader()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.h | 80 inline bool isValid() const { return magic == '_dpy'; } in isValid() 107 uint32_t magic;
|
D | MultifileBlobCache.h | 41 uint32_t magic; member 54 uint32_t magic; member
|
D | MultifileBlobCache.cpp | 191 if (header.magic != kMultifileMagic) { in MultifileBlobCache() 192 ALOGE("INIT: Entry %u has bad magic (%u)! Removing.", entryHash, header.magic); in MultifileBlobCache() 527 status.magic = kMultifileMagic; in createStatus() 596 if (status.magic != kMultifileMagic) { in checkStatus() 597 ALOGE("STATUS(CHECK): Cache status has bad magic (%u)!", status.magic); in checkStatus()
|
/frameworks/native/vulkan/include/hardware/ |
D | hwvulkan.h | 50 uintptr_t magic; member
|
/frameworks/av/media/codec2/vndk/ |
D | C2Fence.cpp | 324 int32_t magic = SYNC_FENCE_MAGIC; in createNativeHandle() local 332 magic = SYNC_FENCE_UNORDERED_MAGIC; in createNativeHandle() 348 nh->data[nativeFds.size()] = magic; in createNativeHandle() 427 int32_t magic = nh->data[nh->numFds + nh->numInts - 1]; in CreateFromNativeHandle() local 428 if (magic != SYNC_FENCE_MAGIC) { in CreateFromNativeHandle()
|
/frameworks/native/libs/binder/ |
D | PersistableBundle.cpp | 398 int32_t magic; in readFromParcelInner() local 399 RETURN_IF_FAILED(parcel->readInt32(&magic)); in readFromParcelInner() 400 if (magic != BUNDLE_MAGIC && magic != BUNDLE_MAGIC_NATIVE) { in readFromParcelInner() 401 ALOGE("Bad magic number for PersistableBundle: 0x%08x", magic); in readFromParcelInner()
|
/frameworks/compile/slang/lit-tests/bitcode_wrapper/ |
D | bitcode_wrapper_test.ll | 3 ; has the right magic number. 35 ; Check for the magic number.
|
/frameworks/base/tools/aapt2/ |
D | formats.md | 16 | `4` | `magic` | The magic bytes must equal `'AAPT'` or `0x54504141`. |
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 44 uint32_t magic; member 292 if (dtohl(header->magic) != kIdmapMagic) { in Load() 294 dtohl(header->magic), kIdmapMagic); in Load()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | BinaryXmlPullParser.java | 114 final byte[] magic = new byte[4]; in setInput() 115 mIn.readFully(magic); in setInput() 116 if (!Arrays.equals(magic, PROTOCOL_MAGIC_VERSION_0)) { in setInput() 117 throw new IOException("Unexpected magic " + bytesToHexString(magic)); in setInput()
|
/frameworks/native/vulkan/libvulkan/ |
D | stubhal.cpp | 74 g_instances[i].magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()
|
D | driver.h | 219 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) { in SetDataInternal() 220 ALOGE("invalid dispatchable object magic 0x%" PRIxPTR, dispatch->magic); in SetDataInternal()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | FabricatedOverlay.cpp | 295 uint32_t magic; in FromBinaryStream() local 296 if (!Read32(stream, &magic)) { in FromBinaryStream() 300 if (magic != kFabricatedOverlayMagic) { in FromBinaryStream()
|
/frameworks/base/core/proto/android/internal/ |
D | protolog.proto | 61 /* the magic number header */
|