1 #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 8 namespace android { 9 namespace hardware { 10 namespace configstore { 11 namespace V1_0 { 12 namespace implementation { 13 14 using ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs; 15 using ::android::hardware::configstore::V1_0::OptionalBool; 16 using ::android::hidl::base::V1_0::IBase; 17 using ::android::hardware::hidl_array; 18 using ::android::hardware::hidl_memory; 19 using ::android::hardware::hidl_string; 20 using ::android::hardware::hidl_vec; 21 using ::android::hardware::Return; 22 using ::android::hardware::Void; 23 using ::android::sp; 24 25 struct SurfaceFlingerConfigs : public ISurfaceFlingerConfigs { 26 // Methods from ::android::hardware::configstore::V1_0::ISurfaceFlingerConfigs follow. 27 Return<void> vsyncEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override; 28 Return<void> vsyncSfEventPhaseOffsetNs(vsyncEventPhaseOffsetNs_cb _hidl_cb) override; 29 Return<void> useContextPriority(useContextPriority_cb _hidl_cb) override; 30 Return<void> hasWideColorDisplay(hasWideColorDisplay_cb _hidl_cb) override; 31 Return<void> hasHDRDisplay(hasHDRDisplay_cb _hidl_cb) override; 32 Return<void> presentTimeOffsetFromVSyncNs(presentTimeOffsetFromVSyncNs_cb _hidl_cb) override; 33 Return<void> useHwcForRGBtoYUV(useHwcForRGBtoYUV_cb _hidl_cb) override; 34 Return<void> maxVirtualDisplaySize(maxVirtualDisplaySize_cb _hidl_cb) override; 35 Return<void> hasSyncFramework(hasSyncFramework_cb _hidl_cb) override; 36 Return<void> useVrFlinger(useVrFlinger_cb _hidl_cb) override; 37 Return<void> maxFrameBufferAcquiredBuffers(maxFrameBufferAcquiredBuffers_cb _hidl_cb) override; 38 Return<void> startGraphicsAllocatorService( 39 startGraphicsAllocatorService_cb _hidl_cb) override; 40 41 // Methods from ::android::hidl::base::V1_0::IBase follow. 42 43 }; 44 45 } // namespace implementation 46 } // namespace V1_0 47 } // namespace configstore 48 } // namespace hardware 49 } // namespace android 50 51 #endif // ANDROID_HARDWARE_CONFIGSTORE_V1_0_SURFACEFLINGERCONFIGS_H 52