Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/include/mcld/LD/
DDiagReaders.inc1 DIAG(archive_magic_mismatch, DiagnosticEngine::Error, "magic number is mismatched in `%0'", "magic
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsCollection.java261 final int magic = in.readInt(); in read() local
262 if (magic != FILE_MAGIC) { in read()
263 throw new ProtocolException("unexpected magic: " + magic); in read()
335 final int magic = in.readInt(); in readLegacyNetwork() local
336 if (magic != FILE_MAGIC) { in readLegacyNetwork()
337 throw new ProtocolException("unexpected magic: " + magic); in readLegacyNetwork()
374 final int magic = in.readInt(); in readLegacyUid() local
375 if (magic != FILE_MAGIC) { in readLegacyUid()
376 throw new ProtocolException("unexpected magic: " + magic); in readLegacyUid()
/frameworks/base/services/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/base/media/java/android/media/
DMiniThumbFile.java188 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) in saveMiniThumbToFile() argument
203 mBuffer.putLong(magic); in saveMiniThumbToFile()
249 long magic = mBuffer.getLong(); in getMiniThumbFromFile() local
/frameworks/native/opengl/libs/EGL/
Degl_display.h94 inline bool isValid() const { return magic == '_dpy'; } in isValid()
119 uint32_t magic;
Degl_display.cpp49 magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0) { in egl_display_t()
53 magic = 0; in ~egl_display_t()
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfoReader.cpp213 if (::memcmp(header->magic, RSINFO_MAGIC, sizeof(header->magic)) != 0) { in ReadFromFile()
DRSInfo.cpp225 ::memcpy(mHeader.magic, RSINFO_MAGIC, sizeof(mHeader.magic)); in RSInfo()
/frameworks/native/libs/utils/
DREADME238 idmap-magic constant spells "idmp" in ASCII. Offsets are given relative
242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
243 idmap-magic := <0x706d6469>
275 0x706d6469 # magic: all idmap files begin with this constant
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSInfo.h59 uint8_t magic[8]; member
/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()
1244 if (static_cast<ANativeWindow*>(window)->common.magic != in createWindowSurface()
2042 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) in eglCreateImageKHR()
2073 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/docs/html/design/videos/
Dindex.jd24 …<p>Design isn't black magic, it's a field that people can learn. In this talk two elite designers …
/frameworks/base/core/java/android/os/
DBundle.java1674 int magic = parcel.readInt(); in readFromParcelInner() local
1675 if (magic != 0x4C444E42) { in readFromParcelInner()
/frameworks/base/core/java/android/provider/
DMediaStore.java606 long magic = thumbFile.getMagic(origId); in getThumbnail() local
607 if (magic != 0) { in getThumbnail()
/frameworks/compile/libbcc/
DREADME.rst142 magic word, version, machine integer type information (the endianness,
/frameworks/base/docs/html/google/play/billing/
Dapi.jd47 … that can be purchased multiple times (such as in-game currency, fuel, or magic spells). Once purc…
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5678 int magic = in.readInt(); in readFromParcelLocked() local
5679 if (magic != MAGIC) { in readFromParcelLocked()
/frameworks/base/docs/html/google/play/billing/v2/
Dapi.jd76 such as fuel or magic spells. These items are consumed within your application