unplugged-system/frameworks/av/drm
2025-10-06 13:59:42 +00:00
..
common Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
drmserver Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libdrmframework Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libmediadrm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libmediadrmrkp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
mediacas/plugins Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
mediadrm/plugins Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OWNERS Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
TEST_MAPPING Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

AIDL error handling

Starting in Android U (14), libmediadrm (app-side) understands extra error details from AIDL DRM HALs passed through the binder exception message as a json string. The supported fields are:

  • cdmError (int)
  • oemError (int)
  • context (int)
  • errorMessage (str)

The errors details will be reported to apps through the java interface android.media.MediaDrmThrowable. Please see the javadoc of MediaDrmThrowable for detailed definitions of each field above.