Commit graph

4718 commits

Author SHA1 Message Date
Etan Cohen
fed081c7a5 [AWARE] Passphrase limit check used incorrect limit
Passphrase has a lower and upper limit. The uppper limit check
was using the incorrect (lower) limit value.

Bug: 38164425
Test: builds & CtsVerifier test passes
Change-Id: I8a58f46a9558f828f8ccfda07935fcf62285f8c3
2017-05-09 12:15:08 -07:00
Peng Xu
74247f83da Merge "Only convert valid SharedMemInfo" 2017-05-05 17:57:33 +00:00
Ningyuan Wang
9dfaf8852a Merge "Expect SUCCESS for tdls vts tests" into oc-dev am: 525e0ecb1a
am: 4149387a43

Change-Id: I7ac432309de61dc72869847b085f3b2b08bf318b
2017-05-05 17:52:02 +00:00
Shawn Willden
7c30ca2cc5 Merge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev am: 585acc6778
am: bc25041f6e

Change-Id: Ib18b4c599813d8503712d33f9070eea11948f4ca
2017-05-05 17:51:36 +00:00
Ningyuan Wang
4149387a43 Merge "Expect SUCCESS for tdls vts tests" into oc-dev
am: 525e0ecb1a

Change-Id: Icdc6c2349baea024f5944d1ba04a914a6871dd7a
2017-05-05 17:43:42 +00:00
Shawn Willden
bc25041f6e Merge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev
am: 585acc6778

Change-Id: I613bc59b8eeeed229131fcff32835e91d26adda6
2017-05-05 17:43:22 +00:00
Ningyuan Wang
525e0ecb1a Merge "Expect SUCCESS for tdls vts tests" into oc-dev 2017-05-05 17:34:37 +00:00
TreeHugger Robot
585acc6778 Merge "Add missing application ID tag to AES/HMAC attestation calls" into oc-dev 2017-05-05 17:29:21 +00:00
Mikhail Naganov
c1a9b473a0 Merge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev am: 65f7dbc9a9
am: 43266a7691

Change-Id: Ib8d017902f7c99c8dcc16d49cd9f43a48bc05b2e
2017-05-05 00:49:45 +00:00
Peng Xu
fb6f02bd23 Only convert valid SharedMemInfo
This CL avoids passing nullptr to underlying HAL and cause
SEGFAULT.

Bug: 37589989
Test: compiles and VTS passing
Change-Id: Ic44409e64466e54a3a3027721897c0755ba34fc7
2017-05-04 17:14:42 -07:00
Mikhail Naganov
43266a7691 Merge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev
am: 65f7dbc9a9

Change-Id: I1f0d90fa7705d2716dbd3358418706ccae8dccb9
2017-05-05 00:08:46 +00:00
TreeHugger Robot
65f7dbc9a9 Merge "audiohal: Add diagnostics to investigate HAL call crashes" into oc-dev 2017-05-05 00:02:39 +00:00
Daniel Cardenas
efd9b42ee2 Merge "Rename libkeymaster to libkeymaster_staging" 2017-05-04 22:59:03 +00:00
Yifan Hong
20209ceca9 Merge "Set omx and configstore as optional." into oc-dev am: 17a0193835
am: d26aaf5769

Change-Id: Id20fc4cc02f571a535b3271019649abd321d4079
2017-05-04 22:03:27 +00:00
Yifan Hong
d26aaf5769 Merge "Set omx and configstore as optional." into oc-dev
am: 17a0193835

Change-Id: I3115a2c2b21f740d991f8740dfb0414c48d075e8
2017-05-04 21:59:38 +00:00
Yifan Hong
17a0193835 Merge "Set omx and configstore as optional." into oc-dev 2017-05-04 21:53:15 +00:00
Mikhail Naganov
6b8619c1af Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice" into oc-dev am: f66f505bc6
am: 63a3014646

Change-Id: Id51d609a89bd94436cd7a1355e0eae19c4d9cc22
2017-05-04 21:51:21 +00:00
Yifan Hong
49a6654ccf Set omx and configstore as optional.
To fix the build for new devices.

Bug: 36097717
Bug: 35356977

Test: on master, m system_compatibility_matrix.xml -j

Change-Id: Ie7a3da46930b3627f4eb6b77c3ba8e50fa2b21ed
2017-05-04 14:49:12 -07:00
Mikhail Naganov
6c0f76a684 audiohal: Add diagnostics to investigate HAL call crashes
This is intended to clarify whether surprising zeroing out of HAL
control structures happens to a particular HAL module, or to any
HAL module at random.

Unfortunately, the crash itself can't be prevented as
audioflinger can't work around a HAL outage, and needs to be
restarted anyway.

Bug: 36225019
Test: verified that the logged string contains the information
Change-Id: I5843d89b4e5385b4ce269f72b5891ccb646daeba
2017-05-04 14:34:37 -07:00
Mikhail Naganov
63a3014646 Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice" into oc-dev
am: f66f505bc6

