Commit graph

9779 commits

Author SHA1 Message Date
TreeHugger Robot
24775d8b8f Merge "Add functional tests for bad input to 1.2" 2018-03-02 21:56:14 +00:00
Kevin Rocard
e8f2d42ab7 Merge "Audio V4: Add owner files for implementations" 2018-03-02 20:59:39 +00:00
Kevin Rocard
4d46cea59c Audio V4: Add owner files for implementations
Bug: 38184704
Test: none
Change-Id: If45a4d7e16ecd045866230b48fde477d21f124e0
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-02 12:55:48 -08:00
Yin-Chia Yeh
96a0da5e87 Merge "Camera: add profiling traces" 2018-03-02 19:13:44 +00:00
TreeHugger Robot
6271c5e63f Merge "wifi(implementation): Remove support for STA + STA in chip combination" 2018-03-02 18:58:28 +00:00
Roshan Pius
aceecb069e wifi(implementation): Remove support for STA + STA in chip combination
Not planning to support STA + STA in Pixel 2018, so remove support for
it from the chip combination.

Also, fixed an error in existing unit tests (Need to mock
WifiLegacyHal.registerRadioModeChangeCallbackHandler)

Bug: 74079118
Test: Tested STA connection & AP bringup on taimen.
Test: ./hardware/interfaces/wifi/1.2/default/tests/runtests.sh
Change-Id: I996e63ecdda4d6a5a07a40d5f7ed1072ada37597
2018-03-02 09:21:02 -08:00
Cassie
72f409ce49 Merge "Add VTS test for getCellInfoList_1_2" am: 6a83645f64 am: a56b4090f8
am: af1fd9d4d7

Change-Id: I753d13a4505c661071ae88aea0e6450d69a71aea
2018-03-02 08:03:27 +00:00
Cassie
af1fd9d4d7 Merge "Add VTS test for getCellInfoList_1_2" am: 6a83645f64
am: a56b4090f8

Change-Id: Ic6841e7d46b02c271e56db91cf9be6a4bc0c69fe
2018-03-02 07:57:26 +00:00
Cassie
a56b4090f8 Merge "Add VTS test for getCellInfoList_1_2"
am: 6a83645f64

Change-Id: I6343d30feff14452e78b9f712021ed9fe84a2d4e
2018-03-02 07:50:51 +00:00
Treehugger Robot
6a83645f64 Merge "Add VTS test for getCellInfoList_1_2" 2018-03-02 07:42:33 +00:00
Zhuoyao Zhang
cc5c69579e Merge "Convert auth secret hal test to use VtsHalHidlTargetTestEnvBase" 2018-03-02 04:27:30 +00:00
chenhg
f33265ec58 Merge "configstore: allow to USE_CONTEXT_PRIORITY by device." am: cd712b0e8f am: 301951f8a4
am: f6f9837522

Change-Id: I830441c02b1cfba9a3f61f1510d3bca307a2b233
2018-03-02 02:49:24 +00:00
chenhg
f6f9837522 Merge "configstore: allow to USE_CONTEXT_PRIORITY by device." am: cd712b0e8f
am: 301951f8a4

Change-Id: I92ff43ccecfc8e87e670181d45de1ffa2fa279af
2018-03-02 02:39:04 +00:00
TreeHugger Robot
40564b46dd Merge "Remove DES 112 tests, and speed up RSA keygen" 2018-03-02 02:36:27 +00:00
TreeHugger Robot
59ef539247 Merge "keymaster: add 4.0 to compatibility matrix" 2018-03-02 02:32:44 +00:00
chenhg
301951f8a4 Merge "configstore: allow to USE_CONTEXT_PRIORITY by device."
am: cd712b0e8f

Change-Id: I9b841c03c9c853bfe8845e9aff171a30fde83fb8
2018-03-02 02:27:11 +00:00
Treehugger Robot
cd712b0e8f Merge "configstore: allow to USE_CONTEXT_PRIORITY by device." 2018-03-02 02:15:46 +00:00
yinxu
69177feacf Add vts response functions for Radio Response 1.2 am: 2e6ed18055 am: 1ef5301ca3
am: 8e14e19ef5

Change-Id: I3f9ca84d3db0399e319f8ff36aac12aee0eb1cde
2018-03-02 01:38:07 +00:00
yinxu
8e14e19ef5 Add vts response functions for Radio Response 1.2 am: 2e6ed18055
am: 1ef5301ca3

