Loading drm/common/aidl/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ package { aidl_interface { name: "android.hardware.drm.common", host_supported: true, vendor_available: true, srcs: ["android/hardware/drm/*.aidl"], stability: "vintf", Loading @@ -22,6 +23,9 @@ aidl_interface { ndk: { min_sdk_version: "34", }, rust: { enabled: true, }, }, double_loadable: true, versions_with_info: [ Loading graphics/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ cc_defaults { cc_defaults { name: "android.hardware.graphics.composer3-ndk_static", static_libs: [ "android.hardware.drm.common-V1-ndk", "android.hardware.graphics.composer3-V4-ndk", ], } Loading @@ -60,6 +61,7 @@ cc_defaults { cc_defaults { name: "android.hardware.graphics.composer3-ndk_shared", shared_libs: [ "android.hardware.drm.common-V1-ndk", "android.hardware.graphics.composer3-V4-ndk", ], } graphics/composer/aidl/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ aidl_interface { imports: [ "android.hardware.graphics.common-V5", "android.hardware.common-V2", "android.hardware.drm.common-V1", ], backend: { cpp: { Loading graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerCallback.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -45,4 +45,5 @@ interface IComposerCallback { oneway void onVsyncIdle(long display); oneway void onRefreshRateChangedDebug(in android.hardware.graphics.composer3.RefreshRateChangedDebugData data); void onHotplugEvent(long display, android.hardware.graphics.common.DisplayHotplugEvent event); oneway void onHdcpLevelsChanged(long display, in android.hardware.drm.HdcpLevels levels); } graphics/composer/aidl/android/hardware/graphics/composer3/IComposerCallback.aidl +9 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.hardware.graphics.composer3; import android.hardware.drm.HdcpLevels; import android.hardware.graphics.common.DisplayHotplugEvent; import android.hardware.graphics.composer3.RefreshRateChangedDebugData; import android.hardware.graphics.composer3.VsyncPeriodChangeTimeline; Loading Loading @@ -139,4 +140,12 @@ interface IComposerCallback { * @param event is the type of event that occurred. */ void onHotplugEvent(long display, DisplayHotplugEvent event); /** * Notify the client the HDCP levels of the display changed. * * @param display is the display whose HDCP levels have changed. * @param levels is the new HDCP levels. */ oneway void onHdcpLevelsChanged(long display, in HdcpLevels levels); } Loading
drm/common/aidl/Android.bp +4 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ package { aidl_interface { name: "android.hardware.drm.common", host_supported: true, vendor_available: true, srcs: ["android/hardware/drm/*.aidl"], stability: "vintf", Loading @@ -22,6 +23,9 @@ aidl_interface { ndk: { min_sdk_version: "34", }, rust: { enabled: true, }, }, double_loadable: true, versions_with_info: [ Loading
graphics/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -53,6 +53,7 @@ cc_defaults { cc_defaults { name: "android.hardware.graphics.composer3-ndk_static", static_libs: [ "android.hardware.drm.common-V1-ndk", "android.hardware.graphics.composer3-V4-ndk", ], } Loading @@ -60,6 +61,7 @@ cc_defaults { cc_defaults { name: "android.hardware.graphics.composer3-ndk_shared", shared_libs: [ "android.hardware.drm.common-V1-ndk", "android.hardware.graphics.composer3-V4-ndk", ], }
graphics/composer/aidl/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ aidl_interface { imports: [ "android.hardware.graphics.common-V5", "android.hardware.common-V2", "android.hardware.drm.common-V1", ], backend: { cpp: { Loading
graphics/composer/aidl/aidl_api/android.hardware.graphics.composer3/current/android/hardware/graphics/composer3/IComposerCallback.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -45,4 +45,5 @@ interface IComposerCallback { oneway void onVsyncIdle(long display); oneway void onRefreshRateChangedDebug(in android.hardware.graphics.composer3.RefreshRateChangedDebugData data); void onHotplugEvent(long display, android.hardware.graphics.common.DisplayHotplugEvent event); oneway void onHdcpLevelsChanged(long display, in android.hardware.drm.HdcpLevels levels); }
graphics/composer/aidl/android/hardware/graphics/composer3/IComposerCallback.aidl +9 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.hardware.graphics.composer3; import android.hardware.drm.HdcpLevels; import android.hardware.graphics.common.DisplayHotplugEvent; import android.hardware.graphics.composer3.RefreshRateChangedDebugData; import android.hardware.graphics.composer3.VsyncPeriodChangeTimeline; Loading Loading @@ -139,4 +140,12 @@ interface IComposerCallback { * @param event is the type of event that occurred. */ void onHotplugEvent(long display, DisplayHotplugEvent event); /** * Notify the client the HDCP levels of the display changed. * * @param display is the display whose HDCP levels have changed. * @param levels is the new HDCP levels. */ oneway void onHdcpLevelsChanged(long display, in HdcpLevels levels); }