/sdk/files/ |
android.el | 41 (defun android-read-project-root () 44 (read-file-name "Android project root: " 50 (labels ((read-directory () 51 (read-file-name "Android project root: " 56 (do ((entered-root (read-directory) (read-directory))) 65 (read-from-minibuffer "Activity's JDWP DDMS port: " 70 (android-read-project-root))) 89 (read-file-name "Android Application Package (.apk): " 103 (read-from-minibuffer "Package: ")) [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 93 if (in.read() == 2) { 99 boolean visible = in.read() == 1; 105 int read = 0; local 106 while (read < dataSize) { 107 read += in.read(data, read, dataSize - read); 111 BufferedImage chunk = ImageIO.read(arrayIn); 146 return ImageIO.read(in) [all...] |
/system/core/adb/ |
usb_linux_client.c | 46 int (*read)(usb_handle *h, void *data, int len); member in struct:usb_handle 205 D("about to read (fd=%d, len=%d)\n", h->fd, len); 237 h->read = usb_adb_read; 403 D("about to read (fd=%d, len=%d)\n", h->bulk_out, len); 447 h->read = usb_ffs_read; 482 return h->read(h, data, len);
|
usb_windows.c | 43 /// Handle to USB read pipe (endpoint) 209 // Open read pipe (endpoint) 304 unsigned long read = 0; local 315 &read, 318 D("usb_write got: %ld, expected: %d, errno: %d\n", read, xfer, saved_errno); 320 data += read; 321 len -= read;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
AbstractDirectory.java | 55 * @param readOnly if the instance should be read-only 69 * Gets called when the {@code AbstractDirectory} must read it's content 75 * @throws IOException on read error 77 protected abstract void read(ByteBuffer data) throws IOException; method in class:AbstractDirectory 244 protected final void read() throws IOException { method in class:AbstractDirectory 248 read(data); 253 FatDirectoryEntry.read(data, isReadOnly());
|
FatFileSystem.java | 59 * @param readOnly if this FS should be read-lonly 61 * @throws IOException on read error 69 this.bs = BootSector.read(device); 76 this.fat = Fat.read(bs, 0); 80 final Fat tmpFat = Fat.read(bs, i); 92 this.fsiSector = FsInfoSector.read(f32bs); 101 Fat16RootDirectory.read((Fat16BootSector) bs,readOnly); 111 * and returns a fresh {@code FatFileSystem} instance to read or modify 115 * @param readOnly if the {@code FatFileSystem} should be in read-only mode 117 * @throws IOException on read error or if the file system structure coul 120 public static FatFileSystem read(BlockDevice device, boolean readOnly) method in class:FatFileSystem [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SocketChannelTest.java | 162 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])' 173 this.channel1.read(byteBuf); 180 this.channel1.read(byteBuf); 186 readNum = testMSChannel.read(byteBuf); 189 readNum = testMSChannelnull.read(byteBuf); 197 * Test method for 'java.nio.channels.SocketChannel.read(ByteBuffer[])' 205 this.channel1.read(byteBuf); 211 testMSChannel.read(byteBuf); 217 testMSChannelnull.read(byteBuf); 3591 public int read(ByteBuffer target) throws IOException { method in class:SocketChannelTest.MockSocketChannel 3595 public long read(ByteBuffer[] targets, int offset, int length) throws IOException { method in class:SocketChannelTest.MockSocketChannel [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ClassFile.java | 108 read(in); 497 * The returned array is read only. 756 private void read(DataInputStream in) throws IOException { method in class:ClassFile 792 addAttribute(AttributeInfo.read(cp, in));
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldRandomAccessFileTest.java | 249 * java.io.RandomAccessFile#read() 267 assertEquals(String.format("Test 2: Incorrect value written or read at index %d; ", i), 268 testBuf[i], raf.read()); 271 assertTrue("Test 3: End of file indicator (-1) expected.", raf.read() == -1); 281 raf.read(); 289 * java.io.RandomAccessFile#read(byte[]) 299 int bytesRead = raf.read(rbuf); 300 assertEquals("Test 1: Incorrect number of bytes read. ", 302 assertEquals("Test 2: Incorrect bytes read. ", testString, 305 bytesRead = raf.read(rbuf) [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
Pop3Store.java | 434 * Caller can read back message-number from this field 438 * Caller can read back unique-id from this field 577 LogUtils.w(Logging.LOG_TAG, "Can't read message " + messageId); 816 public int read() throws IOException { method in class:Pop3Store.Pop3ResponseInputStream 820 int d = mIn.read(); 822 d = mIn.read(); 825 mIn.read();
|
/bootable/recovery/minadbd/ |
sysdeps.h | 94 /* unlink returns EACCES when the file is read-only, so we first */ 129 return read(fd, buf, len); 131 #undef read macro 132 #define read ___xxx_read macro 368 return read(fd, buf, len); 371 #undef read macro 372 #define read ___xxx_read macro
|
/bootable/recovery/mtdutils/ |
mtdutils.c | 105 /* Open and read the file contents. 111 nbytes = read(fd, buf, sizeof(buf) - 1); 210 printf("Mount %s on %s read-only\n", devname, mount_point); 302 if (lseek64(fd, pos, SEEK_SET) != pos || read(fd, data, size) != size) { 303 printf("mtd: read error at 0x%08llx (%s)\n", 312 // copy the comparison baseline for the next read. 331 size_t read = 0; local 332 while (read < len) { 335 size_t copy = len - read < avail ? len - read : avail [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptorTest.java | 75 * 2. outputStream can write and inputStream can read. 107 readByte = mInputStream.read(dataFromFile, 112 assertEquals(FILE_END, mInputStream.read()); 146 mInputStream.read();
|
/cts/tools/dex-tools/src/dex/reader/ |
DexFileReader.java | 68 public DexFile read(DexBuffer buffer) { method in class:DexFileReader 161 int lenght = b.readUleb128(); // read uleb128
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexUtil.java | 590 parsedFiles.add(reader.read(dexBuffer));
|
/development/samples/Vault/src/com/example/android/vault/ |
EncryptedDocument.java | 166 * Decrypt and read content section of this document, writing it into the 208 * @param contentIn read end of a pipe. 266 * Read and decrypt the section starting at the current file offset. 275 section.read(f); 284 while ((n = f.read(inbuf, 0, (int) Math.min(section.length, inbuf.length))) != -1) { 327 while ((n = in.read(inbuf)) != -1) { 363 public void read(RandomAccessFile f) throws IOException { method in class:EncryptedDocument.Section
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 340 int read; local 341 while ((read = in.read(b)) != -1) { 342 out.write(b, 0, read);
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
ManifestTest.java | 432 * @tests {@link java.util.jar.Manifest#read(java.io.InputStream) 438 new Manifest().read(is); 452 public int read() { method in class:ManifestTest.InputStreamImpl
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipInputStreamTest.java | 92 zis.read(rbuf, 0, 1); 96 fail("Read data after stream was closed"); 151 * @tests java.util.zip.ZipInputStream#read(byte[], int, int) 156 int r = zis.read(rbuf, 0, rbuf.length); 158 assertEquals("Failed to read entry", 12, r); 164 public int read(byte[] buffer, int offset, int count) throws IOException { 165 return super.read(buffer, offset, 1); // one byte at a time 169 public int read(byte[] buffer) throws IOException { 170 return super.read(buffer, 0, 1); // one byte at a time 188 int r = zis.read(rbuf, 0, rbuf.length) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
BufferedOutputStreamTest.java | 144 bais.read(wbytes, 0, 1013); 658 bais.read(wbytes, 0, 1); 696 assertEquals(buffer[i], byteArrayis.read()); 707 assertEquals(buffer[i], byteArrayis.read()); 710 assertEquals(buffer[i], byteArrayis.read()); 721 assertEquals(buffer[i], byteArrayis.read()); 724 assertEquals(buffer[i], byteArrayis.read()); 727 assertEquals(buffer[i], byteArrayis.read()); 745 assertEquals(buffer[i], byteArrayis.read()); 757 assertEquals(buffer[i], byteArrayis.read()); [all...] |
CharArrayWriterTest.java | 72 cr.read(c, 0, 5); 93 cr.read(c, 0, 10); 114 cr.read(c, 0, 5); 138 assertEquals("Writer failed to write char", 'T', cr.read()); 148 cr.read(c, 0, 5);
|
DataInputStreamTest.java | 53 * @tests java.io.DataInputStream#read(byte[]) 60 dis.read(rbytes); 61 assertTrue("Incorrect data read", new String(rbytes, 0, fileString 66 * @tests java.io.DataInputStream#read(byte[], int, int) 73 dis.read(rbytes, 0, rbytes.length); 74 assertTrue("Incorrect data read", new String(rbytes, 0, fileString 95 assertTrue("Incorrect byte read", dis.readByte() == (byte) 127); 105 assertEquals("Incorrect char read", 't', dis.readChar()); 115 assertEquals("Incorrect double read", 2345.76834720202, dis 126 assertTrue("Incorrect float read", dis.readFloat() == 29.08764f) [all...] |
FileOutputStreamTest.java | 94 fis.read(buf, 0, buf.length); 162 fis.read(rbytes, 0, fileString.length()); 176 fis.read(rbytes, 0, fileString.length()); 203 assertEquals("Incorrect char written", 't', fis.read());
|
PipedWriterTest.java | 48 r = pr.read(); 349 pr.read(); 364 assertTrue("reader thread failed to read", readRunnable.pass); 413 pr.read(); 428 assertTrue("reader thread failed to read", readRunnable.pass);
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
PreferencesTest.java | 274 public int read() throws IOException { method in class:PreferencesTest.MockInputStream 276 return wrapper.read();
|