Commit Graph

21398 Commits

Author SHA1 Message Date
TreeHugger Robot
a7ed07bd71 Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765
Change-Id: I432e99964cd63c208118f659273d566323ba4743
2020-04-24 23:51:19 +00:00
TreeHugger Robot
8350572765 Merge "Add Lnbs for CTS" into rvc-dev 2020-04-24 23:28:00 +00:00
Treehugger Robot
d63d135677 Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." am: 71156e527c am: 0e5e21e55a
Change-Id: Ia89041927381beb0617bded45000065beebbba6d
2020-04-24 14:27:51 +00:00
Treehugger Robot
0e5e21e55a Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." am: 71156e527c
Change-Id: If6b18f5ecd261fd68dda1fd79b2daaad88422716
2020-04-24 14:11:47 +00:00
Treehugger Robot
71156e527c Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." 2020-04-24 14:00:54 +00:00
Treehugger Robot
349af3e40c Merge "Allow device properties tags for attestation" am: 9a2f497439 am: 3fd8b10984
Change-Id: I3b8e79ebf16b60d9236f1ba207255950ade3c701
2020-04-24 08:30:54 +00:00
Treehugger Robot
3fd8b10984 Merge "Allow device properties tags for attestation" am: 9a2f497439
Change-Id: Ie6d745578c951cd7c69e709b63d7051055bb644c
2020-04-24 08:08:47 +00:00
Treehugger Robot
9a2f497439 Merge "Allow device properties tags for attestation" 2020-04-24 07:56:43 +00:00
Selene Huang
92b61d650f Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface.
Fixed following bugs in WritableIdentityCredential.cpp
  - Do not allow startPersonalization to be called more than once per
  aidl.
  - Do not preceed with beginAddEntry if addAccessControlProfile and
  startPersonalization profile count mismatch.
  - Verify access control profile ids are unique.
  - Do not let empty name space to mess up beginAddEntry.
  - Do not allow beginAddEntry to add entries interleaving namespace
    groupings. Enforce all entries must be added in namespace "groups"
    per aidl.
  - Fix counting error that allowed one entries to be added per name
    space than startPersonalization limit.
  - Do not approve finishAddingEntries if there are more profiles or
    entries to be added than startPersonalization set accounting.
  - Add testing utilities library for identity credential.
  - Refactored end to end tests.

Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts

Change-Id: I51902681776c6230e49589fc75a8145e79d7d1a6
2020-04-24 00:04:07 -07:00
Denis Ciocca
812af22dc7 [automerger skipped] Include VtsHalSensorsV2_0TargetTest into the vts test suites am: d3c27ec3f7 -s ours am: a49eaa4617 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

Change-Id: I556579942cb87cce5fb9bf0152df253037a6a98d
2020-04-24 03:48:00 +00:00
Denis Ciocca
a49eaa4617 [automerger skipped] Include VtsHalSensorsV2_0TargetTest into the vts test suites am: d3c27ec3f7 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 ba894f81db is in history

Change-Id: Idafb7d0602bd690e3b40425779c6abe1f41a944d
2020-04-24 03:33:28 +00:00
Connor O'Brien
d6621a5763 Merge "power: fix TryDifferentGovernors test" into rvc-dev am: d78626d962
Change-Id: Iae9867b880011673bf3d9829eacb71822eac1179
2020-04-24 02:12:30 +00:00
Connor O'Brien
d78626d962 Merge "power: fix TryDifferentGovernors test" into rvc-dev 2020-04-24 01:49:20 +00:00
TreeHugger Robot
04efab36b9 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev am: a772a420b0
Change-Id: Ic0357498717f7121cc1e85ee923af97c543b00d6
2020-04-24 00:39:37 +00:00
TreeHugger Robot
a772a420b0 Merge "Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY." into rvc-dev 2020-04-24 00:23:34 +00:00
TreeHugger Robot
6ba63a1e6c Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev am: bb0349f722
Change-Id: Ib42464404d95b7eae51c9dacfde6ee5f95c6d1ed
2020-04-23 23:48:54 +00:00
TreeHugger Robot
bb0349f722 Merge "Minor corrections on USER_SWITCH documentation." into rvc-dev 2020-04-23 23:26:20 +00:00
Felipe Leme
0fd963cad8 Minor corrections on USER_SWITCH documentation.
Also removed the hash check on Vehicle HAL files, as they're still being
worked on.

Test: m
Bug: 15249991

Change-Id: I214ebc9b5bbd71e5db1a1332296ceb4e426c50cf
2020-04-23 14:28:30 -07:00
Calvin Huang
94b7e04409 Merge "Add manifest to vintf fragments" into rvc-dev am: 96ea2ce5e7
Change-Id: Icbfab48f13c40a6f4e697879fa4edf5484e269e4
2020-04-23 20:41:14 +00:00
Calvin Huang
96ea2ce5e7 Merge "Add manifest to vintf fragments" into rvc-dev 2020-04-23 20:24:30 +00:00
felipeal
67664dfacc Add support to USER_IDENTIFICATION_ASSOCIATION_PROPERTY.
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --set 299896587 i 1 i 1 i 2
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --get 299896587

