/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 141 public int read(byte[] buf, int offset, int length) throws IOException { method in class:UlawEncoderInputStream 146 int n = mIn.read(mBuf, mBufCount, Math.min(length * 2, mBuf.length - mBufCount)); 163 public int read(byte[] buf) throws IOException { method in class:UlawEncoderInputStream 164 return read(buf, 0, buf.length); 168 public int read() throws IOException { method in class:UlawEncoderInputStream 169 int n = read(mOneByte, 0, 1);
|
H A D | WaveHeader.java | 177 * @param in {@link java.io.InputStream} to read from. 181 public int read(InputStream in) throws IOException { method in class:WaveHeader 212 if (id.charAt(i) != in.read()) throw new IOException( id + " tag not present"); 217 return in.read() | (in.read() << 8) | (in.read() << 16) | (in.read() << 24); 221 return (short)(in.read() | (in.read() << 8));
|
H A D | MicrophoneInputStream.java | 57 public int read() throws IOException { method in class:MicrophoneInputStream 64 public int read(byte[] b) throws IOException { method in class:MicrophoneInputStream 70 public int read(byte[] b, int offset, int length) throws IOException { method in class:MicrophoneInputStream
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.cpp | 31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { function in class:AssetStreamAdaptor 53 amount = fAsset->read(buffer, size); 55 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
|
/frameworks/av/include/media/nbaio/ |
H A D | LibsndfileSource.h | 46 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/mtp/ |
H A D | MtpDeviceInfo.h | 47 void read(MtpDataPacket& packet);
|
H A D | MtpStorageInfo.h | 42 void read(MtpDataPacket& packet);
|
/frameworks/compile/linkloader/include/ |
H A D | ELFSectionStrTab.h | 39 static ELFSectionStrTab *read(Archiver &AR, ELFSectionHeaderTy const *sh);
|
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFSectionNoBits.hxx | 32 ELFSectionNoBits<Bitwidth>::read(Archiver &AR, ELFSectionHeaderTy const *sh) { function in class:ELFSectionNoBits
|
/frameworks/rs/ |
H A D | rsFifo.h | 40 size_t virtual read(void *data, size_t bytes, bool doWait = true, uint64_t timeToWait = 0) = 0;
|
H A D | rsThreadIO.cpp | 76 //ALOGV("core read %p %i", data, (int)len); 77 mToCore.read(data, len); 138 r = mToCore.read(&buf[0], sizeof(CoreCmdHeader)); 139 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes); 145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); 188 mToClient.read(&mLastClientHeader, sizeof(mLastClientHeader)); 205 mToClient.read(data, receiveLen[0]);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsFifo.h | 40 size_t virtual read(void *data, size_t bytes, bool doWait = true, uint64_t timeToWait = 0) = 0;
|
H A D | rsThreadIO.cpp | 76 //ALOGV("core read %p %i", data, (int)len); 77 mToCore.read(data, len); 138 r = mToCore.read(&buf[0], sizeof(CoreCmdHeader)); 139 mToCore.read(&buf[sizeof(CoreCmdHeader)], cmd->bytes); 145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); 188 mToClient.read(&mLastClientHeader, sizeof(mLastClientHeader)); 205 mToClient.read(data, receiveLen[0]);
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 54 * Creates an input stream for the <code>Operation</code> to read from 65 * Returns the number of bytes that can be read (or skipped over) from this 69 * @return the number of bytes that can be read from this input stream 85 * @return the byte read from the input stream or -1 if it reaches the end of 90 public synchronized int read() throws IOException { method in class:PrivateInputStream 101 public int read(byte[] b) throws IOException { method in class:PrivateInputStream 102 return read(b, 0, b.length); 106 public synchronized int read(byte[] b, int offset, int length) throws IOException { method in class:PrivateInputStream
|
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...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) { 51 readCount = is.read(buffer, 0, buffer.length); 55 readCount = is.read(buffer, buffer.length, 0);
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | WaveformData.java | 83 audioGraphFileReadHandle.read(tempFrameDuration, 0, 4); 98 audioGraphFileReadHandle.read(tempFramesCount, 0, 4); 111 mGains[i] = (short)audioGraphFileReadHandle.read();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 39 /** Flag when last read token finished current line. */ 50 // read enough to answer hasMoreData 63 final int read = mStream.read(mBuffer, mTail, length); 64 if (read != -1) { 65 mTail += read; 67 return read; 75 // TODO: consider moving to read pointer, but for now traceview says
|
/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/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 30 * opened FileDescriptor that can be used to read the data, as well as the 77 * Returns the FileDescriptor that can be used to read the data in the 114 * should be read to the end of the file. 188 public int read() throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 190 int result = read(buffer, 0, 1); 195 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 208 public int read(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseInputStream 209 return read(buffe [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | LimitedLengthInputStreamTest.java | 89 assertEquals(length, is.read(temp, 0, temp.length)); 94 assertEquals(-1, is.read(temp, 0, temp.length)); 124 assertEquals(TEST_STRING1.length, is.read(temp, 0, TEST_STRING1.length + 10)); 139 assertEquals(length, is.read(temp)); 144 assertEquals(-1, is.read(temp)); 171 assertEquals(TEST_STRING1[offset + i], is.read()); 174 assertEquals(-1, is.read());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 558 * extended with byte-wise reversed endianness read/write 952 int paramBits = inStream.read(8) * 8; 956 bData.messageType = inStream.read(4); 957 bData.messageId = inStream.read(8) << 8; 958 bData.messageId |= inStream.read(8); 959 bData.hasUserDataHeader = (inStream.read(1) == 1); 974 int paramBits = inStream.read(8) * 8; 976 bData.userData.msgEncoding = inStream.read(5); 982 bData.userData.msgType = inStream.read(8); 985 bData.userData.numFields = inStream.read( [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/native/include/private/gui/ |
H A D | LayerState.h | 65 status_t read(const Parcel& input); 87 // non POD must be last. see write/read 95 status_t read(const Parcel& input); 123 status_t read(const Parcel& input);
|