/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 38 int capacity = format.getSize(); in NativeFrame() 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 122 return getNativeInts(getFormat().getSize()); in getInts() 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 139 return getNativeFloats(getFormat().getSize()); in getFloats() 152 } else if (getFormat().getSize() != length) { in setData() 154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() 163 byte[] data = getNativeData(getFormat().getSize()); in getData() [all …]
|
D | GLFrame.java | 83 } else if (getFormat().getSize() < 0) { in init() 207 if (getFormat().getSize() != bytes.length) { in setData() 255 if (getFormat().getSize() < frame.getFormat().getSize()) { in setDataFromFrame() 257 "Attempting to assign frame of size " + frame.getFormat().getSize() + " to " + in setDataFromFrame() 258 "smaller GL frame of size " + getFormat().getSize() + "!"); in setDataFromFrame()
|
D | VertexFrame.java | 36 if (getFormat().getSize() <= 0) { in VertexFrame() 39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame() 91 if (getFormat().getSize() != bytes.length) { in setData()
|
D | CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); in storeFrame() 125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame() 146 mStorageSize -= format.getSize(); in findAvailableFrame()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | SHCircularBuffer.h | 42 if (mWriteIndex >= getSize()) { in write() 47 ALOGE("Error: SHCircularBuffer no space to write. allocated size %zu ", getSize()); in write() 54 if (mReadIndex >= getSize()) { in read() 67 return getSize() - mReadAvailable; in availableToWrite() 69 inline size_t getSize() const { in getSize() function
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 47 AMediaDataSourceGetSize getSize; member 57 AMediaDataSource_setGetSize(mDataSource, dataSource->getSize); in NdkDataSource() 85 status_t NdkDataSource::getSize(off64_t *size) { in getSize() function in NdkDataSource 87 if (mDataSource->getSize == NULL || mDataSource->userdata == NULL) { in getSize() 91 *size = mDataSource->getSize(mDataSource->userdata); in getSize() 186 mSource->getSize = NULL; in AMediaDataSource_new() 236 void AMediaDataSource_setGetSize(AMediaDataSource *mSource, AMediaDataSourceGetSize getSize) { in AMediaDataSource_setGetSize() argument 237 mSource->getSize = getSize; in AMediaDataSource_setGetSize()
|
/frameworks/base/core/java/android/os/ |
D | HidlMemoryUtil.java | 148 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteArray() 150 Preconditions.checkArgument(mem.getSize() == 0 || mem.getName().equals("ashmem"), in hidlMemoryToByteArray() 153 if (mem.getSize() == 0) { in hidlMemoryToByteArray() 174 Preconditions.checkArgumentInRange(mem.getSize(), 0L, (long) Integer.MAX_VALUE, in hidlMemoryToByteList() 176 Preconditions.checkArgument(mem.getSize() == 0 || mem.getName().equals("ashmem"), in hidlMemoryToByteList() 179 if (mem.getSize() == 0) { in hidlMemoryToByteList() 194 final int size = (int) mem.getSize(); in getBuffer()
|
D | MemoryFile.java | 120 return mSharedMemory.getSize(); in length() 243 public static int getSize(FileDescriptor fd) throws IOException { in getSize() method in MemoryFile 255 if (mOffset >= mSharedMemory.getSize()) { in available() 258 return mSharedMemory.getSize() - mOffset; in available() 308 if (mOffset + n > mSharedMemory.getSize()) { in skip() 309 n = mSharedMemory.getSize() - mOffset; in skip()
|
D | StatsLogEventWrapper.java | 147 if (wc.getSize() == 0) { in writeToParcel() 153 || wc.getUids().length != wc.getSize()) { in writeToParcel() 159 out.writeInt(wc.getSize()); in writeToParcel() 160 for (int j = 0; j < wc.getSize(); j++) { in writeToParcel()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 794 size_t getSize; in compressFpToFp() local 801 getSize = size > kBufSize ? kBufSize : size; in compressFpToFp() 802 memcpy(inBuf, data, getSize); in compressFpToFp() 803 data = ((const char*)data) + getSize; in compressFpToFp() 804 size -= getSize; in compressFpToFp() 806 getSize = fread(inBuf, 1, kBufSize, srcFp); in compressFpToFp() 812 if (getSize < kBufSize) { in compressFpToFp() 814 (int)getSize); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 821 zstream.avail_in = getSize; in compressFpToFp() [all …]
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 144 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 148 if (!clean(index->getKey()->getSize() + valueSize, in set() 202 size_t valueBlobSize = valueBlob->getSize(); in get() 225 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 251 size_t keySize = keyBlob->getSize(); in flatten() 252 size_t valueSize = valueBlob->getSize(); in flatten() 363 return entry.getKey()->getSize() + entry.getValue()->getSize(); in findDownTo() 400 const size_t entrySize = entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 446 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 112 size_t newTotalSize = mTotalSize + valueSize - oldValueBlob->getSize(); in set() 152 size_t valueBlobSize = valueBlob->getSize(); in get() 172 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize() 198 size_t keySize = keyBlob->getSize(); in flatten() 199 size_t valueSize = valueBlob->getSize(); in flatten() 298 mTotalSize -= entry.getKey()->getSize() + entry.getValue()->getSize(); in clean() 334 size_t BlobCache::Blob::getSize() const { in getSize() function in android::BlobCache::Blob
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FrameManager.java | 127 public int getSize() { in getSize() method in FrameManager.BackingCache 149 public int getSize() { in getSize() method in FrameManager.BackingCacheNone 182 mSize -= backing.getSize(); in fetchBacking() 193 if (reserve(backing.getSize())) { in cacheBacking() 225 mSize -= dropped.getSize(); in reserve() 303 return mCache.getSize(); in getCacheSize()
|
D | BackingStore.java | 357 public abstract int getSize(); in getSize() method in BackingStore.Backing 476 public int getSize() { in getSize() method in BackingStore.ObjectBacking 565 public int getSize() { in getSize() method in BackingStore.BitmapBacking 627 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncToAllocationBacking() 672 public int getSize() { in getSize() method in BackingStore.TextureBacking 753 float[] floats = new float[getSize() / 4]; in syncToAllocationBacking() 789 public int getSize() { in getSize() method in BackingStore.ByteBufferBacking 846 ByteBuffer pixels = ByteBuffer.allocateDirect(getSize()); in syncTo() 862 bytes = new byte[getSize()]; in syncTo() 902 public int getSize() { in getSize() method in BackingStore.AllocationBacking
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 92 status_t CallbackDataSource::getSize(off64_t *size) { in getSize() function in android::CallbackDataSource 93 status_t err = mIDataSource->getSize(size); in getSize() 181 status_t TinyCacheSource::getSize(off64_t *size) { in getSize() function in android::TinyCacheSource 182 return mSource->getSize(size); in getSize()
|
/frameworks/av/media/libmedia/ |
D | MidiIoWrapper.cpp | 72 virtual status_t getSize(off64_t *size) { in getSize() function in android::MidiIoWrapper::DataSourceUnwrapper 73 return mSource->getSize(mSource->handle, size); in getSize() 95 if (mDataSource->getSize(&l) == OK) { in MidiIoWrapper()
|
/frameworks/av/media/img_utils/src/ |
D | TiffIfd.cpp | 120 valueOffset += mEntries[i]->getSize(); in writeData() 124 uint32_t footer = (mNextIfd != NULL) ? offset + getSize() : 0; in writeData() 136 if (mEntries[i]->getSize() > OFFSET_SIZE) { in writeData() 141 size_t actual = mEntries[i]->getSize(); in writeData() 148 assert(out->getCurrentOffset() == offset + getSize()); in writeData() 153 size_t TiffIfd::getSize() const { in getSize() function in android::img_utils::TiffIfd 158 total += mEntries[i]->getSize(); in getSize()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 68 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter() 74 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter() 79 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter() 83 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter() 87 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 81 private float getSize(long now) { in getSize() method in DeadZone 138 int size = (int) getSize(event.getEventTime()); in onTouchEvent() 168 Slog.v(TAG, "poked! size=" + getSize(mLastPokeTime)); 186 final int size = (int) getSize(SystemClock.uptimeMillis());
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 216 return new JarFileInputStream(is, ze.getSize(), entry); in getInputStream() 249 ze.getDataOffset() + ze.getSize()); in getZipInputStream() 254 int bufSize = Math.max(1024, (int) Math.min(ze.getSize(), 65535L)); in getZipInputStream() 409 if (entry.getSize() != bytesRead) { in read() 411 + entry.getSize()); in read() 426 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|
/frameworks/av/media/libstagefright/include/ |
D | ThrottledSource.h | 45 virtual status_t getSize(off64_t *size) { in getSize() function 46 return mSource->getSize(size); in getSize()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | TiffEntryImpl.h | 48 size_t getSize() const; 96 size_t TiffEntryImpl<T>::getSize() const { in getSize() function 198 total += mData[i]->getSize(); in getActualSize() 208 offset += mData[i]->getSize(); in writeData()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 104 Assert.assertEquals(refEntry.getSize(), checkEntry.getSize()); in testCrcRange() 118 if (refEntry.getSize() > 0) { in testCrcValue() 148 if (refEntry.getSize() > 0) { in testInvalidCrcValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHeaderInfoLayout.kt | 77 MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.AT_MOST), in onMeasure() 79 val width = MeasureSpec.getSize(widthMeasureSpec) in onMeasure() 87 val availableSpace = MeasureSpec.getSize(width) - separatorWidth in onMeasure()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 101 (mCaptureHeap->getSize() < static_cast<size_t>(maxJpegSize)) || in updateStream() 102 (mCaptureHeap->getSize() > in updateStream() 108 if (mCaptureHeap->getSize() == 0) { in updateStream() 115 __FUNCTION__, mId, mCaptureHeap->getSize(), maxJpegSize); in updateStream() 262 size_t heapSize = mCaptureHeap->getSize(); in processNewCapture()
|