Commit Graph

3410 Commits

Author SHA1 Message Date
Srujan Gaddam
1479632fa7 Merge "Change move_widevine_data.sh to move L3 files" into qt-dev am: f246f028b2 am: 5f5cc2b634
am: 670804fb8b

Change-Id: I72e1c3e113b6470711ae99b0cfa928f2c1b53387
2019-05-25 11:15:00 -07:00
Srujan Gaddam
1423b9261f Merge "Change move_widevine_data.sh to move L3 files" into qt-dev am: f246f028b2 am: c9ba0981ba
am: b4396d0e6e

Change-Id: I2549d67295dc4bb9599a951ea6ed9d8f99048d67
2019-05-25 10:58:02 -07:00
Srujan Gaddam
18e3cf144a Reverse LD_LIBRARY_PATH order based on liboemcrypto.so am: 45d02c545c am: 4f63000ad7
am: e7ed590fe2

Change-Id: Iee0fcdd19542b0068707928530131c686ac57859
2019-05-25 10:40:17 -07:00
Srujan Gaddam
670804fb8b Merge "Change move_widevine_data.sh to move L3 files" into qt-dev am: f246f028b2
am: 5f5cc2b634

Change-Id: Ib88a498287b245c059d1a89f0b9823705ce0bcb9
2019-05-25 10:35:07 -07:00
Srujan Gaddam
28696a2125 Reverse LD_LIBRARY_PATH order based on liboemcrypto.so am: 45d02c545c am: 61510bbc8a
am: 971aa7d2d4

Change-Id: I96e5f4358ef37ec1dce634b021fd64f24ed7a77e
2019-05-25 10:34:07 -07:00
Srujan Gaddam
b4396d0e6e Merge "Change move_widevine_data.sh to move L3 files" into qt-dev am: f246f028b2
am: c9ba0981ba

Change-Id: Ibfc8e5b6f4065ed423e7a5aa46ad646f9314b50e
2019-05-25 10:23:53 -07:00
Srujan Gaddam
e7ed590fe2 Reverse LD_LIBRARY_PATH order based on liboemcrypto.so am: 45d02c545c
am: 4f63000ad7

Change-Id: Ie44be8d202f8a560a3cb696526ffc5cb3a3e3a06
2019-05-25 10:12:00 -07:00
Srujan Gaddam
971aa7d2d4 Reverse LD_LIBRARY_PATH order based on liboemcrypto.so am: 45d02c545c
am: 61510bbc8a

Change-Id: I06f61b27bbeae84f1fbc5a8f260612aa935bfb72
2019-05-25 10:10:31 -07:00
Srujan Gaddam
c9ba0981ba Merge "Change move_widevine_data.sh to move L3 files" into qt-dev
am: f246f028b2

Change-Id: If234e0936bb67da65a60cf724792bdea97d3fae9
2019-05-25 10:05:10 -07:00
Srujan Gaddam
61510bbc8a Reverse LD_LIBRARY_PATH order based on liboemcrypto.so
am: 45d02c545c

Change-Id: I792d5690d8a635338a844addc4bd4ad3ef469cb1
2019-05-25 09:58:50 -07:00
Haibo Huang
1d2ee2d4d7 Merge "Using ::testing::DoAll" into qt-dev-plus-aosp am: f078443fd7
am: 0222e219f6

Change-Id: I1a97f8acee8895833793faf271e216dcdbf1a5d3
2019-05-24 20:23:12 -07:00
Srujan Gaddam
5f5cc2b634 Merge "Change move_widevine_data.sh to move L3 files" into qt-dev
am: f246f028b2

Change-Id: Ie11b5cab53bc0eae5259adea637c844db836c045
2019-05-24 14:18:22 -07:00
TreeHugger Robot
f246f028b2 Merge "Change move_widevine_data.sh to move L3 files" into qt-dev 2019-05-24 20:59:31 +00:00
Srujan Gaddam
4f63000ad7 Reverse LD_LIBRARY_PATH order based on liboemcrypto.so
am: 45d02c545c

Change-Id: I2e28abef3400773443df0bbb0f6392663bbd93a6
2019-05-24 12:28:52 -07:00
Srujan Gaddam
45d02c545c Reverse LD_LIBRARY_PATH order based on liboemcrypto.so
Bug: b/133427576
Test: Unit tests on Taimen and Crosshatch
Merge of http://go/wvgerrit/79804

Currently, the run_all_unit_tests.sh script fails to load in the Level 1
OEMCrypto for some devices that don't have a 64-bit liboemcrypto.so. This
is because the liboemcrypto.so tries to load in libQSEEComAPI.so, which
some devices contain both a 32-bit and 64-bit version of. Since we set
the LD_LIBRARY_PATH to use /vendor/lib64 first, and since we only have a
32-bit liboemcrypto.so, the 32-bit liboemcrypto.so will try to load in the
libQSEEComAPI.so in the lib64 path first. Since the liboemcrypto.so is
32-bit, it will fail to open the 64-bit library. The solution to this is
to conditionally set the LD_LIBRARY_PATH based on if a 64-bit
liboemcrypto.so exists or not.

