Commit Graph

13233 Commits

Author SHA1 Message Date
TreeHugger Robot
0396331a72 Merge "Camera: Fix MONO and NIR enumeration version" 2018-11-29 06:38:47 +00:00
Keun Soo Yim
868c0694bb Merge "pack VTS cc_test binaries as general-tests" 2018-11-28 21:20:36 +00:00
Shuzhen Wang
a5504b86ec Camera: Fix MONO and NIR enumeration version
Test: VTS test passes
Bug: 70216652
Change-Id: I33bdc849e6655285b76a20d697fdab31cbea260d
2018-11-28 19:52:53 +00:00
Elliott Hughes
8009b3ccce Merge "C++17 compatibility: add a non-const char* overload." am: f919d0a0b8 am: 9ef0004adc
am: 6464114f34

Change-Id: If291303fec3c252f90a119431c6124d81ec46b2d
2018-11-27 17:15:05 -08:00
Elliott Hughes
6464114f34 Merge "C++17 compatibility: add a non-const char* overload." am: f919d0a0b8
am: 9ef0004adc

Change-Id: Id01cceb75b1f4f1ff98b0550b089d93c56da9849
2018-11-27 17:10:54 -08:00
Elliott Hughes
9ef0004adc Merge "C++17 compatibility: add a non-const char* overload."
am: f919d0a0b8

Change-Id: If7e1734510436b2434663122b7a79a00b0ec03a7
2018-11-27 17:00:38 -08:00
Elliott Hughes
f919d0a0b8 Merge "C++17 compatibility: add a non-const char* overload." 2018-11-28 00:43:14 +00:00
Keun Soo YIM
ff84c37bc1 pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -08:00
Malcolm Chen
a7e8579626 [automerger skipped] Migration of IRadioConfig 1.1 types to 1.2. am: fd5aca9399 am: f5a7671b65
am: 5efa682e8d  -s ours

Change-Id: Ib06255ff2ccbe740d575d1ec1a861cd4f17a3092
2018-11-27 13:59:04 -08:00
Malcolm Chen
52bb578449 [automerger skipped] Migration of IRadio 1.3 types to 1.4. am: f168f0b364 am: 91f21bc634
am: c0caa50e1d  -s ours

Change-Id: I0b6ac6189b963089217925b2835492834d35d48f
2018-11-27 13:58:44 -08:00
Malcolm Chen
85ea3f43d0 [automerger skipped] Migration of IRadio 1.3 types to 1.4. am: 638f005af0 am: d69569202b
am: 158fdd56fb  -s ours

Change-Id: Ib48c444a3c22a9583332aa596bef6741be2c0507
2018-11-27 13:58:24 -08:00
Malcolm Chen
5efa682e8d Migration of IRadioConfig 1.1 types to 1.2. am: fd5aca9399
am: f5a7671b65

Change-Id: I0ea5ff90d4751fc93930eb82f2f295c6c4b71cab
2018-11-27 13:39:09 -08:00
Malcolm Chen
c0caa50e1d Migration of IRadio 1.3 types to 1.4. am: f168f0b364
am: 91f21bc634

Change-Id: If05b6e4a4bd5e1e7e6b07354050f07d7a217c37f
2018-11-27 13:38:49 -08:00
Malcolm Chen
158fdd56fb Migration of IRadio 1.3 types to 1.4. am: 638f005af0
am: d69569202b

Change-Id: Id180b96541f1c586fbe88ba1ba651ccc064b88d6
2018-11-27 13:38:25 -08:00
Malcolm Chen
f5a7671b65 Migration of IRadioConfig 1.1 types to 1.2.
am: fd5aca9399

Change-Id: I7313d873d2cdc86333bebc536f405b99682a10b5
2018-11-27 13:21:01 -08:00
Malcolm Chen
91f21bc634 Migration of IRadio 1.3 types to 1.4.
am: f168f0b364