Change-Id: Iae1bf6feb0bd092cdce9b0e2a39aeecb5720a60e
2018-03-02 01:33:03 +00:00
yinxu
1ef5301ca3 Add vts response functions for Radio Response 1.2
am: 2e6ed18055

Change-Id: I684ae56f162740554afae65b2b8703b3fc96dfbc
2018-03-02 01:27:28 +00:00
nagendra modadugu
a63596436b Remove DES 112 tests, and speed up RSA keygen
Only DES3 is supported (168-bit), so remove
tests for 112-bit DES.

Also replace the RSA public exponent 3, with
65537 in most tests so that RSA key generation
is faster.

Change-Id: I9958df81fe46d752d82072dc6c7effa34b2921a8
2018-03-01 17:26:12 -08:00
nagendra modadugu
897dbb572c keymaster: add 4.0 to compatibility matrix
Change-Id: I53af1c33f05b73459372a8f8bfc8c0997a925a92
2018-03-01 17:26:12 -08:00
Ahmed ElArabawy
b4dbd17da0 Merge "WiFi: Add VTS for Wifi HAL V1.2" 2018-03-01 23:57:11 +00:00
Cassie
65a3ad31b8 Add VTS test for getCellInfoList_1_2
Bug: 63984327
Test: VTS test
Change-Id: Ie6987f885dfe34c94b30370e1d4853084ee4030b
2018-03-01 15:49:51 -08:00
chenhg
a491908fe9 configstore: allow to USE_CONTEXT_PRIORITY by device.
Fixes: 72007412
Test: manual

Change-Id: Id6135347ef699b27ab708d387261bc031996a476
2018-03-01 22:51:02 +00:00
TreeHugger Robot
4a35fa3b54 Merge "Use std::unordered_map for mTagToTypeMap" 2018-03-01 22:18:18 +00:00
yinxu
2e6ed18055 Add vts response functions for Radio Response 1.2
Bug: 67750232
Test: Compile and Run VTS
Change-Id: I866cea94b1505b05dee336a53ab72ab685c8f441
2018-03-01 14:15:32 -08:00
Michael Wright
47cde04edd Add functional tests for bad input to 1.2
Bug: 73336721
Test: run vts
Change-Id: Idec3fe2c168fe56d9d51a2460ac3b39ae4a05416
2018-03-01 22:15:13 +00:00
Myles Watson
920a28f0d2 Bluetooth: Relax NO_OP and SCO checks am: 72382e3014 am: 4de5fba958
am: 3174a29883

Change-Id: I6eab0b25080645922f1498f92d4876308a689dfb
2018-03-01 22:14:55 +00:00
Myles Watson
3174a29883 Bluetooth: Relax NO_OP and SCO checks am: 72382e3014
am: 4de5fba958

Change-Id: I2e88c8425a4bcb78cc1a8e809a15321d84d9f0cf
2018-03-01 22:10:20 +00:00
Myles Watson
4de5fba958 Bluetooth: Relax NO_OP and SCO checks
am: 72382e3014

Change-Id: I9f13a82c5b0de5a0dccee0814e92af9841e5de3d
2018-03-01 22:06:17 +00:00
Ahmed ElArabawy
cc064455da WiFi: Add VTS for Wifi HAL V1.2
This commit adds VTS tests for WiFi HAL V1.2

Bug: 71581915
Test: `adb shell /data/VtsHalWifiV1_2TargetTest`

Change-Id: I0deab4625e6929507b132f2b65947b862b46aa2d
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
2018-03-01 14:03:14 -08:00
Myles Watson
72382e3014 Bluetooth: Relax NO_OP and SCO checks
Ignore NO_OP complete events.
Ignore ordering for Loopback Mode Connection/Command Complete.
Only check for SCO buffer size when SCO connections are made.

Bug: 69785298
Test: VtsHalBluetoothV1_0TargetTest
Change-Id: Ia1ead7ff942ffa369f88f61bcaaa8e03d7973179
2018-03-01 20:25:15 +00:00
Yin-Chia Yeh
92f9063516 Merge "Camera: add external camera fps control" 2018-03-01 19:19:43 +00:00
TreeHugger Robot
a8f1644543 Merge "audio: Initialize processstate with vndbinder" 2018-03-01 17:10:25 +00:00
Jack Yu
668583d529 Added new VTS test cases for v1.2 data call APIs am: ac1844fac4 am: 67e9c401ec
am: 20d65fe38f