Change-Id: Ie6a32e496f723413421bef285a4370ddef7214bc
2017-05-04 21:34:06 +00:00
TreeHugger Robot
f66f505bc6 Merge "audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice" into oc-dev 2017-05-04 21:26:26 +00:00
Janis Danisevskis
71ebd5f6b4 Rename libkeymaster to libkeymaster_staging
Fix a build breakage by renaming libkeymaster to
libkeymaster_staging. fugu's vendor tree already had
a libkeymaster.so which masked system/keymaster/libkeymaster.

Bug: 37997750
Change-Id: Ie478726bf81e965be64fb913844b881064e9b66c
2017-05-04 14:16:20 -07:00
Yifan Hong
463b19db65 add more hals to framework compatibility matrix am: c6cba90b96
am: dd5dacf916

Change-Id: Ie6b57cd9474f3fa6ce673ae48412067e2f4a5f92
2017-05-04 19:22:31 +00:00
Yifan Hong
dd5dacf916 add more hals to framework compatibility matrix
am: c6cba90b96

Change-Id: I6fc92d1938bb1394bf88d50ba1777256fde86f7c
2017-05-04 19:19:31 +00:00
Mikhail Naganov
8604a738a7 audiohal: Fix incorrect parameter handling in IDevicesFactory::openDevice
Check for possibly invalid values of IDevicesFactory::Device enum.

Bug: 37592306
Change-Id: I4a2300d3be9ab38e6c51ba8a3b5bbbb606a11c2b
Test: VTS
(cherry picked from commit 8c16d85122)
2017-05-04 18:30:31 +00:00
Yifan Hong
c6cba90b96 add more hals to framework compatibility matrix
Bug: 37321309

Test: marlin builds (PRODUCT_FULL_TREBLE=true)
Test: bullhead builds (PRODUCT_FULL_TREBLE=false)

Change-Id: Ib92183a0749d972d9e89f38e158d32080c8023c6
2017-05-04 10:24:59 -07:00
Janis Danisevskis
448b624803 Merge "libkeymaster1 was split into libkeymaster and _portable" 2017-05-04 16:16:45 +00:00
Steven Moreland
2499a69dfd Merge "Remove redundant dependencies." am: 8b4c1e4589 am: a2b80cf2ca am: 32ed1e2578 -s ours
am: bbf3fd7c52  -s ours

Change-Id: I25e7dedef1fb72a305dfd9084fe35b06bd6a657e
2017-05-03 22:28:13 +00:00
Steven Moreland
bbf3fd7c52 Merge "Remove redundant dependencies." am: 8b4c1e4589 am: a2b80cf2ca
am: 32ed1e2578  -s ours

Change-Id: I36f61b9a0103b75aa168e0fa0564bc103ef5de58
2017-05-03 22:25:43 +00:00
Steven Moreland
32ed1e2578 Merge "Remove redundant dependencies." am: 8b4c1e4589
am: a2b80cf2ca

Change-Id: I69b5f0365e0fe3fe4472f86b90457d57b817c584
2017-05-03 22:23:13 +00:00
Steven Moreland
a2b80cf2ca Merge "Remove redundant dependencies."
am: 8b4c1e4589

Change-Id: Ia79f726d5b0230836c1e5fdcf2043ab6c3ba7c18
2017-05-03 22:20:12 +00:00
Steven Moreland
59b313867f .clang-format: 100 lines am: 5242af6d24 am: 1cc7108736 am: 7f6df039a0
am: 37bf830d2d

Change-Id: Iaaa82569fc6df9ea801befbe3edab3483e527dcb
2017-05-03 22:04:36 +00:00
Shawn Willden
465c154df0 Merge "Fix Keymaster HAL crash." into oc-dev am: a22bc7450b
am: 839ef0db40

Change-Id: Iff8c31d686680a33674a4f5a480c3bf90c8bd4be
2017-05-03 22:03:17 +00:00
Steven Moreland
37bf830d2d .clang-format: 100 lines am: 5242af6d24 am: 1cc7108736
am: 7f6df039a0

Change-Id: I10db60c3f98c39e41ce77b52529f209ea03f0e6f
2017-05-03 22:02:13 +00:00
Treehugger Robot
8b4c1e4589 Merge "Remove redundant dependencies." 2017-05-03 22:01:05 +00:00
Steven Moreland
7f6df039a0 .clang-format: 100 lines am: 5242af6d24
am: 1cc7108736

Change-Id: If99a71d1df69f553b7634fea600f4cc5c137e401
2017-05-03 21:59:37 +00:00
Shawn Willden
839ef0db40 Merge "Fix Keymaster HAL crash." into oc-dev
am: a22bc7450b

