Loading services/surfaceflinger/SurfaceFlinger.cpp +20 −0 Original line number Diff line number Diff line Loading @@ -9177,26 +9177,46 @@ binder::Status SurfaceComposerAIDL::setGameDefaultFrameRateOverride(int32_t uid, } binder::Status SurfaceComposerAIDL::enableRefreshRateOverlay(bool active) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_enableRefreshRateOverlay(active); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::setDebugFlash(int delay) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_setDebugFlash(delay); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::scheduleComposite() { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_scheduleComposite(); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::scheduleCommit() { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_scheduleCommit(); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::forceClientComposition(bool enabled) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_forceClientComposition(enabled); return binder::Status::ok(); } Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +20 −0 Original line number Diff line number Diff line Loading @@ -9177,26 +9177,46 @@ binder::Status SurfaceComposerAIDL::setGameDefaultFrameRateOverride(int32_t uid, } binder::Status SurfaceComposerAIDL::enableRefreshRateOverlay(bool active) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_enableRefreshRateOverlay(active); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::setDebugFlash(int delay) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_setDebugFlash(delay); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::scheduleComposite() { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_scheduleComposite(); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::scheduleCommit() { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_scheduleCommit(); return binder::Status::ok(); } binder::Status SurfaceComposerAIDL::forceClientComposition(bool enabled) { status_t status = checkAccessPermission(); if (status != OK) { return binderStatusFromStatusT(status); } mFlinger->sfdo_forceClientComposition(enabled); return binder::Status::ok(); } Loading