HomeSort by relevance Sort by last modified time
    Searched full:read (Results 751 - 775 of 23242) sorted by null

<<31323334353637383940>>

  /cts/tests/tests/uidisolation/src/android/uidisolation/cts/
PermissionTestService.java 150 Log.e(TAG, "testFileReadAccess: no permission to read test file.");
160 value = fis.read();
162 Log.e(TAG, "testFileReadAccess: failed to read test file, IOException.");
166 Log.e(TAG, "testFileReadAccess: failed to read test file.");
170 Log.e(TAG, "testFileReadAccess: wrong data read from test file.");
175 Log.e(TAG, "testFileReadAccess: failed to read test file, FileNotFoundException.");
231 // Attempt to read some bytes.
233 int value = is.read();
235 Log.e(TAG, "Failed to read byte " + i + " from network connection");
240 Log.e(TAG, "Failed to read from network connection: " + ioe)
    [all...]
  /external/chromium_org/media/audio/
async_socket_io_handler_unittest.cc 18 // of Read operations to complete. Once that number is reached, the current
37 return io_handler.Read(&buffer_[0], sizeof(buffer_));
78 // Tests doing a pending read from a socket and use an IO handler to get
95 // Tests doing a read from a socket when we know that there is data in the
96 // socket. Here we want to make sure that any async 'can read' notifications
114 // We've now verified that the read happened synchronously, but it's not
116 // called asynchronously even though the read may have been done.
124 // Calls Read() from within a callback to test that simple read "loops" work.
135 // Issue sends on an interval to satisfy the Read() requirements
    [all...]
  /external/chromium_org/net/quic/
quic_data_reader.h 20 // you'd like to read fields from, then call one of the Read*() methods to
24 // read and each successive Read*() call automatically increments said iterator
27 // handle the error as appropriate. None of the Read*() methods should ever be
99 // Returns true if the entirety of the underlying buffer has been read via
100 // Read*() calls.
103 // Returns the number of bytes remaining to be read.
107 // Returns true if the underlying buffer has enough room to read the given
111 // To be called when a read fails for any reason
    [all...]
  /external/chromium_org/net/spdy/
spdy_frame_reader.h 19 // you'd like to read fields from, then call one of the Read*() methods to
23 // read and each successive Read*() call automatically increments said iterator
26 // handle the error as appropriate. None of the Read*() methods should ever be
88 // Equivelant to an empty read.
96 // Returns true if the entirety of the underlying buffer has been read via
97 // Read*() calls.
104 // Returns true if the underlying buffer has enough room to read the given
108 // To be called when a read fails for any reason
    [all...]
  /external/libnfc-nci/src/nfc/int/