Change-Id: Ic4e1a3aa90769ab3568706f303a12acf5b6f6298
2018-03-01 07:13:53 +00:00
Jack Yu
20d65fe38f Added new VTS test cases for v1.2 data call APIs am: ac1844fac4
am: 67e9c401ec

Change-Id: If3627351c92fcf781c2f7c3b87255197e980d824
2018-03-01 07:08:16 +00:00
Jack Yu
67e9c401ec Added new VTS test cases for v1.2 data call APIs
am: ac1844fac4

Change-Id: Ic0e04ec630718957da988d4f903b6ea4e69e574d
2018-03-01 07:02:43 +00:00
Jack Yu
ac1844fac4 Added new VTS test cases for v1.2 data call APIs
Test: VtsHalRadioV1_2Target
Bug: 64132030
Change-Id: I3b9d94985f42a5dd9b9a24e0592cf1657da237d5
2018-03-01 04:31:11 +00:00
Zhuoyao Zhang
3c3b000d28 Convert auth secret hal test to use VtsHalHidlTargetTestEnvBase
Test: make vts
      vts-tradefed run vts-hal -m VtsHalAuthSecretV1_0Target

Change-Id: Ib66e101a78b4b6d66a426c36112b1cf0b95afda3
2018-02-28 18:05:31 -08:00
Yin-Chia Yeh
e99cf209de Camera: add profiling traces
Bug: 72261744
Change-Id: I82e4d8ecc702c12bb7beb4f3d9979869ce6f4ac2
2018-02-28 16:00:28 -08:00
Yin-Chia Yeh
3aa9ae979c Camera: add external camera fps control
V4L2 doesn't seem to allow changing fps at runtime, so we need to
wait until pipeline is idle and reconfigure V4L2 streams.

Also update the fps filtering logic to make sure supported fps
are consistent as long as the major dimension is the same.
Ex: for 4:3 webcams, all 1280*N sizes has the same fps set, or
    for 16:9 webcams, all N*720 sizes has the same fps set.

Bug: 72261912
Change-Id: I534f09bebadb2f532a030a841633a8be7d3a87cc
2018-02-28 16:00:18 -08:00
Chris Jenneisch
356e28fdb1 Use std::unordered_map for mTagToTypeMap
In the profile we notice that  SortedVectorImpl::_indexOrderOf is
almost 1.6% which is quite high considering it is an access to
a container. We make mTagToNameMap as a std::unordered_map
to store the Tag and the types. The accesses would be in constant time.

This change removes this from the profile and give ~10% improvement.

Bug: 72526772
Change-Id: Iffd244febd093bdfec9fe4d5e846a0e59c0ecdce
2018-02-28 23:14:31 +00:00
TreeHugger Robot
b7724bec9e Merge "Add boilerplate default implementation for Gnss Hal v1.1" 2018-02-28 22:44:38 +00:00
Haynes Mathew George
a57f41d58c audio: Initialize processstate with vndbinder
Initialize processtate with vndbinder to allow
vendor components to talk via vndbinder

Test: re-launch android.hardware.audio@2.0 service
Change-Id: I9fafff157c5e497a8125b13741b56e0852534ffa
2018-02-28 12:35:18 -08:00
Ruchi Kandoi
ccacc1ded5 Merge "Add init() as a part of Secure Element VTS test" am: 196fbbc1a6 am: 2d3204b8d1
am: fe0253219d

Change-Id: I82aa1a52e50c2d1e5bacd14476d92d84b3bd4efd
2018-02-28 19:05:07 +00:00
Ruchi Kandoi
fe0253219d Merge "Add init() as a part of Secure Element VTS test" am: 196fbbc1a6
am: 2d3204b8d1

Change-Id: Ib10c90e29ca7e2e94904ea32ce07f6f452668be4
2018-02-28 18:59:02 +00:00
Eric Schwarzenbach
10a76aa6ea Add VTS tests for 1.2 reporting criteria am: 8bdc4e04e2 am: 1c9406eb01
am: 35882a28ed

Change-Id: I1c92998d3356446598877f9b1858183f6997ad2c
2018-02-28 18:53:45 +00:00
Ruchi Kandoi
2d3204b8d1 Merge "Add init() as a part of Secure Element VTS test"
am: 196fbbc1a6

Change-Id: I9594c8b599265f820f165a980febc9d678b76538
2018-02-28 18:53:00 +00:00
Treehugger Robot
196fbbc1a6 Merge "Add init() as a part of Secure Element VTS test" 2018-02-28 18:44:44 +00:00