Searched defs:magic (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java38 * 8 bytes magic (a magic number to match what's in the database)
147 // Get the magic number for the specified id in the mini-thumb file.
148 // Returns 0 if the magic is not available.
151 // defined as having the right magic number at the offset
171 Log.v(TAG, "Got exception checking file magic: ", ex);
174 Log.e(TAG, "Got exception when reading magic, id = " + id +
188 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) argument
203 mBuffer.putLong(magic);
246 if (size > 1 + 8 + 4) { // flag, magic, lengt
[all...]
/frameworks/compile/libbcc/include/bcc/
H A Dbcc_mccache.h33 /* magic and version */
34 uint8_t magic[4]; member in struct:MCO_Header
H A Dbcc_cache.h31 /* magic and version */
32 uint8_t magic[4]; member in struct:OBCC_Header
/frameworks/base/opengl/libs/EGL/
H A Degl_display.h92 inline bool isValid() const { return magic == '_dpy'; }
120 uint32_t magic; member in class:android::egl_display_t
/frameworks/base/opengl/libagl/
H A Degl.cpp145 uint32_t magic; member in struct:android::egl_surface_t
175 : magic(MAGIC), dpy(dpy), config(config), ctx(0)
183 magic = 0;
187 LOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this);
188 return magic == MAGIC;
1225 if (static_cast<ANativeWindow*>(window)->common.magic !=
2017 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2048 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)

Completed in 2304 milliseconds