Commit graph

18658 commits

Author SHA1 Message Date
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
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
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
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
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
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
Slava Shklyaev
6e61805972 Merge "Exclude unused operands from removeOperandTest" am: d67c1ee89a
Change-Id: Idb0bb93ddc352091afe3cabf4f990bb21d372476
2020-04-21 14:45:10 +00:00
Slava Shklyaev
d67c1ee89a Merge "Exclude unused operands from removeOperandTest" 2020-04-21 14:32:23 +00:00
Treehugger Robot
231b61abb5 Merge "vibrator: vts: Validate Primitive Duration" am: 5ec6625bd6
Change-Id: I4d4992dd675543fea586b1e7c1452bdd78774160
2020-04-21 01:41:36 +00:00
Treehugger Robot
5ec6625bd6 Merge "vibrator: vts: Validate Primitive Duration" 2020-04-21 01:21:02 +00:00
Calvin Huang
b0341be5dd Add manifest for IVehicle
Bug: 153734354
Test: Manual
Change-Id: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
Merged-In: I7e6a65e3fb49bb04108d0fd243df0b7447a93b1e
2020-04-20 20:50:14 +00:00
Dorin Drimus
b20a4e01ef Allow device properties tags for attestation
Test: atest CtsKeystoreTestCases
Bug: 152945378
Change-Id: I9c85283f007535612bf4ebbfbe8b7e86a758286c
2020-04-20 17:44:56 +02:00
Slava Shklyaev
af1c77d74f Exclude unused operands from removeOperandTest
Bug: 148208229
Test: TestGenerated/ValidationTest.Test/nnapi_sample*_while*_unused_output*
Change-Id: I39bebefd0e40d370882d614d4beb97ab36c9da8f
Merged-In: I39bebefd0e40d370882d614d4beb97ab36c9da8f
(cherry picked from commit baa4cf02f2)
2020-04-20 13:19:00 +01:00
Harpreet \"Eli\" Sangha
b075a6a599 vibrator: vts: Validate Primitive Duration
Bug: 148496381
Test: Ran on Pixel 4
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
Change-Id: Ie74f9458b881a51746539f61526fbe4898485b00
2020-04-17 13:22:41 +09:00
Steven Moreland
be4fc8b108 Merge "Update freezing notes." am: d05127d16d
Change-Id: I8b119bcf8c51da2e5f0589402ba6851b23546cd3
2020-04-17 01:56:02 +00:00
Steven Moreland
d05127d16d Merge "Update freezing notes." 2020-04-17 01:31:06 +00:00
Treehugger Robot
fefefa63a6 Merge "audio: Centralize audio configuration paths specification" am: c2e1f3baef
Change-Id: Ib813f7c89896fec95ece996b8cd4e0482fa797af
2020-04-16 23:21:24 +00:00
Treehugger Robot
c2e1f3baef Merge "audio: Centralize audio configuration paths specification" 2020-04-16 23:05:30 +00:00
Nazanin Bakhshi
01a4eda936 Merge "Remove requirement for VtsHalRadioV1_3 tests for sim to be present" am: 401a246feb
Change-Id: Icb379275dc110fc0878704f46dc51f6d0d359613
2020-04-16 20:56:32 +00:00
Nazanin Bakhshi
401a246feb Merge "Remove requirement for VtsHalRadioV1_3 tests for sim to be present" 2020-04-16 20:30:12 +00:00
Nazanin
77185c3ba5 Remove requirement for VtsHalRadioV1_3 tests for sim to be present
Bug: 153293861
Bug: 154245603
Test: run vts -m VtsHalRadioV1_3Target
Change-Id: Idb1067e757d4abadb2142627b88f775a685d0c02
Merged-In: Idb1067e757d4abadb2142627b88f775a685d0c02
2020-04-16 12:38:24 -07:00
Slava Shklyaev
80aea978f4 Merge changes I866fe138,I0096a2fc am: 17a0b4fcdc
Change-Id: I84f8a65bc8486d130cc9ebcbd519d488f4b11869
2020-04-16 12:58:29 +00:00
Slava Shklyaev
d4ee4f7389 Update loopTimeoutDuration documentation in NNAPI am: 6cf5f3e2a6
Change-Id: Ibc66706c797b688d3eed4d2ed3b5c7e368a8329b
2020-04-16 12:58:26 +00:00
Slava Shklyaev
17a0b4fcdc Merge changes I866fe138,I0096a2fc
* changes:
  Remove BLOB AHWB tests from 1.2 VTS.
  Update loopTimeoutDuration documentation in NNAPI
2020-04-16 12:45:32 +00:00
Treehugger Robot
7b59278f31 Merge "Add the missing unregisterCallback call" am: 7b15fd373e
Change-Id: I77e350b21314f761d0a0fcfa9570ae6b7bad90d3
2020-04-15 22:21:37 +00:00
Treehugger Robot
7b15fd373e Merge "Add the missing unregisterCallback call" 2020-04-15 22:07:27 +00:00
Sarah Chin
d8e9eddb04 Merge "Update HAL Bands" am: c3bfce6359
Change-Id: I253640e09d1374279d6ad5bcba6778519a531167
2020-04-15 21:23:41 +00:00
Sarah Chin
c3bfce6359 Merge "Update HAL Bands" 2020-04-15 21:08:14 +00:00
Treehugger Robot
9bad57b628 Merge changes Iab38ef29,I85b66ab5 am: 5bb1721f6e
Change-Id: I76a4400b4bb378a1c3a37d6b028f43c2ce00c171
2020-04-15 20:56:57 +00:00
Lev Proleev
ee4b408997 Clarify supported ranks for new ops in R am: f0401fe0b0
Change-Id: Ie057614afeaa2fce2abb145a528204169ab1aedd
2020-04-15 20:56:54 +00:00
Treehugger Robot
5bb1721f6e Merge changes Iab38ef29,I85b66ab5
* changes:
  Update the specification for the following operations
  Clarify supported ranks for new ops in R
