diff options
author | Lloyd Pique <lpique@google.com> | 2019-11-20 16:41:52 -0800 |
---|---|---|
committer | Lloyd Pique <lpique@google.com> | 2019-11-21 02:03:12 +0000 |
commit | 4a2dac35dee18de963750bd427051daddd300115 (patch) | |
tree | bb963d5f67369c09e5b0f6502ad1e619ae46cd51 /services/surfaceflinger/CompositionEngine/tests | |
parent | cb6af747af315bbafe0aa769a36ad4d5229d1954 (diff) | |
download | native-4a2dac35dee18de963750bd427051daddd300115.tar.gz |
CE: Remove now redundant hidl value writers
A change landed to hidl-gen so that these are now generated
automatically.
Bug: None
Test: atest libcompositionengine_test
Change-Id: I08e303494ff5cf34f3489d9db3c90ad3b0cc7895
Diffstat (limited to 'services/surfaceflinger/CompositionEngine/tests')
-rw-r--r-- | services/surfaceflinger/CompositionEngine/tests/DisplayColorProfileTest.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/services/surfaceflinger/CompositionEngine/tests/DisplayColorProfileTest.cpp b/services/surfaceflinger/CompositionEngine/tests/DisplayColorProfileTest.cpp index c07dfbb38d..21b9aa93ea 100644 --- a/services/surfaceflinger/CompositionEngine/tests/DisplayColorProfileTest.cpp +++ b/services/surfaceflinger/CompositionEngine/tests/DisplayColorProfileTest.cpp @@ -19,35 +19,6 @@ #include <compositionengine/mock/CompositionEngine.h> #include <gtest/gtest.h> -namespace android::hardware::graphics::common::V1_1 { - -// Note: These operator overloads need to be defined in the same namespace as -// the values they print. - -std::ostream& operator<<(std::ostream& os, const RenderIntent& value) { - return os << toString(value) << " (" << static_cast<std::underlying_type_t<Dataspace>>(value) - << ")"; -} - -} // namespace android::hardware::graphics::common::V1_1 - -namespace android::hardware::graphics::common::V1_2 { - -// Note: These operator overloads need to be defined in the same namespace as -// the values they print. - -std::ostream& operator<<(std::ostream& os, const Dataspace& value) { - return os << toString(value) << " (" << static_cast<std::underlying_type_t<Dataspace>>(value) - << ")"; -} - -std::ostream& operator<<(std::ostream& os, const ColorMode& value) { - return os << toString(value) << " (" << static_cast<std::underlying_type_t<Dataspace>>(value) - << ")"; -} - -} // namespace android::hardware::graphics::common::V1_2 - namespace android::compositionengine { namespace { |