Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DCursorWindow_test.cpp235 size_t actualSize; in TEST() local
236 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST()
237 ASSERT_EQ(actualSize, kHalfInlineSize); in TEST()
250 size_t actualSize; in TEST() local
251 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST()
252 ASSERT_EQ(actualSize, kHalfInlineSize); in TEST()
322 size_t actualSize; in TEST() local
323 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST()
324 ASSERT_EQ(actualSize, kHalfInlineSize); in TEST()
332 size_t actualSize; in TEST() local
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp652 int32_t actualSize = 0; in TEST() local
674 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 0); in TEST()
675 EXPECT_GE(actualSize, 0); // 0 is legal in R in TEST()
676 EXPECT_LE(actualSize, bufferCapacity); in TEST()
678 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 2 * framesPerBurst); in TEST()
679 EXPECT_GT(actualSize, framesPerBurst); in TEST()
680 EXPECT_LE(actualSize, bufferCapacity); in TEST()
682 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity - 1); in TEST()
683 EXPECT_GT(actualSize, framesPerBurst); in TEST()
684 EXPECT_LE(actualSize, bufferCapacity); in TEST()
[all …]
/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/libs/hwui/renderthread/
DVulkanSurface.cpp187 outWindowInfo->actualSize = outWindowInfo->size; in InitializeWindowInfoStruct()
189 outWindowInfo->actualSize.set(outWindowInfo->size.height(), outWindowInfo->size.width()); in InitializeWindowInfoStruct()
416 SkISize actualSize = SkISize::Make(buffer->width, buffer->height); in dequeueNativeBuffer() local
417 if (actualSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
418 if (actualSize != mWindowInfo.actualSize) { in dequeueNativeBuffer()
421 mWindowInfo.actualSize = actualSize; in dequeueNativeBuffer()
441 mWindowInfo.size = actualSize; in dequeueNativeBuffer()
443 mWindowInfo.size.set(actualSize.height(), actualSize.width()); in dequeueNativeBuffer()
DVulkanSurface.h106 SkISize actualSize; member
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPhoneSizeSpecSourceTest.java243 Size actualSize = mSizeSpecSource.getSizeForAspectRatio(initSize, 9f / 16); in testGetSizeForAspectRatio_noOverrideMinSize() local
245 Assert.assertEquals(expectedSize, actualSize); in testGetSizeForAspectRatio_noOverrideMinSize()
256 Size actualSize = mSizeSpecSource.getSizeForAspectRatio(initSize, 9f / 16); in testGetSizeForAspectRatio_withOverrideMinSize() local
258 Assert.assertEquals(expectedSize, actualSize); in testGetSizeForAspectRatio_withOverrideMinSize()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.h110 const size_t maxOutSize, uint8_t jpegQuality, size_t &actualSize);
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp1211 size_t actualSize; in test_read_header_and_entity() local
1232 err = reader.ReadEntityHeader(&string, &actualSize); in test_read_header_and_entity()
1242 if (actualSize != bufSize) { in test_read_header_and_entity()
1244 bufSize, actualSize); in test_read_header_and_entity()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.cpp119 size_t &actualSize) { in encodeGrayscaleJpeg() argument
232 actualSize = dmgr.mEncodedSize; in encodeGrayscaleJpeg()
/frameworks/native/include/input/
DInputTransport.h222 bool isValid(size_t actualSize) const;
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java847 final long actualSize = getBlockDeviceSize() - HEADER_SIZE - DIGEST_SIZE_BYTES in doGetMaximumDataBlockSize() local
849 return actualSize <= MAX_DATA_BLOCK_SIZE ? actualSize : MAX_DATA_BLOCK_SIZE; in doGetMaximumDataBlockSize()
/frameworks/native/libs/input/
DInputTransport.cpp113 bool InputMessage::isValid(size_t actualSize) const { in isValid()
114 if (size() != actualSize) { in isValid()
115 ALOGE("Received message of incorrect size %zu (expected %zu)", actualSize, size()); in isValid()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2707 size_t actualSize = (*me->mCallback)( in onMoreData() local
2720 ALOGV_IF(actualSize == 0 && buffer.size() > 0, "callbackwrapper: empty buffer returned"); in onMoreData()
2722 return actualSize; in onMoreData()
2844 size_t actualSize = in threadLoop() local
2848 if (actualSize > 0) { in threadLoop()
2849 sink->write(mBuffer, actualSize); in threadLoop()
/frameworks/base/core/java/com/android/internal/widget/floatingtoolbar/
DLocalFloatingToolbarPopup.java1126 int actualSize = Math.min( in calculateOverflowHeight() local
1132 if (actualSize < mOverflowPanel.getCount()) { in calculateOverflowHeight()
1137 return actualSize * mLineHeight in calculateOverflowHeight()