Home
last modified time | relevance | path

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

/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/
DBlockFileTest.java56 char magic = 0xABCD; in testReadWrite() local
63 try (BlockFileWriter bfw = BlockFileWriter.open(magic, 1, blockFile)) { in testReadWrite()
68 try (BlockFileReader bfr = BlockFileReader.open(memoryMapBlocks, blockFile, magic, 1)) { in testReadWrite() argument
99 char magic = 0xABCD; in blockIdBounds() local
104 try (BlockFileWriter bfw = BlockFileWriter.open(magic, 2, blockFile)) { in blockIdBounds()
111 try (BlockFileReader bfr = BlockFileReader.open(false, blockFile, magic, 2)) { in blockIdBounds() argument
122 char magic = 0xABCD; in visit() local
130 try (BlockFileWriter bfw = BlockFileWriter.open(magic, version, blockFile)) { in visit()
139 BlockFileReader.open(memoryMapBlocks, blockFile, magic, requiredMinVersion)) { in visit() argument
152 inOrder.verify(mockVisitor).visitFileHeader(magic, version, blockCount); in visit()
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/block/write/
DBlockFileWriter.java52 private BlockFileWriter(char magic, int version) { in BlockFileWriter() argument
53 mMagic = magic; in BlockFileWriter()
61 public static BlockFileWriter open(char magic, int version, File file) throws IOException { in open() argument
62 BlockFileWriter writer = new BlockFileWriter(magic, version); in open()
/packages/modules/adb/daemon/
Dusb_ffs.cpp63 __le32 magic; member
240 .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC),
258 v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in open_functionfs()
285 v1_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC); in open_functionfs()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java252 byte[] magic = new byte[4]; in loadIndex()
253 if (mDataFile0.read(magic) != 4) { in loadIndex()
257 if (readInt(magic, 0) != MAGIC_DATA_FILE) { in loadIndex()
261 if (mDataFile1.read(magic) != 4) { in loadIndex()
265 if (readInt(magic, 0) != MAGIC_DATA_FILE) { in loadIndex()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/block/read/
DBlockFileReader.java54 private void setRequiredMagic(char magic) { in setRequiredMagic() argument
55 mRequiredMagic = magic; in setRequiredMagic()
211 void visitFileHeader(char magic, int version, int blockCount) throws VisitException; in visitFileHeader() argument
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp281 uint32_t magic; in readTrainInfoLocked() local
282 size_t result = read(fd, &magic, sizeof(magic)); in readTrainInfoLocked()
283 if (result != sizeof(magic)) { in readTrainInfoLocked()
289 if (magic != TRAIN_INFO_FILE_MAGIC) { in readTrainInfoLocked()
290 VLOG("Train info magic was 0x%08x, expected 0x%08x", magic, TRAIN_INFO_FILE_MAGIC); in readTrainInfoLocked()
/packages/modules/GeoTZ/s2storage/tools/src/java/com/android/timezone/location/tools/dump/
DBlockFileDumper.java40 public void visitFileHeader(char magic, int version, int blockCount) throws VisitException { in visitFileHeader() argument
43 writer.println("Magic=" + Integer.toHexString(magic)); in visitFileHeader()
/packages/modules/adb/client/
Dincremental_server.cpp279 uint32_t magic = be32toh(*(uint32_t*)(buffer_.data() + bcur)); in SkipToRequest() local
280 if (magic == INCR) { in SkipToRequest()
/packages/modules/adb/
Dtransport.cpp551 p->msg.magic = p->msg.command ^ 0xffffffff; in send_packet()
1525 if (p->msg.magic != (p->msg.command ^ 0xffffffff)) { in check_header()
1527 << ", magic = " << p->msg.magic; in check_header()
Dtypes.h129 uint32_t magic; /* command ^ 0xffffffff */ member
Dprotocol.txt37 unsigned magic; /* command ^ 0xffffffff */
/packages/apps/Car/tests/
Dreadme.md28 project by Android Studio and do your magic.
/packages/modules/GeoTZ/s2storage/
DREADME.md21 1. The file header has a type-identifying magic, and a version.
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dfi_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dro_wordlist.combined.gz