-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracked-On: OAM-119851 Signed-off-by: manxiaoliang <[email protected]>
- Loading branch information
1 parent
bc9c17b
commit cf6a61d
Showing
12 changed files
with
304 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
This XML file declares the vendor apex package names eligible for installation. | ||
--> | ||
|
||
<config> | ||
<allowed-vendor-apex package="com.google.android.widevine" installerPackage="com.android.vending" /> | ||
</config> |
Binary file modified
BIN
+120 KB
(100%)
widevine/android.hardware.drm-service.widevine
100755 → 100644
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "com.google.android.widevine", | ||
"version": 1, | ||
"requireNativeLibs": [ | ||
"liboemcrypto.so" | ||
] | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDOOLpUo4QRrwlQ | ||
VpaIOK8plveqKbSW++kkCvX4DV1w712W6LR9tfX8JMcKlI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EP9SYC+JZstmKE/Uwqyw== | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
on property:apex.all.ready=true | ||
mkdir /data/vendor/mediadrm 0770 media mediadrm | ||
|
||
service vendor.drm-widevine-hal /apex/com.google.android.widevine/bin/hw/android.hardware.drm-service.widevine | ||
interface aidl android.hardware.drm.IDrmFactory/widevine | ||
class hal | ||
user media | ||
group media mediadrm drmrpc system | ||
ioprio rt 4 | ||
task_profiles ProcessCapacityHigh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(/.*)? u:object_r:vendor_file:s0 | ||
/bin/hw/android\.hardware\.drm-service\.widevine u:object_r:hal_drm_widevine_exec:s0 | ||
/etc(/.*)? u:object_r:vendor_configs_file:s0 | ||
# TODO(b/268439003) Following two entries are typically handled by the build system. | ||
# We override it so that the Widevine APEX can access it to get the apex version. | ||
# When we have a proper API, we can delete these along with | ||
# use_file_contexts_as_is property in Android.bp | ||
/apex_manifest\.pb u:object_r:vendor_configs_file:s0 | ||
/ u:object_r:system_file:s0 |
Binary file not shown.