HomeSort by relevance Sort by last modified time
    Searched defs:size (Results 726 - 750 of 11184) sorted by null

<<21222324252627282930>>

  /frameworks/av/camera/camera2/
CaptureRequest.cpp 48 int32_t size; local
49 if ((err = parcel->readInt32(&size)) != OK) {
50 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
53 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
56 for (int i = 0; i < size; ++i) {
105 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local
108 parcel->writeInt32(size);
110 for (int32_t i = 0; i < size; ++i)
    [all...]
  /frameworks/av/drm/common/
ReadWriteUtils.cpp 85 int size = data.size(); local
86 if (FAILURE != ftruncate(fd, size)) {
87 if (size != write(fd, data.string(), size)) {
102 int size = data.size(); local
103 if (size != write(fd, data.string(), size)) {
  /frameworks/av/include/media/
AudioParameter.h 65 size_t size() { return mParameters.size(); } function in class:android::AudioParameter
  /frameworks/av/media/libmedia/
IMediaLogService.cpp 42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) {
46 data.writeInt64((int64_t) size);
74 size_t size = (size_t) data.readInt64(); local
76 registerWriter(shared, size, name);
MemoryLeakTrackUtil.cpp 76 // The memory is sorted based on total size which is useful for finding
81 size_t size; // bit 31 is set if this is zygote allocated memory member in struct:android::AllocEntry
88 oss << (e->size * e->allocations)
89 << " bytes ( " << e->size << " bytes * " << e->allocations << " allocations )\n";
  /frameworks/av/media/libstagefright/
DataConverter.cpp 32 size_t size = targetSize(source->size()); local
34 if (size > target->capacity()) {
35 ALOGE("data size (%zu) is greater than buffer capacity (%zu)",
36 size, // this is the data received/to be converted
37 target->capacity()); // this is out buffer size
42 target->setRange(0, err == OK ? size : 0);
47 memcpy(target->base(), source->data(), source->size());
65 ALOGW("limiting source size due to overflow (%zu*%zu/%zu)",
76 ALOGW("limiting target size due to overflow (%zu*%zu/%zu)"
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/inc/
bitbuffer.h 59 Word16 size; /*!< size of bitbuffer in bits */ member in struct:BIT_BUF
61 }; /* size Word16: 8 */
87 #define GetNrBitsRead(hBitBuf) ((hBitBuf)->size-(hBitBuf)->cntBits)
  /frameworks/base/core/java/android/app/backup/
BackupDataInputStream.java 29 * {@link BackupDataInput}. The entity's key string and total data size are available
30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively.
33 * source, nor read more than {@link #size()} bytes from the stream.</p>
53 * an integer value. If more than {@link #size()} bytes of data
68 * Read up to {@code size} bytes of data into a byte array, beginning at position
74 * @param size The number of bytes to read in this operation. If insufficient
80 public int read(byte[] b, int offset, int size) throws IOException {
81 return mData.readEntityData(b, offset, size);
113 public int size() { method in class:BackupDataInputStream
  /frameworks/base/core/java/android/app/usage/
TimeSparseArray.java 45 final int size = size(); local
47 int hi = size - 1;
65 } else if (time > key && lo < size) {
83 return size() - 1;
  /frameworks/base/core/java/android/hardware/camera2/utils/
ListUtils.java 47 return (list.size() == 1 && list.contains(single));
61 int size = list.size(); local
66 if (i != size - 1) {
  /frameworks/base/core/java/android/nfc/
ApduList.java 35 public ApduList[] newArray(int size) {
36 return new ApduList[size];
59 dest.writeInt(commands.size());
  /frameworks/base/core/java/android/security/keymaster/
KeymasterCertificateChain.java 40 public KeymasterCertificateChain[] newArray(int size) {
41 return new KeymasterCertificateChain[size];
66 out.writeInt(mCertificates.size());
  /frameworks/base/core/java/android/service/carrier/
MessagePdu.java 65 dest.writeInt(mPduList.size());
79 int size = source.readInt();
81 if (size == NULL_LENGTH) {
84 pduList = new ArrayList<>(size);
85 for (int i = 0; i < size; i++) {
93 public MessagePdu[] newArray(int size) {
94 return new MessagePdu[size];
  /frameworks/base/core/java/android/util/
FastImmutableArraySet.java 51 public int size() { method in class:FastImmutableArraySet
  /frameworks/base/core/java/com/android/internal/util/
RingBufferIndices.java 65 * Return the current size of the ring buffer.
67 public int size() { method in class:RingBufferIndices
72 * Convert a position in the ring buffer that is [0..size()] to an offset
  /frameworks/base/core/jni/android/graphics/
Utils.cpp 52 size_t AssetStreamAdaptor::read(void* buffer, size_t size) {
56 if (0 == size) {
67 off64_t newOffset = fAsset->seek(size, SEEK_CUR);
69 SkDebugf("---- fAsset->seek(%d) failed\n", size);
74 amount = fAsset->read(buffer, size);
76 SkDebugf("---- fAsset->read(%d) returned %d\n", size, amount);
97 const off64_t size = asset->getLength(); local
98 if (size <= 0) {
99 SkDebugf("---- copyAsset: asset->getLength() returned %d\n", size);
103 SkAutoTUnref<SkData> data(SkData::NewUninitialized(size));
    [all...]
  /frameworks/base/include/androidfw/
ByteBucketArray.h 27 * Stores a sparsely populated array. Has a fixed size of 256
46 inline size_t size() const { function in class:android::ByteBucketArray
55 if (index >= size()) {
68 ALOG_ASSERT(index < size(), "ByteBucketArray.getOrCreate(index=%u) with size=%u",
69 (uint32_t) index, (uint32_t) size());
80 if (index >= size()) {
  /frameworks/base/libs/hwui/utils/
RingBuffer.h 26 template<class T, size_t SIZE>
34 constexpr size_t capacity() const { return SIZE; }
35 size_t size() const { return mCount; } function in class:android::uirenderer::RingBuffer
38 mHead = (mHead + 1) % SIZE;
39 if (mCount < SIZE) {
50 return (*this)[size() - 1];
67 T mBuffer[SIZE];
  /frameworks/base/media/mca/filterfw/jni/
jni_native_buffer.cpp 20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) {
29 if (size) {
30 *size = env->GetIntField(buffer, size_field);
39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) {
48 env->SetIntField(buffer, size_field, size);
53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) {
54 char* data = new char[size];
55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size));
72 int size; local
73 char* source_data = GetJBufferData(env, thiz, &size);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
AppIconDragShadowBuilder.java 34 // The Drawable may not be the same size as the ImageView, so use the ImageView size.
41 public void onProvideShadowMetrics(Point size, Point touch) {
42 size.set(mIconSize, mIconSize);
51 // to the correct size.
  /frameworks/base/services/core/java/com/android/server/hdmi/
UnmodifiableSparseArray.java 33 public int size() { method in class:UnmodifiableSparseArray
34 return mArray.size();
UnmodifiableSparseIntArray.java 33 public int size() { method in class:UnmodifiableSparseIntArray
34 return mArray.size();
  /frameworks/base/services/core/jni/
com_android_server_PersistentDataBlockService.cpp 37 uint64_t size = 0; local
40 ret = ioctl(fd, BLKGETSIZE64, &size);
45 return size;
87 const uint64_t size = get_block_device_size(fd); local
91 return size;
  /frameworks/base/tools/aapt2/flatten/
ChunkWriter.h 44 mStartSize = mBuffer->size();
65 inline size_t size() { function in class:aapt::ChunkWriter
66 return mBuffer->size() - mStartSize;
71 mHeader->size = util::hostToDevice32(mBuffer->size() - mStartSize);
78 mStartSize = mBuffer->size();
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
UnsafeByteSequence.java 38 public int size() { method in class:UnsafeByteSequence

Completed in 521 milliseconds

<<21222324252627282930>>