Bug: 150409351

Change-Id: I5f05c1689abdeeffd1abcd0e85fd01b584501a2e
2020-04-23 12:54:09 -07:00
Jordan Jozwiak
116cf1f04f Merge "Add config for tire pressure display units" into rvc-dev am: 93f22c85c7
Change-Id: I1bcf5205db44c6585ecab3b479cdf1b6a86e7884
2020-04-23 19:32:56 +00:00
Jordan Jozwiak
93f22c85c7 Merge "Add config for tire pressure display units" into rvc-dev 2020-04-23 19:19:54 +00:00
Denis Ciocca
d3c27ec3f7 Include VtsHalSensorsV2_0TargetTest into the vts test suites
Without adding the test into vts test suite the testcases are not
available within the vts-tradefed.

Test: manual - build vts using 'make vts' with arm64 target selected,
               verifying that the test is then available under:
               out/host/linux-x86/vts/android-vts/testcases/VtsHalSensorsV2_0TargetTest

Signed-off-by: Denis Ciocca <denis.ciocca@gmail.com>
Change-Id: I34a89bef09832e5fa8295340f52dafd91fa33c96
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-23 10:24:43 -07:00
TreeHugger Robot
6434721202 Merge "Update VtsHalSecureElementV1_2TargetTest" into rvc-dev am: d0ce2154bb
Change-Id: I595efd361839fd904c24c8658126dab506d3be60
2020-04-23 03:55:54 +00:00
Jack Yu
9a53532df7 Add owner to secure element vts test am: edded5fa08
Change-Id: Ie5e2fb817905094e1fca13e83eed44e9c75000b3
2020-04-23 03:55:41 +00:00
TreeHugger Robot
d0ce2154bb Merge "Update VtsHalSecureElementV1_2TargetTest" into rvc-dev 2020-04-23 03:51:29 +00:00
Jack Yu
af249dbc1f Update VtsHalSecureElementV1_2TargetTest
When calling se reset, connected state should be reported with false and then true.

Bug: 154572079
Test: run vts -m VtsHalSecureElementV1_2TargetTest
Change-Id: I907d32a2c44230b581680d1872c9b01e517a5d81
2020-04-23 03:49:18 +00:00
Jack Yu
edded5fa08 Add owner to secure element vts test
Bug: 154772240
Test: N/A
Exempt-From-Owner-Approval: test owner is not added
Change-Id: I87df98366b07ac26b971d80b27f8f600783d74d0
2020-04-23 01:56:51 +00:00
TreeHugger Robot
4817c50c47 Merge "Add biometrics.fingerprint@2.2 to the current matrix" into rvc-dev-plus-aosp 2020-04-22 23:06:23 +00:00
shubang
fd882510f3 Add Lnbs for CTS
Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I0e1954ceaa93c110dabc669759675834f30b9524
2020-04-22 14:59:03 -07:00
Connor O'Brien
957857f19d power: fix TryDifferentGovernors test
Switch to std::string and libbase to simplify the test and avoid
string manipulation bugs

Bug: 154070740
Bug: 149044096
Test: atest VtsHalPowerV1_0TargetTest
Change-Id: Ic80ca462cfeb650edcdc6420bf1b3190aa14dbe4
Signed-off-by: Connor O'Brien <connoro@google.com>
2020-04-22 14:40:53 -07:00
Jordan Jozwiak
7faa170ff1 Add config for tire pressure display units
Bug: 154751939
Test: aae app vhal apply google
// verify property included in dump
adb -s c3139966 shell dumpsys activity service com.android.car get-carpropertyconfig | grep TIRE_PRESSURE_DISPLAY_UNITS -A5

Change-Id: Id7a3ad7351db5a4f03ab3a29fa06e9c82321a44e
2020-04-22 14:38:52 -07:00
Steven Moreland
fcfea5d92e Merge "Rename vts-core to vts" into rvc-dev am: 08092046fb
Change-Id: Ie30e60199987163fd280f33ab63ee0377ad79b5a
2020-04-22 01:04:37 +00:00
Steven Moreland
08092046fb Merge "Rename vts-core to vts" into rvc-dev 2020-04-22 00:43:50 +00:00
Steven Moreland
c6e69bde30 Rename vts-core to vts
Bug: 151896491
Bug: 139438327
Test: local build
Change-Id: Ida36f4e10bbdd72f58039f8ee5ae6f61edac4769
Merged-In: Id542b54ba2da1fca03a9c44bf05d0f68793445cf
2020-04-22 00:06:21 +00:00
TreeHugger Robot
9f3f6b23d9 [automerger skipped] Merge "Update Identity Credential HAL docs." into rvc-dev am: 0e20fc08e4 -s ours
am skip reason: Change-Id I794b8d0360c1eda37b4dbe757d7a7fadcbdda7bc with SHA-1 c428692e82 is in history

