/aosp12/hardware/interfaces/graphics/composer/2.4/utils/vts/ |
H A 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() 50 error = tmpError; in getDisplayCapabilities() 60 error = tmpError; in getDisplayConnectionType() 87 error = tmpError; in getDisplayVsyncPeriod() 100 error = tmpError; in setActiveConfigWithConstraints() 115 error = tmpError; in getSupportedContentTypes() 129 error = tmpError; in getLayerGenericMetadataKeys() 150 ASSERT_EQ(V2_1::Error::NONE, tmpError); in execute() 154 [&](const auto& tmpError, const auto& tmpDescriptor) { in execute() argument [all …]
|
/aosp12/hardware/interfaces/graphics/composer/2.3/utils/vts/ |
H A 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() 67 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color modes"; in getColorModes_2_3() 81 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents"; in getRenderIntents_2_3() 108 ASSERT_EQ(Error::NONE, tmpError) << "failed to get perFrameMetadataKeys"; in getPerFrameMetadataKeys_2_3() 121 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR capabilities"; in getHdrCapabilities_2_3() 138 error = tmpError; in getDisplayedContentSamplingAttributes() 163 error = tmpError; in getDisplayedContentSample() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
H A D | MapperVts.cpp | 94 if (canTolerate(tolerance, tmpError)) { in allocate() 153 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor() 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 288 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize() 300 ASSERT_EQ(Error::NONE, tmpError) << "failed to check is supported"; in isSupported() 311 err = tmpError; in get() 328 [&](const auto& tmpError, const hidl_vec<uint8_t>& tmpVec) { in getFromBufferDescriptorInfo() argument 329 err = tmpError; in getFromBufferDescriptorInfo() [all …]
|
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
H A 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() 54 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR metadata keys"; in getPerFrameMetadataKeys() 75 ASSERT_EQ(Error::NONE, tmpError); in execute() 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() 142 ASSERT_EQ(Error::NONE, tmpError) << "failed to get readback fence"; in getReadbackBufferFence() 151 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color modes"; in getColorModes() 160 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents"; in getRenderIntents() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | ComposerHal.cpp | 238 error = tmpError; in createVirtualDisplay() 291 error = tmpError; in getActiveConfig() 317 error = tmpError; in getColorModes() 326 error = tmpError; in getColorModes() 338 error = tmpError; in getColorModes() 387 error = tmpError; in getDisplayConfigs() 403 error = tmpError; in getDisplayName() 428 error = tmpError; in getDozeSupport() 916 error = tmpError; in getRenderIntents() 1118 error = tmpError; in getDisplayConnectionType() [all …]
|
/aosp12/hardware/interfaces/camera/common/1.0/default/ |
H A 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() 132 if (tmpError == MapperErrorV4::NONE) { in getPlaneLayouts() 156 [&](const auto& tmpError, const auto& tmpPtr) { in __anone99ea02c0402() argument 157 if (tmpError == MapperErrorV4::NONE) { in __anone99ea02c0402() 212 if (tmpError == E::NONE) { in unlockInternal() 346 if (tmpError == MapperErrorV4::NONE) { in lock() 367 [&](const auto& tmpError, const auto& tmpPtr) { in lock() argument [all …]
|
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
H A 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() 129 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer() 156 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig() 172 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color mode"; in getColorModes() 194 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display configs"; in getDisplayConfigs() 204 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display name"; in getDisplayName() 214 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display type"; in getDisplayType() 224 ASSERT_EQ(Error::NONE, tmpError) << "failed to get doze support"; in getDozeSupport() 294 ASSERT_EQ(Error::NONE, tmpError); in execute() [all …]
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | GrallocWrapper.cpp | 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() 169 error = tmpError; in unlock() 222 [&](const auto& tmpError, const auto& tmpStride, in allocate() 224 error = tmpError; in allocate() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
H A 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() 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() 226 [&](const auto& tmpError, const auto& tmpLayout) { in lockYCbCr() argument 227 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr() 243 mMapper->unlock(buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlock() argument 244 ASSERT_EQ(Error::NONE, tmpError) << "failed to unlock buffer " << buffer; in unlock() 278 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize() [all …]
|
/aosp12/hardware/qcom/display/msm8909w_3100/libdisplayconfig/ |
H A 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() 194 if (tmpError) { in getActiveConfig() 223 if (tmpError) { in getDisplayAttributes() 256 [&](const auto &tmpError, const auto &tmpLevel) { in getPanelBrightness() argument 257 if (tmpError) { in getPanelBrightness() 320 [&](const auto &tmpError, const auto &tmpCaps) { in getHDRCapabilities() argument 321 error = tmpError; in getHDRCapabilities() [all …]
|
/aosp12/hardware/qcom/display/msm8909/libdisplayconfig/ |
H A 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() 194 if (tmpError) { in getActiveConfig() 223 if (tmpError) { in getDisplayAttributes() 256 [&](const auto &tmpError, const auto &tmpLevel) { in getPanelBrightness() argument 257 if (tmpError) { in getPanelBrightness() 320 [&](const auto &tmpError, const auto &tmpCaps) { in getHDRCapabilities() argument 321 error = tmpError; in getHDRCapabilities() [all …]
|
/aosp12/hardware/qcom/sdm845/display/libdisplayconfig/ |
H A 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() 194 if (tmpError) { in getActiveConfig() 223 if (tmpError) { in getDisplayAttributes() 256 [&](const auto &tmpError, const auto &tmpLevel) { in getPanelBrightness() argument 257 if (tmpError) { in getPanelBrightness() 320 [&](const auto &tmpError, const auto &tmpCaps) { in getHDRCapabilities() argument 321 error = tmpError; in getHDRCapabilities() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
H A 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 201 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 235 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 241 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 381 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 387 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 395 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 405 invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
H A 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() 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() 221 mMapper->unlock(buffer, [&](const auto& tmpError, const auto& tmpReleaseFence) { in unlock() argument [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
H A 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 201 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 235 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 241 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 395 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 401 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 409 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 419 invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P() [all …]
|
/aosp12/frameworks/native/libs/ui/ |
H A D | Gralloc3.cpp | 119 auto hidl_cb = [&](const auto& tmpError, const auto& tmpDescriptor) { in createDescriptor() argument 120 error = tmpError; in createDescriptor() 136 error = tmpError; in importBuffer() 177 error = tmpError; in getTransportSize() 208 [&](const auto& tmpError, const auto& tmpData, in lock() 210 error = tmpError; in lock() 254 error = tmpError; in lock() 285 error = tmpError; in unlock() 322 error = tmpError; in isSupported() 380 error = static_cast<status_t>(tmpError); in allocate() [all …]
|
H A D | Gralloc2.cpp | 128 auto hidl_cb = [&](const auto& tmpError, const auto& tmpDescriptor) in createDescriptor() 130 error = tmpError; in createDescriptor() 159 [&](const auto& tmpError, const auto& tmpBuffer) in importBuffer() 161 error = tmpError; in importBuffer() 215 error = tmpError; in getTransportSize() 253 [&](const auto& tmpError, const auto& tmpData) in lock() 255 error = tmpError; in lock() 294 [&](const auto& tmpError, const auto& tmpLayout) in lock() 296 error = tmpError; in lock() 327 [&](const auto& tmpError, const auto& tmpReleaseFence) in unlock() [all …]
|
H A D | Gralloc4.cpp | 130 error = tmpError; in createDescriptor() 146 error = tmpError; in importBuffer() 188 error = tmpError; in getTransportSize() 252 error = tmpError; in lock() 378 error = tmpError; in unlock() 415 error = tmpError; in isSupported() 447 error = tmpError; in get() 794 [&](const auto& tmpError, const auto& tmpDescriptions) { in listSupportedMetadataTypes() argument 795 error = tmpError; in listSupportedMetadataTypes() 997 error = tmpError; in dumpBuffer() [all …]
|
/aosp12/hardware/interfaces/graphics/mapper/2.1/vts/functional/ |
H A 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()
|
/aosp12/hardware/interfaces/graphics/composer/2.2/vts/functional/ |
H A 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
|
H A 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 398 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 516 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument 639 [&](const auto& tmpError, const auto& tmpPixelFormat, const auto& tmpDataspace) { in TEST_P() argument [all …]
|
/aosp12/hardware/qcom/sm7250/display/composer/ |
H A 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()
|
/aosp12/hardware/interfaces/graphics/mapper/2.1/utils/vts/ |
H A 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()
|
/aosp12/hardware/interfaces/graphics/composer/2.3/vts/functional/ |
H A 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
|
/aosp12/hardware/interfaces/graphics/mapper/4.0/vts/functional/ |
H A D | VtsHalGraphicsMapperV4_0TargetTest.cpp | 505 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 539 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 545 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 939 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 945 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 953 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 964 EXPECT_EQ(Error::BAD_BUFFER, tmpError) in TEST_P() 2379 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 2430 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() 2462 ASSERT_EQ(Error::NONE, tmpError); in TEST_P() [all …]
|