/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 49 // If the frame capture interval is large, read will block for a long time. 51 // mediaRecorder waits until the read returns, causing a long wait for 52 // stop() to return. To avoid this, we can make read() return a copy of the 53 // last read frame with the same time stamp frequently. This keeps the 54 // read() call from blocking too long. Calling this function quickly 55 // captures another frame, keeps its copy, and enables this mode of read() 94 // mQuickStop is set to true if we use quick read() returns, otherwise it is set 95 // to false. Once in this mode read() return a copy of the last read frame 99 // Forces the next frame passed to dataCallbackTimestamp() to be read [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupDataInputStream.java | 28 * is called, the current entity's header has already been read from the underlying 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 52 * Read one byte of entity data from the stream, returning it as 54 * are read from the stream, the output of this method is undefined. 56 * @return The byte read, or undefined if the end of the stream has been reached. 58 public int read() throws IOException { method in class:BackupDataInputStream 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 71 * @param b Byte array into which the data will be read 74 * @param size The number of bytes to read in this operation. If insufficient 76 * will be read as is available 80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream 93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int). 36 * InputStream assumes that you implement InputStream.read(int) and provides default 41 int result = in.read(buffer, 0, 1); 81 int bytesRead = in.read(dst, offset, byteCount); 108 while ((count = in.read(buffer)) != -1) { 122 while ((count = reader.read(buffer)) != -1) { 134 } while (in.read() != -1); 138 * Call {@code in.read()} repeatedly until either the stream is exhausted or 139 * {@code byteCount} bytes have been read 158 int read = in.read(buffer, 0, toRead); local [all...] |
/external/llvm/test/CodeGen/R600/ |
work-item-intrinsics.ll | 13 %0 = call i32 @llvm.r600.read.ngroups.x() #0 27 %0 = call i32 @llvm.r600.read.ngroups.y() #0 41 %0 = call i32 @llvm.r600.read.ngroups.z() #0 55 %0 = call i32 @llvm.r600.read.global.size.x() #0 69 %0 = call i32 @llvm.r600.read.global.size.y() #0 83 %0 = call i32 @llvm.r600.read.global.size.z() #0 97 %0 = call i32 @llvm.r600.read.local.size.x() #0 111 %0 = call i32 @llvm.r600.read.local.size.y() #0 125 %0 = call i32 @llvm.r600.read.local.size.z() #0 139 %0 = call i32 @llvm.r600.read.tgid.x() # [all...] |
/external/chromium_org/content/browser/ |
byte_stream_unittest.cc | 126 byte_stream_output->Read(&output_io_buffer, &output_length)); 130 byte_stream_output->Read(&output_io_buffer, &output_length)); 134 byte_stream_output->Read(&output_io_buffer, &output_length)); 138 byte_stream_output->Read(&output_io_buffer, &output_length)); 142 byte_stream_output->Read(&output_io_buffer, &output_length)); 146 byte_stream_output->Read(&output_io_buffer, &output_length)); 165 byte_stream_output->Read(&output_io_buffer, &output_length)); 171 byte_stream_output->Read(&output_io_buffer, &output_length)); 179 byte_stream_output->Read(&output_io_buffer, &output_length)); 185 byte_stream_output->Read(&output_io_buffer, &output_length)) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherInputStream1Test.java | 70 if ((byte) cis.read() != data[i]) { 75 if (cis.read() != -1) { 81 * read() method testing. Tests that method returns the correct value 90 if ((res = (byte) cis.read()) != data[i]) { 91 fail("read() returned the incorrect value. " + "Expected: " 95 if (cis.read() != -1) { 96 fail("read() should return -1 at the end of the stream."); 101 * read(byte[] b) method testing. Tests that method returns the correct 114 int got = cis.read(result); // the number of got bytes 118 fail("read(byte[] b) returned incorrect data.") [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
LineNumberInputStreamTest.java | 60 lnis.read(); 61 lnis.read(); 63 assertEquals("stream returned incorrect line number after read", 1, 79 assertEquals("Failed to mark", '0', lnis.read()); 83 * @tests java.io.LineNumberInputStream#read() 86 assertEquals("Failed to read correct byte", '0', lnis.read()); 87 assertEquals("Failed to read correct byte on dos text", '0', lnis2 88 .read()); 89 assertTrue("Failed to read correct byte on dos text" [all...] |
CharArrayReaderTest.java | 44 int c = cr.read(); 56 cr.read(); 57 fail("Failed to throw exception on read from closed stream"); 73 cr.read(); 75 assertEquals("Failed to mark correct position", 'W', cr.read()); 87 * @tests java.io.CharArrayReader#read() 91 assertEquals("Read returned incorrect char", 'H', cr.read()); 93 assertTrue("Incorrect double byte char", cr.read() == '\u8765'); 97 * @tests java.io.CharArrayReader#read(char[], int, int [all...] |
ReaderTest.java | 32 mockReader.read(charBuffer); 40 //the charBuffer has the capacity of 0, then there the number of char read 46 int result = mockReader.read(charBuffer); 49 mockReader.read(destBuffer); 61 int result = mockReader.read(charBuffer); 68 mockReader.read(destBuffer); 87 * @tests {@link java.io.Reader#read()} 93 assertEquals("Should be equal to -1", -1, reader.read()); 99 // normal read 102 .read()); 184 public int read(char[] buf, int offset, int count) throws IOException { method in class:ReaderTest.MockReader [all...] |
/external/chromium_org/sandbox/win/src/ |
registry_policy_test.cc | 51 if (wcscmp(argv[1], L"read") == 0) { 98 // Tests read access on key allowed for read-write. 100 L"Reg_OpenKey create read HKEY_LOCAL_MACHINE software\\microsoft")); 103 L"Reg_OpenKey open read HKEY_LOCAL_MACHINE software\\microsoft")); 106 // Tests write access on key allowed for read-write. 115 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey create read " 118 EXPECT_EQ(SBOX_TEST_DENIED, runner.RunTest(L"Reg_OpenKey open read " 131 L"Reg_OpenKey create read HKEY_LOCAL_MACHINE software\\microsoft\\")); 134 L"Reg_OpenKey open read HKEY_LOCAL_MACHINE software\\microsoft\\")) [all...] |
/development/samples/devbytes/telephony/SmsSampleProject/ |
local.properties.sample | 5 # For customization when using a Version Control System, please read the
|
/development/samples/training/bitmapfun/ |
local.properties.sample | 5 # For customization when using a Version Control System, please read the
|
/development/tools/idegen/src/ |
Files.java | 30 int read; local 33 while ((read = in.read(buffer)) > -1) { 34 builder.append(buffer, 0, read);
|
/device/asus/deb/self-extractors/ |
PART1 | 9 read dummy
|
/device/asus/flo/self-extractors/ |
PART1 | 9 read dummy
|
/device/asus/grouper/self-extractors/ |
PART1 | 9 read dummy
|
/device/asus/tilapia/self-extractors/ |
PART1 | 9 read dummy
|
/device/lge/hammerhead/self-extractors/ |
PART1 | 9 read dummy
|
/device/lge/mako/self-extractors/ |
PART1 | 9 read dummy
|
/device/samsung/manta/self-extractors/ |
PART1 | 9 read dummy
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 67 // read some data 68 int c = dis.read(); 81 c = dis.read(); 90 * @tests java.security.DigestInputStream#read() 93 // Test for method int java.security.DigestInputStream.read() 96 // read and compare the data that the inStream has 98 while ((c = dis.read()) > -1) { 99 int d = inStream1.read(); 105 * @tests java.security.DigestInputStream#read(byte[], int, int) 108 // Test for method int java.security.DigestInputStream.read(byte [] [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_ProcessReadWriteTest.java | 32 // read just three lines since EOF isn't working properly. It would 33 // be better to read to the end and echo it all 35 int c = input.read(); 38 c = input.read();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ConstructedOctetStream.java | 20 public int read(byte[] b, int off, int len) throws IOException method in class:ConstructedOctetStream 44 int numRead = _currentStream.read(b, off + totalRead, len - totalRead); 70 public int read() method in class:ConstructedOctetStream 93 int b = _currentStream.read();
|
DefiniteLengthInputStream.java | 42 public int read() method in class:DefiniteLengthInputStream 50 int b = _in.read(); 65 public int read(byte[] buf, int off, int len) method in class:DefiniteLengthInputStream 74 int numRead = _in.read(buf, off, toRead);
|
/external/chromium/chrome/common/extensions/docs/static/ |
experimental.contextMenus.html | 6 You can read all about it at its new home:
|