Change-Id: I7c765d18c3a6fc8e9741e45802f2991b07cf6fdf
2017-05-03 21:59:29 +00:00
Steven Moreland
1cc7108736 .clang-format: 100 lines
am: 5242af6d24

Change-Id: I1f6efce2c2c1ef8c0ec9dee58a9dc9b8e33c3903
2017-05-03 21:55:22 +00:00
TreeHugger Robot
a22bc7450b Merge "Fix Keymaster HAL crash." into oc-dev 2017-05-03 21:50:23 +00:00
Mikhail Naganov
11397b8339 Merge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"" into oc-dev am: ed84acb9ff
am: 62ce08c3a2

Change-Id: I101943359421f8a4652fba2c53a45517f34ab23c
2017-05-03 19:20:48 +00:00
Mikhail Naganov
62ce08c3a2 Merge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"" into oc-dev
am: ed84acb9ff

Change-Id: Id618a6d2d483e805a3ad9d6991d2ae782de00da3
2017-05-03 19:15:49 +00:00
TreeHugger Robot
ed84acb9ff Merge "Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"" into oc-dev 2017-05-03 19:08:44 +00:00
Mikhail Naganov
86685f56da Revert "audiohal: Get rid of multiple inheritance in IDevice implementation"
This reverts commit e4228e7aa6.

Further analysis of the bug has shown that the problem is not related
to the use of multiple inheritance.

Bug: 36225019
Change-Id: Icdcaf84061c0ecf29f891521bd961c3ee89f1cfc
2017-05-03 16:40:27 +00:00
Zhuoyao Zhang
bdfc7dd70d Merge "Omx VTS tests" into oc-dev am: 9ec2c9e099
am: d4e4937388

Change-Id: I5cccf1544ccbafe13340cb6e7c8e00ece5a828b6
2017-05-03 16:37:32 +00:00
Zhuoyao Zhang
d4e4937388 Merge "Omx VTS tests" into oc-dev
am: 9ec2c9e099

Change-Id: I59f8401168779e7b06302e6ab5ea939c7c116877
2017-05-03 16:31:23 +00:00
Zhuoyao Zhang
9ec2c9e099 Merge "Omx VTS tests" into oc-dev 2017-05-03 16:24:46 +00:00
Janis Danisevskis
85e15db319 libkeymaster1 was split into libkeymaster and _portable
libkeyamster1 was split into libkeymaster and
libkeymaster_portable.
Also removed UniquePtr usage from keymaster hal.

Bug: 37467707
Test: keymaster vts test and keystore cts test
Change-Id: Ic660586d3d9cfd20022a9c694f276da89e796e5d
2017-05-03 15:54:13 +00:00
Ram Mohan M
23c658f118 Omx VTS tests
Bug: 32023356
Test: make vts.

preload elementary stream information during decoding

instead of using extractor to get the frame boundaries, frame
flags and timestamp information, they are read from a metadata
file in the resources directory on demand. Instead of doing it
on demand, we load the entire file information and use it. This
modification comes in handy for future test fixtures

Change-Id: I3a434018111eb66008f17c24b4c2c16d0db22ed1

bug fix: wait on input consumption

after queuing all the frames that need to be processed by
the component, the application continues its job of deinitializing
the component before ensuring all the inputs were decoded.
This is corrected.

Change-Id: I09a11fd5badabe2889ba243383145be07be51953

add end of stream test for audio decoder

component is provided an input with nFlags field set OMX_BUFFERFLAG_EOS.
the application expects this flag to be returned via one of its output
buffers. this flag is passed to the component at different timings to test
the robustness.

Change-Id: I00e3fdd5ef50d93f2620d8b0e9fc3c358de428d7

add timestamp deviation test for decoder components

the list of timestamps received from the component is
compared with the list provided to the component for any
differences

Change-Id: Ifcc16b7a00f58e1c1dfdba9f538d307ddcbfcc71

add option to configure resource files path

default location of resource files is /sdcard/media/. client can provide
choice of this location via the option -P.

example: VtsHalMediaOmxV1_0TargetVideoDecTest -C <component> -R <role> -P /sdcard/res/

Change-Id: Ib8d3af03c19a171e3bbb9839f7e331cbe576b24b

add flush test for audio & video dec components

while decoding a group of frames, flush call is made and it is
checked if all the i/o buffers are sent back to client. we then
seek to the next keyframe and test for decoding. monotonous
increase of timestamps is ensured.

Change-Id: Id48c76c157ebdfdefd3003e57519da3bd9715973
2017-05-02 23:44:26 -07:00
TreeHugger Robot
ee6c074cfb Merge "A header was pulled in for a function we no longer use, so we can/should drop the #include as well." 2017-05-03 04:56:04 +00:00
Sandeep Patil
68f1e1296f Add functional vts test for Health HAL am: d22e2c5a87
am: c42d17f932

Change-Id: I42f411da9197a34a32b65ee6264a95af79d07959
2017-05-03 01:34:14 +00:00