blob: a4738e308dcd9d79338f9a257b75da47e7783d15 [file] [log] [blame]
Jiyong Park200825e2017-01-14 19:40:33 +09001#ifndef ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H
2#define ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H
3
4#include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h>
5#include <hidl/MQDescriptor.h>
6#include <hidl/Status.h>
7
8namespace android {
9namespace hardware {
10namespace configstore {
11namespace V1_0 {
12namespace implementation {
13
14using ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs;
15using ::android::hardware::configstore::V1_0::OptionalBool;
16using ::android::hidl::base::V1_0::IBase;
17using ::android::hardware::hidl_array;
18using ::android::hardware::hidl_memory;
19using ::android::hardware::hidl_string;
20using ::android::hardware::hidl_vec;
21using ::android::hardware::Return;
22using ::android::hardware::Void;
23using ::android::sp;
24
25struct SurfaceFlingerConfigs : public ISurfaceFlingerConfigs {
26 // Methods from ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs follow.
27 Return<void> vsyncEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override;
Fabien Sanglardeebc9252017-03-06 11:46:36 -080028 Return<void> vsyncSfEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override;
Jaesoo Leed643fc02017-01-23 19:09:02 +090029 Return<void> useTripleFramebuffer(useTripleFramebuffer_cb _hidl_cb) override;
Fabien Sanglardcbece282017-03-13 13:03:04 -070030 Return<void> useContextPriority(useContextPriority_cb _hidl_cb) override;
Courtney Goeltzenleuchter3670b442017-03-09 09:04:29 -070031 Return<void> hasWideColorDisplay(hasWideColorDisplay_cb _hidl_cb) override;
32 Return<void> hasHDRDisplay(hasHDRDisplay_cb _hidl_cb) override;
Fabien Sanglard8d7e31e2017-03-14 13:16:30 -070033 Return<void> presentTimeOffsetFromVSyncNs(presentTimeOffsetFromVSyncNs_cb _hidl_cb) override;
Fabien Sanglard38295e72017-03-14 11:43:18 -070034 Return<void> useHwcForRGBtoYUV(useHwcForRGBtoYUV_cb _hidl_cb) override;
Fabien Sanglarda33c7e42017-03-10 10:31:14 -080035 Return<void> maxVirtualDisplaySize(maxVirtualDisplaySize_cb _hidl_cb) override;
Jiyong Park200825e2017-01-14 19:40:33 +090036
37 // Methods from ::android::hidl::base::V1_0::IBase follow.
38
39};
40
41extern "C" ISurfaceFlingerConfigs* HIDL_FETCH_ISurfaceFlingerConfigs(const char* name);
42
43} // namespace implementation
44} // namespace V1_0
45} // namespace configstore
46} // namespace hardware
47} // namespace android
48
49#endif // ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H