|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| common/ | | 15-Dec-2024 | - | 4,302 | 2,531 |
| drmserver/ | | 15-Dec-2024 | - | 2,258 | 1,673 |
| libdrmframework/ | | 14-Jan-2024 | - | 7,932 | 5,136 |
| libmediadrm/ | | 15-Dec-2024 | - | 10,478 | 7,930 |
| libmediadrmrkp/ | | 15-Dec-2024 | - | 453 | 330 |
| mediacas/plugins/ | | 14-Jan-2024 | - | 3,088 | 1,889 |
| mediadrm/plugins/ | | 14-Jan-2024 | - | 8,859 | 6,185 |
| OWNERS | D | 14-Jan-2024 | 60 | 4 | 3 |
| README.md | D | 14-Jan-2024 | 510 | 14 | 11 |
| TEST_MAPPING | D | 14-Jan-2024 | 468 | 20 | 19 |
README.md
1## AIDL error handling
2
3Starting in **Android U (14)**, `libmediadrm` (app-side) understands extra error
4details from **AIDL** DRM HALs passed through the binder exception message
5as a json string. The supported fields are:
6* `cdmError` (*int*)
7* `oemError` (*int*)
8* `context` (*int*)
9* `errorMessage` (*str*)
10
11The errors details will be reported to apps through the java interface
12`android.media.MediaDrmThrowable`. Please see the javadoc of `MediaDrmThrowable`
13for detailed definitions of each field above.
14