/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.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/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/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/4.0/utils/vts/ |
D | MapperVts.cpp | 182 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 183 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 193 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 194 if (!canTolerate(tolerance, tmpError)) { in importBuffer() 195 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 239 [&](const auto& tmpError, const auto& tmpData) { in lock() argument 240 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() 255 mMapper->unlock(buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlock() argument 256 ASSERT_EQ(Error::NONE, tmpError) << "failed to unlock buffer " << buffer; in unlock() 277 mMapper->flushLockedBuffer(buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in flushLockedBuffer() argument [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 if (tmpError != Error::NONE) { in allocate() 149 mMapper->createDescriptor(descriptorInfo, [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 150 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 159 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument 160 ASSERT_EQ(Error::NONE, tmpError) in importBuffer() 203 [&](const auto& tmpError, const auto& tmpData, int32_t tmpBytesPerPixel, in lock() 205 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock() 232 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument 233 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr() [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/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 | 99 [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 100 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_P() 161 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_P() argument 162 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P() 201 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P() argument 202 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 235 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 236 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 241 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 242 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() [all …]
|
/hardware/interfaces/graphics/mapper/2.1/vts/functional/ |
D | VtsHalGraphicsMapperV2_1TargetTest.cpp | 165 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 166 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 172 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 173 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 182 rawBufferHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 183 ASSERT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 202 mGralloc->getMapper()->createDescriptor_2_1(info, [&](const auto& tmpError, const auto&) { in TEST_P() argument 203 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P()
|
/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 | 68 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in SetUp() argument 69 mHasReadbackBuffer = tmpError == Error::NONE; in SetUp() 215 mPrimaryDisplay, [&](const auto& tmpError, const auto& tmpKeys) { in TEST_P() argument 216 error = tmpError; in TEST_P() 479 mPrimaryDisplay, [&](const auto& tmpError, const auto&) { in TEST_P() argument 480 ASSERT_EQ(Error::UNSUPPORTED, tmpError) << "readback buffer is active"; in TEST_P() 544 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument 566 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 607 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 620 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument
|
D | VtsHalGraphicsComposerV2_2ReadbackTest.cpp | 164 mComposerClient->getRaw()->getColorModes_2_2(mPrimaryDisplay, [&](const auto& tmpError, in setTestColorModes() 166 ASSERT_EQ(Error::NONE, tmpError); in setTestColorModes() 193 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 195 tmpDataspace, tmpError); in TEST_P() 255 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 257 tmpDataspace, tmpError); in TEST_P() 327 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 329 tmpDataspace, tmpError); in TEST_P() 393 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 395 tmpDataspace, tmpError); in TEST_P() [all …]
|
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
D | vendor_graphicbuffer_meta.cpp | 93 [&](const auto& tmpError, const android::hardware::hidl_vec<uint8_t>& tmpVec) { in get_dataspace() argument 94 error = tmpError; in get_dataspace() 287 [&](const auto& tmpError, const android::hardware::hidl_vec<uint8_t>& tmpVec) { in get_format_fourcc() argument 288 error = tmpError; in get_format_fourcc() 313 [&](const auto& tmpError, const android::hardware::hidl_vec<uint8_t>& tmpVec) { in get_format_modifier() argument 314 error = tmpError; in get_format_modifier() 386 get_mapper()->importBuffer(handle, [&](const auto& tmpError, const auto& tmpBuffer) { in import_buffer() argument 387 error = tmpError; in import_buffer()
|
/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
D | VtsHalGraphicsComposerV2_3TargetTest.cpp | 247 mPrimaryDisplay, [&](const auto tmpError, const auto outKeys) { in TEST_P() argument 248 if (tmpError != Error::UNSUPPORTED) { in TEST_P() 249 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 264 [&](const auto tmpError, const auto outPixelFormat, const auto outDataspace) { in TEST_P() argument 265 if (tmpError != Error::UNSUPPORTED) { in TEST_P() 266 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 358 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument 371 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::BAD_PARAMETER, tmpError); }); in TEST_P() argument 393 [&](const auto& tmpError, const auto&) { ASSERT_EQ(Error::BAD_DISPLAY, tmpError); }); in TEST_P() argument
|
/hardware/google/graphics/common/gralloc-headers/pixel-gralloc/ |
D | mapper.h | 69 [&](const auto& tmpError, \ 71 error = tmpError; \
|
/hardware/interfaces/graphics/mapper/4.0/vts/functional/ |
D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 514 mGralloc->rawAllocate(descriptor, 1, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P() argument 515 EXPECT_EQ(Error::BAD_DESCRIPTOR, tmpError); in TEST_P() 577 mGralloc->getMapper()->createDescriptor(info, [&](const auto& tmpError, const auto&) { in TEST_P() argument 578 EXPECT_EQ(Error::BAD_VALUE, tmpError) << "createDescriptor did not fail with BAD_VALUE"; in TEST_P() 617 mGralloc->getMapper()->importBuffer(rawHandle, [&](const auto& tmpError, const auto& buffer) { in TEST_P() argument 618 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 651 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 652 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 657 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() argument 658 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() [all …]
|
/hardware/interfaces/graphics/composer/2.4/vts/functional/ |
D | VtsHalGraphicsComposerV2_4TargetTest.cpp | 294 [&](const auto& tmpError, const auto& value) { in TEST_P() argument 295 EXPECT_EQ(Error::NONE, tmpError); in TEST_P() 306 display.get(), config, attribute, [&](const auto& tmpError, const auto&) { in TEST_P() argument 307 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_P()
|
/hardware/interfaces/graphics/composer/2.1/vts/functional/ |
D | VtsHalGraphicsComposerV2_1TargetTest.cpp | 153 [&](const auto& tmpError, const auto&) { EXPECT_EQ(Error::NO_RESOURCES, tmpError); }); in TEST_P() argument 382 mPrimaryDisplay, config, attribute, [&](const auto& tmpError, const auto&) { in TEST_P() argument 383 EXPECT_TRUE(tmpError == Error::NONE || tmpError == Error::UNSUPPORTED); in TEST_P()
|
/hardware/interfaces/graphics/allocator/aidl/vts/ |
D | VtsHalGraphicsAllocatorAidl_TargetTest.cpp | 168 convert(descriptorInfo), [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 169 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
|