/frameworks/base/media/java/android/media/ |
H A D | DataSource.java | 30 * @param offset where in the source to read 35 public int readAt(long offset, byte[] buffer, int size); argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCharacteristic.java | 435 * characteristic value at the given offset are interpreted to generate the 440 * @param offset Offset at which the integer value can be found. 441 * @return Cached value of the characteristic or null of offset exceeds 444 public Integer getIntValue(int formatType, int offset) { argument 445 if ((offset + getTypeLen(formatType)) > mValue.length) return null; 449 return unsignedByteToInt(mValue[offset]); 452 return unsignedBytesToInt(mValue[offset], mValue[offset+1]); 455 return unsignedBytesToInt(mValue[offset], mValue[offset 482 getFloatValue(int formatType, int offset) argument 504 getStringValue(int offset) argument 537 setValue(int value, int formatType, int offset) argument 584 setValue(int mantissa, int exponent, int formatType, int offset) argument [all...] |
H A D | BluetoothGattServerCallback.java | 57 * @param offset Offset into the value of the characteristic 61 int offset, BluetoothGattCharacteristic characteristic) { 76 * @param offset The offset given for the value 82 int offset, byte[] value) { 93 * @param offset Offset into the value of the characteristic 97 int offset, BluetoothGattDescriptor descriptor) { 112 * @param offset The offset given for the value 118 int offset, byt 60 onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) argument 79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument 115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument [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;
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | IHdmiMhlVendorCommandListener.aidl | 25 void onReceived(int portId, int offset, int length, in byte[] data);
|
/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/av/media/libstagefright/ |
H A D | XINGSeeker.cpp | 86 int offset = first_frame_pos; local 87 if (source->readAt(offset, &buffer, 4) < 4) { // get header 90 offset += 4; 105 // determine offset of XING header 107 if (num_channels != 1) offset += 32; 108 else offset += 17; 110 if (num_channels != 1) offset += 17; 111 else offset += 9; 114 int xingbase = offset; 116 if (source->readAt(offset, [all...] |
H A D | FileSource.cpp | 46 FileSource::FileSource(int fd, int64_t offset, int64_t length) argument 48 mOffset(offset), 55 CHECK(offset >= 0); 87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument 95 if (offset >= mLength) { 98 int64_t numAvailable = mLength - offset; 106 return readAtDRM(offset, data, size); 108 off64_t result = lseek64(mFd, offset + mOffset, SEEK_SET); 110 ALOGE("seek to %lld failed", offset + mOffset); 158 ssize_t FileSource::readAtDRM(off64_t offset, voi argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; 98 uint32_t MtpPacket::getUInt32(int offset) const { 99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) | 100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset]; 103 void MtpPacket::putUInt16(int offset, uint16_t value) { argument 104 mBuffer[offset 108 putUInt32(int offset, uint32_t value) argument 148 int offset = MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t); local [all...] |
H A D | MtpPacket.h | 64 uint16_t getUInt16(int offset) const; 65 uint32_t getUInt32(int offset) const; 66 void putUInt16(int offset, uint16_t value); 67 void putUInt32(int offset, uint32_t value);
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
H A D | eglCreateWindowSurface.java | 8 int offset 16 int offset 23 int offset 38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 41 win, attrib_list, offset);
|
/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/native/opengl/libagl/ |
H A D | mipmap.cpp | 62 size_t offset = (y*2) * bs; local 64 uint32_t p00 = src[offset]; 65 uint32_t p10 = src[offset+1]; 66 uint32_t p01 = src[offset+bs]; 67 uint32_t p11 = src[offset+bs+1]; 75 offset += 2; 84 size_t offset = (y*2) * bs; local 86 uint32_t p00 = src[offset]; 87 uint32_t p10 = src[offset+1]; 88 uint32_t p01 = src[offset 104 size_t offset = (y*2) * bs; local 142 size_t offset = (y*2) * bs; local 160 size_t offset = (y*2) * bs; local [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ChildHelper.java | 73 final int offset; 75 offset = mCallback.getChildCount(); 77 offset = getOffset(index); 79 mCallback.addView(child, offset); 80 mBucket.insert(offset, hidden); 94 int offset = index; 95 while (offset < limit) { 96 final int removedBefore = mBucket.countOnesBefore(offset); 97 final int diff = index - (offset - removedBefore); 99 while (mBucket.get(offset)) { // ensur 477 getChildAt(int offset) argument 485 detachViewFromParent(int offset) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccUtils.java | 43 bcdToString(byte[] data, int offset, int length) { argument 46 for (int i = offset ; i < offset + length ; i++) { 68 cdmaBcdToString(byte[] data, int offset, int length) { argument 72 for (int i = offset; count < length; i++) { 167 * remaining seven bits are an offset value added to the 176 adnStringFieldToString(byte[] data, int offset, int length) { argument 181 if (data[offset] == (byte) 0x80) { 186 ret = new String(data, offset + 1, ucslen * 2, "utf-16be"); 208 if (length >= 3 && data[offset] 339 networkNameToString(byte[] data, int offset, int length) argument 510 getCLUT(byte[] rawData, int offset, int number) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccUtils.java | 43 bcdToString(byte[] data, int offset, int length) { argument 46 for (int i = offset ; i < offset + length ; i++) { 68 cdmaBcdToString(byte[] data, int offset, int length) { argument 72 for (int i = offset; count < length; i++) { 167 * remaining seven bits are an offset value added to the 176 adnStringFieldToString(byte[] data, int offset, int length) { argument 181 if (data[offset] == (byte) 0x80) { 186 ret = new String(data, offset + 1, ucslen * 2, "utf-16be"); 208 if (length >= 3 && data[offset] 339 networkNameToString(byte[] data, int offset, int length) argument 510 getCLUT(byte[] rawData, int offset, int number) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 127 pos1 = ((index & mask) + offset); 145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 154 /* pos1 = (((index >> N) & mask) + offset); */ 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ 192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 205 j = offset; 219 dec_1p_N1(idx, N, offset, po 229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument 316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument 350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument [all...] |
H A D | isp_isf.cpp | 154 int16 i, ind, offset; local 166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */ 168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */ 170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
|
/frameworks/minikin/libs/minikin/ |
H A D | AnalyzeStyle.cpp | 25 static int32_t readU16(const uint8_t* data, size_t offset) { argument 26 return data[offset] << 8 | data[offset + 1];
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 114 // if (false) Log.d(TAG, "clock offset: " + clockOffset + " ms"); 162 * Reads an unsigned 32 bit big endian number from the given offset in the buffer. 164 private long read32(byte[] buffer, int offset) { argument 165 byte b0 = buffer[offset]; 166 byte b1 = buffer[offset+1]; 167 byte b2 = buffer[offset+2]; 168 byte b3 = buffer[offset+3]; 180 * Reads the NTP time stamp at the given offset in the buffer and returns 183 private long readTimeStamp(byte[] buffer, int offset) { argument 184 long seconds = read32(buffer, offset); 193 writeTimeStamp(byte[] buffer, int offset, long time) argument [all...] |
/frameworks/av/drm/common/ |
H A D | DrmConvertedStatus.cpp | 25 offset(_offset) {
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 65 * @param offset The offset into {@code buffer} where the audio data starts. 71 public int audioAvailable(byte[] buffer, int offset, int length); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 51 public int[] following(int offset) { argument 56 if (offset >= mText.length()) { 60 if (offset < 0) { 63 final int currentLine = mLayout.getLineForOffset(offset); 64 if (getLineEdgeIndex(currentLine, DIRECTION_START) == offset) { 79 public int[] preceding(int offset) { argument 84 if (offset <= 0) { 88 if (offset > mText.length()) { 91 final int currentLine = mLayout.getLineForOffset(offset); 92 if (getLineEdgeIndex(currentLine, DIRECTION_END) + 1 == offset) { 136 following(int offset) argument 165 preceding(int offset) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ |
H A D | GOT.cpp | 35 uint32_t offset = 0; local 38 frag->setOffset(offset); 39 offset += frag->size(); 42 m_Section.setSize(offset);
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86PLT.cpp | 114 uint32_t offset = 0; local 117 frag->setOffset(offset); 118 offset += frag->size(); 171 uint32_t *offset = reinterpret_cast<uint32_t*>(data + 2); local 172 *offset = m_GOTPLT.addr() + 4; 173 offset = reinterpret_cast<uint32_t*>(data + 8); 174 *offset = m_GOTPLT.addr() + 8; 214 uint32_t* offset; local 216 offset = reinterpret_cast<uint32_t*>(data + 2); 217 *offset 257 uint32_t *offset = reinterpret_cast<uint32_t*>(data + 2); local 304 uint32_t* offset; local [all...] |