| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I150b95790d5e6d3c0160637149f18f2194318de8
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For storing pointers, long is used in DRM classes,
as native pointers can be 64-bit.
In addition, some minor changes have been done
to conform with standard JNI practice (e.g. use
of jint instead of int in JNI function prototypes)
Change-Id: I101b0ea19ed93651c6ad1a9fa55e14e8be117469
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
|
|
|
|
|
| |
Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f
|
|
|
|
|
|
|
|
| |
More closely matches the object ownership pattern used by other
stream APIs. Callers must now explicitly finish(). Also fixes
write(int) bug by switching to Streams API.
Change-Id: I64f9c5887ef02496b1ce4e97ce6af5dad93b4be2
|
|
|
|
|
|
|
|
|
| |
Switch DrmManagerClient to using CloseGuard to better track leaked
resources. Add DrmOutputStream which applies DRM transformation as
data is written, similar to FilterOutputStream. Also writes DRM
headers before closing.
Change-Id: Ic106a3e6f6ff666e4dda484fbd234a0849eec8c0
|
|\
| |
| |
| |
| | |
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
Correct executable bit for source files
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Many media files and source code files were marked as executable in Git.
Remove those.
Also a shell script and python script were not marked as executable.
Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
|
|\ \
| |/
|/|
| | |
applications" into jb-mr1-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At present, we did not actually pass the fd. This patch allows us to
make the changes necessary in the future without worrying too much
about broken build.
related-to-bug: 6426185
Change-Id: I125decff9be621a72f2631fd439994a94a526606
|
|/
|
|
|
|
|
|
| |
The JNI layer has a fix amount (512) of jni references.
They should be released as soon as possible. In for
and while loops they can quickly reach the limit.
Change-Id: Id984345e1cc4f7aa6eb31a263b796c3da9edf773
|
|
|
|
|
|
|
|
| |
because they are not created.
o related-to-bug: 6293875
Change-Id: I03dbb2782bd90f88d1f8df086b8a529730afe5dc
|
|
|
|
| |
Change-Id: I7459b9e959a60751b8fa6e0d893cb2c820c064ce
|
|
|
|
| |
Change-Id: I9bc5573ee07e30b305b5b879023aa9ec69e10b91
|
|\
| |
| |
| | |
against the supported ones"
|
| |
| |
| |
| |
| |
| | |
supported ones
Change-Id: I6a20832f6a2dfb8554dbddef0dee87cc21c05c80
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I8df2a90409c9266a094a1a0904a5ff76ec483d16
|
|/
|
|
| |
Change-Id: I2cecdba49cf044d2aafd8aa404d27df311cad401
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I47d24070c7bda385cd1d7fa1f6a75dbb1f82b476
|
|/
|
|
| |
Change-Id: I0e7f60b61f03fde046fc1ad668b28cdee635898b
|
|
|
|
|
|
| |
o This patch removed duplicated code.
Change-Id: Ic3d3461fb8da6fab1b4d19d28b8d9d4abc8a53b1
|
|
|
|
|
|
|
| |
o allocated array using new must be deleted using delete[]
o removed duplicated code
Change-Id: Ifa8e2e1cd46568c5266717eb1ad340b61a843adc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
o added missing javadoc comment for some public fields
o added checks for arguments
o DrmSupportInfo should have not been exposed as public.
A default package access modifier appears to be more proper but we may
not be able to change the modifier.
Change-Id: I5b284c17219c5121f241ee2934fb3e859ce7c827
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
fix: add an API to release resources"
* commit 'f73222a39e0fa294d9105fd7464943aed6e77cd7':
DRM framwork bug fix: add an API to release resources
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When DrmManagerClient object is created and released many times,
the process suddenly crashes.
The case can happen when we make many thumbnails of
DRM-encrypted contents.
The problem is caused by shortage of file descriptors.
DrmManagerClient releases references of file descriptors
only when GC runs. So file descriptors are kept long time
even after the reference of DrmManagerClient are released.
By introducing DrmManagerClient#release() API,
the problem is solved. An application call this API
when we no longer need to use DrmManagerClient object.
Changes are made by SEMC and Sony.
Change-Id: Ie0bbc29cc33872449824285a8d67b1c3cdd8082b
|
| | |
| | |
| | |
| | | |
Change-Id: I1de629b4632a4b3187ca1a28d6416daccd35f924
|
| | |
| | |
| | |
| | | |
Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
|
| | |
| | |
| | |
| | | |
Change-Id: I26f76452ac49e2890b14d133c065493d8df0fb4a
|
| | |
| | |
| | |
| | | |
Change-Id: I44f267700356967dc51e8f85ebf457dc85cfb229
|
| | |
| | |
| | |
| | | |
Change-Id: I5321ebd12e9c6248a108529e82c4e1af2a4405e3
|
| |/
|/|
| |
| |
| |
| | |
o all drm calls using a DecryptHandle now check the permission before proceeding
Change-Id: Ic992a991357876c6e4bfbfab4f5eec1fa0634a13
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
o account id and subscription id are not mandatory, and thus can be anything
such as null or an empty string.
o removed unnecessary or thus inconsistent checks for account id and subscription id
o updated the javadoc to specify that mimeType could not be null or an empty string.
Change-Id: I704f1dd7fc5d33060da908aae0469d560c7db036
|
|\ \ \
| | | |
| | | |
| | | | |
to be interfaces"
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
interfaces
o We should have not exposed these default constructors in the first place.
Change-Id: Ia8bcfe77e9730021ad8870ece67c6d0eed8146ad
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I14033861e74d20f9d4897b651c4eeee126d4d610
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
o also fixed mis-spelled private method name (quiteDispose => quietlyDispose)
Change-Id: I692cd7471eac547b849dd53853f60843b3915750
|
|/ /
| |
| |
| | |
Change-Id: Id049a4effab120c3f837cde60a87efcd89a64ec6
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I89c588759dd409ac0252d686af12bfe4e105f3d5
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
o This patch will prevent applications from abusing the API by using
arbitrary int value for DrmErrorEvent or DrmInfoEvent types.
o We should have not defined some type constants in the super/base
class, DrmEvent.
Change-Id: Id0bb12caa8ce471cb6951cc2b5d37ea408f90063
|
| |
| |
| |
| | |
Change-Id: Ib386c33b7e2cab12cabbb9dc023d54df05472960
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This avoid lengthy/duplicate sniffing for drm plugins when a decrypt session is opened
o The change is backward compatibile in that no update is required
for existing drm plug-ins if they do not plan to provide separate
sniffer/extractor
related-to-bug: 5725548
Change-Id: I7fc4caf82d77472da4e2bc7b5d31060fb54fd84c
|
| |
| |
| |
| |
| |
| |
| | |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
|
| |
| |
| |
| |
| |
| |
| | |
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
|
| |
| |
| |
| |
| |
| |
| | |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I4c4e33bb9df3e39e11cd985e193e6fbab4635298
|