History log of /frameworks/av/services/mediadrm/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6d998b67be330843f633a563c23c606593060165 18-Dec-2017 Jeff Tinker <jtinker@google.com> Implement new MediaDrm methods

Methods for querying HDCP, security levels and
number of sessions

bug:64001680
bug:33657579

Test: cts: MediaDrmMockTest, ClearKeySystemTest
gts: GtsMediaTestCases

Change-Id: I7c84df02ec33d305b6bd5ac7479922f87aa64863
/frameworks/av/services/mediadrm/Android.mk
d5a416a49d5074e2966f5fe255561cbaaf31a325 16-May-2017 Chong Zhang <chz@google.com> cas: convert MediaCas to HIDL

- Remove AIDL interfaces.
- Replace usage with corresponding HIDL interfaces.
- Move MediaCasService implementation from frameworks/av
to hardware/interfaces/cas.

bug: 22804304

Change-Id: I56ab22565a43e91481ac2759ce69462bcc194046
/frameworks/av/services/mediadrm/Android.mk
5e732cdddf1efd2f78f24b16463c17235103226e 03-May-2017 Steven Moreland <smoreland@google.com> Remove redundant dependencies

android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Change-Id: I6ffb95645e767ab2575623333b12ba720f64d58b
/frameworks/av/services/mediadrm/Android.mk
bc31f277a2ec64fbceca57dfacd4810b28077618 29-Apr-2017 John W. Bruce <juce@google.com> Merge "Prefix ENABLE_MEDIADRM_64 with TARGET_" into oc-dev am: a01a7ff652
am: 26dbd86cca

Change-Id: I9c067ff809ac76496c93c8fa35fc0bf91aa8af73
6527a56de00c47887e28eee03bbdd28b2472ef2e 27-Apr-2017 John W. Bruce <juce@google.com> Prefix ENABLE_MEDIADRM_64 with TARGET_

This build-time flag should be prefixed.

Bug: 37039525
Test: Built OS
Change-Id: I09ab0a1ed672a88db5741102d87973eb9267efb3
/frameworks/av/services/mediadrm/Android.mk
99a5aba027cca8d3e69e333b56168a223e053d82 25-Apr-2017 Jeff Tinker <jtinker@google.com> Remove DISABLE_TREBLE_DRM

This flag is obsolete now that the conversion
to treble is complete.

Change-Id: I7073d337939da43bddf99644bfe52db9baa2f605
related-to-bug: 32815560
/frameworks/av/services/mediadrm/Android.mk
e9fec5451704893412c8e707940483a6bdb5f238 14-Mar-2017 John W. Bruce <juce@google.com> Add Flag for Enabling 64-bit Media DRM Server

We are ready for devices to begin migrating to a 64-bit Media DRM
Server. However, not all devices are ready to make this jump yet. A
device needs to have all of its DRM Plugins ready to run as 64-bit
before it can do this. This includes having 64-bit hardware
integrations.

So that devices can turn on 64-bit support as they get ready, I am
adding flags that can be set in a device's device.mk file. There are two
parts:

* ENABLE_MEDIADRM_64 enables building the mediadrmserver as 64-bit.

* Setting drm.64bit.enabled=true in PRODUCT_PROPERTY_OVERRIDES switches
mediadrmserver to searching for DRM Plugins in the 64-bit directory.

Test: Validated that turning on these flags enables a 64-bit
mediadrmserver that loads 64-bit DRM Plugins from the lib64
directory (after setting DISABLE_TREBLE_DRM to true to load this
code as opposed to the Legacy DRM Plugin HAL)
Bug: 36076017
Change-Id: I141cfd57ff75b40c8b0cb40a5bf1439a1ab5b766
/frameworks/av/services/mediadrm/Android.mk
9dbe9a57bf0ae2494ec312d6c1b06feec20e9ec9 03-Jan-2017 Chong Zhang <chz@google.com> MediaCas: add MediaCasService

This CL adds API only without implementation.

bug: 22804304
Change-Id: Ibb5a29cc616ec0af81957b2bfe1419c482591753
/frameworks/av/services/mediadrm/Android.mk
af515713a6ce5ad9d268c20e1317fe84bdcaa6de 13-Feb-2017 Yifan Hong <elsk@google.com> Revert "Link against libhidltransport."

This reverts commit e3b713d4b73ac1ffbc87d419a898dd10aa04fd45.

Bug: 35151407
Bug: 35041785

Test: verified with Play Movies on fugu

Change-Id: I7bb2be082cc97e7993aa14f1550b3935ad3661c8
/frameworks/av/services/mediadrm/Android.mk
4441393a9d9830de8b059b279127c6b558f194ba 10-Feb-2017 Jeff Tinker <jtinker@google.com> Merge "Enable DRM HIDL HAL by default"
e3b713d4b73ac1ffbc87d419a898dd10aa04fd45 08-Feb-2017 Martijn Coenen <maco@google.com> Link against libhidltransport.

To work around an issue where future dlopen()
of libraries depending on libhidltransport works
correctly.

Bug: 35041785
Test: secure video playback works again
Change-Id: I6e01dae16761044e5c89dad593aeca946c96b7bd
/frameworks/av/services/mediadrm/Android.mk
f3a591cc9d604133e2c5cae3d34322b52cd7575d 02-Feb-2017 Jeff Tinker <jtinker@google.com> Enable DRM HIDL HAL by default

