Searched refs:Unexpected (Results 1 – 10 of 10) sorted by relevance
/frameworks/native/libs/ftl/ |
D | expected_test.cpp | 49 const auto exp = StringExp(ftl::Unexpected(std::errc::invalid_argument)); in TEST() 56 EXPECT_FALSE(IntExp(ftl::Unexpected(std::errc::io_error)).has_error([](auto) { return false; })); in TEST() 58 EXPECT_TRUE(StringExp(ftl::Unexpected(std::errc::permission_denied)).has_error([](auto e) { in TEST() 65 EXPECT_EQ(std::nullopt, IntExp(ftl::Unexpected(std::errc::broken_pipe)).value_opt()); in TEST() 113 EXPECT_TRUE(increment_try(ftl::Unexpected(std::errc::value_too_large)).has_error([](std::errc e) { in TEST() 118 EXPECT_TRUE(repeat_try(ftl::Unexpected(std::errc::bad_message)).has_error([](std::errc e) { in TEST() 135 increment_expect(ftl::Unexpected(std::errc::value_too_large), i)); in TEST() 141 EXPECT_EQ(std::errc::bad_message, repeat_expect(ftl::Unexpected(std::errc::bad_message), str)); in TEST()
|
D | optional_test.cpp | 214 EXPECT_EQ(CharExp(ftl::Unexpected(std::errc::broken_pipe)), in TEST() 218 EXPECT_EQ(StringExp(ftl::Unexpected(std::errc::protocol_error)), in TEST()
|
/frameworks/compile/slang/tests/F_root_compute_really_bad/ |
D | stderr.txt.expect | 12 root_compute_really_bad.rscript:10:66: error: Unexpected parameter 'x1' for compute kernel root2() 13 root_compute_really_bad.rscript:11:26: error: Unexpected parameter 'y1' for compute kernel root2()
|
/frameworks/native/include/ftl/ |
D | expected.h | 139 constexpr auto Unexpected(E&& error) { in Unexpected() function
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 346 RETURN_IF_INVALID_DISPLAY(displayId, ftl::Unexpected(BAD_INDEX)); in getActiveMode() 352 return ftl::Unexpected(NO_INIT); in getActiveMode() 355 RETURN_IF_HWC_ERROR_FOR("getActiveConfig", error, displayId, ftl::Unexpected(UNKNOWN_ERROR)); in getActiveMode() 381 RETURN_IF_INVALID_DISPLAY(displayId, ftl::Unexpected(BAD_INDEX)); in getDisplayVsyncPeriod() 384 return ftl::Unexpected(INVALID_OPERATION); in getDisplayVsyncPeriod() 391 RETURN_IF_HWC_ERROR(error, displayId, ftl::Unexpected(UNKNOWN_ERROR)); in getDisplayVsyncPeriod()
|
D | HWC2.cpp | 292 return ftl::Unexpected(Error::BAD_DISPLAY); in getConnectionType() 301 return ftl::Unexpected(error); in getConnectionType()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagCommonKinds.inc | 216 "Unexpected fragment type `%0' when constructing FG", 217 "Unexpected fragment type `%0' when constructing FG")
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | HWComposerTest.cpp | 130 EXPECT_EQ(mHwc.getActiveMode(PhysicalDisplayId::fromPort(0)), ftl::Unexpected(BAD_INDEX)); in TEST_F() 143 EXPECT_EQ(mHwc.getActiveMode(info->id), ftl::Unexpected(UNKNOWN_ERROR)); in TEST_F() 149 EXPECT_EQ(mHwc.getActiveMode(info->id), ftl::Unexpected(NO_INIT)); in TEST_F()
|
/frameworks/proto_logging/stats/express/catalog/ |
D | job_scheduler.cfg | 253 display_name: "Unexpected service disconnects"
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 603 // Unexpected request for the current state
|