Commit Graph

2030 Commits

Author SHA1 Message Date
Rahul Frias
4a9c2fa2a1 Merge "Do not convert the protection scheme to network byte order" into nyc-mr1-dev am: 4b8b1e0e98 am: 2b6f90c631
am: 8316c02ba2

Change-Id: I8b9eda8bcce5302adae2403fbd6df2f50ef34664
2016-08-23 23:20:07 +00:00
Rahul Frias
2ec84f7338 Do not convert the protection scheme to network byte order am: 6a206191f0 am: fa55cf181b
am: 1ca2348287

Change-Id: I86b1e333b20b137a4e61604b392f8059f7a42719
2016-08-23 23:20:07 +00:00
John "Juce" Bruce
15ca8148a8 Widevine Version Number for NYC-MR1
(This is a merge of go/wvgerrit/20402)

This updates the version number to v4.1.0 for the NYC-MR1 release. It
also updates the canary to pass on the nyc-mr1-dev branch.

Bug: 30813903
Change-Id: I05de038ff52e9f7633efff7011052b48b59d90fa
2016-08-23 15:34:39 -07:00
Rahul Frias
8316c02ba2 Merge "Do not convert the protection scheme to network byte order" into nyc-mr1-dev am: 4b8b1e0e98
am: 2b6f90c631

Change-Id: Id1829115413284254d5fd2dd0bf87a63666dac52
2016-08-23 22:11:38 +00:00
Rahul Frias
1ca2348287 Do not convert the protection scheme to network byte order am: 6a206191f0
am: fa55cf181b

Change-Id: I8f4f3dc5d8614931a23316840a1c8aaef9621e03
2016-08-23 22:11:37 +00:00
Rahul Frias
2b6f90c631 Merge "Do not convert the protection scheme to network byte order" into nyc-mr1-dev
am: 4b8b1e0e98

Change-Id: I59c5c41d5c41686240652e3801195361153a3073
2016-08-23 22:06:56 +00:00
Rahul Frias
fa55cf181b Do not convert the protection scheme to network byte order
am: 6a206191f0

Change-Id: Ic006ef7db422ee164ccd03ec15c79a790513e8bb
2016-08-23 22:06:55 +00:00
Rahul Frias
4b8b1e0e98 Merge "Do not convert the protection scheme to network byte order" into nyc-mr1-dev 2016-08-23 21:55:11 +00:00
Rahul Frias
6a206191f0 Do not convert the protection scheme to network byte order
[ Merge of http://go/wvgerrit/19960 ]

Protections schemes are specified using a 4CC code {"cbc1", "cbcs",
"cenc", "cens"}. A host to network conversion was performed when the
PSSH was created and inserted into the license request. A reverse
conversion was performed when the code was extracted from the
license response.

These conversions are problematic if the PSSH is created externally and
passed into mediaDrm. To address this, the conversions have been removed
and allow protobuf to handle byte ordering. For backward compatibility
we allow codes in either ordering.

b/30713238

Change-Id: I25f01ecc621549fd3c13b443e4c8b89168463249
2016-08-23 12:51:12 -07:00
Rahul Frias
70c98c51e1 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours am: ae61d10476 -s ours am: 9ed5a46808 -s ours am: 65fe794386 -s ours
am: 9139a68d2b  -s ours

Change-Id: Iae27922503baef79ef10611616b38a68ff4efa49
2016-08-22 23:02:59 +00:00
Rahul Frias
9139a68d2b Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours am: ae61d10476 -s ours am: 9ed5a46808 -s ours
am: 65fe794386  -s ours

Change-Id: Ifd3449ea64a2b392533a2e157273ce35dd3547f3
2016-08-22 22:58:37 +00:00
TreeHugger Robot
10f7e17522 Merge "Stop hard coding gtest paths." 2016-08-22 22:57:08 +00:00
Rahul Frias
65fe794386 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours am: ae61d10476 -s ours
am: 9ed5a46808  -s ours

Change-Id: I00384796db577b3c8cf6aff6963c7eec5e1ecee4
2016-08-22 22:54:13 +00:00
Rahul Frias
9ed5a46808 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours
am: ae61d10476  -s ours

Change-Id: I32cacb23a6e59bc1db65198f0c441cdeb7491661
2016-08-22 22:06:40 +00:00
Rahul Frias
8f65d1dd90 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours am: e5865ae3bc -s ours
am: 0a4e27fd16  -s ours

Change-Id: If379b9d3654edc4337426168505b1a4f3a0aef94
2016-08-22 21:58:59 +00:00
Rahul Frias
0a4e27fd16 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE] am: 13a4fe8e4c -s ours
am: e5865ae3bc  -s ours

Change-Id: I7de5bbc2eac876a8fff91e92cf999c840f3598a9
2016-08-22 21:54:25 +00:00
Rahul Frias
e5865ae3bc Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE]
am: 13a4fe8e4c  -s ours

Change-Id: I44db5d8401ba1f11624bc4b42fe7ded3d5586cb1
2016-08-22 21:50:02 +00:00
Rahul Frias
ae61d10476 Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE]
am: 13a4fe8e4c  -s ours

