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

/frameworks/base/include/private/ui/
H A Dsw_gralloc_handle.h37 int magic; member in struct:android::sw_gralloc_handle_t
48 fd(-1), magic(sMagic), size(0), base(0), prot(0), pid(getpid())
55 magic = 0;
62 hnd->magic != sMagic)
/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/base/include/ui/egl/
H A Dandroid_natives.h48 /* a magic value defined by the actual EGL native type */
49 int magic; member in struct:android_native_base_t
88 common.magic = ANDROID_NATIVE_WINDOW_MAGIC;
/frameworks/base/libs/ui/
H A DKeyCharacterMap.cpp16 char magic[8]; member in struct:Header
227 if (0 != memcmp(header.magic, "keychar", 8)) {
228 LOGW("Bad keycharmap magic token");
/frameworks/base/opengl/libs/EGL/
H A Degl.cpp166 uint32_t magic; member in struct:android::egl_display_t
172 egl_display_t() : magic('_dpy'), numTotalConfigs(0) { }
173 ~egl_display_t() { magic = 0; }
174 inline bool isValid() const { return magic == '_dpy'; }
/frameworks/base/opengl/libagl/
H A Degl.cpp138 uint32_t magic; member in struct:android::egl_surface_t
169 : magic(MAGIC), dpy(dpy), config(config), ctx(0)
177 magic = 0;
181 LOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this);
182 return magic == MAGIC;
1303 if (static_cast<android_native_window_t*>(window)->common.magic !=
2090 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
2121 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)

Completed in 857 milliseconds