/hardware/interfaces/graphics/composer/2.4/utils/vts/ |
D | ComposerVts.cpp | 33 mComposer->createClient_2_4([&client](const auto& tmpError, const auto& tmpClient) { in createClient() argument 34 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 49 [&](const auto& tmpError, const auto& tmpCapabilities) { in getDisplayCapabilities() argument 50 error = tmpError; in getDisplayCapabilities() 59 mClient->getDisplayConnectionType(display, [&](const auto& tmpError, const auto& tmpType) { in getDisplayConnectionType() argument 60 error = tmpError; in getDisplayConnectionType() 72 display, config, attribute, [&](const auto& tmpError, const auto& tmpValue) { in getDisplayAttribute_2_4() argument 73 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display attribute"; in getDisplayAttribute_2_4() 86 mClient->getDisplayVsyncPeriod(display, [&](const auto& tmpError, const auto& tmpVsyncPeriod) { in getDisplayVsyncPeriod() argument 87 error = tmpError; in getDisplayVsyncPeriod() [all …]
|
/hardware/interfaces/graphics/composer/2.3/utils/vts/ |
D | ComposerVts.cpp | 33 mComposer->createClient_2_3([&client](const auto& tmpError, const auto& tmpClient) { in createClient() argument 34 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 49 display, [&](const auto& tmpError, const auto& tmpPort, const auto& tmpData) { in getDisplayIdentificationData() argument 50 if (tmpError == Error::UNSUPPORTED) { in getDisplayIdentificationData() 54 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display identification data"; in getDisplayIdentificationData() 66 mClient->getColorModes_2_3(display, [&](const auto& tmpError, const auto& tmpModes) { in getColorModes_2_3() argument 67 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color modes"; in getColorModes_2_3() 80 mClient->getRenderIntents_2_3(display, mode, [&](const auto& tmpError, const auto& tmpIntents) { in getRenderIntents_2_3() argument 81 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents"; in getRenderIntents_2_3() 91 [&](const auto& tmpError, const auto& tmpOutPixelFormat, const auto& tmpOutDataspace) { in getReadbackBufferAttributes_2_3() argument [all …]
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 93 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument 94 if (canTolerate(tolerance, tmpError)) { in allocate() 98 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate() 152 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 153 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 163 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 164 if (!canTolerate(tolerance, tmpError)) { in importBuffer() 165 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 209 [&](const auto& tmpError, const auto& tmpData) { in lock() argument 210 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() [all …]
|
/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
D | ComposerVts.cpp | 34 getRaw()->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient() argument 35 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 53 mClient->getPerFrameMetadataKeys(display, [&](const auto& tmpError, const auto& tmpKeys) { in getPerFrameMetadataKeys() argument 54 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR metadata keys"; in getPerFrameMetadataKeys() 73 [&](const auto& tmpError, const auto& tmpOutQueueChanged, in execute() 75 ASSERT_EQ(Error::NONE, tmpError); in execute() 79 [&](const auto& tmpError, const auto& tmpDescriptor) { in execute() argument 80 ASSERT_EQ(Error::NONE, tmpError); in execute() 99 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay_2_2() argument 100 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay_2_2() [all …]
|
/hardware/google/gchips/gralloc3/src/ |
D | GrallocWrapper.cpp | 48 [&](const auto& tmpError, const auto& tmpDescriptor) in createDescriptor() 50 error = tmpError; in createDescriptor() 66 [&](const auto& tmpError, const auto& tmpBuffer) in importBuffer() argument 68 error = tmpError; in importBuffer() 106 [&](const auto& tmpError, const auto& tmpData) in lock() 108 error = tmpError; in lock() 142 [&](const auto& tmpError, const auto& tmpLayout) in lock() 144 error = tmpError; in lock() 167 [&](const auto& tmpError, const auto& tmpReleaseFence) in unlock() 169 error = tmpError; in unlock() [all …]
|
/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 81 [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBufferInternal() argument 82 error = tmpError; in importBufferInternal() 110 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCrInternal() argument 111 if (tmpError == E::NONE) { in lockYCbCrInternal() 120 ALOGE("%s: failed to lockYCbCr error %d!", __FUNCTION__, tmpError); in lockYCbCrInternal() 131 [&](const auto& tmpError, const auto& tmpEncodedPlaneLayouts) { in getPlaneLayouts() argument 132 if (tmpError == MapperErrorV4::NONE) { in getPlaneLayouts() 135 ALOGE("%s: failed to get plane layouts %d!", __FUNCTION__, tmpError); in getPlaneLayouts() 156 [&](const auto& tmpError, const auto& tmpPtr) { in lockYCbCrInternal() argument 157 if (tmpError == MapperErrorV4::NONE) { in lockYCbCrInternal() [all …]
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
D | MapperVts.cpp | 98 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument 99 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate() 143 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 144 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 153 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 154 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 197 [&](const auto& tmpError, const auto& tmpData, int32_t tmpBytesPerPixel, in lock() 199 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() 226 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument 227 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr() [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/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/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/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 61 mComposer->createClient([&](const auto& tmpError, const auto& tmpClient) { in createClient() argument 62 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient() 107 [&](const auto& tmpError, const auto& tmpDisplay, const auto& tmpFormat) { in createVirtualDisplay() argument 108 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay() 128 mClient->createLayer(display, bufferSlotCount, [&](const auto& tmpError, const auto& tmpLayer) { in createLayer() argument 129 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer() 155 mClient->getActiveConfig(display, [&](const auto& tmpError, const auto& tmpConfig) { in getActiveConfig() argument 156 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig() 171 mClient->getColorModes(display, [&](const auto& tmpError, const auto& tmpMode) { in getColorModes() argument 172 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color mode"; in getColorModes() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 83 [&](const auto& tmpError, const auto& tmpStride, const auto& tmpBuffers) { in allocate() argument 84 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate() 128 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 129 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 139 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 178 [&](const auto& tmpError, const auto& tmpData) { in lock() argument 179 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() 204 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument 205 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 98 [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 99 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_P() 160 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_P() argument 161 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P() 200 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P() argument 201 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 234 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 235 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 240 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 241 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() [all …]
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 98 [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 99 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_P() 160 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_P() argument 161 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P() 200 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P() argument 201 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 234 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 235 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 240 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 241 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() [all …]
|
/hardware/qcom/sm7250/display/composer/ |
D | QtiComposerHandleImporter.cpp | 93 [&](const auto &tmpError, const auto &tmpBufferHandle) { in importBuffer() argument 94 error = tmpError; in importBuffer() 114 [&](const auto &tmpError, const auto &tmpBufferHandle) { in importBuffer() argument 115 error = tmpError; in importBuffer()
|
/hardware/interfaces/graphics/mapper/2.1/utils/vts/ |
D | MapperVts.cpp | 85 buffer, [&](const auto& tmpError, const auto& tmpNumFds, const auto& tmpNumInts) { in getTransportSize() argument 86 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize() 98 descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 99 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
|
/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
D | VtsHalGraphicsComposerV2_2TargetTest.cpp | 70 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in SetUp() argument 71 mHasReadbackBuffer = tmpError == Error::NONE; in SetUp() 229 mPrimaryDisplay, [&](const auto& tmpError, const auto& tmpKeys) { in TEST_P() argument 230 error = tmpError; in TEST_P() 495 mPrimaryDisplay, [&](const auto& tmpError, const auto&) { in TEST_P() argument 496 ASSERT_EQ(Error::UNSUPPORTED, tmpError) << "readback buffer is active"; in TEST_P() 560 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument 582 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 623 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 636 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 170 mComposerClient->getRaw()->getColorModes_2_2(mPrimaryDisplay, [&](const auto& tmpError, in setTestColorModes() 172 ASSERT_EQ(Error::NONE, tmpError); in setTestColorModes() 199 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 201 tmpDataspace, tmpError); in TEST_P() 261 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 263 tmpDataspace, tmpError); in TEST_P() 333 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 335 tmpDataspace, tmpError); in TEST_P() 398 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 400 tmpDataspace, tmpError); in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 255 mPrimaryDisplay, [&](const auto tmpError, const auto outKeys) { in TEST_P() argument 256 if (tmpError != Error::UNSUPPORTED) { in TEST_P() 257 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 272 [&](const auto tmpError, const auto outPixelFormat, const auto outDataspace) { in TEST_P() argument 273 if (tmpError != Error::UNSUPPORTED) { in TEST_P() 274 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 364 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 377 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument 399 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | vendor_graphicbuffer_meta.cpp | 100 [&](const auto& tmpError, const android::hardware::hidl_vec<uint8_t>& tmpVec) { in get_dataspace() argument 101 error = tmpError; in get_dataspace() 317 get_mapper()->importBuffer(handle, [&](const auto& tmpError, const auto& tmpBuffer) { in import_buffer() argument 318 error = tmpError; in import_buffer()
|
/hardware/interfaces/graphics/composer/2.1/utils/resources/ |
D | ComposerResources.cpp | 57 mMapper2->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() argument 58 error = tmpError; in importBuffer() 67 mMapper3->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() argument 68 error = tmpError; in importBuffer() 77 mMapper4->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBufferHandle) { in importBuffer() argument 78 error = tmpError; in importBuffer()
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 298 [&](const auto& tmpError, const auto& value) { in TEST_P() argument 299 EXPECT_EQ(Error::NONE, tmpError); in TEST_P() 310 display.get(), config, attribute, [&](const auto& tmpError, const auto&) { in TEST_P() argument 311 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_P()
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 156 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::NO_RESOURCES, tmpError); }); in TEST_P() argument 383 mPrimaryDisplay, config, attribute, [&](const auto& tmpError, const auto&) { in TEST_P() argument 384 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_P()
|