Commit graph

16 commits

Author SHA1 Message Date
Robert Shih
9049fc93a8 DrmHalTest: null check for skipped test
Bug: 253168737
Change-Id: I0dea0d2482d607eecff433ffb901eba02a39770f
Test: VtsAidlHalDrmTargetTest
2023-02-01 16:39:18 +00:00
Shubhangi Pawar
05f5fd842d Merge "drm aidl vts: proper skip tests without vendor module" into android13-tests-dev 2023-01-26 03:45:22 +00:00
Robert Shih
b76b6287d9 drm aidl vts: proper skip tests without vendor module
Bug: 253168737
Test: VtsAidlHalDrmTargetTest
Change-Id: Iaac3ef19197dceea16061e9926c831818b27bd14
2023-01-06 22:27:42 -08:00
Kyle Zhang
e006233589 Fix OfflineLicenseTest not provisioned
Bug: 261096489
Test: VtsAidlHalDrmTargetTest
Change-Id: Iac3d96cefd5639f076a6c58517b1bb8f60562ddf
2023-01-07 01:35:49 +00:00
Kyle Zhang
f782f6431c Add multiple provision attempts in vts openSession test
Bug: 233085112
Test: VtsAidlHalDrmTargetTest
Change-Id: I4dd42b3c7155b6476f51a8cc4cca185bea7d565f
2022-05-26 20:22:46 +00:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
Robert Shih
1203027999 aidl drm: independent min/max SecurityLevel for each supported mime
Bug: 219528925
Test: atest MediaDrmTest.testIsCryptoSchemeSupportedForSecurityLevels
Change-Id: I9dcd786fe921c6ed4ac49bba5a6dddf887404df3
Merged-In: I9dcd786fe921c6ed4ac49bba5a6dddf887404df3
2022-02-20 19:35:30 +00:00
Robert Shih
5cb7fe91c6 Merge "Add drm aidl owners" am: 29988fd22f am: 065a377950 am: 1f1240ee1d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1991237

Change-Id: I6099376a0e13f1bcff7b4146c565a4bb96d76d91
2022-02-19 21:29:07 +00:00
Robert Shih
9f86aafaa2 Add drm aidl owners
Bug: 219528925
Change-Id: I6b630c4e40083f98a00f9337ffee52fb22cae06c
2022-02-17 17:47:06 -08:00
Robert Shih
020f6460b1 Merge "drm aidl vts: address ANAPIC review" 2022-02-11 06:41:46 +00:00
Robert Shih
2389ce2f9f drm aidl vts: address ANAPIC review
Interface update in change 16810770

Bug: 214410088
Test: atest VtsAidlHalDrmTargetTest
Change-Id: Ibab87c0ab1d4019a470bbb4f0a2e2932e597e681
2022-02-09 22:58:44 -08:00
Robert Shih
fe6d6b122c drm hal aidl API cleanup
* Merge IDrmFactory / ICryptoFactory
* Simplify isContentTypeSupported / isCryptoSchemeSupported
* Remove requiresSecureDecoderDefault
* DecryptArgs
* DestinationBuffer union
* byte[16] Uuid
* KeyStatusType underscores
* setSharedBufferBase generic buffer type

Bug: 214410088
Test: VtsAidlHalDrmTargetTest
Change-Id: Ic30100af9bdb95aff9d140e093edb083c1b49592
2022-02-09 18:13:45 -08:00
Kyle Zhang
c91de48292 Merge "Make interface linkable for libmediadrm" 2022-01-28 02:55:31 +00:00
Edwin
9184178f58 Make interface linkable for libmediadrm
Add build flag to fix aidl converted libmediadrm
link error.

Test: CtsMediaDrmTestCases, GtsMediaTestCases

Bug: 200055138
Bug: 170964303
Change-Id: Ifa0cfbb269e768dadf3ff69d7c0c2f17ad1eb540
2022-01-28 01:36:50 +00:00
Robert Shih
5904a72fc3 Add vts tests to verify DRM AIDL interface
The DRM AIDL interface is in change 15329852.
The default implementation of the interface is in the clearkey
HAL in change 15958954.

[TODO] APIs pending vts coverage:
+ ICryptoFactory
   + isCryptoSchemeSupported
+ ICryptoPlugin
   + getLogMessages
   + notifyResolution
   + requiresSecureDecoderComponent
+ IDrmFactory
   + getSupportedCryptoSchemes
   + isContentTypeSupported
+ IDrmPlugin
   + decrypt
   + encrypt
   + getLogMessages
   + getMetrics
   + getNumberOfSessions
   + getPropertyByteArray
   + getPropertyString
   + getSecureStop
   + getSecureStopIds
   + getSecureStops
   + queryKeyStatus
   + releaseAllSecureStops
   + releaseSecureStop
   + releaseSecureStops
   + removeAllSecureStops
   + removeKeys
   + removeSecureStop
   + requiresSecureDecoder
   + requiresSecureDecoderDefault
   + restoreKeys
   + setCipherAlgorithm
   + setMacAlgorithm
   + setPlaybackId
   + setPropertyByteArray
   + sign
   + signRSA
   + verify

Bug: 170964303
Bug: 200055138
Test: atest VtsAidlHalDrmTargetTest
Change-Id: If8b582796fdbc34d3d7720fa45df8291f72cd46a
2022-01-25 00:58:50 -08:00
Robert Shih
8ee98880ef Add Stable AIDL interface for DRM service
Test: m -j128 android.hardware.drm-update-api

Bug: 200055138
Bug: 170964303
Change-Id: I091d839cd94075bf36670a9494aa99f7b6c97365
2022-01-06 15:40:25 -08:00