/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 53 char c = buf[offset + i];
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioToCbRenderer.cpp | 66 size_t offset = 0; local 67 while (offset < full) { 70 + offset + mDecodeBuffer->range_offset(), 71 mDecodeBuffer->range_length() - offset, 73 offset += consumed; 74 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 288 * the output converted data and offset. In this case the 289 * application will ignore the offset information. 298 * the entire data used over a conversion session. This signature must be copied to the offset 305 * the application about the file offset at which this 326 * @param offset Start position of the content 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 457 * @param offset Offset with which to update the file position. 467 off64_t offset, 472 off_t offset, 535 off_t offset; member in class:android::FwdLockEngine::DecodeSession [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | AesCtrDecryptor.cpp | 39 size_t offset = 0; local 49 memcpy(destination + offset, source + offset, 51 offset += subSample.mNumBytesOfClearData; 55 AES_ctr128_encrypt(source + offset, destination + offset, 59 offset += subSample.mNumBytesOfEncryptedData; 63 *bytesDecryptedOut = offset;
|
H A D | CryptoPlugin.cpp | 46 size_t offset = 0; local 58 memcpy(reinterpret_cast<uint8_t*>(dstPtr) + offset, 59 reinterpret_cast<const uint8_t*>(srcPtr) + offset, 61 offset += subSample.mNumBytesOfClearData; 64 return static_cast<ssize_t>(offset);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 40 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer 42 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/img_utils/src/ |
H A D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 50 if((res = mOutput->write(buf, offset, count)) == OK) { 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument 57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count); 61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \ 62 return writeHelper<_type_>(buf, offset, count); \ 72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument 74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count); 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument 79 return writeHelper<uint64_t>(reinterpret_cast<const uint64_t*>(buf), offset, coun [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_seek_synch.cpp | 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local 210 offset >>= INBUF_ARRAY_INDEX_SHIFT; 211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | ResultStorageDescriptor.java | 50 * @param offset Offset from start of the advertise packet payload. 53 public ResultStorageDescriptor(int type, int offset, int length) { argument 55 mOffset = offset;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | BlackLevelPattern.java | 35 * Create a new {@link BlackLevelPattern} from a given offset array. 37 * <p>The given offset array must contain offsets for each color channel in 58 * Return the color channel offset for a given index into the array of raw pixel values. 62 * @return a color channel offset. 79 * {@code offset} 80 * @param offset a non-negative offset into the array 82 * @throws IllegalArgumentException if the offset is invalid. 86 public void copyTo(int[] destination, int offset) { argument 88 if (offset < [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 85 * @param offset The offset into {@code buffer} where the audio data starts. 91 public int audioAvailable(byte[] buffer, int offset, int length); argument
|
/frameworks/base/core/java/android/util/ |
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 66 char c = buf[offset + i];
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | CorrectionInfo.java | 33 * @param offset The offset in the edited text where the old and new text start. 37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { argument 38 mOffset = offset; 50 * Return the offset position of this correction in the text. Both the {@link #getOldText()} and 51 * {@link #getNewText()} start at this offset.
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiFramer.java | 48 public static String formatMidiData(byte[] data, int offset, int count) { argument 49 String text = "MIDI+" + offset + " : "; 51 text += String.format("0x%02X, ", data[offset + i]); 60 public void onSend(byte[] data, int offset, int count, long timestamp) argument 62 int sysExStartOffset = (mInSysEx ? offset : -1); 65 final byte currentByte = data[offset]; 76 sysExStartOffset = offset; 81 offset - sysExStartOffset + 1, timestamp); 95 offset - sysExStartOffset, timestamp); 96 sysExStartOffset = offset [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 72 Os.lseek(mFd, status.offset, SEEK_SET); 93 public void write(byte[] buffer, int offset, int count) throws IOException { argument 94 Arrays.checkOffsetAndCount(buffer.length, offset, count); 101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | ArrayUtils.java | 58 public static byte[] subarray(byte[] arr, int offset, int len) { argument 62 if ((offset == 0) && (len == arr.length)) { 66 System.arraycopy(arr, offset, result, 0, len);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDataSource.cpp | 72 ssize_t JMediaDataSource::readAt(off64_t offset, size_t size) { argument 84 (jlong)offset, mByteArrayObj, (jint)0, (jint)size); 108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_vertex_frame.cpp | 72 jint offset, 78 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), 69 Java_android_filterfw_core_VertexFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 106 public synchronized int read(byte[] b, int offset, int length) throws IOException { argument 111 if ((offset | length) < 0 || length > b.length - offset) { 118 int offset1 = offset;
|
H A D | PrivateOutputStream.java | 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument 98 int offset1 = offset; 104 if ((offset | count) < 0 || count > buffer.length - offset) {
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpFileWriter.java | 52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException { argument 53 Preconditions.checkArgumentNonnegative(offset, "offset"); 60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20IdImpl.java | 19 public void glGenBuffers(int n, int[] buffers, int offset) { argument 20 GLES20.glGenBuffers(n, buffers, offset); 25 public void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { argument 26 GLES20.glDeleteTextures(n, textures, offset); 32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument 33 GLES20.glDeleteBuffers(n, buffers, offset); 38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument 39 GLES20.glDeleteFramebuffers(n, buffers, offset);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PinnerService.java | 80 // mlock length bytes of fileToPin in memory, starting at offset 81 // length == 0 means pin from offset to end of file 82 private boolean pinFile(String fileToPin, long offset, long length) { argument 89 if (offset + length > sb.st_size) { 95 length = sb.st_size - offset; 98 long address = Os.mmap(0, length, OsConstants.PROT_READ, OsConstants.MAP_PRIVATE, fd, offset);
|
/frameworks/base/services/tests/servicestests/src/android/net/ |
H A D | IpUtilsTest.java | 37 private int getUnsignedByte(ByteBuffer buf, int offset) { argument 38 return buf.get(offset) & 0xff; 41 private int getChecksum(ByteBuffer buf, int offset) { argument 42 return getUnsignedByte(buf, offset) * 256 + getUnsignedByte(buf, offset + 1);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument 59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1); 63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument 68 buffer, offset, count, TIMEOUT_MILLIS);
|