/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 128 * @param len the length of raw data can be read. 192 * Get one InputStream object to read decrypted content. 301 * @see java.io.InputStream#read() 303 public int read() throws IOException { method in class:DrmRawContent.DrmInputStream 306 res = read(b, 0, 1); 315 * @see java.io.InputStream#read(byte) 317 public int read(byte[] b) throws IOException { method in class:DrmRawContent.DrmInputStream 318 return read(b, 0, b.length); 322 * @see java.io.InputStream#read(byte, int, int) 324 public int read(byt method in class:DrmRawContent.DrmInputStream [all...] |
/frameworks/base/obex/javax/obex/ |
H A D | ServerSession.java | 94 int requestType = mInput.read(); 130 * just going to read the packet and send a not implemented 133 int length = mInput.read(); 134 length = (length << 8) + mInput.read(); 136 mInput.read(); 151 * Handles a ABORT request from a client. This method will read the rest of 164 int length = mInput.read(); 165 length = (length << 8) + mInput.read(); 170 mInput.read(); 278 * Handles a SETPATH request from a client. This method will read th [all...] |
H A D | ClientSession.java | 435 header.responseCode = mInput.read(); 437 int length = ((mInput.read() << 8) | (mInput.read())); 446 int version = mInput.read(); 448 int flags = mInput.read(); 449 maxPacketSize = (mInput.read() << 8) + mInput.read(); 459 bytesReceived = mInput.read(data); 461 bytesReceived += mInput.read(data, bytesReceived, data.length 469 bytesReceived = mInput.read(dat [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64InputStream.java | 24 * An InputStream that does Base64 decoding on the data read through 39 * An InputStream that performs Base64 decoding on the data read 42 * @param in the InputStream to read the source data from 51 * Performs Base64 encoding or decoding on the data read from the 54 * @param in the InputStream to read the source data from 108 public int read() throws IOException { method in class:Base64InputStream 119 public int read(byte[] b, int off, int len) throws IOException { method in class:Base64InputStream 139 int bytesRead = in.read(inputBuffer);
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
H A D | AdbUtils.java | 94 int read = is.read(buf); 95 if(read != ADB_RESPONSE_SIZE || !ADB_OK.equals(new String(buf))) { 107 * read from as if it is directly connected to the target
|
/frameworks/base/cmds/bugreport/ |
H A D | bugreport.c | 48 int length = read(s, buffer, sizeof(buffer));
|
/frameworks/base/cmds/stagefright/ |
H A D | SineSource.h | 19 virtual status_t read(
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.h | 33 virtual size_t read(void* buffer, size_t size);
|
/frameworks/base/include/gui/ |
H A D | SensorChannel.h | 41 ssize_t read(void* vaddr, size_t size);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 20 * An object that provides bitwise incremental read access to a byte array. 29 // The byte array being read from. 71 * @param bits the amount of data to read (gte 0, lte 8) 72 * @return byte of read data (possibly partially filled, from lsb) 74 public int read(int bits) throws AccessException { method in class:BitwiseInputStream 78 throw new AccessException("illegal read " + 92 * @param bits the amount of data to read 93 * @return newly allocated byte array of read data 100 arr[i] = (byte)(read(increment) << (8 - increment));
|
/frameworks/base/libs/gui/ |
H A D | SensorChannel.cpp | 73 ssize_t SensorChannel::read(void* vaddr, size_t size) function in class:android::SensorChannel 75 ssize_t len = ::read(mReceiveFd, vaddr, size);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | LineNumberReaderTest.java | 43 assertEquals(str, IOUtil.read(a)); 53 assertEquals("AbCdEfGhIj", IOUtil.read(b, 10));
|
H A D | ZipFileTest.java | 150 totalLen1 = stream1.read(buf); 151 assertTrue("initial read failed on #1", totalLen1 >= 0); 156 totalLen2 = stream2.read(buf); 157 assertTrue("initial read failed on #2", totalLen2 >= 0); 164 while ((len = stream1.read(buf)) > 0) { 173 while ((len = stream2.read(buf)) > 0) { 186 * be read after this point. 192 stream1.read(buf);
|
H A D | TestWebServer.java | 431 * Utility method to read a line of data from the input stream 432 * @param is Inputstream to read 433 * @return number of bytes read 437 int read = 0; 443 int data = is.read(); 450 buf[read] = (byte)data; 455 if (buf[read++]==(byte)'\n') { 457 return read; 464 return read; 469 * @param is Stream from which to read dat [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 499 * extended with byte-wise reversed endianness read/write 875 int paramBits = inStream.read(8) * 8; 879 bData.messageType = inStream.read(4); 880 bData.messageId = inStream.read(8) << 8; 881 bData.messageId |= inStream.read(8); 882 bData.hasUserDataHeader = (inStream.read(1) == 1); 897 int paramBits = inStream.read(8) * 8; 899 bData.userData.msgEncoding = inStream.read(5); 905 bData.userData.msgType = inStream.read(8); 908 bData.userData.numFields = inStream.read( [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | Texture.java | 49 return is.read() | (is.read() << 8); 63 int nread = is.read(arr, idx, nbytes - idx);
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 140 while ((bytesRead = inputStream.read(buffer)) >= 0) { 170 * @param file to read (will not seek, so things like /proc files are OK) 180 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 183 int length = input.read(data); 196 len = input.read(data); 208 } else { // "cat" mode: size unknown, read it all in streaming fashion 213 len = input.read(data);
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | SSLTest.java | 47 // System.out.println("going for read..."); 48 int ret = in.read(b);
|
/frameworks/base/include/media/stagefright/ |
H A D | JPEGSource.h | 35 virtual status_t read(
|
H A D | ShoutcastSource.h | 40 virtual status_t read(
|
/frameworks/base/include/utils/ |
H A D | StreamingZipInflater.h | 39 // read 'count' bytes of uncompressed data from the current position. outBuf may 41 ssize_t read(void* outBuf, size_t count);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 177 if ((code = in.read()) != NO_ERROR) { 187 if ((i = in.read()) == -1) { 190 if ((j = in.read()) == -1) { 195 if ((j = in.read(value, i, value.length - i)) == -1) {
|
/frameworks/base/libs/utils/ |
H A D | StreamingZipInflater.cpp | 97 mInflateState.avail_in = 0; // set when a chunk is read in 112 * a. if there is no input data to decode, read some into the input buffer 117 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { function in class:StreamingZipInflater 135 // if we don't have any data to decode, read some in. If we're working 175 // not try to read any further, so just wind things up. 194 ssize_t didRead = ::read(mFd, mInBuf, toRead); 220 read(NULL, absoluteInputPosition); 222 read(NULL, absoluteInputPosition - mOutCurPosition);
|
/frameworks/base/libs/utils/tests/ |
H A D | TestHelpers.h | 54 ssize_t nRead = ::read(receiveFd, buf, 1);
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.h | 57 const SoundPoolMsg read();
|