Home
last modified time | relevance | path

Searched refs:kError (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/ui/tests/
DRect_test.cpp93 constexpr float kError = 1e-3; in TEST() local
94 const Rect rect(FloatRect(10 - kError, 20 - kError, 30 - kError, 40 - kError)); in TEST()
169 constexpr float kError = 1e-3; in TEST() local
170 EXPECT_EQ(Rect(20, 60, 100, 180), rect.scale(2.f - kError, 3.f - kError)); in TEST()
171 rect.scaleSelf(2.f - kError, 3.f - kError); in TEST()
/frameworks/base/core/jni/
Dandroid_os_SystemProperties.cpp110 case ParseBoolResult::kError: in jbooleanFromParseBoolResult()
126 ParseBoolResult parseResult = ParseBoolResult::kError; in SystemProperties_get_boolean()
171 ParseBoolResult parseResult = ParseBoolResult::kError; in SystemProperties_get_booleanH()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp713 static constexpr hal::Error kError = hal::Error::UNSUPPORTED; member
809 EXPECT_CALL(*mHwcLayer, setDisplayFrame(displayFrame)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
810 EXPECT_CALL(*mHwcLayer, setSourceCrop(sourceCrop)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
811 EXPECT_CALL(*mHwcLayer, setZOrder(_)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
812 EXPECT_CALL(*mHwcLayer, setTransform(bufferTransform)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
814 EXPECT_CALL(*mHwcLayer, setBlendMode(blendMode)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
815 EXPECT_CALL(*mHwcLayer, setPlaneAlpha(alpha)).WillOnce(Return(kError)); in expectGeometryCommonCalls()
822 EXPECT_CALL(*mHwcLayer, setVisibleRegion(RegionEq(visibleRegion))).WillOnce(Return(kError)); in expectPerFrameCommonCalls()
823 EXPECT_CALL(*mHwcLayer, setDataspace(dataspace)).WillOnce(Return(kError)); in expectPerFrameCommonCalls()
828 EXPECT_CALL(*mHwcLayer, setSurfaceDamage(RegionEq(surfaceDamage))).WillOnce(Return(kError)); in expectPerFrameCommonCalls()
[all …]