Home
last modified time | relevance | path

Searched refs:tmpError (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp36 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient_v2_2() argument
37 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient_v2_2()
55 mClient_v2_2->getPerFrameMetadataKeys(display, [&](const auto& tmpError, const auto& tmpKeys) { in getPerFrameMetadataKeys() argument
56 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR metadata keys"; in getPerFrameMetadataKeys()
77 [&](const auto& tmpError, const auto& tmpOutQueueChanged, in execute_v2_2()
79 ASSERT_EQ(Error::NONE, tmpError); in execute_v2_2()
83 [&](const auto& tmpError, const auto& tmpDescriptor) { in execute_v2_2() argument
84 ASSERT_EQ(Error::NONE, tmpError); in execute_v2_2()
101 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay_2_2() argument
102 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay_2_2()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp70 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient() argument
71 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient()
116 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay() argument
117 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay()
137 mClient->createLayer(display, bufferSlotCount, [&](const auto& tmpError, const auto& tmpLayer) { in createLayer() argument
138 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer()
164 mClient->getActiveConfig(display, [&](const auto& tmpError, const auto& tmpConfig) { in getActiveConfig() argument
165 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig()
180 mClient->getColorModes(display, [&](const auto& tmpError, const auto& tmpMode) { in getColorModes() argument
181 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color mode"; in getColorModes()
[all …]
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp75 [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() argument
76 error = tmpError; in importBuffer()
155 [&](const auto& tmpError, const auto& tmpPtr) { in lock() argument
156 if (tmpError == MapperError::NONE) { in lock()
160 __FUNCTION__, tmpError); in lock()
187 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument
188 if (tmpError == MapperError::NONE) { in lockYCbCr()
191 ALOGE("%s: failed to lockYCbCr error %d!", __FUNCTION__, tmpError); in lockYCbCr()
205 buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlock() argument
206 if (tmpError == MapperError::NONE) { in unlock()
[all …]
/hardware/qcom/display/msm8909w_3100/libdisplayconfig/
DDisplayConfig.cpp137 [&](const auto &tmpError, const auto &tmpStatus) { in isExternalConnected() argument
138 if (tmpError) { in isExternalConnected()
174 [&](const auto &tmpError, const auto &tmpCount) { in getConfigCount() argument
175 if (tmpError) { in getConfigCount()
193 [&](const auto &tmpError, const auto &tmpConfig) { in getActiveConfig() argument
194 if (tmpError) { in getActiveConfig()
222 [&](const auto &tmpError, const auto &tmpAttributes) { in getDisplayAttributes() argument
223 if (tmpError) { in getDisplayAttributes()
256 [&](const auto &tmpError, const auto &tmpLevel) { in getPanelBrightness() argument
257 if (tmpError) { in getPanelBrightness()
[all …]
/hardware/qcom/display/msm8909/libdisplayconfig/
DDisplayConfig.cpp137 [&](const auto &tmpError, const auto &tmpStatus) { in isExternalConnected() argument
138 if (tmpError) { in isExternalConnected()
174 [&](const auto &tmpError, const auto &tmpCount) { in getConfigCount() argument
175 if (tmpError) { in getConfigCount()
193 [&](const auto &tmpError, const auto &tmpConfig) { in getActiveConfig() argument
194 if (tmpError) { in getActiveConfig()
222 [&](const auto &tmpError, const auto &tmpAttributes) { in getDisplayAttributes() argument
223 if (tmpError) { in getDisplayAttributes()
256 [&](const auto &tmpError, const auto &tmpLevel) { in getPanelBrightness() argument
257 if (tmpError) { in getPanelBrightness()
[all …]
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp85 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument
86 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate()
130 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument
131 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
140 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
141 ASSERT_EQ(Error::NONE, tmpError) in importBuffer()
180 [&](const auto& tmpError, const auto& tmpData) { in lock() argument
181 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock()
206 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument
207 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr()
[all …]
/hardware/interfaces/sensors/1.0/vts/functional/
DGrallocWrapper.cpp89 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument
90 if (mapper2::Error::NONE != tmpError) { in allocate()
128 descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument
129 if (tmpError != mapper2::Error::NONE) { in createDescriptor()
142 rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
143 if (tmpError != mapper2::Error::NONE) { in importBuffer()
187 [&](const auto& tmpError, const auto& tmpData) { in lock() argument
188 if (tmpError != mapper2::Error::NONE) { in lock()
205 mMapper->unlock(buffer, [&](const auto& tmpError, in unlock()
207 if (tmpError != mapper2::Error::NONE) { in unlock()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp108 [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument
109 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_F()
140 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_F() argument
141 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_F()
180 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_F() argument
181 ASSERT_EQ(Error::NONE, tmpError); in TEST_F()
216 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument
217 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F()
222 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument
223 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp179 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument
180 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F()
186 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument
187 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F()
196 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument
197 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F()
216 mGralloc->getMapper()->createDescriptor_2_1(info, [&](const auto& tmpError, const auto&) { in TEST_F() argument
217 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_F()
/hardware/interfaces/graphics/mapper/2.1/utils/vts/
DMapperVts.cpp86 buffer, [&](const auto& tmpError, const auto& tmpNumFds, const auto& tmpNumInts) { in getTransportSize() argument
87 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize()
99 descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument
100 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
/hardware/interfaces/graphics/composer/2.2/vts/functional/
DVtsHalGraphicsComposerV2_2TargetTest.cpp83 mPrimaryDisplay, [&](const auto& tmpError, const auto&, const auto&) { in SetUp() argument
84 mHasReadbackBuffer = tmpError == Error::NONE; in SetUp()
301 mPrimaryDisplay, [&](const auto& tmpError, const auto&) { in TEST_F() argument
302 ASSERT_EQ(Error::UNSUPPORTED, tmpError) << "readback buffer is active"; in TEST_F()
/hardware/interfaces/graphics/composer/2.1/vts/functional/
DVtsHalGraphicsComposerV2_1TargetTest.cpp146 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::NO_RESOURCES, tmpError); }); in TEST_F() argument
250 mPrimaryDisplay, config, attribute, [&](const auto& tmpError, const auto&) { in TEST_F() argument
251 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_F()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h55 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer()
56 error = tmpError; in importBuffer()