rw_int.h 51 #define RW_T1_TAG_ATTRB_READ_ONLY 0x03 /* TAG is in READ ONLY state */
52 #define RW_T1_TAG_ATTRB_READ_WRITE 0x04 /* TAG is in READ WRITE state */
62 #define RW_T1T_STATE_READ 0x02 /* waiting rsp for read command sent to tag */
65 #define RW_T1T_STATE_READ_NDEF 0x05 /* performing read NDEF procedure */
67 #define RW_T1T_STATE_SET_TAG_RO 0x07 /* Setting Tag as read only tag */
90 #define RW_T1T_SUBSTATE_WAIT_SET_CC_RWA_RO 0x0C /* waiting for response of setting CC-RWA to read only */
117 tRW_T1T_LOCK_STATUS lock_status; /* Indicates if it is modifed to set tag as Read only */
118 BOOLEAN b_lock_read; /* Is the lock byte is already read from tag */
148 BOOLEAN b_rseg; /* Segment 0 read from tag */
149 BOOLEAN b_hard_lock; /* Hard lock the tag as part of config tag to Read only *
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
HprofBinaryToAscii.java 45 * Reads single file from arguments and attempts to read it as
101 * Read and return an HprofData from a vanilla binary hprof file.
107 return read(inputStream);
114 * Read a file looking for text header terminated by two newlines,
115 * then proceed to read binary hprof data.
122 while ((ch = inputStream.read()) != -1) {
123 if (ch == '\n' && inputStream.read() == '\n') {
124 return read(inputStream);
134 * Read binary hprof data from the provided input stream and
137 private static HprofData read(InputStream inputStream) throws IOException method in class:HprofBinaryToAscii
    [all...]
  /libcore/luni/src/main/java/java/io/
DataInputStream.java 29 * be read include byte, 16-bit short, 32-bit int, 32-bit float, 64-bit long,
41 * reads are then filtered through this stream. Note that data read by this
58 @Override public final int read(byte[] buffer) throws IOException { method in class:DataInputStream
59 return super.read(buffer);
62 @Override public final int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:DataInputStream
63 return in.read(buffer, byteOffset, byteCount);
67 int temp = in.read();
75 int temp = in.read();
116 int nextByte = in.read();
157 int temp = in.read();
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
MultiUserStorageTest.java 81 assertEquals("Failed to read singleton file from API path", uid,
83 assertEquals("Failed to read singleton file from env path", uid,
85 assertEquals("Failed to read singleton file from raw path", uid,
88 assertEquals("Failed to read UID file from API path", uid,
111 assertEquals("Failed to read OBB file from API path", OBB_API_VALUE,
114 assertEquals("Failed to read OBB file from env path", OBB_VALUE,
116 assertEquals("Failed to read OBB file from raw path", OBB_VALUE,
  /cts/suite/audio_quality/test/
TaskTest.cpp 116 android::String8 read; local
122 ASSERT_TRUE(task->findStringAttributePublic(AAA, read));
123 ASSERT_TRUE(read == aaaVal);
124 ASSERT_TRUE(task->findStringAttributePublic(BBB, read));
125 ASSERT_TRUE(read == bbbVal);
128 ASSERT_TRUE(!task->findStringAttributePublic(VERSION, read));
129 ASSERT_TRUE(!task->findStringAttributePublic(NAME, read));
  /cts/tests/tests/net/src/android/net/cts/
LocalSocketTest.java 51 assertEquals(12, serverInStream.read());
57 assertEquals(3, clientInStream.read());
62 assertEquals(32, serverInStream.read());
71 assertEquals(-1, clientInStream.read());
84 assertEquals(-1, serverInStream.read());
98 clientInStream.read();
107 serverInStream.read();
  /development/ndk/platforms/android-3/include/sys/
mount.h 39 #define MS_RDONLY 1 /* Mount read-only */
79 #define BLKROSET _IO(0x12, 93) /* Set device read-only (0 = read-write). */
80 #define BLKROGET _IO(0x12, 94) /* Get read-only status (0 = read_write). */
81 #define BLKRRPART _IO(0x12, 95) /* Re-read partition table. */
84 #define BLKRASET _IO(0x12, 98) /* Set read ahead for block device. */
85 #define BLKRAGET _IO(0x12, 99) /* Get current read ahead setting. */
  /external/chromium_org/chrome/browser/resources/file_manager/js/metadata/
byte_reader.js 67 throw new Error('Invalid read position');
70 throw new Error('Read past end of buffer');
74 * Read as a sequence of characters, returning them as a single string.
77 * same name which side-effects the current read position.
97 * Read as a sequence of characters, returning them as a single string.
100 * same name which side-effects the current read position.
123 * Read as a sequence of UTF16 characters, returning them as a single string.
126 * same name which side-effects the current read position.
168 * Read as a sequence of bytes, returning them as a single base64 encoded
172 * same name which side-effects the current read position
    [all...]
  /external/chromium_org/content/browser/streams/
stream.h 28 // that can be read by an internal consumer. It will continue to pull from the
29 // original URL as long as there is data available. It can be read from
54 // Removes the read observer. |observer| must be the current observer.
70 // |*bytes_read| to the number of bytes actually read.
71 // Returns STREAM_HAS_DATA if data was read, STREAM_EMPTY if no data was read,
72 // and STREAM_COMPLETE if the stream is finalized and all data has been read.
  /external/chromium_org/jingle/glue/
