|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| common/ | H | 25-Apr-2025 | - | 4,302 | 2,531 |
| drmserver/ | H | 25-Apr-2025 | - | 2,254 | 1,669 |
| libdrmframework/ | H | 25-Apr-2025 | - | 7,925 | 5,130 |
| libmediadrm/ | H | 25-Apr-2025 | - | 10,478 | 7,930 |
| libmediadrmrkp/ | H | 25-Apr-2025 | - | 471 | 347 |
| mediacas/plugins/ | H | 25-Apr-2025 | - | 3,279 | 2,031 |
| mediadrm/plugins/ | H | 25-Apr-2025 | - | 8,871 | 6,196 |
| OWNERS | H A D | 25-Apr-2025 | 60 | 4 | 3 |
| README.md | H A D | 25-Apr-2025 | 510 | 14 | 11 |
| TEST_MAPPING | H A D | 25-Apr-2025 | 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