Change-Id: I78ca583c40e2f5489d0a8a6a952e854d54e3951f
2018-11-27 13:20:47 -08:00
Malcolm Chen
d69569202b Migration of IRadio 1.3 types to 1.4.
am: 638f005af0

Change-Id: Ie8ee03d2a8360d5b2851a8058315b2cc2a199b53
2018-11-27 13:20:32 -08:00
Malcolm Chen
fd5aca9399 Migration of IRadioConfig 1.1 types to 1.2.
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: Ia221258b62351d1190e78fa0e5faafc36163f4a9
Merged-In: Ia221258b62351d1190e78fa0e5faafc36163f4a9
2018-11-27 19:24:06 +00:00
Malcolm Chen
f168f0b364 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: re-create 1.3 folder.

Bug: 117805040
Test: build and telephony unittest
Change-Id: If177cd24d8275e22c18d9b5b907cd65ac13a4461
Merged-In: If177cd24d8275e22c18d9b5b907cd65ac13a4461
2018-11-27 19:17:35 +00:00
Malcolm Chen
638f005af0 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: move 1.3 to 1.4.

Bug: 117805040
Test: build and telephony unittest
Change-Id: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
Merged-In: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
2018-11-27 19:13:42 +00:00
Malcolm Chen
00707641c0 Migration of IRadioConfig 1.1 types to 1.2.
To better test CBRS, we want IRadio 1.1 to be Android P plus CBRS
HAL interfaces, while 1.2 will be 1.1 plus all other Android Q
interfaces. So we are creating V1_2 folder and moving everything
currently defined in android.hardware.radio.config.V1_1 there.

Bug: 117805040
Test: build and telephony unittest
Change-Id: Ia221258b62351d1190e78fa0e5faafc36163f4a9
2018-11-27 18:51:05 +00:00
Xiangyu/Malcolm Chen
cc4832fb4a Merge changes from topic "IRADIO_HAL_1_4"
* changes:
  Migration of IRadio 1.3 types to 1.4.
  Migration of IRadio 1.3 types to 1.4.
2018-11-27 18:50:42 +00:00
Elliott Hughes
d9de6aa270 C++17 compatibility: add a non-const char* overload.
C++17 adds a non-const std::basic_string::data, so non-const std::strings in the
test are `char*` and the const std::strings are `const char*`. See
https://en.cppreference.com/w/cpp/string/basic_string/data for details.

