Home
last modified time | relevance | path

Searched refs:actualSize (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp607 int32_t actualSize = 0; in TEST() local
629 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 0); in TEST()
630 EXPECT_GE(actualSize, 0); // 0 is legal in R in TEST()
631 EXPECT_LE(actualSize, bufferCapacity); in TEST()
633 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 2 * framesPerBurst); in TEST()
634 EXPECT_GT(actualSize, framesPerBurst); in TEST()
635 EXPECT_LE(actualSize, bufferCapacity); in TEST()
637 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity - 1); in TEST()
638 EXPECT_GT(actualSize, framesPerBurst); in TEST()
639 EXPECT_LE(actualSize, bufferCapacity); in TEST()
[all …]
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp170 outWindowInfo->actualSize = outWindowInfo->size; in InitializeWindowInfoStruct()
172 outWindowInfo->actualSize.set(outWindowInfo->size.height(), outWindowInfo->size.width()); in InitializeWindowInfoStruct()
373 SkISize actualSize = SkISize::Make(buffer->width, buffer->height); in dequeueNativeBuffer() local
374 if (actualSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
375 if (actualSize != mWindowInfo.actualSize) { in dequeueNativeBuffer()
378 mWindowInfo.actualSize = actualSize; in dequeueNativeBuffer()
394 mWindowInfo.size = actualSize; in dequeueNativeBuffer()
396 mWindowInfo.size.set(actualSize.height(), actualSize.width()); in dequeueNativeBuffer()
DVulkanSurface.h101 SkISize actualSize; member
/frameworks/base/core/jni/
Dandroid_media_AudioEffectDescriptor.cpp89 size_t actualSize = 0; in convertAudioEffectDescriptorVectorFromNative() local
99 env->SetObjectArrayElement(temp, actualSize++, jdesc); in convertAudioEffectDescriptorVectorFromNative()
103 *jDescriptors = env->NewObjectArray(actualSize, audioEffectDescriptorClass(), NULL); in convertAudioEffectDescriptorVectorFromNative()
104 for (size_t i = 0; i < actualSize; i++) { in convertAudioEffectDescriptorVectorFromNative()
/frameworks/base/apex/statsd/jni/
Dandroid_util_StatsLog.cpp32 jint actualSize = env->GetArrayLength(buf); in android_util_StatsLog_write() local
33 if (actualSize < size) { in android_util_StatsLog_write()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp95 int actualSize; in createFromParcel() local
117 } else if ((actualSize = ashmem_get_size_region(dupAshmemFd)) != size) { in createFromParcel()
122 actualSize, (int) size, errno); in createFromParcel()
DBackupHelpers.cpp1206 size_t actualSize; in test_read_header_and_entity() local
1227 err = reader.ReadEntityHeader(&string, &actualSize); in test_read_header_and_entity()
1237 if (actualSize != bufSize) { in test_read_header_and_entity()
1239 bufSize, actualSize); in test_read_header_and_entity()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java433 long actualSize = getBlockDeviceSize() - HEADER_SIZE - DIGEST_SIZE_BYTES in doGetMaximumDataBlockSize() local
435 return actualSize <= MAX_DATA_BLOCK_SIZE ? actualSize : MAX_DATA_BLOCK_SIZE; in doGetMaximumDataBlockSize()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.h97 const size_t maxOutSize, uint8_t jpegQuality, size_t &actualSize);
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp115 size_t &actualSize) { in encodeGrayscaleJpeg() argument
228 actualSize = dmgr.mEncodedSize; in encodeGrayscaleJpeg()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2643 size_t actualSize = (*me->mCallback)( in CallbackWrapper() local
2656 ALOGV_IF(actualSize == 0 && buffer->size > 0, "callbackwrapper: empty buffer returned"); in CallbackWrapper()
2658 buffer->size = actualSize; in CallbackWrapper()
2772 size_t actualSize = in threadLoop() local
2776 if (actualSize > 0) { in threadLoop()
2777 sink->write(mBuffer, actualSize); in threadLoop()
/frameworks/native/include/input/
DInputTransport.h172 bool isValid(size_t actualSize) const;
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1364 int actualSize = Math.min( in calculateOverflowHeight() local
1370 if (actualSize < mOverflowPanel.getCount()) { in calculateOverflowHeight()
1375 return actualSize * mLineHeight in calculateOverflowHeight()
/frameworks/native/libs/input/
DInputTransport.cpp97 bool InputMessage::isValid(size_t actualSize) const { in isValid()
98 if (size() == actualSize) { in isValid()