/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 135 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument 137 ALOGV("setDataSource fd=%d (%s), offset=%lld, length=%lld", 138 fd, nameForFd(fd).c_str(), (long long) offset, (long long) length); 152 if (offset >= sb.st_size) { 153 ALOGE("offset (%lld) bigger than file size (%llu)", 154 (long long)offset, (unsigned long long)sb.st_size); 157 if (offset + length > sb.st_size) { 158 length = sb.st_size - offset; 165 offset, 172 status_t status = p->setDataSource(fd, offset, lengt [all...] |
/frameworks/av/media/libstagefright/ |
H A D | DataSource.cpp | 55 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { argument 59 if (readAt(offset, byte, 2) != 2) { 68 bool DataSource::getUInt24(off64_t offset, uint32_t *x) { argument 72 if (readAt(offset, byte, 3) != 3) { 81 bool DataSource::getUInt32(off64_t offset, uint32_t *x) { argument 85 if (readAt(offset, &tmp, 4) != 4) { 94 bool DataSource::getUInt64(off64_t offset, uint64_t *x) { argument 98 if (readAt(offset, &tmp, 8) != 8) {
|
/frameworks/av/media/libstagefright/include/ |
H A D | ID3.h | 38 ID3(const sp<DataSource> &source, bool ignoreV1 = false, off64_t offset = 0); 89 bool parseV2(const sp<DataSource> &source, off64_t offset);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothGattServerCallback.aidl | 33 in int offset, in boolean isLong, 38 in int offset, in boolean isLong, 44 in int offset, in int length, 52 in int offset, in int length,
|
/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/net/ |
H A D | NetworkUtils.java | 227 int offset = prefixLength / 8; 231 if (offset < array.length) array[offset] = (byte)(array[offset] & mask); 233 offset++; 235 for (; offset < array.length; offset++) { 236 array[offset] = 0;
|
/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/android/widget/ |
H A D | ScrollBarDrawable.java | 102 public void setParameters(int range, int offset, int extent, boolean vertical) { argument 109 if (mRange != range || mOffset != offset || mExtent != extent) { 111 mOffset = offset; 202 private void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument 208 thumb.setBounds(bounds.left, bounds.top + offset, 209 bounds.right, bounds.top + offset + length); 218 thumb.setBounds(bounds.left + offset, bounds.top, 219 bounds.left + offset + length, bounds.bottom); 382 return "ScrollBarDrawable: range=" + mRange + " offset=" + mOffset +
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiConstants.java | 84 * @param offset 88 public static boolean isAllActiveSensing(byte[] msg, int offset, argument 93 byte b = msg[offset + i];
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | IfdData.java | 109 * Sets the offset of next IFD. 111 protected void setOffsetToNextIfd(int offset) { argument 112 mOffsetToNextIfd = offset; 116 * Gets the offset of next IFD. 124 * IFDs offset or thumbnail offset will be ignored.
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
H A D | Bpf2Apf.java | 109 int offset = Integer.parseInt(arg.substring(5, arg.length() - 1)); 113 gen.addLoad32Indexed(dest, offset); 117 gen.addLoad16Indexed(dest, offset); 121 gen.addLoad8Indexed(dest, offset); 125 int offset = Integer.parseInt(arg.substring(1, arg.length() - 1)); 129 gen.addLoad32(dest, offset); 133 gen.addLoad16(dest, offset); 137 gen.addLoad8(dest, offset);
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 50 public void write(byte[] buffer, int offset, int length) { argument 56 System.arraycopy(buffer, offset, bytes, count, length);
|
/frameworks/native/include/android/ |
H A D | asset_manager.h | 120 * Attempt to read 'count' bytes of data from the current offset. 127 * Seek to the specified offset within the asset data. 'whence' uses the 132 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 135 * Seek to the specified offset within the asset data. 'whence' uses the 143 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 193 * Uses a 64-bit number for the offset and length instead of 32-bit instead of
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0); 89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
|
/frameworks/rs/driver/ |
H A D | rsdVertexArray.h | 37 size_t offset; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignmentFacet.java | 58 * Sets number of pixels to offset. Can be negative for alignment from the high edge, or 61 public final void setItemAlignmentOffset(int offset) { argument 62 mOffset = offset; 66 * Gets number of pixels to offset. Can be negative for alignment from the high edge, or 74 * Sets whether to include left/top padding for positive item offset, include 75 * right/bottom padding for negative item offset. 82 * When it is true: we include left/top padding for positive item offset, include 83 * right/bottom padding for negative item offset. 90 * Sets the offset percent for item alignment in addition to offset [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 133 status_t deallocate(size_t offset); 168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 169 : MemoryBase(heap, offset, size), mDealer(dealer) 172 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 184 * and could alias some real allocation (their offset is zero). */ 244 const ssize_t offset = allocator()->allocate(size); local 245 if (offset >= 0) { 246 memory = new Allocation(this, heap(), offset, size); 251 void MemoryDealer::deallocate(size_t offset) argument 166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 304 ssize_t offset = alloc(size, flags); local 308 deallocate(size_t offset) argument [all...] |
H A D | MemoryHeapBase.cpp | 80 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) argument 86 mapfd(dup(fd), size, offset); local 102 status_t MemoryHeapBase::mapfd(int fd, size_t size, uint32_t offset) argument 114 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); 130 mOffset = offset;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBuffer.cpp | 151 void MediaBuffer::set_range(size_t offset, size_t length) { argument 152 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 153 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize); 155 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 157 mRangeOffset = offset;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 142 // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe 145 public void setData(ByteBuffer buffer, int offset, int length) { argument 148 if ((length + offset) > buffer.limit()) { 150 (length + offset) + " bytes given, but only " + buffer.limit() + 156 } else if (!setNativeData(bytes, offset, length)) { 242 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | ChildHelperTest.java | 136 public View getChildAt(int offset) { argument 137 if (validateIndex(offset)) { 138 return mViews.remove(offset); 160 public void detachViewFromParent(int offset) { argument 161 mDetached.add(getChildAt(offset));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 90 int offset, offset2; local 94 /* initialize offset to adjust pixel counter */ 96 offset = width - B_SIZE; /* offset for prev */ 97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */ 129 prev += offset; 152 prev += offset; 174 prev += offset; 190 int offset, offset2; local 196 /* initialize offset t 519 int offset, offset2; local 866 int offset, offset2; local [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | DumpUtils.java | 90 public static void printScreenLabel(PrintWriter pw, int offset) { argument 91 switch (offset) { 107 public static void printScreenLabelCsv(PrintWriter pw, int offset) { argument 108 switch (offset) { 123 public static void printMemLabel(PrintWriter pw, int offset, char sep) { argument 124 switch (offset) { 152 public static void printMemLabelCsv(PrintWriter pw, int offset) { argument 153 if (offset >= ADJ_MEM_FACTOR_NORMAL) { 154 if (offset <= ADJ_MEM_FACTOR_CRITICAL) { 155 pw.print(ADJ_MEM_NAMES_CSV[offset]); [all...] |