Without adding the non-const overload, the varargs overload is preferred, leading
to static_assert failures:

  In file included from hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp:33:
  In file included from hardware/interfaces/keymaster/3.0/vts/functional/authorization_set.h:20:
  hardware/interfaces/keymaster/3.0/vts/functional/keymaster_tags.h:257:5: error: static_assert failed "Authorization other then TagType::BOOL take exactly one parameter."
  static_assert(tag_type == TagType::BOOL || (sizeof...(args) == 1),
  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  hardware/interfaces/keymaster/3.0/vts/functional/authorization_set.h:213:19: note: in instantiation of function template specialization 'android::hardware::keymaster::V3_0::Authorization<android::hardware::keymaster::V3_0::TagType::BYTES, android::hardware::keymaster::V3_0::Tag::ASSOCIATED_DATA, char *, unsigned long>' requested here
  push_back(Authorization(tag, std::forward<Value>(val)...));
  ^
  hardware/interfaces/keymaster/3.0/vts/functional/authorization_set.h:245:9: note: in instantiation of function template specialization 'android::hardware::keymaster::V3_0::AuthorizationSet::push_back<android::hardware::keymaster::V3_0::TypedTag<android::hardware::keymaster::V3_0::TagType::BYTES, android::hardware::keymaster::V3_0::Tag::ASSOCIATED_DATA>, char *, unsigned long>' requested here
  push_back(ttag, std::forward<ValueType>(value)...);
  ^
  hardware/interfaces/keymaster/3.0/vts/functional/keymaster_hidl_hal_test.cpp:3426:35: note: in instantiation of function template specialization 'android::hardware::keymaster::V3_0::AuthorizationSetBuilder::Authorization<android::hardware::keymaster::V3_0::TypedTag<android::hardware::keymaster::V3_0::TagType::BYTES, android::hardware::keymaster::V3_0::Tag::ASSOCIATED_DATA>, char *, unsigned long>' requested here
  AuthorizationSetBuilder().Authorization(TAG_ASSOCIATED_DATA, aad.data(), aad.size());
  ^

Bug: http://b/111067277
Test: builds
Change-Id: I3d70fb5a41db16cc9dff50364cd793e0c3510ed0
2018-11-27 16:40:33 +00:00
Malcolm Chen
193a6f3c79 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: re-create 1.3 folder.

Bug: 117805040
Test: build and telephony unittest
Change-Id: If177cd24d8275e22c18d9b5b907cd65ac13a4461
2018-11-26 23:26:19 +00:00
TreeHugger Robot
88e2f996dc Merge "Update HVAC_POWER_ON config array to correct values" 2018-11-26 23:25:43 +00:00
Malcolm Chen
2e656462b6 Migration of IRadio 1.3 types to 1.4.
To better test CBRS, we want IRadio 1.3 to be Android P plus CBRS
HAL interfaces, while 1.4 will be 1.3 plus all other Android Q
interfaces. So we are creating V1_4 folder and moving everything
currently defined in android.hardware.radio.V1_3 there.

Part 2: move 1.3 to 1.4.

Bug: 117805040
Test: build and telephony unittest
Change-Id: I9fc36f1af0e7cc4d2a5878531aae5746823e1bb4
2018-11-26 23:18:47 +00:00
Peter Kalauskas
b6bc68bfa3 Merge "Convert IMediaCasService to use vintf_fragments" am: a7cf248a8d am: a6e7b8dba3
am: e949298157

Change-Id: I750231bf264d1799f6b0a48c895ef5c93b245042
2018-11-26 10:31:26 -08:00
Peter Kalauskas
e949298157 Merge "Convert IMediaCasService to use vintf_fragments" am: a7cf248a8d
am: a6e7b8dba3

Change-Id: I76f6c73daae4218e1caf61b36aff0ae587cce9fb
2018-11-26 10:21:39 -08:00
Peter Kalauskas
a6e7b8dba3 Merge "Convert IMediaCasService to use vintf_fragments"
am: a7cf248a8d

Change-Id: Idfea7d806d708a28e351920f02a907409dbc4145
2018-11-26 10:13:26 -08:00
Treehugger Robot
a7cf248a8d Merge "Convert IMediaCasService to use vintf_fragments" 2018-11-26 17:54:46 +00:00
Jordan Jozwiak
8cbf1aae08 Update HVAC_POWER_ON config array to correct values
Bug: 119687687
Test: Build and install.

Exempt-From-Owner-Approval: Trivial change. Updating old int value.

Change-Id: Idf3c89f330303b79a2ddfd336402546ccae31f16
(cherry picked from commit 005ec2d45418c190391a1ad17fba3e8bd64e3198)
2018-11-22 00:47:51 +00:00
Pengquan Meng
6d1efaba26 Add data call mapping to physicalChannelConfig am: 7687650635 am: bd01871a71
am: 6276f9c74e

Change-Id: Ieb9a13343fc70e569f9bc8ef0d80be0f7e92994d
2018-11-21 15:20:10 -08:00
Pengquan Meng
6276f9c74e Add data call mapping to physicalChannelConfig am: 7687650635
am: bd01871a71

Change-Id: I3140f0f7c2103daba3ede39c24a81d3eb5b866bf
2018-11-21 15:06:55 -08:00
Pengquan Meng
bd01871a71 Add data call mapping to physicalChannelConfig
am: 7687650635

Change-Id: I66a87c555045c3dda1b4dae789e9aa316ce42ef5
2018-11-21 14:42:58 -08:00
Pengquan Meng
7687650635 Add data call mapping to physicalChannelConfig
- Add 5G NR rat type
- Add data call mapping to PhysicalChannelConfig

Bug: 111453000
Test: build
Change-Id: I8da7185305b46781cccd114721d53167a2e1798a
2018-11-21 19:12:53 +00:00
TreeHugger Robot
8ae68433e1 Merge "wifi(vts): Separate P2P specific tests" 2018-11-21 01:36:20 +00:00
Peter Kalauskas
bf608fcc23 Convert IMediaCasService to use vintf_fragments
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I841c64523ce506b923a530b7fb6f2476b4607661
2018-11-20 16:49:06 -08:00
Vinay Kalia
fc470a3481 Merge "power/stats: Add VTS testcases" 2018-11-21 00:28:56 +00:00
Peter Kalauskas
549f97df33 Merge "Convert IMediaCasService to use vintf_fragments" 2018-11-20 23:07:11 +00:00
Tomasz Wasilczyk
82fa5af389 Merge "Migrate broadcast radio default HAL to the new logging API." 2018-11-20 16:29:06 +00:00
Vinay Kalia
fc48be1079 power/stats: Add VTS testcases
VTS testcases to test following APIs:
1. getRailInfo(...)
2. getEnergyData(...)
3. streamEnergyData(...)

BUG: 118365266
BUG: 111185513
Test: run vts -m VtsHalPowerStatsV1_0Target
Change-Id: Ie90ecfae937beebf96a9d66eb4b10954242ad07b
2018-11-19 17:34:49 -08:00
Peter Kalauskas
b890beba64 Convert IMediaCasService to use vintf_fragments
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I841c64523ce506b923a530b7fb6f2476b4607661
2018-11-19 22:41:31 +00:00
TreeHugger Robot
949366390f Merge "Removing USES_DISPLAY_RENDER_INTENTS check in ComposerClient.h" 2018-11-19 21:25:23 +00:00
Valerie Hau
01c541c93f Removing USES_DISPLAY_RENDER_INTENTS check in ComposerClient.h
Test: ./VtsHalGraphicsComposerV2_2TargetTest
Change-Id: Ibe5800c22927c16619db864193594f70dc2a4b7f
2018-11-19 10:50:02 -08:00
Ahmed ElArabawy
40d7fee1d8 Merge "Wifi: Create HAL API for low-latency modes" 2018-11-18 03:42:06 +00:00
TreeHugger Robot
8cedb0a0af Merge "Copy from the old version of Codec2 HAL" 2018-11-17 00:52:36 +00:00
TreeHugger Robot
f837fa24e6 Merge "Camera: add external camera@3.5" 2018-11-16 11:00:21 +00:00
Roshan Pius
61c8ea596a wifi(vts): Separate P2P specific tests
Similar to how NAN specific tests were separated from wifi HAL VTS
test suite, separate out P2P specific tests in wpa_supplicant HAL VTS test
suite.
Changes in the CL:
a) Use the |gEnv->isP2pOn| flag to skip P2P tests in SupplicantHidlTest.
b) Seprare SupplicantP2pIfaceHidlTest into a new test module.

Bug: 73306751
Test: Ran VTS tests
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_0Host -l INFO
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_1Host -l INFO
vts-tradefed run commandAndExit vts-hal --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantP2pV1_0Target -l INFO

Change-Id: I65de3ff5cde023bfba2ac3a6c38ff9ad680de8bc
2018-11-16 14:46:19 +08:00
Shuzhen Wang
1731936f8a Merge "Camera: Vts: Add test for Y8 and monochrome camera" 2018-11-16 06:31:15 +00:00
TreeHugger Robot
c3c3ebad33 Merge "Replace TENSOR_QUANT16_ASYMM with TENSOR_QUANT16_SYMM" 2018-11-16 00:42:40 +00:00