Commit graph

16 commits

Author SHA1 Message Date
Liana Kazanova (xWF)
32c2f95b10 Revert "Use mediadrm from private instead of tangorpro"
Revert submission 29489024-pixel_tablet_mediadrm

Reason for revert: DroidMonitor: Potential culprit for http://b/369192150 - Verifying through ABTD before submission. 

Reverted changes: /q/submissionid:29489024-pixel_tablet_mediadrm

Change-Id: I3c1c31b871275bf2b5ceb93120918f749f828cd1
2024-09-23 21:03:33 +00:00
Rock Huang
25046bedc2 Use mediadrm from private instead of tangorpro
* Private mediadrm: ag/29478046, ag/29489024

Bug: 367906184
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: b/367906184#comment5
Change-Id: I8dc459ca757de0efd0e989adf92dcb0f4bf5519d
2024-09-20 20:09:33 +08:00
Rock Huang
70a2a32350 Add SOONG_NAMESPACES for mediaDrm plugin
* Without this CL, the following gs-common ag/29381547 will hit a
  duplicated name issue.

Bug: 364190751
Bug: 229298787
Bug: 366426322
Flag: EXEMPT castauth enabled
Test: ab/P80927970
Change-Id: I6bf2fe4ce933f70179cb83fa597caaf98806ffdc
2024-09-16 16:43:14 +08:00
Ryan Prichard
0d97a2bd57 closeSession: actually remove elements from sessions_
std::remove_if consolidates the non-removed elements at the start of
the vector, but it doesn't change the vector's size. After upgrading
libc++, std::remove_if is [[nodiscard]], so this bug causes a compiler
error.

Bug: 175635923
Test: m android.hardware.drm-service.castkey
Change-Id: Ie9734e616f0f93e290cd61f929af04598f236ee7
2023-09-20 17:36:38 -07:00
Faye Yan
999ee31a9b Merge "Revert "DRM VTS Vendor module for castkey"" into tm-qpr-dev am: 866dd380ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20844629

Change-Id: Ia9acb6a6140832cc65c9770a17ecca9fe3444661
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-29 22:56:10 +00:00
Faye Yan
45c1e5bbab Revert "DRM VTS Vendor module for castkey"
This reverts commit 767adb8a0f.

Reason for revert: DroidMonitor-triggered revert due to breakage of target build_test, error log: https://android-build.googleplex.com/builds/submitted/9442293/build_test/latest/view/logs/build_error.log, bug 263909067.

Bug: 263909067
Change-Id: Ie417368ecebbd4e8de9b546519d13705a6c866c8
2022-12-29 21:09:12 +00:00
Haoming Wu
61e700758c Merge "DRM VTS Vendor module for castkey" into tm-qpr-dev am: c07e9c1ff7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20753280

Change-Id: I5c3ec2300c2f71df736724785e2fb63a788c75d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 19:07:51 +00:00
Haoming Wu
767adb8a0f DRM VTS Vendor module for castkey
Bug: 253168737
Test: none

Change-Id: I3024434946be8186535ed61f907f45c9fc67ed1f
2022-12-28 18:26:38 +00:00
TreeHugger Robot
6abbbc3323 Merge "Print error log only if result is empty" into tm-qpr-dev am: 316aadd9ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20341964

Change-Id: Ie8549f80a8312f35bd6ec2d69274a7482ac53755
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-04 08:36:48 +00:00
Haoming Wu
ed008e10df Print error log only if result is empty
Bug: 253463372
Test: Access Cast creds with MediaDrm plugin
Change-Id: Ib40a47f771222864320a7c3e201be7679c8b75fe
2022-11-01 20:10:59 +00:00
Haoming Wu
d8b1550d80 Merge "CastAuthApk: Add logs on mediaDRM plugin" into tm-qpr-dev am: c88302e8ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/20189552

Change-Id: Iac0184464d3117e2de86a46e0078bd8468dc8e0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-19 12:31:48 +00:00
Haoming Wu
96e19e9e80 CastAuthApk: Add logs on mediaDRM plugin
Bug: 253463372
Test: Access Cast creds with MediaDrm plugin
Change-Id: I7ac3409b775d5387f7386ff2b1d9c90c21c43a6a
2022-10-13 21:30:44 +00:00
Bob Badour
c2e3b8b3bf [LSC] Add LOCAL_LICENSE_KINDS
Added SPDX-license-identifier-Apache-2.0 to:
  cast_auth/mediadrm/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I315045a219b512bf57b16433570d1018816608c0
2022-10-06 13:10:14 -07:00
Haoming Wu
4d58b9a903 CastAuthApk: Fix build errors regarding 7-bit overflow using char
Bug: 250870157
Test: Build on aosp_x86-eng
Change-Id: I27c843f48dee57ca44047df6e53f4a330b75d3c7
2022-10-05 18:54:35 +00:00
Haoming Wu
66c1664383 CastAuthApk: Castkey AIDL mediaDrm plugin
Bug: 229298787
Test: Access Cast creds with MediaDrm plugin
Change-Id: I085b193ff4046d9005366c8bc8b3eb8020716b4b
2022-10-04 05:01:59 +00:00
Chungjui Fan
37a8657b56 Check-in cast auth ICA.
Copied from
http://google3/tv/eureka/tools/keygen/eureka_ca/tangor_ica.crt;rcl=443398868

Bug: 234314805
Change-Id: I8a3e09c4bc8f35d2a1ed237656b253d764a95201
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-06-30 05:29:49 +00:00