/frameworks/base/libs/common_time/ |
H A D | common_time_server_packets.h | 38 // magic number identifying the protocol 39 uint32_t magic; member in class:android::TimeServicePacketHeader 60 magic = kMagic; 68 return ((magic == kMagic) &&
|
H A D | common_time_server_packets.cpp | 82 SERIALIZE_INT32(magic); 94 DESERIALIZE_INT32(magic);
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 37 * 8 bytes magic (a magic number to match what's in the database) 146 // Get the magic number for the specified id in the mini-thumb file. 147 // Returns 0 if the magic is not available. 150 // defined as having the right magic number at the offset 170 Log.v(TAG, "Got exception checking file magic: ", ex); 173 Log.e(TAG, "Got exception when reading magic, id = " + id + 187 public synchronized void saveMiniThumbToFile(byte[] data, long id, long magic) argument 202 mBuffer.putLong(magic); 245 if (size > 1 + 8 + 4) { // flag, magic, lengt [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 69 /** File header magic number: "ANET" */ 299 // verify file magic header intact 300 final int magic = in.readInt(); 301 if (magic != FILE_MAGIC) { 302 throw new ProtocolException("unexpected magic: " + magic); 373 // verify file magic header intact 374 final int magic = in.readInt(); 375 if (magic != FILE_MAGIC) { 376 throw new ProtocolException("unexpected magic [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 94 inline bool isValid() const { return magic == '_dpy'; } 121 uint32_t magic; member in class:android::egl_display_t
|
H A D | egl_display.cpp | 60 magic('_dpy'), finishOnSwap(false), traceGpuCompletion(false), refs(0), eglIsInitialized(false) { 64 magic = 0;
|
/frameworks/base/data/fonts/ |
H A D | Android.mk | 35 # this magic makes LOCAL_REQUIRED_MODULES work
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 389 int magic = readInt(is); 390 if (magic != CACHE_MAGIC) {
|
/frameworks/minikin/libs/minikin/ |
H A D | Hyphenator.cpp | 81 uint32_t magic; member in struct:android::Header 141 // TODO: check header magic
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 146 uint32_t magic; member in struct:android::egl_surface_t 177 : magic(MAGIC), dpy(dpy), config(config), ctx(0), zombie(false) 185 magic = 0; 189 ALOGE_IF(magic != MAGIC, "invalid EGLSurface (%p)", this); 190 return magic == MAGIC; 1271 if (static_cast<ANativeWindow*>(window)->common.magic != 2069 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) 2098 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC)
|
H A D | texture.cpp | 1618 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) { 1646 if (native_buffer->common.magic != ANDROID_NATIVE_BUFFER_MAGIC) {
|
/frameworks/base/core/java/android/os/ |
H A D | BaseBundle.java | 1360 int magic = parcel.readInt(); 1361 if (magic != BUNDLE_MAGIC) { 1363 throw new IllegalStateException("Bad magic number for Bundle: 0x" 1364 + Integer.toHexString(magic));
|
/frameworks/base/core/java/android/provider/ |
H A D | MediaStore.java | 673 // If the magic is non-zero, we simply return thumbnail if it does exist. 679 long magic = thumbFile.getMagic(origId); 680 if (magic != 0) {
|
/frameworks/minikin/tools/ |
H A D | mk_hyb_file.py | 507 (magic, version, alphabet_off, trie_off, pattern_off, file_size) = struct.unpack('<6I', header)
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 239 const uint32_t magic = htodl(*reinterpret_cast<const uint32_t*>(idmap)); local 240 if (magic != IDMAP_MAGIC) { 241 ALOGW("idmap: no magic found in header (is 0x%08x, expected 0x%08x)", 242 magic, IDMAP_MAGIC);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 104 // In-memory Parcel magic number, used to detect attempts to unmarshall bad data 9865 int magic = in.readInt(); 9866 if (magic != MAGIC) { 9867 throw new ParcelFormatException("Bad magic number: #" + Integer.toHexString(magic));
|