Commit graph

9887 commits

Author SHA1 Message Date
Yin-Chia Yeh
8b699aaf37 Camera: various external camera CTS fixes
1. Update the FPS range to list (0.5*fps, fps) only
   as webcams tends to skip a lot of frames and not
   able to output at stable framerate.
2. Exif: don't expect focal length to present
3. Thumbnail: allow 0x0 size for no thumbnail output
4. Allow retry some ioctl during configureStream as
   some webcams seems having problem in quick close
   reopen operation.

Test: CTS CameraTest
Bug: 72261912
Change-Id: Ic23b7fb293b7579694c59240e854d750c842886d
2018-03-06 10:35:12 -08:00
Kevin Rocard
5b84bbb548 Audio V4: Require audio V4 in new devices, optional for upgrades
Upgrading devices are allowed to stay on audio V2,
but can also update to V4.

Bug: 38184704
Test: compile and check V4 can be loaded and functional with lshal
Change-Id: Ib1c8381925837a8402ae535755a0558afcf26f4d
Signed-off-by: Kevin Rocard <krocard@google.com>
2018-03-06 18:30:23 +00:00
Nathan Harold
c2b7f42d7d Merge "Fix Copy+Paste Errors in TdscdmaSignalStrength" into pi-dev 2018-03-06 17:59:10 +00:00
Nathan Harold
6df3d8eb63 Fix Copy+Paste Errors in TdscdmaSignalStrength
When copying over from WcdmaSignalStrength, the
ranges and references were wrong. Sadly they
were carried over. Fixing before this gets
out of hand.

Bug: 18628145
Test: compilation - documentation-only change
Change-Id: I08a247674cf42ebeed26c721ff99a71db4152bbf
2018-03-05 14:48:20 -08:00
Myles Watson
8a28de7a8c 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
Merged-In: Ia1ead7ff942ffa369f88f61bcaaa8e03d7973179
(cherry picked from commit 72382e3014)
2018-03-05 21:42:39 +00:00
Jordan Liu
6f8e4d5593 Fix wcdma signal strength comments
As per the spec, the range should be 0-31, 99, and the section
should be 8.5.

Test: builds - No change to behavior
Bug: 71329173
Change-Id: Ib1ea54b19a7bcb33a0235b3ddb3fa09c4872890f
2018-03-05 20:30:18 +00:00
Bernie Innocenti
f0be7ca778 Merge "Add a wifi hal interface to read-back the APF memory." 2018-03-05 02:37:12 +00:00
Bernie Innocenti
bd94b43bc9 Add a wifi hal interface to read-back the APF memory.
Test: builds, boots on marlin.
Change-Id: I860ee093b585bedd800830ea05516ad054a8dc3a
2018-03-03 08:28:10 +09:00
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