Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a499d441 authored by Matt Buckley's avatar Matt Buckley Committed by Android (Google) Code Review
Browse files

Merge "Add new methods to PowerHalWrapperAidlTest" into main

parents d085e643 290d426a
Loading
Loading
Loading
Loading
+6 −10
Original line number Diff line number Diff line
@@ -28,18 +28,10 @@
#include <unistd.h>
#include <thread>

using aidl::android::hardware::power::Boost;
using aidl::android::hardware::power::ChannelConfig;
using aidl::android::hardware::power::CpuHeadroomParams;
using aidl::android::hardware::power::GpuHeadroomParams;
using aidl::android::hardware::power::IPower;
using aidl::android::hardware::power::IPowerHintSession;
using aidl::android::hardware::power::Mode;
using aidl::android::hardware::power::SessionConfig;
using aidl::android::hardware::power::SessionTag;
using aidl::android::hardware::power::SupportInfo;

using android::binder::Status;

using namespace aidl::android::hardware::power;
using namespace android;
using namespace android::power;
using namespace std::chrono_literals;
@@ -81,6 +73,10 @@ public:
                (override));
    MOCK_METHOD(ndk::ScopedAStatus, getGpuHeadroomMinIntervalMillis, (int64_t* interval),
                (override));
    MOCK_METHOD(ndk::ScopedAStatus, sendCompositionData,
                (const std::vector<CompositionData>& in_data), (override));
    MOCK_METHOD(ndk::ScopedAStatus, sendCompositionUpdate,
                (const CompositionUpdate& in_update), (override));
};

// -------------------------------------------------------------------------------------------------