Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp421 int32_t actualSize = 0; in TEST() local
443 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 0); in TEST()
444 EXPECT_GT(actualSize, 0); in TEST()
445 EXPECT_LE(actualSize, bufferCapacity); in TEST()
447 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 2 * framesPerBurst); in TEST()
448 EXPECT_GT(actualSize, framesPerBurst); in TEST()
449 EXPECT_LE(actualSize, bufferCapacity); in TEST()
451 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity - 1); in TEST()
452 EXPECT_GT(actualSize, framesPerBurst); in TEST()
453 EXPECT_LE(actualSize, bufferCapacity); in TEST()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioEffectDescriptor.cpp85 size_t actualSize = 0; in convertAudioEffectDescriptorVectorFromNative() local
95 env->SetObjectArrayElement(temp, actualSize++, jdesc); in convertAudioEffectDescriptorVectorFromNative()
99 *jDescriptors = env->NewObjectArray(actualSize, audioEffectDescriptorClass(), NULL); in convertAudioEffectDescriptorVectorFromNative()
100 for (size_t i = 0; i < actualSize; i++) { in convertAudioEffectDescriptorVectorFromNative()
Dandroid_util_StatsLog.cpp35 jint actualSize = env->GetArrayLength(buf); in android_util_StatsLog_write() local
36 if (actualSize < size) { in android_util_StatsLog_write()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp100 windowInfo->actualSize = windowSize; in ComputeWindowSizeAndTransform()
102 windowInfo->actualSize.set(windowSize.height(), windowSize.width()); in ComputeWindowSizeAndTransform()
333 const SkISize& size = windowInfo.actualSize; in UpdateWindow()
438 if (newSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
445 if (newWindowInfo.actualSize != mWindowInfo.actualSize) { in dequeueNativeBuffer()
448 newWindowInfo.actualSize.width(), in dequeueNativeBuffer()
449 newWindowInfo.actualSize.height()); in dequeueNativeBuffer()
452 newWindowInfo.actualSize.width(), newWindowInfo.actualSize.height(), in dequeueNativeBuffer()
DVulkanSurface.h99 SkISize actualSize; member
/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.h95 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.cpp2470 size_t actualSize = (*me->mCallback)( in CallbackWrapper() local
2483 ALOGV_IF(actualSize == 0 && buffer->size > 0, "callbackwrapper: empty buffer returned"); in CallbackWrapper()
2485 buffer->size = actualSize; in CallbackWrapper()
2599 size_t actualSize = in threadLoop() local
2603 if (actualSize > 0) { in threadLoop()
2604 sink->write(mBuffer, actualSize); in threadLoop()
/frameworks/native/include/input/
DInputTransport.h146 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.cpp93 bool InputMessage::isValid(size_t actualSize) const { in isValid()
94 if (size() == actualSize) { in isValid()