channel_socket_adapter_unittest.cc 67 // Verify that Read() returns net::ERR_IO_PENDING.
68 TEST_F(TransportChannelSocketAdapterTest, Read) {
71 int result = target_->Read(buffer.get(), kBufferSize, callback_);
78 // Verify that Read() after Close() returns error.
82 int result = target_->Read(buffer.get(), kBufferSize, callback_);
88 // All Read() calls after Close() should return the error.
89 EXPECT_EQ(kTestError, target_->Read(buffer.get(), kBufferSize, callback_));
  /external/chromium_org/remoting/protocol/
message_decoder_unittest.cc 58 // by iterating the following array for read sizes.
62 // read pattern.
68 int read = std::min(size - pos, read_sequence[pos % sequence_size]); local
71 scoped_refptr<net::IOBuffer> buffer(new net::IOBuffer(read));
72 memcpy(buffer->data(), test_data + pos, read);
73 decoder.AddData(buffer, read);
84 pos += read;
  /external/chromium_org/third_party/skia/src/xml/
SkBML_XMLParser.cpp 18 SkDEBUGCODE(size_t size = ) s.read(&b, 1);
52 s.read(array[index], size);
164 void BML_XMLParser::Read(SkStream& s, SkXMLWriter& writer)
171 void BML_XMLParser::Read(SkStream& s, SkWStream& output)
174 Read(s, writer);
177 void BML_XMLParser::Read(SkStream& s, SkXMLParser& output)
180 Read(s, writer);
  /external/clang/test/Analysis/
dead-stores.c 7 long idx=abc+3*5; // expected-warning {{never read}} expected-warning{{unused variable 'idx'}}
12 char *d = b+1; // expected-warning {{never read}} expected-warning{{unused variable 'd'}}
34 k = 2; // expected-warning {{never read}}
40 int *p = &x; // expected-warning{{never read}} expected-warning{{unused variable 'p'}}
87 x = x + 10; // expected-warning{{never read}}
93 x = 10 + x; // expected-warning{{never read}}
99 return x++; // expected-warning{{never read}}
173 x = 10; // expected-warning{{Value stored to 'x' is never read}}
175 x = 10; // expected-warning{{Value stored to 'x' is never read}}
191 x = 10; // expected-warning{{Value stored to 'x' is never read}}
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
CipherInputStream.java 45 input_buffer_size = bi.read(input_buffer, 0, BUFF_SIZE);
90 throw new IOException("Cannot read full block, EOF reached.");
106 public int read(byte[] dst) throws IOException method in class:CipherInputStream
108 return read(dst, 0, dst.length);
111 public int read(byte[] dst, int off, int len) throws IOException method in class:CipherInputStream
133 public int read() throws IOException method in class:CipherInputStream
146 throw new IOException("Cannot read plain since crypto buffer is not aligned.");
  /external/proguard/src/proguard/obfuscate/
DictionaryNameFactory.java 27 * This <code>NameFactory</code> generates names that are read from a
46 * @param file the file from which the names can be read.
48 * if the list of read names has been exhausted.
64 // Read the next character.
65 int c = reader.read();
99 c = reader.read();
127 * retrieved if the list of read names has been
  /external/skia/src/xml/
SkBML_XMLParser.cpp 18 SkDEBUGCODE(size_t size = ) s.read(&b, 1);
52 s.read(array[index], size);
164 void BML_XMLParser::Read(SkStream& s, SkXMLWriter& writer)
171 void BML_XMLParser::Read(SkStream& s, SkWStream& output)
174 Read(s, writer);
177 void BML_XMLParser::Read(SkStream& s, SkXMLParser& output)
180 Read(s, writer);
  /external/valgrind/main/memcheck/tests/
big_blocks_freed_list.stderr.exp 2 Invalid read of size 1
8 Invalid read of size 1
14 Invalid read of size 1
18 Invalid read of size 1
24 Invalid read of size 1
30 Invalid read of size 1
36 Invalid read of size 1
  /frameworks/av/camera/camera2/
CaptureRequest.cpp 41 ALOGE("%s: Failed to read metadata from parcel", __FUNCTION__);
44 ALOGV("%s: Read metadata from parcel", __FUNCTION__);
48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
58 ALOGV("%s: Read surface class = %s", __FUNCTION__,
67 ALOGV("%s: Read surface name = %s",
70 ALOGV("%s: Read surface binder = %p",
  /frameworks/base/media/java/android/media/
AmrInputStream.java 51 // helper for bytewise read()
65 public int read() throws IOException { method in class:AmrInputStream
66 int rtn = read(mOneByte, 0, 1);
71 public int read(byte[] b) throws IOException { method in class:AmrInputStream
72 return read(b, 0, b.length);
76 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream
87 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
CountedDataInputStream.java 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream
45 int r = in.read(b);
51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream
52 int r = in.read(b, off, len);
58 public int read() throws IOException { method in class:CountedDataInputStream
59 int r = in.read();
83 int r = read(b, off, len);
  /frameworks/compile/mclinker/include/mcld/LD/
ELFReaderIf.h 65 /// readSectionHeaders - read ELF section header table and create LDSections
68 /// readRegularSection - read a regular section and create fragments.
71 /// readSymbols - read ELF symbols and create LDSymbol
77 /// readSignature - read a symbol from the given Input and index in symtab
83 /// readRela - read ELF rela and create Relocation
88 /// readRel - read ELF rel and create Relocation
93 /// readDynamic - read ELF .dynamic in input dynobj

Completed in 661 milliseconds

<<31323334353637383940>>