Change-Id: Iaa30a25257aaae433f2ae4dbecc50ff05c6688c1
2020-04-21 22:59:27 +00:00
Ilya Matyukhin
70cf06e1c6 Add biometrics.fingerprint@2.2 to the current matrix
This HIDL was added to compatibility_matrix.5 in
I209db8a74665df98b4923cbfa11b2b2c9d6dabfa

Bug: 153012763
Test: build blueline-userdebug
Change-Id: I360c192992b63967c76227d6c47e9a52662aeae7
2020-04-21 22:53:36 +00:00
TreeHugger Robot
0e20fc08e4 Merge "Update Identity Credential HAL docs." into rvc-dev 2020-04-21 22:45:02 +00:00
Calvin Huang
a653616f18 Add manifest to vintf fragments
Bug: 153734354
Test: Manual
Change-Id: I5f29cdacced0bdc0bf5a74f92ecda916f10bea06
2020-04-21 14:44:10 -07:00
Chris Weir
e1f9a37753 Merge "Undo symlinked libc++fs" into rvc-dev am: a1482062ec
Change-Id: I1f235b848566b501f5676842ed1c2f2f24945c72
2020-04-21 21:08:43 +00:00
Treehugger Robot
c65ef8fe46 Merge "Update Identity Credential HAL docs." am: 638d95b901 am: 04516a1440
Change-Id: I8a9b7cd0826cc3b425743e3c1d67dc666dfea518
2020-04-21 20:53:43 +00:00
Chris Weir
a1482062ec Merge "Undo symlinked libc++fs" into rvc-dev 2020-04-21 20:50:39 +00:00
David Zeuthen
a7bdc9559a Update Identity Credential HAL docs.
This change contains no actual syntactical or semantic changes, just
clarifications on the inputs and outputs.

Test: N/A
Bug: 151082886
Merged-In: I794b8d0360c1eda37b4dbe757d7a7fadcbdda7bc
Change-Id: I5ad596ec0fa4dac7473d8fd435f538dbb5529846
2020-04-21 16:49:40 -04:00
Treehugger Robot
04516a1440 Merge "Update Identity Credential HAL docs." am: 638d95b901
Change-Id: Id79c9d644f9705da7f881519736d8502f67a48a0
2020-04-21 20:42:30 +00:00
Treehugger Robot
638d95b901 Merge "Update Identity Credential HAL docs." 2020-04-21 20:20:03 +00:00
chrisweir
0d69b72097 Undo symlinked libc++fs
Several features for auto need libc++fs, but the previous solution of
symlinking to external/libcxx would cause problems later down the
line. Instead, we will compile a separate version of libc++fs with a
different namespace, as to not interfere with the canonical
std::filesystem.

Change summary
===============================================================
directory_iterator.cpp:
-----------------------
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang-format (to reduce diff size)
* "" --> <> for non-local includes

filesystem_common.h:
--------------------
* FILESYSTEM_COMMON_H --> AUTO_FILESYSTEM_COMMON_H
* "" --> <> for non-local includes
* filesystem --> automotive/filesystem
* don't include apple_availability.h
* add using std::error_code
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* use namespace std::chrono
* use std::error_code, std::is_floating_point, std::micro, std::nano, std::ratio
* LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang format (to reduce diff size)

filesystem:
-----------
* _LIBCPP_FILESYSTEM --> _LIBAUTO_FILESYSTEM
* std::filesystem --> android::hardware:automotive::filesystem
* _VSTD_FS --> android::hardware::automotive::filesystem
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* Copied _FilesystemClock from chrono
* use namespace std and std::chrono
* use std::basic_string, std::enable_if, std::error_code, and std::false_type

operations.cpp:
---------------
* filesystem --> automotive/filesystem
* "" --> <> for non-local includes
* _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM --> namespace android::hardware::automotive::filesystem {
* _VSTD_FS --> android::hardware::automotive::filesystem
* _LIBCPP_END_NAMESPACE_FILESYSTEM --> }  // namespace android::hardware::automotive::filesystem
* disable clang-format (to reduce diff size)
* fix "the the" typo (to pass lint)

Bug: 152067309
Test: Manual
Change-Id: I5551b3e634b85b4d7236e888de68740bfda6aad1
2020-04-21 11:19:28 -07:00
Calvin Huang
ab45aad4a3 [automerger skipped] Merge "Add manifest for IVehicle" am: 0a8204f350 am: 4d996b812a -s ours
am skip reason: Change-Id I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e with SHA-1 a7f44eb83c is in history

Change-Id: I55f94490fdd3485770e92019f15638b885d31055
2020-04-21 18:12:08 +00:00
Calvin Huang
4d996b812a Merge "Add manifest for IVehicle" am: 0a8204f350
Change-Id: I99916cec11b823a0059589533a1f57c99bb8a243
2020-04-21 17:57:29 +00:00
Calvin Huang
0a8204f350 Merge "Add manifest for IVehicle" 2020-04-21 17:35:58 +00:00