diff options
| author | Robert Shih <robertshih@google.com> | 2019-04-18 00:06:54 -0700 |
|---|---|---|
| committer | Jeff Tinker <jtinker@google.com> | 2019-05-08 00:52:01 +0000 |
| commit | 31703179a53f4f36e9ae67b3b28fe936a2995c20 (patch) | |
| tree | 5648e6713a68f0317c44d644245f6f90f4e1bf0b /drm/1.2/IDrmPlugin.hal | |
| parent | 7af01ada853bfaeced663cf6b6fa1b987da26304 (diff) | |
| download | android_hardware_interfaces-31703179a53f4f36e9ae67b3b28fe936a2995c20.tar.gz android_hardware_interfaces-31703179a53f4f36e9ae67b3b28fe936a2995c20.tar.bz2 android_hardware_interfaces-31703179a53f4f36e9ae67b3b28fe936a2995c20.zip | |
Add status for license starting in the future
Bug:116738851
Test: vts-tradefed run commandAndExit -m VtsHalDrmV1_2Target
Change-Id: Id5017e3ffa1fcf5aaad1815b59a425ac63f2e53e
Diffstat (limited to 'drm/1.2/IDrmPlugin.hal')
| -rw-r--r-- | drm/1.2/IDrmPlugin.hal | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drm/1.2/IDrmPlugin.hal b/drm/1.2/IDrmPlugin.hal index 7d266f4c7..df09ccf91 100644 --- a/drm/1.2/IDrmPlugin.hal +++ b/drm/1.2/IDrmPlugin.hal @@ -226,4 +226,22 @@ interface IDrmPlugin extends @1.1::IDrmPlugin { * @param sessionId identifies the session the event originated from */ sendSessionLostState(SessionId sessionId); + + /** + * Send a keys change event to the listener. The keys change event + * indicates the status of each key in the session. Keys can be + * indicated as being usable, expired, outputnotallowed or statuspending. + * + * This method only differs from @1.0 version by the addition of new + * KeyStatusType(s) in keyStatusList. + * + * @param sessionId identifies the session the event originated from + * @param keyStatusList indicates the status for each key ID in the + * session. + * @param hasNewUsableKey indicates if the event includes at least one + * key that has become usable. + */ + sendKeysChange_1_2(SessionId sessionId, vec<KeyStatus> keyStatusList, + bool hasNewUsableKey); + }; |
