/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | HlsSampleDecryptor.cpp | 109 size_t offset = VIDEO_CLEAR_LEAD; local 119 uint8_t *encrypted = nalData + offset; 126 offset += AES_BLOCK_SIZE; 133 offset += clearBytes; 152 size_t offset = adtsHdrSize; local 170 offset += AUDIO_CLEAR_LEAD; 181 uint8_t *encrypted = data + offset; 188 offset += encryptedBytes; 225 size_t offset = AUDIO_CLEAR_LEAD; local 237 uint8_t *encrypted = data + offset; [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 223 int offset 233 int offset 241 int offset 248 int offset 263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 266 win, attrib_list, offset); 282 int offset 293 int offset 310 int offset 342 int offset [all...] |
H A D | GLES30.java | 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 363 int offset 381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 393 int offset 412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 425 int offset 456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset ) 467 int offset 486 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset ) 499 int offset 772 glMapBufferRange( int target, int offset, int length, int access ) argument 781 glFlushMappedBufferRange( int target, int offset, int length ) argument 859 glBindBufferRange( int target, int index, int buffer, int offset, int size ) argument 1752 glInvalidateSubFramebuffer( int target, int numAttachments, int[] attachments, int offset, int x, int y, int width, int height ) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/aware/ |
H A D | TlvBufferUtils.java | 164 * @param offset Start copying from the array at the specified offset. 170 public TlvConstructor putByteArray(int type, @Nullable byte[] array, int offset, argument 175 System.arraycopy(array, offset, mArray, mPosition, length); 334 * element where the entry starts at {@link TlvElement#offset}. 339 * The offset to be used into {@link TlvElement#refArray} to access the 342 public int offset; field in class:TlvBufferUtils.TlvElement 344 private TlvElement(int type, int length, @Nullable byte[] refArray, int offset) { argument 348 this.offset = offset; [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 133 uint64_t offset = pTo.getSection().size(); local 142 align->setOffset(offset); 145 offset += align->size(); 154 frag->setOffset(offset); 155 offset += frag->size(); 160 pTo.getSection().setSize(offset); 182 // get initial offset. 183 uint64_t offset = 0; local 185 offset = pSD.back().getOffset() + pSD.back().size(); 194 align->setOffset(offset); [all...] |
/frameworks/av/include/media/ |
H A D | MediaCodecBuffer.h | 50 size_t offset() const; 52 virtual status_t setRange(size_t offset, size_t size);
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Extractor.h | 113 status_t parseChunk(off64_t *offset, int depth); 114 status_t parseITunesMetaData(off64_t offset, size_t size); 115 status_t parseColorInfo(off64_t offset, size_t size); 116 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth); 117 void parseID3v2MetaData(off64_t offset); 137 status_t parseDrmSINF(off64_t *offset, off64_t data_offset); 145 status_t parseAC3SampleEntry(off64_t offset); 146 status_t parseAC3SpecificBox(off64_t offset, uint16_t sampleRate);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | MediaCodecBuffer.h | 50 size_t offset() const; 52 virtual status_t setRange(size_t offset, size_t size);
|
/frameworks/av/media/libstagefright/ |
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, size);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MPEG4Extractor.h | 113 status_t parseChunk(off64_t *offset, int depth); 114 status_t parseITunesMetaData(off64_t offset, size_t size); 115 status_t parseColorInfo(off64_t offset, size_t size); 116 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth); 117 void parseID3v2MetaData(off64_t offset); 137 status_t parseDrmSINF(off64_t *offset, off64_t data_offset); 145 status_t parseAC3SampleEntry(off64_t offset); 146 status_t parseAC3SpecificBox(off64_t offset, uint16_t sampleRate);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.cpp | 58 off64_t offset, void *data, size_t size) { 61 if (offset != mOffset) { 82 return readAt_l(offset, data, size); 85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument 87 return readAt_l(offset, data, size); 90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument 91 if (offset != mOffset) { 124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
|
/frameworks/av/media/libstagefright/include/ |
H A D | MPEG4Extractor.h | 113 status_t parseChunk(off64_t *offset, int depth); 114 status_t parseITunesMetaData(off64_t offset, size_t size); 115 status_t parseColorInfo(off64_t offset, size_t size); 116 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth); 117 void parseID3v2MetaData(off64_t offset); 137 status_t parseDrmSINF(off64_t *offset, off64_t data_offset); 145 status_t parseAC3SampleEntry(off64_t offset); 146 status_t parseAC3SpecificBox(off64_t offset, uint16_t sampleRate);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 69 * {@code offset} within the array. 72 * @param offset The data will be stored in {@code b} beginning at this index 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothGattServerCallback.aidl | 29 void onCharacteristicReadRequest(in String address, in int transId, in int offset, 32 in int offset, in boolean isLong, 34 void onCharacteristicWriteRequest(in String address, in int transId, in int offset, 37 void onDescriptorWriteRequest(in String address, in int transId, in int offset,
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | ColorSpaceTransform.java | 50 /** Numerator offset inside a rational (pair). */ 53 /** Denominator offset inside a rational (pair). */ 153 * {@code offset} 154 * @param offset 155 * a non-negative offset into the array 160 * offset. 162 public void copyElements(Rational[] destination, int offset) { argument 163 checkArgumentNonnegative(offset, "offset must not be negative"); 165 if (destination.length - offset < COUN 197 copyElements(int[] destination, int offset) argument [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 165 * To specify a different offset, use 199 * @param offset the index of the first byte in the buffer to send or receive 206 byte[] buffer, int offset, int length, int timeout) { 207 checkBounds(buffer, offset, length); 209 buffer, offset, length, timeout); 217 * To specify a different offset, use 240 * @param offset the index of the first byte in the buffer to send or receive 247 byte[] buffer, int offset, int length, int timeout) { 248 checkBounds(buffer, offset, length); 249 return native_bulk_request(endpoint.getAddress(), buffer, offset, lengt 205 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument 246 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout) argument 366 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument 368 native_bulk_request(int endpoint, byte[] buffer, int offset, int length, int timeout) argument [all...] |
/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/util/apk/ |
H A D | ZipUtils.java | 49 * @return contents of the ZIP End of Central Directory record and the record's offset in the 72 // the EoCD record offset is known in advance. Try that offset first to avoid unnecessarily 92 * @return contents of the ZIP End of Central Directory record and the record's offset in the 183 * @param zipEndOfCentralDirectoryPosition offset of the ZIP End of Central Directory record 205 * Returns the offset of the start of the ZIP Central Directory in the archive. 217 * Sets the offset of the start of the ZIP Central Directory in the archive. 222 ByteBuffer zipEndOfCentralDirectory, long offset) { 227 offset); 248 private static int getUnsignedInt16(ByteBuffer buffer, int offset) { argument 221 setZipEocdCentralDirectoryOffset( ByteBuffer zipEndOfCentralDirectory, long offset) argument 252 getUnsignedInt32(ByteBuffer buffer, int offset) argument 256 setUnsignedInt32(ByteBuffer buffer, int offset, long value) argument [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 52 int id, ret, offset; local 94 for (offset = 0; offset < desc_length; ) { 95 int count = desc_length - offset; 98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", 99 offset, count, desc_length); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 103 offset += count;
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothPacketEncoder.java | 56 public void onSend(byte[] msg, int offset, int count, long timestamp) 61 byte status = msg[offset]; 111 (msg[offset + count - 1] == MidiConstants.STATUS_END_SYSEX); 124 System.arraycopy(msg, offset, mAccumulationBuffer, mAccumulatedBytes, copy); 126 offset += copy; 155 System.arraycopy(msg, offset + 1, mAccumulationBuffer, mAccumulatedBytes, 188 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 191 mMidiFramer.send(msg, offset, count, timestamp);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | pixelutils.cpp | 24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, 28 uint32* pOutRow = pOutput + offset; 23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GOT.cpp | 55 uint32_t offset = 0; local 57 // setup GOT0 offset 60 frag->setOffset(offset); 61 offset += frag->size(); 64 // push GOTPLT into the SectionData and setup the offset 72 entry->setOffset(offset); 73 offset += entry->size(); 78 // push GOT into the SectionData and setup the offset 86 entry->setOffset(offset); 87 offset [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 52 uint32_t offset = 0; local 54 // setup GOT0 offset 57 frag->setOffset(offset); 58 offset += frag->size(); 61 // push GOTPLT into the SectionData and setup the offset 69 entry->setOffset(offset); 70 offset += entry->size(); 75 // push GOT into the SectionData and setup the offset 83 entry->setOffset(offset); 84 offset [all...] |
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreateWindowSurface.cpp | 4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 18 if (offset < 0) { 21 _exceptionMessage = "offset < 0"; 24 _remaining = _env->GetArrayLength(attrib_list_ref) - offset; 27 attrib_list = attrib_list_base + offset; 77 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) { 97 if (offset < 0) { 100 _exceptionMessage = "offset < 0"; 120 _remaining = _env->GetArrayLength(attrib_list_ref) - offset; 123 attrib_list = attrib_list_base + offset; 3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument 76 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | task.cpp | 91 auto offset = line.find(field); local 94 "Task::GetStatusField: field=\"%s\" line=\"%s\" offset=%zd", 95 field.c_str(), line.c_str(), offset); 97 if (offset == std::string::npos) 102 return Trim(line.substr(offset + field.size() + 1)); 115 auto offset = line.find(":"); local 116 if (offset == std::string::npos) { 122 std::string key = line.substr(0, offset); 123 std::string value = Trim(line.substr(offset + 1));
|