/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_test.cpp | 235 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/ |
D | test_various.cpp | 652 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/ |
D | android_media_AudioEffectDescriptor.cpp | 89 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/ |
D | VulkanSurface.cpp | 187 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()
|
D | VulkanSurface.h | 106 SkISize actualSize; member
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
D | PhoneSizeSpecSourceTest.java | 243 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/ |
D | DepthCompositeStream.h | 110 const size_t maxOutSize, uint8_t jpegQuality, size_t &actualSize);
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 1211 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/ |
D | DepthPhotoProcessor.cpp | 119 size_t &actualSize) { in encodeGrayscaleJpeg() argument 232 actualSize = dmgr.mEncodedSize; in encodeGrayscaleJpeg()
|
/frameworks/native/include/input/ |
D | InputTransport.h | 222 bool isValid(size_t actualSize) const;
|
/frameworks/base/services/core/java/com/android/server/pdb/ |
D | PersistentDataBlockService.java | 847 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/ |
D | InputTransport.cpp | 113 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/ |
D | MediaPlayerService.cpp | 2707 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/ |
D | LocalFloatingToolbarPopup.java | 1126 int actualSize = Math.min( in calculateOverflowHeight() local 1132 if (actualSize < mOverflowPanel.getCount()) { in calculateOverflowHeight() 1137 return actualSize * mLineHeight in calculateOverflowHeight()
|