Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 25) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
DDiagReaders.inc3 "magic number is mismatched in `%0'",
4 "magic number is mismatched in `%0'")
/frameworks/base/media/java/android/media/
DMiniThumbFile.java187 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) in saveMiniThumbToFile() argument
202 mBuffer.putLong(magic); in saveMiniThumbToFile()
248 long magic = mBuffer.getLong(); in getMiniThumbFromFile() local
251 if (size >= 1 + 8 + 4 + length && length != 0 && magic != 0 && flag == 1 && in getMiniThumbFromFile()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java326 final int magic = in.readInt(); in read() local
327 if (magic != FILE_MAGIC) { in read()
328 throw new ProtocolException("unexpected magic: " + magic); in read()
400 final int magic = in.readInt(); in readLegacyNetwork() local
401 if (magic != FILE_MAGIC) { in readLegacyNetwork()
402 throw new ProtocolException("unexpected magic: " + magic); in readLegacyNetwork()
439 final int magic = in.readInt(); in readLegacyUid() local
440 if (magic != FILE_MAGIC) { in readLegacyUid()
441 throw new ProtocolException("unexpected magic: " + magic); in readLegacyUid()
/frameworks/base/libs/common_time/
Dcommon_time_server_packets.h39 uint32_t magic; variable
60 magic = kMagic; in initHeader()
68 return ((magic == kMagic) && in checkPacket()
Dcommon_time_server_packets.cpp82 SERIALIZE_INT32(magic); in serializeHeader()
94 DESERIALIZE_INT32(magic); in deserializeHeader()
/frameworks/native/libs/binder/
DPersistableBundle.cpp349 int32_t magic; in readFromParcelInner() local
350 RETURN_IF_FAILED(parcel->readInt32(&magic)); in readFromParcelInner()
351 if (magic != BUNDLE_MAGIC) { in readFromParcelInner()
352 ALOGE("Bad magic number for PersistableBundle: 0x%08x", magic); in readFromParcelInner()
/frameworks/native/vulkan/include/hardware/
Dhwvulkan.h50 uintptr_t magic; member
/frameworks/compile/slang/lit-tests/bitcode_wrapper/
Dbitcode_wrapper_test.ll3 ; has the right magic number.
35 ; Check for the magic number.
/frameworks/native/opengl/libs/EGL/
Degl_display.h94 inline bool isValid() const { return magic == '_dpy'; } in isValid()
121 uint32_t magic;
Degl_display.cpp59magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) { in egl_display_t()
63 magic = 0; in ~egl_display_t()
/frameworks/native/vulkan/libvulkan/
Ddriver.h146 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) { in SetDataInternal()
147 ALOGE("invalid dispatchable object magic 0x%" PRIxPTR, dispatch->magic); in SetDataInternal()
Dstubhal.cpp72 g_instances[i].magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()
/frameworks/native/opengl/libagl/
Degl.cpp146 uint32_t magic; member
177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) in egl_surface_t()
185 magic = 0; in ~egl_surface_t()
189 ALOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this); in isValid()
190 return magic == MAGIC; in isValid()
1271 if (static_cast<ANativeWindow*>(window)->common.magic != in createWindowSurface()
2070 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR()
2099 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglDestroyImageKHR()
Dtexture.cpp1618 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetTexture2DOES()
1646 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { in glEGLImageTargetRenderbufferStorageOES()
/frameworks/base/core/java/android/os/
DBaseBundle.java1441 final int magic = parcel.readInt(); in readFromParcelInner() local
1442 if (magic != BUNDLE_MAGIC) { in readFromParcelInner()
1444 + Integer.toHexString(magic)); in readFromParcelInner()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp305 instance->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()
307 instance->physical_device.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateInstance()
623 device->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateDevice()
626 device->queue.dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in CreateDevice()
702 cmdbufs[i]->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in AllocateCommandBuffers()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DDiskBasedCache.java390 int magic = readInt(is); in readHeader() local
391 if (magic != CACHE_MAGIC) { in readHeader()
/frameworks/minikin/libs/minikin/
DHyphenator.cpp81 uint32_t magic; member
/frameworks/minikin/doc/
Dhyb_file_format.md50 uint32_t magic == 0x62ad7968
/frameworks/base/core/java/android/provider/
DMediaStore.java685 long magic = thumbFile.getMagic(origId); in getThumbnail() local
686 if (magic != 0) { in getThumbnail()
/frameworks/compile/libbcc/
DREADME.rst142 magic word, version, machine integer type information (the endianness,
/frameworks/minikin/tools/
Dmk_hyb_file.py507 (magic, version, alphabet_off, trie_off, pattern_off, file_size) = struct.unpack('<6I', header)
/frameworks/base/docs/html/google/play/billing/
Dapi.jd73 can be purchased multiple times (such as in-game currency, fuel, or magic
/frameworks/base/libs/androidfw/
DResourceTypes.cpp241 const uint32_t magic = htodl(*reinterpret_cast<const uint32_t*>(idmap)); in assertIdmapHeader() local
242 if (magic != IDMAP_MAGIC) { in assertIdmapHeader()
244 magic, IDMAP_MAGIC); in assertIdmapHeader()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10820 int magic = in.readInt(); in readFromParcelLocked() local
10821 if (magic != MAGIC) { in readFromParcelLocked()
10822 throw new ParcelFormatException("Bad magic number: #" + Integer.toHexString(magic)); in readFromParcelLocked()