1 #ifndef ANDROID_HARDWARE_CONFIGSTORE_V1_1_SURFACEFLINGERCONFIGS_H 2 #define ANDROID_HARDWARE_CONFIGSTORE_V1_1_SURFACEFLINGERCONFIGS_H 3 4 #include <android/hardware/configstore/1.1/ISurfaceFlingerConfigs.h> 5 #include <hidl/MQDescriptor.h> 6 #include <hidl/Status.h> 7 8 namespace android { 9 namespace hardware { 10 namespace configstore { 11 namespace V1_1 { 12 namespace implementation { 13 14 using ::android::hardware::configstore::V1_1::ISurfaceFlingerConfigs; 15 using ::android::hardware::Return; 16 using ::android::hardware::Void; 17 using ::android::sp; 18 19 struct SurfaceFlingerConfigs : public ISurfaceFlingerConfigs { 20 // Methods from 21 // ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs follow. 22 Return<void> vsyncEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override; 23 Return<void> vsyncSfEventPhaseOffsetNs(vsyncSfEventPhaseOffsetNs_cb _hidl_cb) override; 24 Return<void> useContextPriority(useContextPriority_cb _hidl_cb) override; 25 Return<void> hasWideColorDisplay(hasWideColorDisplay_cb _hidl_cb) override; 26 Return<void> hasHDRDisplay(hasHDRDisplay_cb _hidl_cb) override; 27 Return<void> presentTimeOffsetFromVSyncNs(presentTimeOffsetFromVSyncNs_cb _hidl_cb) override; 28 Return<void> useHwcForRGBtoYUV(useHwcForRGBtoYUV_cb _hidl_cb) override; 29 Return<void> maxVirtualDisplaySize(maxVirtualDisplaySize_cb _hidl_cb) override; 30 Return<void> hasSyncFramework(hasSyncFramework_cb _hidl_cb) override; 31 Return<void> useVrFlinger(useVrFlinger_cb _hidl_cb) override; 32 Return<void> maxFrameBufferAcquiredBuffers(maxFrameBufferAcquiredBuffers_cb _hidl_cb) override; 33 Return<void> startGraphicsAllocatorService(startGraphicsAllocatorService_cb _hidl_cb) override; 34 35 // Methods from 36 // ::android::hardware::configstore::V1_1::ISurfaceFlingerConfigs follow. 37 Return<void> primaryDisplayOrientation(primaryDisplayOrientation_cb _hidl_cb) override; 38 39 // Methods from ::android::hidl::base::V1_0::IBase follow. 40 }; 41 42 } // namespace implementation 43 } // namespace V1_1 44 } // namespace configstore 45 } // namespace hardware 46 } // namespace android 47 48 #endif // ANDROID_HARDWARE_CONFIGSTORE_V1_1_SURFACEFLINGERCONFIGS_H 49