/hardware/interfaces/graphics/composer/2.3/utils/vts/ |
D | ComposerVts.cpp | 40 mComposer->createClient_2_3([&client](const auto& tmpError, const auto& tmpClient) { in createClient() argument 41 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 56 display, [&](const auto& tmpError, const auto& tmpPort, const auto& tmpData) { in getDisplayIdentificationData() argument 57 if (tmpError == Error::UNSUPPORTED) { in getDisplayIdentificationData() 61 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display identification data"; in getDisplayIdentificationData() 73 mClient->getColorModes_2_3(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes_2_3() argument 74 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color modes"; in getColorModes_2_3() 87 mClient->getRenderIntents_2_3(display, mode, [&](const auto& tmpError, const auto& tmpIntents) { in getRenderIntents_2_3() argument 88 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents"; in getRenderIntents_2_3() 98 [&](const auto& tmpError, const auto& tmpOutPixelFormat, const auto& tmpOutDataspace) { in getReadbackBufferAttributes_2_3() argument [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 35 getRaw()->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient() argument 36 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 54 mClient->getPerFrameMetadataKeys(display, [&](const auto& tmpError, const auto& tmpKeys) { in getPerFrameMetadataKeys() argument 55 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR metadata keys"; in getPerFrameMetadataKeys() 74 [&](const auto& tmpError, const auto& tmpOutQueueChanged, in execute() 76 ASSERT_EQ(Error::NONE, tmpError); in execute() 80 [&](const auto& tmpError, const auto& tmpDescriptor) { in execute() argument 81 ASSERT_EQ(Error::NONE, tmpError); in execute() 100 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay_2_2() argument 101 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay_2_2() [all …]
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 68 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient() argument 69 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 114 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay() argument 115 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay() 135 mClient->createLayer(display, bufferSlotCount, [&](const auto& tmpError, const auto& tmpLayer) { in createLayer() argument 136 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer() 162 mClient->getActiveConfig(display, [&](const auto& tmpError, const auto& tmpConfig) { in getActiveConfig() argument 163 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig() 178 mClient->getColorModes(display, [&](const auto& tmpError, const auto& tmpMode) { in getColorModes() argument 179 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color mode"; in getColorModes() [all …]
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
D | MapperVts.cpp | 100 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument 101 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate() 145 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 146 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 155 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 156 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 199 [&](const auto& tmpError, const auto& tmpData, int32_t tmpBytesPerPixel, in lock() 201 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() 228 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument 229 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr() [all …]
|
/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 67 [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBufferInternal() argument 68 error = tmpError; in importBufferInternal() 96 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCrInternal() argument 97 if (tmpError == E::NONE) { in lockYCbCrInternal() 106 ALOGE("%s: failed to lockYCbCr error %d!", __FUNCTION__, tmpError); in lockYCbCrInternal() 118 buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlockInternal() argument 119 if (tmpError == E::NONE) { in unlockInternal() 134 ALOGE("%s: failed to unlock error %d!", __FUNCTION__, tmpError); in unlockInternal() 237 [&](const auto& tmpError, const auto& tmpPtr, const auto& /*bytesPerPixel*/, in lock() 239 if (tmpError == MapperErrorV3::NONE) { in lock() [all …]
|
/hardware/qcom/display/msm8909/libdisplayconfig/ |
D | DisplayConfig.cpp | 137 [&](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/msm8909w_3100/libdisplayconfig/ |
D | DisplayConfig.cpp | 137 [&](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/sdm845/display/libdisplayconfig/ |
D | DisplayConfig.cpp | 137 [&](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/sensors/common/vts/utils/ |
D | GrallocWrapper.cpp | 86 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument 87 if (mapper2::Error::NONE != tmpError) { in allocate() 125 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 126 if (tmpError != mapper2::Error::NONE) { in createDescriptor() 137 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 138 if (tmpError != mapper2::Error::NONE) { in importBuffer() 180 [&](const auto& tmpError, const auto& tmpData) { in lock() argument 181 if (tmpError != mapper2::Error::NONE) { in lock() 198 mMapper->unlock(buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlock() argument 199 if (tmpError != mapper2::Error::NONE) { in unlock()
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 85 [&](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/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 112 [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument 113 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_F() 174 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_F() argument 175 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_F() 214 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_F() argument 215 ASSERT_EQ(Error::NONE, tmpError); in TEST_F() 250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument 251 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F() 256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument 257 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F() [all …]
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 112 [&](const auto& tmpError, const auto&, const auto&) { in TEST_F() argument 113 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_F() 174 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_F() argument 175 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_F() 214 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_F() argument 215 ASSERT_EQ(Error::NONE, tmpError); in TEST_F() 250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument 251 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F() 256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F() argument 257 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_F() [all …]
|
/hardware/interfaces/graphics/mapper/2.1/vts/functional/ |
D | VtsHalGraphicsMapperV2_1TargetTest.cpp | 179 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/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 87 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in SetUp() argument 88 mHasReadbackBuffer = tmpError == Error::NONE; in SetUp() 246 mPrimaryDisplay, [&](const auto& tmpError, const auto& tmpKeys) { in TEST_F() argument 247 error = tmpError; in TEST_F() 511 mPrimaryDisplay, [&](const auto& tmpError, const auto&) { in TEST_F() argument 512 ASSERT_EQ(Error::UNSUPPORTED, tmpError) << "readback buffer is active"; in TEST_F() 576 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_F() argument 598 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_F() argument 639 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_F() argument 652 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_F() argument
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 195 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in SetUp() argument 196 mHasReadbackBuffer = readbackSupported(tmpPixelFormat, tmpDataspace, tmpError); in SetUp()
|
/hardware/interfaces/graphics/mapper/2.1/utils/vts/ |
D | MapperVts.cpp | 87 buffer, [&](const auto& tmpError, const auto& tmpNumFds, const auto& tmpNumInts) { in getTransportSize() argument 88 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize() 100 descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 101 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 262 mPrimaryDisplay, [&](const auto tmpError, const auto outKeys) { in TEST_F() argument 263 if (tmpError != Error::UNSUPPORTED) { in TEST_F() 264 ASSERT_EQ(Error::NONE, tmpError); in TEST_F() 279 [&](const auto tmpError, const auto outPixelFormat, const auto outDataspace) { in TEST_F() argument 280 if (tmpError != Error::UNSUPPORTED) { in TEST_F() 281 ASSERT_EQ(Error::NONE, tmpError); in TEST_F() 371 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_F() argument 384 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_F() argument 406 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_F() argument
|
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/ |
D | ComposerResources.h | 65 rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() 66 error = tmpError; in importBuffer() 76 rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() 77 error = tmpError; in importBuffer()
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 172 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::NO_RESOURCES, tmpError); }); in TEST_F() argument 399 mPrimaryDisplay, config, attribute, [&](const auto& tmpError, const auto&) { in TEST_F() argument 400 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_F()
|