Home
last modified time | relevance | path

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

/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java397 final int magic = f.readInt(); in assertMagic() local
398 if (magic != MAGIC_NUMBER) { in assertMagic()
399 throw new ProtocolException("Bad magic number: " + Integer.toHexString(magic)); in assertMagic()
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp63 unsigned int magic; /* command ^ 0xffffffff */ member
514 msg_send.magic = msg_send.command ^ 0xffffffff; in DeviceHandShake()
545 printf("\n magic = %08X", msg_rcv.magic); in DeviceHandShake()
546 printf(" (%s)", (msg_rcv.magic == (msg_rcv.command ^ 0xffffffff)) ? in DeviceHandShake()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DDiskLruCache.java342 String magic = readAsciiLine(in); in readJournal() local
347 if (!MAGIC.equals(magic) in readJournal()
353 + magic + ", " + version + ", " + valueCountString + ", " + blank + "]"); in readJournal()
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1003 if header.magic == b'dex\n':
1101 magic, version = struct.unpack_from('4s4s', buf)
1104 if magic != b'vdex':