2020-04-15 20:42:07 +00:00
Roman Kiryanov
226761ce9d Add the missing unregisterCallback call
The sensor reading thread continues producing
event and refers to the already destroyed
callback object which causes a crash in
SensorsHidlEnvironmentBase::addEvent.

Bug: 153754380
Test: atest VtsHalSensorsV2_0TargetTest
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I3017afe670e5a53d0d7444b3d5b34ba34f3567e3
Merged-In: Id7fb72c42dc67f89ceef93d937241e1584b853e7
2020-04-15 12:12:46 -07:00
Mikhail Naganov
5a6ffb21a5 audio: Centralize audio configuration paths specification
The list of possible paths for the audio configuration
files is now retrieved using audio_get_configuration_paths()
function. All duplicated lists of known configuration
directories have been removed.

Bug: 153680356
Test: atest VtsHalAudioV5_0TargetTest \
            VtsHalAudioPolicyV1_0TargetTest \
            VtsHalAudioEffectV5_0TargetTest
Change-Id: I1e40fdf8d6e3a5ac339f7f138f62063bb87bd3da
2020-04-15 10:09:38 -07:00
Steven Moreland
277cff8074 Update freezing notes.
Since it was a big problem for little gain, we are reverting back to the
old practice of waiting to freeze interfaces for release.
vts_treble_vintf_*_test no longer checks hashes in non-release branches.

Bug: 144366823
Test: N/A
Change-Id: I147025ffed053bc583055fbc4f39d9823e793c22
2020-04-15 05:11:02 +00:00
Sarah Chin
61a4657ed9 Update HAL Bands
Test: mm cf_x86_phone-userdebug
Test: atest VtsHalRadioV1_5Target
Bug: 151842542
Change-Id: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
Merged-In: I3d2b1328693b18cd4a51da6795228ef3b5d2b473
2020-04-14 18:10:13 -07:00
Yifan Hong
00ec76ad22 Merge "Check against xsd for building all matrices" am: 967399407c
Change-Id: Id9b57083bc7af632c641b6ea9bfe3802cfbe5c33
2020-04-14 22:23:41 +00:00
Yifan Hong
967399407c Merge "Check against xsd for building all matrices" 2020-04-14 22:04:20 +00:00
David Zeuthen
c428692e82 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

Change-Id: I794b8d0360c1eda37b4dbe757d7a7fadcbdda7bc
2020-04-14 15:14:48 -04:00
Miao Wang
6048fd9dd5 Update the specification for the following operations
- RANDOM_MULTINOMIAL
 - L2_NORMALIZATION

Bug: 136279892
Bug: 140177375
Test: mm
Change-Id: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
Merged-In: Iab38ef29ebf6d1f5c0a408436b3d564e45e537a0
(cherry picked from commit 077c0339d4)
2020-04-14 19:29:51 +01:00
Lev Proleev
f0401fe0b0 Clarify supported ranks for new ops in R
Fix: 151108533
Test: mma
Change-Id: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
Merged-In: I85b66ab5940d09b2786ecb14bff5bc1c1dee894a
(cherry picked from commit f161cc74a1)
2020-04-14 19:29:43 +01:00
Xusong Wang
b79c31aba8 Remove BLOB AHWB tests from 1.2 VTS.
Bug: 153282844
Test: 1.2 VTS
Change-Id: I866fe1388a64a36372f90c60fef340d2fe4c8682
Merged-In: I866fe1388a64a36372f90c60fef340d2fe4c8682
(cherry picked from commit b642700c7f)
2020-04-14 16:30:01 +01:00
Slava Shklyaev
6cf5f3e2a6 Update loopTimeoutDuration documentation in NNAPI
Bug: 149686804
Test: m
Change-Id: I0096a2fc2e579d39a2d59a605a4217d53a381691
Merged-In: I0096a2fc2e579d39a2d59a605a4217d53a381691
(cherry picked from commit 6a222a3eec)
2020-04-14 16:29:57 +01:00
Yifan Hong
fca5d95ce6 Check against xsd for building all matrices
Test: builds
Fixes: 149929588

Change-Id: Id08cfe41af59bb336889f9edeaf35dc484892997
2020-04-13 15:29:52 -07:00
Tom Cherry
bbf78ea50d Include what you use: <fcntl.h> am: 10256e3ad8
Change-Id: I29ee59072bc9157c907f93db17c64d6d9e33c256
2020-04-13 19:37:11 +00:00
Tom Cherry
10256e3ad8 Include what you use: <fcntl.h>
This was transitively included, but no longer is, so it must be
explicitly included.

Exempt-From-Owner-Approval: Janitorial
Test: build
Change-Id: I48d318c53cbfb76849f987029b0c8e775f576496
2020-04-13 11:09:42 -07:00