/frameworks/av/media/libstagefright/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 | 60 __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/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/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 439 final int magic = in.readInt(); in read() local 440 if (magic != FILE_MAGIC) { in read() 441 throw new ProtocolException("unexpected magic: " + magic); in read() 513 final int magic = in.readInt(); in readLegacyNetwork() local 514 if (magic != FILE_MAGIC) { in readLegacyNetwork() 515 throw new ProtocolException("unexpected magic: " + magic); in readLegacyNetwork() 552 final int magic = in.readInt(); in readLegacyUid() local 553 if (magic != FILE_MAGIC) { in readLegacyUid() 554 throw new ProtocolException("unexpected magic: " + magic); in readLegacyUid()
|
/frameworks/native/libs/binder/ |
D | PersistableBundle.cpp | 395 int32_t magic; in readFromParcelInner() local 396 RETURN_IF_FAILED(parcel->readInt32(&magic)); in readFromParcelInner() 397 if (magic != BUNDLE_MAGIC && magic != BUNDLE_MAGIC_NATIVE) { in readFromParcelInner() 398 ALOGE("Bad magic number for PersistableBundle: 0x%08x", magic); in readFromParcelInner()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_display.h | 85 inline bool isValid() const { return magic == '_dpy'; } in isValid() 112 uint32_t magic;
|
D | egl_display.cpp | 87 … magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) { in egl_display_t() 91 magic = 0; in ~egl_display_t()
|
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 229 uint32_t magic; in readTrainInfo() local 230 size_t result = read(fd, &magic, sizeof(magic)); in readTrainInfo() 231 if (result != sizeof(magic)) { in readTrainInfo() 237 if (magic != TRAIN_INFO_FILE_MAGIC) { in readTrainInfo() 238 VLOG("Train info magic was 0x%08x, expected 0x%08x", magic, TRAIN_INFO_FILE_MAGIC); in readTrainInfo()
|
/frameworks/native/vulkan/include/hardware/ |
D | hwvulkan.h | 50 uintptr_t magic; member
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 84 if (dtohl(header->magic) != kIdmapMagic) { in IsValidIdmapHeader() 86 dtohl(header->magic), kIdmapMagic); in IsValidIdmapHeader()
|
/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/native/vulkan/libvulkan/ |
D | driver.h | 151 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) { in SetDataInternal() 152 ALOGE("invalid dispatchable object magic 0x%" PRIxPTR, dispatch->magic); in SetDataInternal()
|
D | stubhal.cpp | 74 g_instances[i].magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()
|
/frameworks/base/core/java/android/os/ |
D | BaseBundle.java | 1625 final int magic = parcel.readInt(); in readFromParcelInner() local 1626 final boolean isJavaBundle = magic == BUNDLE_MAGIC; in readFromParcelInner() 1627 final boolean isNativeBundle = magic == BUNDLE_MAGIC_NATIVE; in readFromParcelInner() 1630 + Integer.toHexString(magic)); in readFromParcelInner()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 168 uint32_t magic; member 199 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) in egl_surface_t() 207 magic = 0; in ~egl_surface_t() 211 ALOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this); in isValid() 212 return magic == MAGIC; in isValid() 1301 if (static_cast<ANativeWindow*>(window)->common.magic != in createWindowSurface() 2102 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR() 2131 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglDestroyImageKHR()
|
/frameworks/base/cmds/idmap2/ |
D | Android.bp | 93 "-readability-magic-numbers",
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.cpp | 305 instance->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance() 307 instance->physical_device.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance() 673 device->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateDevice() 676 device->queue.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateDevice() 752 cmdbufs[i]->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in AllocateCommandBuffers()
|
/frameworks/native/libs/nativewindow/include/system/ |
D | window.h | 330 common.magic = ANDROID_NATIVE_WINDOW_MAGIC; in ANativeWindow()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 143 uint32_t magic; member 181 return xd != nullptr && xd->magic == MAGIC; in isValid() 245 if (xd == nullptr || xd->magic != MAGIC) { in UnwrapNativeHandle()
|