Searched defs:offset (Results 51 - 75 of 644) sorted by relevance

1234567891011>>

/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { argument
53 char c = buf[offset + i];
/frameworks/wilhelm/src/android/
H A Dandroid_AudioToCbRenderer.cpp66 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 DFwdLockEngine.h288 * 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 DAesCtrDecryptor.cpp39 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 DCryptoPlugin.cpp46 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 DABuffer.h40 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 DEndianUtils.cpp48 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 Dpvmp3_seek_synch.cpp208 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 DResultStorageDescriptor.java50 * @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 DBlackLevelPattern.java35 * 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 DSynthesisCallback.java85 * @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 DLogWriter.java64 @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 DCorrectionInfo.java33 * @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 DMidiFramer.java48 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 DDrmOutputStream.java72 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 DArrayUtils.java58 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 Dandroid_media_MediaDataSource.cpp72 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 Djni_vertex_frame.cpp72 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 DPrivateInputStream.java106 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 DPrivateOutputStream.java97 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 DMtpFileWriter.java52 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 DGLES20IdImpl.java19 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 DPinnerService.java80 // 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 DIpUtilsTest.java37 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 DUsbAccessoryBulkTransport.java55 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);

Completed in 836 milliseconds

1234567891011>>