Change-Id: I80a9e778f31f089f66df0544cb022d810e9d3de3
2019-05-24 10:30:10 -07:00
Haibo Huang
6f1910ec4c Using ::testing::DoAll am: c70771dd20
am: 1fd42b9c8c

Change-Id: If13da61f0d4c34bbe41b352573409cd4a349b575
2019-05-23 01:31:59 -07:00
Rahul Frias
80b8e29c3f WvCdmExtendedDurationTest#VerifyLicenseRequestTest fixes
[ Merge of http://go/wvgerrit/79724 ]

Bug: 122982573
Test: WV unit/integration tests
Change-Id: Icb7b192311dc6bbe630d96f993ccca774160774b
2019-05-22 18:12:06 -07:00
Haibo Huang
0222e219f6 Merge "Using ::testing::DoAll" into qt-dev-plus-aosp
am: f078443fd7

Change-Id: If82da95f95f0338aeba25107c213c25dca999153
2019-05-22 14:04:28 -07:00
Haibo Huang
1fd42b9c8c Using ::testing::DoAll
am: c70771dd20

Change-Id: Icb4a5658c56822fb6239616a43c4b3ae61b56489
2019-05-22 13:26:49 -07:00
Haibo Huang
f078443fd7 Merge "Using ::testing::DoAll" into qt-dev-plus-aosp 2019-05-22 17:43:01 +00:00
Haibo Huang
e3e086e3f8 Using ::testing::DoAll
Without this statement, compilation failed with new googletest.

Test: build
Bug: 129498355
Change-Id: I9eb7b7a2634f20ef80a23b75c06fc84a2fa52dc3
(cherry picked from commit 9055e93a70)
2019-05-22 17:38:58 +00:00
Haibo Huang
c70771dd20 Using ::testing::DoAll
[ Merge of ag/7620084 ]

Without this statement, compilation failed with new googletest.

Test: build
Bug: 129498355
Change-Id: I5e3f5310617e00821f70079fc700bc3f87c3d0ab
(cherry picked from commit 5764d3f801)
2019-05-22 17:27:03 +00:00
Rahul Frias
9900ce909b Merge "Ref count WvCdmDecryptionModule" 2019-05-22 14:28:02 +00:00
Fred Gylys-Colwell
aa7f7d3ac4 Remove test keybox one more time
Merge from Widevine repo of http://go/wvgerrit/78883

Bug: 119316243
Test: unit tests
Change-Id: Ic6748a6e020c2a4058510fb5c6c5a821e57cc5fd
2019-05-22 00:25:56 +00:00
Rahul Frias
776996d6d2 Ref count WvCdmDecryptionModule
[ Merge of http://go/wvgerrit/78803 ]

WvCdmDecryptionModule needs to be refcounted since it inherits
from RefBase. The test code instantiates it as a member variable.

Bug: 133188706
Test: WV unit/integration tests
Change-Id: Ib41f3477a55923fb4cc26472e42d3e18eb2b84d4
2019-05-21 11:41:52 -07:00
Haibo Huang
5764d3f801 Using ::testing::DoAll
Without this statement, compilation failed with new googletest.

Test: build
Bug: 129498355
Change-Id: I5e3f5310617e00821f70079fc700bc3f87c3d0ab
2019-05-20 11:19:06 -07:00
Haibo Huang
c19f8867c0 Merge "Using ::testing::DoAll" 2019-05-20 00:19:13 +00:00
Haibo Huang
9055e93a70 Using ::testing::DoAll
Without this statement, compilation failed with new googletest.

Test: build
Bug: 129498355
Change-Id: I9eb7b7a2634f20ef80a23b75c06fc84a2fa52dc3
2019-05-20 00:18:22 +00:00
Rahul Frias
55e54caca5 Merge "Merge "Correct android version number in test" into qt-dev am: 48650f74ab am: df19f4f85d" into qt-r1-dev-plus-aosp
am: 5cbcb9eba0

Change-Id: I733b263a621e020151ba625f72f1860bab9d73ce
2019-05-18 04:42:39 -07:00
Rahul Frias
1ae3ff21e8 Merge "Correct android version number in test" into qt-dev am: 48650f74ab am: 5b3a43b17c
am: 766a15693a

Change-Id: I95a665e2eedeacea6d8ad1b676f8bd3757ddb76c
2019-05-18 04:00:21 -07:00
Fred Gylys-Colwell
e2a2dcf763 Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev am: 3454ccf51e am: af4ba75658
am: b85766a7f0

Change-Id: I17f30b53f283062577424f5f27f844e14377a432
2019-05-17 23:27:13 -07:00
Fred Gylys-Colwell
b56e01cd2f Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev am: 3454ccf51e am: d579bbf511
am: 5a9ef9a128

Change-Id: I56452ec76a98895d3dd077222e72030f40192f5a
2019-05-17 14:19:57 -07:00
Android Build Merger (Role)
5cbcb9eba0 Merge "Merge "Correct android version number in test" into qt-dev am: 48650f74ab am: df19f4f85d" into qt-r1-dev-plus-aosp 2019-05-17 14:41:31 +00:00
Rahul Frias
ed587da19c Merge "Correct android version number in test" into qt-dev am: 48650f74ab
am: df19f4f85d

Change-Id: I3a368a1ecc9ede92316959aa2a85921a5b7ba95d
2019-05-17 07:41:23 -07:00
Rahul Frias
766a15693a Merge "Correct android version number in test" into qt-dev am: 48650f74ab
am: 5b3a43b17c

Change-Id: I17391063e8fa00b1315fc1cce5d9139636a1f95d
2019-05-17 07:41:18 -07:00
Rahul Frias
5b3a43b17c Merge "Correct android version number in test" into qt-dev
am: 48650f74ab

Change-Id: I277f13f636b2f8c74accfb741de814090772d12c
2019-05-17 07:38:18 -07:00
Rahul Frias
df19f4f85d Merge "Correct android version number in test" into qt-dev
am: 48650f74ab

Change-Id: I7107bf359368736a7e63e9fd98408360d79b9f02
2019-05-17 07:36:16 -07:00
Rahul Frias
48650f74ab Merge "Correct android version number in test" into qt-dev 2019-05-17 14:23:01 +00:00
Robert Shih
860d3ef467 Add CdmKeyStatus kKeyStatusUsableInFuture am: 69c8f488ca am: 790b97e308
am: e91e7142ae

Change-Id: Id3cea4ce03554b38175fde868dbbed2fdac322d0
2019-05-17 00:15:49 -07:00
Robert Shih
fe8924f814 Add CdmKeyStatus kKeyStatusUsableInFuture am: 69c8f488ca am: 6a329e6c9a
am: e6ba3ec747

Change-Id: Iee17c92d9a3f3fd390e05bb0324ba04861236210
2019-05-16 20:07:33 -07:00
Fred Gylys-Colwell
f3b65702ca Merge "Address review comments for OEMCrypto Build Information" 2019-05-17 01:19:56 +00:00
Fred Gylys-Colwell
b85766a7f0 Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev am: 3454ccf51e
am: af4ba75658

Change-Id: Iada8a7560d99caf9c07a6c99f8d39cf39fa83f98
2019-05-16 17:45:51 -07:00
Fred Gylys-Colwell
5a9ef9a128 Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev am: 3454ccf51e
am: d579bbf511

Change-Id: Ifc105c1fe69b8c2ddd2abfaee70482f5d80c4744
2019-05-16 17:23:18 -07:00
Fred Gylys-Colwell
af4ba75658 Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev
am: 3454ccf51e

Change-Id: Ibf2dd62f0a04fc3b21cfb793966c4854af66fa1b
2019-05-16 15:43:59 -07:00
Fred Gylys-Colwell
d579bbf511 Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev
am: 3454ccf51e

Change-Id: Ia495d1b2140052e302442957fc134b1a382167f4
2019-05-16 15:34:06 -07:00
Rahul Frias
4f273991b9 Correct android version number in test
[ Merge of http://go/wvgerrit/79144 ]

Bug: 132908020
Test: WV unit/integration tests
Change-Id: Idf5cf3e1e886af3bfed157320fa09d66dfa55c0d
2019-05-16 14:44:40 -07:00
TreeHugger Robot
3454ccf51e Merge "Disable failures for LoadKeyWithSuspiciousIV and SelectKeyNotThereAPI15" into qt-dev 2019-05-16 20:34:18 +00:00
Srujan Gaddam
189eb87977 Change move_widevine_data.sh to move L3 files
Bug: b/130252305
Test: nyc-mr2-release -> pi-dev, oc-mr1-release -> pi-dev
nyc-mr2-release -> oc-mr1-release -> pi-dev upgrades with offline
licenses
Merge of http://go/ag/7323341

In N, the L3 files were stored in /data/mediadrm/IDM[uid]/. In O, they
were moved to /data/mediadrm/IDM[uid]/L3/. In P, we moved the contents
of mediadrm to /data/vendor/mediadrm/. For an O->P upgrade, the L3 files
can be read in /data/vendor/mediadrm/IDM[uid]/L3/, but when we upgrade
N->P, the L3 files sit in /data/vendor/mediadrm/IDM[uid]/, unable to be
read. This CL addresses this issue by changing the script to move any L3
files if they exist under this directory to the L3 subdirectory after we
do the bulk move from /data/mediadrm/ to /data/vendor/mediadrm/.

Change-Id: I319c323879766df063d25478046367878023a7cf
(cherry picked from commit 1a6ca36976)
2019-05-16 20:25:54 +00:00
Fred Gylys-Colwell
e4c7bc38f8 Address review comments for OEMCrypto Build Information
Merge of http://go/wvgerrit/78683

There were some review comments in http://go/wvgerrit/78683 that came
in after the code was merged to the qt-dev branch.  This CL addresses
them on the master branch.

Test: unit tests.
Bug: 129070445
2019-05-16 18:32:16 +00:00
Robert Shih
e91e7142ae Add CdmKeyStatus kKeyStatusUsableInFuture am: 69c8f488ca
am: 790b97e308

Change-Id: I9b26a7e96e18bfd5ee09f6f1b6e0d70b6ed6ba29
2019-05-16 07:15:25 -07:00