Change-Id: I42dbfbcb84d2f66fdfbc30c6a1122a5966055ddb
2016-08-22 21:46:02 +00:00
Dan Albert
eadd3689a2 Stop hard coding gtest paths.
These are automatically exported by libgtest.

Change-Id: Ia55222989523ecda7a4a686ef794040515f56224
Test: mma
Bug: None
2016-08-22 13:53:20 -07:00
Rahul Frias
13a4fe8e4c Do not convert the protection scheme to network byte order [DO NOT MERGE ANYWHERE]
[ Merge of http://go/wvgerrit/19901 ]

Protections schemes are specified using a 4CC code {"cbc1", "cbcs",
"cenc", "cens"}. A host to network conversion was performed when the
PSSH was created and inserted into the license request. A reverse
conversion was performed when the code was extracted from the
license response.

These conversions are problematic if the PSSH is created externally and
passed into mediaDrm. To address this, the conversions have been removed
and allow protobuf to handle byte ordering. For backward compatibility
we allow codes in either ordering.

b/30713238

Change-Id: I721b375e446526e544856759cada76a1fa6c7be5
2016-08-22 20:49:24 +00:00
Dan Albert
7ef26a32b3 Stop hard coding gtest things.
The headers are exported.

Change-Id: If095898ca8d9dfd2a807dcc35bc197e76963fff4
Test: mma
2016-08-17 12:30:17 -07:00
Jeff Tinker
5747f51a98 Annotate CDM error enums with their values
This makes it easier to translate an error code
number to the corresponding enum.

Merge of https://widevine-internal-review.googlesource.com/18793/
from the widevine repo.

Change-Id: I7d07f16e5477decd27fcc5391fc62b1bd254d4a3
2016-08-02 20:56:16 +00:00
Rahul Frias
9f4a7480aa Merge \\\"Upgrade TLS version in integration tests\\\" into nyc-dev am: 1ebaf6ad82 am: eeb6606784
am: dcf60776bd

Change-Id: Ib87a3ea4bf729ead513be2060f8842c1ec694c13
2016-06-20 20:13:38 +00:00
Rahul Frias
f99c890116 Merge \\\"Upgrade TLS version in integration tests\\\" into nyc-dev am: 1ebaf6ad82 am: 6cd9b50064
am: 88a9525513

Change-Id: I6f18b5707716795b02ae971d101110a651e937e9
2016-06-20 20:13:38 +00:00
Rahul Frias
dcf60776bd Merge \\"Upgrade TLS version in integration tests\\" into nyc-dev am: 1ebaf6ad82
am: eeb6606784

Change-Id: I701cc75fda74a09c84a85a00395b2c875908ad5c
2016-06-20 20:06:46 +00:00
Rahul Frias
88a9525513 Merge \\"Upgrade TLS version in integration tests\\" into nyc-dev am: 1ebaf6ad82
am: 6cd9b50064

Change-Id: I19d7dc49c9bd696031eb1832435a8bd63a8ffff0
2016-06-20 20:05:43 +00:00
Rahul Frias
eeb6606784 Merge \"Upgrade TLS version in integration tests\" into nyc-dev
am: 1ebaf6ad82

Change-Id: I87127e320f65c48c95496815a634c6ad854af58a
2016-06-20 20:02:53 +00:00
Rahul Frias
6cd9b50064 Merge \"Upgrade TLS version in integration tests\" into nyc-dev
am: 1ebaf6ad82

Change-Id: Ibcfe029d50fefeb6e00ca6b5ac2d704838a51604
2016-06-20 20:02:42 +00:00
Rahul Frias
1ebaf6ad82 Merge "Upgrade TLS version in integration tests" into nyc-dev 2016-06-20 19:55:27 +00:00
Rahul Frias
b552a133c2 Upgrade TLS version in integration tests
[ Merge of http://go/wvgerrit/18295 ]

SSL v3 is being disabled across Google infrastructure. Networking
code in integration tests used SSL v3 during HTTPS protocol negotiation.
Once this is disabled, it will cause integration test failures at
staging and UAT license servers.

With this change the client will use TLS 1.2. Insecure cipher suites
(TLS_RSA_WITH_RC4_128_MD5, TLS_RSA_WITH_RC4_128_SHA,
 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA, TLS_ECDHE_RSA_WITH_RC4_128_SHA)
have been disabled as well.

b/29356581

Change-Id: I98a04d345fe83c48132b9d79986a21cc84827dc8
2016-06-17 22:28:56 -07:00
Jeff Tinker
3addd861e4 Merge \\\"Rework WidevineSamplePlayer to use fragments\\\" into nyc-dev am: 02d8671882 am: 9b8c6286b6
am: a0fcdbc8f0

Change-Id: I278ffa43430835294c6b379eda518297c20bf0de
2016-06-18 02:15:46 +00:00
Jeff Tinker
a0fcdbc8f0 Merge \\"Rework WidevineSamplePlayer to use fragments\\" into nyc-dev am: 02d8671882
am: 9b8c6286b6

Change-Id: I0427fe538ffcb3f70f012662cf41c2303d80efbb
2016-06-18 02:04:09 +00:00
Jeff Tinker
9b8c6286b6 Merge \"Rework WidevineSamplePlayer to use fragments\" into nyc-dev
am: 02d8671882

Change-Id: I5846eabc3774e616d4334e5f03080ca9e6ed6aaa
2016-06-18 02:01:31 +00:00
Jeff Tinker
0b67ef624b Fix build break
Change-Id: I7525575a9de78a60cc87e29c512dc35ee6a4a29c
2016-06-17 18:54:26 -07:00
Jeff Tinker
267803d2c5 resolve merge conflicts of 907e26c to master
Change-Id: I9dc9f6943192fe2d39d87f0405953b63794123bc
2016-06-17 15:36:23 -07:00
Jeff Tinker
907e26c842 Merge \\"Rework WidevineSamplePlayer to use fragments\\" into nyc-dev am: 02d8671882
am: 98d0e9b614

Change-Id: Ie5c49fef6b19331adb23c85c8cd814b08d0e5141
2016-06-17 21:43:00 +00:00
Jeff Tinker
98d0e9b614 Merge \"Rework WidevineSamplePlayer to use fragments\" into nyc-dev
am: 02d8671882

Change-Id: I8b2d18fb234b697712c33f51fa3be8b45b0f1e19
2016-06-17 21:37:47 +00:00
Jeff Tinker
02d8671882 Merge "Rework WidevineSamplePlayer to use fragments" into nyc-dev 2016-06-17 21:24:47 +00:00
Jeff Tinker
b77b6569e5 Update the expected android build version for NYC release am: 2bd6131162 am: cb9fc66a34
am: 6ee3b062b2

Change-Id: I93f91669aa57ad92f6be5758f0361408b4557446
2016-06-17 19:54:04 +00:00
Jeff Tinker
e046b3283b Update the expected android build version for NYC release am: 2bd6131162 am: 3c5ca90637
am: 4818bca635

Change-Id: I50789f65050411de888c43cd8b45df4532b6c596
2016-06-17 19:54:04 +00:00
Jeff Tinker
6ee3b062b2 Update the expected android build version for NYC release am: 2bd6131162
am: cb9fc66a34

Change-Id: I142852d904617207e79d56af0b144a82352f9a6c
2016-06-17 18:28:57 +00:00
Jeff Tinker
cb9fc66a34 Update the expected android build version for NYC release
am: 2bd6131162

Change-Id: I27f76c54e3192151ad6d4857dd9ed59bf265760d
2016-06-17 18:25:51 +00:00
Jeff Tinker
4818bca635 Update the expected android build version for NYC release am: 2bd6131162
am: 3c5ca90637

Change-Id: I425a01afdee4d9cfeb74d0e2f5b9025326a133d0
2016-06-17 18:23:25 +00:00
Jeff Tinker
3c5ca90637 Update the expected android build version for NYC release
am: 2bd6131162

Change-Id: Ia5006b4f1c54896dfb3c0753d6139dc10f20c208
2016-06-17 18:19:57 +00:00
Jeff Tinker
2bd6131162 Update the expected android build version for NYC release
bug: 29270537
Change-Id: I2f85dd95e1a2b9eaa79299441b48716599211eea
2016-06-17 00:39:33 +00:00
Jeff Tinker
9f735d298a Rework WidevineSamplePlayer to use fragments
Previously it used TabActivity which has been deprecated
and no longer works.

bug: 29045104

Change-Id: I207f0208b6dba47adfa0ffe7485800d1561af617
2016-06-13 11:27:03 -07:00
Edwin Wong
c4920addea Merge "Fix FATAL EXCEPTION when Widevine Classic libraries are not found on device." 2016-06-01 21:39:48 +00:00
Edwin Wong
afd3d7928f Fix FATAL EXCEPTION when Widevine Classic libraries are not found on device.
On device that does not support Widevince Classic playback, display
a Toast pop up to inform users. This prevents a FATAL EXCEPTION from
occuring when acquireDrmInfo() returns a null response in the absence
of Widevine Classic libs.

To test this mode, rename libwvdrm_L?.so in system/vendor/lib and reboot.

bug: 28964035

Change-Id: Ib47d4b3419a6395d402c1b78f3cdc8472b0d6946
2016-06-01 13:09:51 -07:00
Jeff Tinker
6219322a1e Fix the order of test case name and test name
In the unit tests, the test case name and test name
are logged, but currently the test case and name are
reversed.  This CL orders them correctly, so instead
of, e.g. CheckHDCPCapability.OEMCryptoClientTest, we
get OEMCryptoClientTest.CheckHDCPCapability as intended.

Merge of go/wvgerrit/18045 from widevine repo

Change-Id: I20bb2d47de0c84b3a1f00bb46af5ed0a45d7fc56
2016-06-01 19:07:19 +00:00
Rahul Frias
b21a992969 Report OEMCrypto security patch level am: e33895f5de am: ce5475169b
am: a914f6d31f

* commit 'a914f6d31f6bc15be56ea745f5632bcb8425d20a':

Change-Id: Iacfe7fecdfe71d497eeb39e20dbe5db7b0e32120
2016-05-24 00:55:13 +00:00