Eliminate ENABLE_TREBLE since it is obsolete.
Switching back to legacy DRM is still possible
by building with DISABLE_TREBLE_DRM=true

Change-Id: I6b921050dff6162112c60df21549fc93bc46e379
/frameworks/av/services/mediadrm/Android.mk
70537c1ce74eff5cbd6554fc972a7d44b7157eca 31-Jan-2017 Jeff Tinker <jtinker@google.com> Fix fugu build break on aosp

bug:34767350
Change-Id: Ibc10bec4f79e3d58b5c72c99a7f1e56e7a2fbd86
/frameworks/av/services/mediadrm/Android.mk
68b3d9f49e68a11af5225175dc9e60ce88819e84 07-Jan-2017 Edwin Wong <edwinwong@google.com> Pass application packagename to drm plugin.

Pass application package name to createPlugin and createDrmPlugin.
The application packagename will be used as part of a unique
identifier for drm plugin.

Test: Play Movies.

Test: ANDROID_BUILD_TOP= ./android-gts/tools/gts-tradefed run gts -m
GtsMediaTestCases --test
com.google.android.media.gts.WidevineH264PlaybackTests#testL1With480P60

Verify the application's packagename is reachable in the drm plugin's
debug log.

bug: 27101531

Change-Id: I84fb09b591a7af63f6e20004e910112a4ce6ebac
/frameworks/av/services/mediadrm/Android.mk
a53d6553fce1818bdf87833f93633c93ad1b5915 20-Jan-2017 Jeff Tinker <jtinker@google.com> Implement client code to use Drm and Crypto HALs

This change adds DrmHal & CryptoHal classes that connect to the Treble
HAL interfaces for drm. These classes mirror the existing Drm and
Crypto classes that connect to the DrmPlugin and CryptoPlugin
interfaces. Having both allows mediadrmserver to run in either mode
while the HAL is stabilized.

The shared memory interfaces between mediaserver's ACodecBufferChannel
and ICrypto had to be reworked to use the Treble HALs. Specifically,
the shared memory path for returning decrypted buffers in the
non-secure case had to become separate instead of piggy-backing on the
source shared memory buffer. A separate shared memory destination
buffer is now allocated on the buffer channel. An abstraction for a
decrypt destination buffer was also introduced to clarify ICrypto's
decrypt method.

Tests: Playback using Play Movies and ExoPlayer works on angler
with and without the treble hal enabled.

bug: 32815560
Change-Id: I5a3dc84f99902eb8cf8eabab9ad074d307744950
/frameworks/av/services/mediadrm/Android.mk
dbb1afd703c1435e0be5d5fd85248ab48dac2b02 01-Dec-2016 Marco Nelissen <marcone@google.com> Remove unneeded libcutils references

mediaserver, mediadrmserver, cameraserver don't actually use libcutils

Change-Id: Ieac17ec8bce73910672db4e3e239bc6cbe5f0be0
/frameworks/av/services/mediadrm/Android.mk
75571e4bc76bd2defd4309c7154120840396329d 08-Nov-2016 Marco Nelissen <marcone@google.com> Clean up mediadrm dependencies

Move various things around so mediadrmserver doesn't need
libstagefright and libmedia

Test: build/boot
Change-Id: I48b713cd679b992cb6ad1262c20394a9892d7027
/frameworks/av/services/mediadrm/Android.mk
c661ae6165338fd5f0bca50a63058b4bcd6def4b 25-Oct-2016 Marco Nelissen <marcone@google.com> Remove unneeded links with dynamic libraries

Various media components were linking against dynamic libraries that weren't needed.

Test: built and booted

Change-Id: I7379506fd06d4e28e0eff0001fd073a2d3860f8e
/frameworks/av/services/mediadrm/Android.mk
3003807fcfa96c9cbfea18d643f47108aa116cd5 25-Apr-2016 Jeff Tinker <jtinker@google.com> Remove MediaDrm stack from mediaserver

Part of media security hardening

MediaDrm was temporarily allowed to
run in either mediaserver or mediadrmserver
while all nexus devices were implementing
support for the native_handle representation
of secure buffers. Now that all nexus
devices support native_handle, the MediaDrm
stack can be removed from mediaserver.

b/22990512

Change-Id: Ie5d83bfeb4c4a824e1d0edb4c9452c782d6fd386
/frameworks/av/services/mediadrm/Android.mk
c903684e9a8af5450bab61b0883fc81c5a466844 19-Feb-2016 Aurimas Liutikas <aurimas@google.com> Fix the last warnings in frameworks/av/ drm code.

- index is always positive so no need to check > 0
- args parameters are unused.

Bug: 27151704
Change-Id: Ia4c23e1fc4eaef47f38526574b35ccfea9c92177
/frameworks/av/services/mediadrm/Android.mk
a69729dc76b97c44387088d351480d5d0701517e 12-Feb-2016 Jeff Tinker <jtinker@google.com> Add mediadrm service

Part of media security hardening

This is an intermediate step toward moving
mediadrm to a new service separate from mediaserver.
This first step allows mediadrmservice to run based
on the system property media.mediadrmservice.enable
so it can be selectively enabled on devices that
support using native_handles for secure buffers.

bug: 22990512
Change-Id: I70320f0c4b7861cdba26fbc24c20bce54e5749a4
/frameworks/av/services/mediadrm/Android.mk