]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/log
android/platform-hardware-interfaces.git
6 years agohealth: expand debug info.
Yifan Hong [Wed, 4 Apr 2018 22:28:19 +0000 (15:28 -0700)]
health: expand debug info.

Test: lshal -m android.hardware.health@2.0::IHealth/default
Test: lshal -m android.hardware.health@2.0::IHealth/backup

Bug: 74057048
Change-Id: Iaca0a7fd32209522d7d759342b98d6e6898595ac

6 years agoMerge "Correct TripleDes tests." into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 21:31:25 +0000 (21:31 +0000)]
Merge "Correct TripleDes tests." into pi-dev

6 years agoCorrect TripleDes tests.
Shawn Willden [Fri, 30 Mar 2018 02:54:51 +0000 (20:54 -0600)]
Correct TripleDes tests.

The TripleDes tests failed to set TAG_NO_AUTH_REQUIRED, which causes
operations to be rejected by strictly compliant implementations.

Bug: 77588764
Test: VtsHalKeymasterV4_0TargetTest
Change-Id: I25cd5ec0ccede2b148f5da4566b8e1e20e8edbde

6 years agoMerge "Camera: use finer lock in external camera OutputThread" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 13:45:39 +0000 (13:45 +0000)]
Merge "Camera: use finer lock in external camera OutputThread" into pi-dev

6 years agoMerge "Camera: Check external camera v4l2 buffer size" into pi-dev
TreeHugger Robot [Wed, 4 Apr 2018 09:41:36 +0000 (09:41 +0000)]
Merge "Camera: Check external camera v4l2 buffer size" into pi-dev

6 years agoMerge changes from topic "nfc1.1" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 20:40:46 +0000 (20:40 +0000)]
Merge changes from topic "nfc1.1" into pi-dev

* changes:
  Changes in current.txt as per NFC 1.1 changes
  Add defaultSysCodePowerState in types.hal in NFC 1.1

6 years agoMerge "Freeze current as compatibility_matrix.3.xml." into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 19:53:13 +0000 (19:53 +0000)]
Merge "Freeze current as compatibility_matrix.3.xml." into pi-dev

6 years agoFreeze current as compatibility_matrix.3.xml.
Steven Moreland [Tue, 3 Apr 2018 16:38:41 +0000 (09:38 -0700)]
Freeze current as compatibility_matrix.3.xml.

This freezes the current compatibility_matrix for
Android P.

Fixes: 68112778
Test: m (assemble_vintf checks devices)

Change-Id: Ida30b7ba7f5df7c2755bd7c737190574b9195a92

6 years agoMerge "Update VHAL types.hal" into pi-dev
TreeHugger Robot [Tue, 3 Apr 2018 17:52:05 +0000 (17:52 +0000)]
Merge "Update VHAL types.hal" into pi-dev

6 years agoCamera: Check external camera v4l2 buffer size
Emilian Peev [Tue, 3 Apr 2018 12:28:46 +0000 (13:28 +0100)]
Camera: Check external camera v4l2 buffer size

V4L2 buffer size should fall within a reasonable range
like (0. width*height*2]. Check and return appropriate
status in case the size is not within this range.

Bug: 72261912
Test: Camera CTS
Change-Id: I1945dc734afb552ecb8d4ef74c9198eca8ce00e7

6 years agoUpdate VHAL types.hal
Steve Paik [Fri, 30 Mar 2018 06:18:13 +0000 (23:18 -0700)]
Update VHAL types.hal

Revised types.hal:
  - Add documentation to everything
  - Remove radio property
  - Update Power Manager properties
  - Cleanup formatting

Bug: 77301298
Test: It compiles
Change-Id: I05a1b3269092c05e7f56c57166d2aebe420d7f6a

6 years agoMerge "[Graphics] Update CommandWriter APIs to common::V1_1::* enum." into pi-dev
Peiyong Lin [Tue, 3 Apr 2018 04:28:28 +0000 (04:28 +0000)]
Merge "[Graphics] Update CommandWriter APIs to common::V1_1::* enum." into pi-dev

6 years agoChanges in current.txt as per NFC 1.1 changes
Ruchi Kandoi [Tue, 3 Apr 2018 00:53:51 +0000 (17:53 -0700)]
Changes in current.txt as per NFC 1.1 changes

Test: compiles without errors
Bug: 77496460
Change-Id: Ic0d45b64ac6a06cfa1405842464e69ebdebfe1ca

6 years agoAdd defaultSysCodePowerState in types.hal in NFC 1.1
Ruchi Kandoi [Tue, 3 Apr 2018 00:52:50 +0000 (17:52 -0700)]
Add defaultSysCodePowerState in types.hal in NFC 1.1

Test: Nfc Enable/Disable; test if config is read in logcat
Bug: 77496460
Change-Id: I13e21ba18c03c3c7b9eff3aa67e843e7f063b233

6 years agoMerge changes Ibab77dce,I0829a91d into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 23:43:43 +0000 (23:43 +0000)]
Merge changes Ibab77dce,I0829a91d into pi-dev

* changes:
  Add confirmationui to compatibility matrix.
  Add automotive.audiocontrol to compatibility matrix.

6 years ago[Graphics] Update CommandWriter APIs to common::V1_1::* enum.
Peiyong Lin [Wed, 28 Mar 2018 19:09:42 +0000 (12:09 -0700)]
[Graphics] Update CommandWriter APIs to common::V1_1::* enum.

Previously we introduced Dataspace V1.1 and PixelFormat V1.1, thus APIs
accepting Dataspace should also be updated to accept V1_1::Dataspace and
V1_1::PixelFormat.

BUG: 77156734
Test: adb shell /data/nativetest/VtsHalGraphicsComposerV2_2TargetTest/VtsHalGraphicsComposerV2_2TargetTest
Change-Id: I00d00749f2895b727a18a28903256128a33e8b97

6 years agoMerge "Update doc in Gnss Hal v1.1" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 22:50:28 +0000 (22:50 +0000)]
Merge "Update doc in Gnss Hal v1.1" into pi-dev

6 years agoMerge "graphics: add RenderIntent and better HDR support" into pi-dev
Chia-I Wu [Mon, 2 Apr 2018 22:22:28 +0000 (22:22 +0000)]
Merge "graphics: add RenderIntent and better HDR support" into pi-dev

6 years agoAdd confirmationui to compatibility matrix.
Steven Moreland [Mon, 2 Apr 2018 22:01:55 +0000 (15:01 -0700)]
Add confirmationui to compatibility matrix.

Bug: 68112778
Test: install compatibility matrix
Change-Id: Ibab77dce5848b0843c5c33048e7d027f0d3fe099

6 years agoAdd automotive.audiocontrol to compatibility matrix.
Steven Moreland [Mon, 2 Apr 2018 22:01:13 +0000 (15:01 -0700)]
Add automotive.audiocontrol to compatibility matrix.

Bug: 68112778
Test: install compatibility matrix
Change-Id: I0829a91d2f715886dc226131d4ef50ad0dec8075

6 years agoUpdate doc in Gnss Hal v1.1
Yu-Han Yang [Thu, 15 Mar 2018 02:19:11 +0000 (19:19 -0700)]
Update doc in Gnss Hal v1.1

Bug: 74949950
Fixes: 74949950
Test: N/A
Change-Id: I863445417d785c0b346ec96383adfd2366dbd71b

6 years agoMerge "Camera: Validate physical camera related metadata field from legacy HAL" into...
TreeHugger Robot [Mon, 2 Apr 2018 20:55:24 +0000 (20:55 +0000)]
Merge "Camera: Validate physical camera related metadata field from legacy HAL" into pi-dev

6 years agographics: add RenderIntent and better HDR support
Chia-I Wu [Wed, 28 Feb 2018 20:24:42 +0000 (12:24 -0800)]
graphics: add RenderIntent and better HDR support

This adds

  ColorMode::BT2020
  ColorMode::BT2100_PQ
  ColorMode::BT2100_HLG
  Dataspace::BT2020_HLG
  Dataspace::BT2020_ITU_HLG
  RenderIntent::COLORIMETRIC
  RenderIntent::ENHANCE
  RenderIntent::TONE_MAP_COLORIMETRIC
  RenderIntent::TONE_MAP_ENHANCE

and fixes per-frame metadata to be per-layer.  It also clarifies how
the composer should treat certain dataspaces and makes the
corresponding composer changes.

Bug: 73824924
Bug: 32148660
Test: manual
Change-Id: I5d12f50190522103c2ac97ee8dc2d5f6a2dabffe

6 years agoMerge "keymaster: provide instance name to getService()" into pi-dev
TreeHugger Robot [Mon, 2 Apr 2018 18:24:17 +0000 (18:24 +0000)]
Merge "keymaster: provide instance name to getService()" into pi-dev

6 years agoMerge "matrix: add radio.config" into pi-dev
Yifan Hong [Mon, 2 Apr 2018 18:21:01 +0000 (18:21 +0000)]
Merge "matrix: add radio.config" into pi-dev

6 years agoMerge "Clear out ambiguity in broadcastradio@2.0 comments." into pi-dev
Tomasz Wasilczyk [Sat, 31 Mar 2018 02:05:51 +0000 (02:05 +0000)]
Merge "Clear out ambiguity in broadcastradio@2.0 comments." into pi-dev

6 years agokeymaster: provide instance name to getService()
nagendra modadugu [Sat, 31 Mar 2018 00:07:55 +0000 (17:07 -0700)]
keymaster: provide instance name to getService()

Bug: 38430282
Test: VtsHalKeymasterV3_0TargetTest pass with exception
  of (AesEcbWithUserId, RsaAttestation, EcAttestation)
  which are expected failures.

Change-Id: I48e7195f512190deb608f1a69783c92254eef1aa

6 years agoMerge "secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:31:31 +0000 (01:31 +0000)]
Merge "secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit" into pi-dev

6 years agoMerge "Update RegState for new CellIdentity types" into pi-dev
TreeHugger Robot [Sat, 31 Mar 2018 01:26:30 +0000 (01:26 +0000)]
Merge "Update RegState for new CellIdentity types" into pi-dev

6 years agoMerge "SetMacAddress in Vendor HAL" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 23:51:42 +0000 (23:51 +0000)]
Merge "SetMacAddress in Vendor HAL" into pi-dev

6 years agosecure_element: VTS: Remove MANAGE_CHANNEL commands in transmit
Ruchi Kandoi [Fri, 30 Mar 2018 01:13:05 +0000 (18:13 -0700)]
secure_element: VTS: Remove MANAGE_CHANNEL commands in transmit

Use Dummy APDU and Android CTS AID for the test cases.

Test: Run VtsHalSecureElementV1_0TargetTest
Bug: 77296379
Merged-In: Id5397c9efb000a1737176ebacb6ded0837dc2d61
Change-Id: Id5397c9efb000a1737176ebacb6ded0837dc2d61
(cherry picked from commit c4352bdb21f028d37e172fe1107cf7e1c43bb2a8)

6 years agoClear out ambiguity in broadcastradio@2.0 comments.
Tomasz Wasilczyk [Tue, 27 Mar 2018 17:12:18 +0000 (10:12 -0700)]
Clear out ambiguity in broadcastradio@2.0 comments.

Bug: 76798863
Test: it builds
Change-Id: Icd13a187d3a002e6d1d0af8d360de31a75949b69

6 years agoMerge "Audio V4: Add metadata update to legacy API" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 22:54:36 +0000 (22:54 +0000)]
Merge "Audio V4: Add metadata update to legacy API" into pi-dev

6 years agoMerge "matrix: secure_element use regex eSE[1-9][0-9]*" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:57:29 +0000 (20:57 +0000)]
Merge "matrix: secure_element use regex eSE[1-9][0-9]*" into pi-dev

6 years agoMerge "Deprecate DRIVING_STATUS vehicle property." into pi-dev
Ram Periathiruvadi [Fri, 30 Mar 2018 20:37:50 +0000 (20:37 +0000)]
Merge "Deprecate DRIVING_STATUS vehicle property." into pi-dev

6 years agoMerge "matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 20:09:56 +0000 (20:09 +0000)]
Merge "matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1" into pi-dev

6 years agomatrix: secure_element use regex eSE[1-9][0-9]*
Yifan Hong [Thu, 29 Mar 2018 23:01:47 +0000 (16:01 -0700)]
matrix: secure_element use regex eSE[1-9][0-9]*

Bug: 68112778
Bug: 73738616
Test: m framework_compatibility_matrix.xml

Change-Id: Ia9db2d3e55c0745f715de14be768ee73adaad988

6 years agoMerge "Teach VehiclePropertyStore to not propagate the status value when a set()...
Enrico Granata [Fri, 30 Mar 2018 18:07:22 +0000 (18:07 +0000)]
Merge "Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android" into pi-dev

6 years agoMerge "matrix: add gnss 1.1" into pi-dev
Yifan Hong [Fri, 30 Mar 2018 18:04:20 +0000 (18:04 +0000)]
Merge "matrix: add gnss 1.1" into pi-dev

6 years agomatrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1
Yifan Hong [Fri, 30 Mar 2018 17:44:18 +0000 (10:44 -0700)]
matrix: radio 1.0-2 IRadio/slot[1-3], ISap/slot1

Framework only uses these instances. If a vendor extension
of the framework use more instances, they should be added
via DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.

Bug: 68112778
Test: builds + treehugger (telephony test)
Change-Id: Ie08db3c61f940d78e33f46ecc36e931dc688a7aa

6 years agoMerge "matrix: add nfc 1.1" into pi-dev
Yifan Hong [Fri, 30 Mar 2018 17:34:42 +0000 (17:34 +0000)]
Merge "matrix: add nfc 1.1" into pi-dev

6 years agoMerge "matrix: add bluetooth.a2dp" into pi-dev
Yifan Hong [Fri, 30 Mar 2018 17:27:48 +0000 (17:27 +0000)]
Merge "matrix: add bluetooth.a2dp" into pi-dev

6 years agoMerge changes from topic "check_unused_hals" into pi-dev
Yifan Hong [Fri, 30 Mar 2018 17:27:13 +0000 (17:27 +0000)]
Merge changes from topic "check_unused_hals" into pi-dev

* changes:
  matrix: ENFORCE_NO_UNUSED_HALS
  matrix: generalize case for LOCAL_WARN_REQUIRED_HALS
  matrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*
  matrix: define LOCAL_MODULE for all modules.

6 years agoAudio V4: Add metadata update to legacy API
Kevin Rocard [Wed, 28 Mar 2018 18:32:08 +0000 (11:32 -0700)]
Audio V4: Add metadata update to legacy API

The metadata API was not present in the legacy HAL which lots of
developer still use.

Test: Check the method is correctly called on each track change
Bug: 38184704
Bug: 69623109
Change-Id: If56b4ee3739194e49808cf24d728c791b0588f9f
Signed-off-by: Kevin Rocard <krocard@google.com>
6 years agoMerge "Support query microphones information." into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 16:59:41 +0000 (16:59 +0000)]
Merge "Support query microphones information." into pi-dev

6 years agoMerge "Add "Unlocked device required" key API" into pi-dev
Brian Young [Fri, 30 Mar 2018 14:21:20 +0000 (14:21 +0000)]
Merge "Add "Unlocked device required" key API" into pi-dev

6 years agoCamera: Validate physical camera related metadata field from legacy HAL
Shuzhen Wang [Fri, 30 Mar 2018 06:34:51 +0000 (23:34 -0700)]
Camera: Validate physical camera related metadata field from legacy HAL

Make sure that num_physcam_metadata, physcam_ids, and physcam_metadata
returned from process_capture_result is sane.

Test: LogicalCameraDeviceTest
Bug: 77218595
Change-Id: Ic4d9823569fb86b20ab2ab21edfc32a0e9f5c9c7

6 years agoMerge "Extend VHAL test property to allow inject events" into pi-dev
TreeHugger Robot [Fri, 30 Mar 2018 05:23:07 +0000 (05:23 +0000)]
Merge "Extend VHAL test property to allow inject events" into pi-dev

6 years agoresolve merge conflicts of e41f291381eaafa2f9d946e85f94ed4689ba10b1 to oc-mr1-dev
Yuexi Ma [Fri, 30 Mar 2018 02:06:11 +0000 (02:06 +0000)]
resolve merge conflicts of e41f291381eaafa2f9d946e85f94ed4689ba10b1 to oc-mr1-dev
am: 9e57dd7452

Change-Id: Ib8964f9d9eca9a90f6a203e580dd3f30be2d5b7d

6 years agomatrix: add bluetooth.a2dp
Yifan Hong [Thu, 29 Mar 2018 22:50:37 +0000 (15:50 -0700)]
matrix: add bluetooth.a2dp

Add bluetooth.a2dp to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I818a1d278eeae625f563ce74f056140407c50a64

6 years agomatrix: add gnss 1.1
Yifan Hong [Thu, 29 Mar 2018 22:51:33 +0000 (15:51 -0700)]
matrix: add gnss 1.1

Add gnss 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml

Change-Id: I4a3676ab85db6c4bd632224298524dfa70f9ecf6

6 years agomatrix: add nfc 1.1
Yifan Hong [Thu, 29 Mar 2018 22:51:43 +0000 (15:51 -0700)]
matrix: add nfc 1.1

Add nfc 1.1 to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml
Change-Id: I48ea252b5f6318f091ecf91dfaee8b71625eafe3

6 years agomatrix: add radio.config
Yifan Hong [Thu, 29 Mar 2018 23:21:24 +0000 (16:21 -0700)]
matrix: add radio.config

Add radio.config to matrix as optional HAL.

Bug: 68112778
Test: m framework_compatibility_matrix.xml
Change-Id: If4466e3f189897219b33cf7da09883cf63c66de3

6 years agoresolve merge conflicts of e41f291381eaafa2f9d946e85f94ed4689ba10b1 to oc-mr1-dev
Yuexi Ma [Thu, 29 Mar 2018 23:30:28 +0000 (16:30 -0700)]
resolve merge conflicts of e41f291381eaafa2f9d946e85f94ed4689ba10b1 to oc-mr1-dev

Bug: 62349323
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I7a232c1cbf3dd61ccf7c11f235829801ff98f899

6 years agoDeprecate DRIVING_STATUS vehicle property.
Ram Periathiruvadi [Sun, 18 Mar 2018 08:29:31 +0000 (01:29 -0700)]
Deprecate DRIVING_STATUS vehicle property.

DRIVING_STATUS is not required from VHAL.  It will be derived from other
car sensor vehicle properties in higher layers.

Bug: 71793754
Test: compile and boot.
Change-Id: Ia9f9aeb0e7ff0f16c66422ecb4dc9ad9c152a844

6 years agoMerge "Fix the NNAPI HAL documentation about ADD and MUL" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 22:41:15 +0000 (22:41 +0000)]
Merge "Fix the NNAPI HAL documentation about ADD and MUL" into pi-dev

6 years agoresolve merge conflicts of a9543fee6b3f5e9609206d3a21a4d57858c3d16b to oreo-mr1-vts-dev
Yuexi Ma [Thu, 29 Mar 2018 22:15:23 +0000 (15:15 -0700)]
resolve merge conflicts of a9543fee6b3f5e9609206d3a21a4d57858c3d16b to oreo-mr1-vts-dev

Test: I solemnly swear I tested this conflict resolution.
Change-Id: I09c7c008bfe071e8108cee0b86b660625d33ca6e

6 years agomatrix: ENFORCE_NO_UNUSED_HALS
Yifan Hong [Wed, 28 Mar 2018 17:27:10 +0000 (10:27 -0700)]
matrix: ENFORCE_NO_UNUSED_HALS

Enforce that all hals in the device manifest are
in framework compatibility matrix -- at build time.

Bug: 65028233
Test: build a phone without DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX.
Change-Id: Ibf220f80ca3621ddbf8288d372d5f40336e45248
Merged-In: Ibf220f80ca3621ddbf8288d372d5f40336e45248

6 years agomatrix: generalize case for LOCAL_WARN_REQUIRED_HALS
Yifan Hong [Thu, 29 Mar 2018 17:06:10 +0000 (10:06 -0700)]
matrix: generalize case for LOCAL_WARN_REQUIRED_HALS

Add LOCAL_ASSEMBLE_VINTF_ENV_VARS_OVERRIDE and
LOCAL_ASSEMBLE_VINTF_ERROR_MESSAGE for a more generic case.

Test: m framework_compatibility_matrix.xml -j
Bug: 65028233
Change-Id: Iec142d161daa18122e7a6daebb82c7230cb98ba6
Merged-In: Iec142d161daa18122e7a6daebb82c7230cb98ba6

6 years agomatrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*
Yifan Hong [Thu, 29 Mar 2018 17:57:12 +0000 (10:57 -0700)]
matrix: IGNORE_TARGET_FCM_VERSION -> VINTF_*

All "private" environment variables to assemble_vintf
(inserted by the build rules, not build system variables)
should have this prefix (to distinguish against,
e.g. PRODUCT_ENFORCE_VINTF_MANIFEST)

Test: m framework_compatibility_matrix -j

Bug: 65028233
Change-Id: Iaefa88cefc0918fb86235ea6fcd8e367cbd82788
Merged-In: Iaefa88cefc0918fb86235ea6fcd8e367cbd82788

6 years agomatrix: define LOCAL_MODULE for all modules.
Yifan Hong [Thu, 29 Mar 2018 17:51:48 +0000 (10:51 -0700)]
matrix: define LOCAL_MODULE for all modules.

Test: m framework_compatibility_matrix -j
Bug: 65028233
Change-Id: Iab61771b8ebe0e1b771404bb25a0a04caf399585
Merged-In: Iab61771b8ebe0e1b771404bb25a0a04caf399585

6 years agoMerge "Add BLOCK_SUSPEND capability for Bluetooth HAL service" into pi-dev
Tom Cherry [Thu, 29 Mar 2018 21:49:58 +0000 (21:49 +0000)]
Merge "Add BLOCK_SUSPEND capability for Bluetooth HAL service" into pi-dev

6 years agoExtend VHAL test property to allow inject events
Pavel Maltsev [Thu, 29 Mar 2018 21:11:28 +0000 (14:11 -0700)]
Extend VHAL test property to allow inject events

This is needed for e2e testing, specifically to emulate steering-wheel
buttons from KitchenSink app

Bug: 74616964
Test: manual through kitchensink app
Change-Id: I08de2404f9e17af6b08c2cb1f0fbdc45c655a405

6 years agoAdd BLOCK_SUSPEND capability for Bluetooth HAL service
Tom Cherry [Thu, 29 Mar 2018 17:17:07 +0000 (10:17 -0700)]
Add BLOCK_SUSPEND capability for Bluetooth HAL service

This is needed for some platforms

Bug: 74554159
Bug: 77213213
Test: walleye BT works
Change-Id: If0033c5a7fc09057415b27196fa4541e9aadfb4b
(cherry picked from commit 2d46875666afc7934c1360290cac85df864ed5a5)

6 years agoUpdate RegState for new CellIdentity types
Eric Schwarzenbach [Wed, 14 Mar 2018 23:22:38 +0000 (16:22 -0700)]
Update RegState for new CellIdentity types

Bug: 74826109
Test: make, make vts
Change-Id: I6350e5da5bc064e665e54d161ee589c3eadf901a

6 years ago[automerger skipped] Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetT...
Yuexi Ma [Thu, 29 Mar 2018 17:31:13 +0000 (17:31 +0000)]
[automerger skipped] Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev am: a9543fee6b am: 16c18f9cbd am: a5b66ce807  -s ours
am: f4998a1127  -s ours

Change-Id: I79cbc4dc8518350aae4459a7974d2a70bb0880cc

6 years ago[automerger skipped] Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetT...
Yuexi Ma [Thu, 29 Mar 2018 17:25:40 +0000 (17:25 +0000)]
[automerger skipped] Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev am: a9543fee6b am: 16c18f9cbd
am: a5b66ce807  -s ours

Change-Id: I2b9122b79cbbd3e6a5278d0efb3501615e36b1d0

6 years agoMerge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts...
Yuexi Ma [Thu, 29 Mar 2018 06:56:48 +0000 (06:56 +0000)]
Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev am: a9543fee6b
am: 16c18f9cbd

Change-Id: I9ea0353bc7797ab2d175a41e4eb81f8b14962d06

6 years agoMerge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev
Yuexi Ma [Thu, 29 Mar 2018 06:52:19 +0000 (06:52 +0000)]
Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev
am: a9543fee6b

Change-Id: I329548299d6cb2553d823e19bb8fb4271a94af02

6 years agoMerge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev
Treehugger Robot [Thu, 29 Mar 2018 06:41:26 +0000 (06:41 +0000)]
Merge "rename VtsHalEvsV1_0Target module to VtsHalEvsV1_0TargetTest" into oreo-vts-dev

6 years agoMerge "Update program list when switching bands." into pi-dev
Tomasz Wasilczyk [Thu, 29 Mar 2018 04:49:35 +0000 (04:49 +0000)]
Merge "Update program list when switching bands." into pi-dev

6 years agoMerge "Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 03:21:33 +0000 (03:21 +0000)]
Merge "Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE" into pi-dev

6 years agomatrix: Set drm 1.1/* as required, 1.0/* as optional
Yifan Hong [Fri, 16 Mar 2018 21:23:10 +0000 (14:23 -0700)]
matrix: Set drm 1.1/* as required, 1.0/* as optional

This correctly specifies the requirement of framework
on device. Specifically:

A device at target FCM version 2 is still required to
provide 1.0/default as specified in 2.xml.

Combined matrix at FCM version 2 has the following:
optional: 1.1/.*
optional: 1.0/.*
required: 1.0/default

A device at target FCM version 3 is required to provide
1.0-1/(any instance) as specified in 3.xml.

Matrix at FCM version 3 has the following:
required: 1.1/.*
optional: 1.0/.*

OTA: old libvintf does not recognize the <regex-instance>
tag, and parse this as "no instance requirements"
(satisfyAllInstances returns true). Hence this should
state no restrictions for old libvintf.

Caveat:
if a device does not provide any DRM instance, OTA
(specifically, full OTA that upgrades vendor image to
target level 3) will pass, but when the device is booted
there will be run-time checks about inconsistent builds
and VTS failures. But this case should be caught at build
time.

Test: vts_treble_vintf_test
Test: vts_testability_checker64 --compliance \
      android.hardware.drm@1.0::IDrmFactory
Test: vts_testability_checker64 --compliance \
      android.hardware.drm@1.1::IDrmFactory
Fixes: 73556059
Bug: 68112778
Change-Id: I45c76356d304a94d716eddebc621d367c0ce165a

6 years agoUpdate program list when switching bands.
Tomasz Wasilczyk [Thu, 29 Mar 2018 00:48:18 +0000 (17:48 -0700)]
Update program list when switching bands.

Test: manual
Bug: 74353024
Change-Id: I893cd4f9c7d14951924759792206af798b0ceefc

6 years agoBuild DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
Yifan Hong [Fri, 23 Mar 2018 19:03:33 +0000 (12:03 -0700)]
Build DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE

... along with compatibility_matrix.device.xml.
The new module cm.device.xml contains the original content
of empty.xml (kernel configs, sepolicy, etc.) as well
as HALs from DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE.
This variable points to a framework compatibility matrix
that contains framework HALs as a vendor extension; all
HALs in this file must be optional.

Bug: 65028233
Test: m framework_compatibility_matrix.xml -j and manual inspection
Test: vts_treble_vintf_test

Change-Id: I94949f62f7f5b332d845f2e7fa4714df7c49ed3e
Merged-In: I94949f62f7f5b332d845f2e7fa4714df7c49ed3e

6 years agoMerge "NN validation tests" into pi-dev
Michael Butler [Wed, 28 Mar 2018 23:15:49 +0000 (23:15 +0000)]
Merge "NN validation tests" into pi-dev

6 years agoMerge "Camera: Add Monochrome camera capability" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 21:01:31 +0000 (21:01 +0000)]
Merge "Camera: Add Monochrome camera capability" into pi-dev

6 years agoMerge "matrix: camera HAL uses [^/]+/[0-9]+ instance." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:51:08 +0000 (20:51 +0000)]
Merge "matrix: camera HAL uses [^/]+/[0-9]+ instance." into pi-dev

6 years agoMerge "Audio V4: Add V2 XML in V4 effect" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 20:48:18 +0000 (20:48 +0000)]
Merge "Audio V4: Add V2 XML in V4 effect" into pi-dev

6 years agoNN validation tests
Michael Butler [Thu, 22 Mar 2018 23:37:57 +0000 (16:37 -0700)]
NN validation tests

This CL adds validation tests for all of the existing generated models.
The strategy of this CL is this: given a valid model or request, make a
single change to invalidate the model or request, then verify that the
vendor service driver catches the inconsistency and returns
INVALID_ARGUMENT.

Bug: 67828197
Test: mma
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Change-Id: I8efcdbdccc77aaf78992e52c1eac5c940fc81a03

6 years agoFix the NNAPI HAL documentation about ADD and MUL
Miao Wang [Fri, 23 Mar 2018 21:50:59 +0000 (14:50 -0700)]
Fix the NNAPI HAL documentation about ADD and MUL

  - ADD and MUL supports QUANT8_ASYMM since OMR1. It was a bug missing
  them in the HAL documentation.
  - Added the updated hash to current.txt for this ABI preserving
  change.

Bug: 75459529
Test: mm
Change-Id: I492a7431c0dbb3dc5967c586d080eb134e380bf2

6 years agowifi(vts): Skip tests if feature not supported am: d01fcb402f am: 8ad2eb8e29 am:...
Roshan Pius [Wed, 28 Mar 2018 18:04:45 +0000 (18:04 +0000)]
wifi(vts): Skip tests if feature not supported am: d01fcb402f am: 8ad2eb8e29 am: f0ddc70e89
am: 30755f2f7a

Change-Id: Ie69e2b698278c8cc2db11d479e3294bf05730a9e

6 years agowifi(vts): Skip tests if feature not supported am: d01fcb402f am: e7ec531394
Roshan Pius [Wed, 28 Mar 2018 17:59:21 +0000 (17:59 +0000)]
wifi(vts): Skip tests if feature not supported am: d01fcb402f am: e7ec531394
am: 1539977a2d

Change-Id: I498dd1ccf66e5f3f5f997a86f044ae40e709c782

6 years agowifi(vts): Skip tests if feature not supported am: d01fcb402f am: 8ad2eb8e29
Roshan Pius [Wed, 28 Mar 2018 17:59:14 +0000 (17:59 +0000)]
wifi(vts): Skip tests if feature not supported am: d01fcb402f am: 8ad2eb8e29
am: f0ddc70e89

Change-Id: I75e231435240a1e7b6390fecf2c1b4c616622dfc

6 years agoMerge "matrix: NN HAL uses .* instance." into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 17:54:58 +0000 (17:54 +0000)]
Merge "matrix: NN HAL uses .* instance." into pi-dev

6 years agowifi(vts): Skip tests if feature not supported am: d01fcb402f
Roshan Pius [Wed, 28 Mar 2018 17:53:10 +0000 (17:53 +0000)]
wifi(vts): Skip tests if feature not supported am: d01fcb402f
am: e7ec531394

Change-Id: If768bfd2b324ff1573b61f9a907a849f1cfba965

6 years agowifi(vts): Skip tests if feature not supported am: d01fcb402f
Roshan Pius [Wed, 28 Mar 2018 17:53:09 +0000 (17:53 +0000)]
wifi(vts): Skip tests if feature not supported am: d01fcb402f
am: 8ad2eb8e29

Change-Id: I1d0fd898c2976877a70561ead9183666712cf54a

6 years agomatrix: NN HAL uses .* instance.
Yifan Hong [Tue, 27 Mar 2018 22:26:41 +0000 (15:26 -0700)]
matrix: NN HAL uses .* instance.

Use regular expression. NN HAL is a new
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: I1bfb916854c62fa75d341d4572a15a944178eb47

6 years agoMerge "matrix: radio HAL uses slot[0-9]+ instance." into pi-dev
Yifan Hong [Wed, 28 Mar 2018 17:50:12 +0000 (17:50 +0000)]
Merge "matrix: radio HAL uses slot[0-9]+ instance." into pi-dev

6 years agowifi(vts): Skip tests if feature not supported
Roshan Pius [Wed, 28 Mar 2018 17:47:35 +0000 (17:47 +0000)]
wifi(vts): Skip tests if feature not supported
am: d01fcb402f

Change-Id: I6cedbe9706b01f30faa6ea184def1d7c51bd0536

6 years agowifi(vts): Skip tests if feature not supported
Roshan Pius [Wed, 28 Mar 2018 17:44:02 +0000 (17:44 +0000)]
wifi(vts): Skip tests if feature not supported
am: d01fcb402f

Change-Id: Ibdadb2e4dbd03f888782c70603f5bdc3873dbb66

6 years agoAdd "Unlocked device required" key API
Brian Young [Fri, 23 Feb 2018 18:03:43 +0000 (18:03 +0000)]
Add "Unlocked device required" key API

Add a keymaster parameter for keys that should be inaccessible when
the device screen is locked. "Locked" here is a state where the device
can be used or accessed without any further trust factor such as a
PIN, password, fingerprint, or trusted face or voice.

This parameter is added to the Java keystore interface for key
creation and import, as well as enums specified by and for the native
keystore process.

Test: CTS tests in I8a5affd1eaed176756175158e3057e44934fffed

Bug: 67752510

Merged-In: Id19d19b19532ac8d4c52aad46a954faa4515289d
Change-Id: Id19d19b19532ac8d4c52aad46a954faa4515289d
(cherry picked from commit 1840be6d356c54c47b1c2e6d0e3275d9fa659eea)

6 years agoMerge "Add more drm@1.1 VTS structure tests" into pi-dev
Keun Soo Yim [Wed, 28 Mar 2018 05:34:47 +0000 (05:34 +0000)]
Merge "Add more drm@1.1 VTS structure tests" into pi-dev

6 years agoMerge changes from topic "propagate_eap_failure" into pi-dev
Ahmed ElArabawy [Wed, 28 Mar 2018 00:04:57 +0000 (00:04 +0000)]
Merge changes from topic "propagate_eap_failure" into pi-dev

* changes:
  WiFi: Add vts tests for ISupplicantStaIface 1.1
  WiFi: supplicant HAL: Modify onEapFailure Callback

6 years agomatrix: camera HAL uses [^/]+/[0-9]+ instance.
Yifan Hong [Tue, 27 Mar 2018 22:29:14 +0000 (15:29 -0700)]
matrix: camera HAL uses [^/]+/[0-9]+ instance.

Use regular expression. Camera HAL is an optional
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: Idf2b8cbe49f5a913df744833147bb1c48588c956

6 years agoAdd more drm@1.1 VTS structure tests
Jeff Tinker [Mon, 26 Mar 2018 23:32:51 +0000 (16:32 -0700)]
Add more drm@1.1 VTS structure tests

Adding tests for:
 getKeyRequest_1_1
 getSecureStopIds
 releaseSecureStops
 removeSecureStop
 removeAllSecureStops

test:vts-tradefed run commandAndExit vts-staging-default -m VtsHalDrmV1_1Target
bug:73330999

Change-Id: Icd6c3e679ea674f899563a8d8e428321a7783633

6 years agoTeach VehiclePropertyStore to not propagate the status value when a set() operation...
Enrico Granata [Tue, 27 Mar 2018 23:29:40 +0000 (16:29 -0700)]
Teach VehiclePropertyStore to not propagate the status value when a set() operation comes from Android

The status field of a property represents properties of the underlying implementation and it should thus
be read-only to Android. Add a way for VehiclePropertyStore to be told whether it does (or does not) need to
propagate the field to the stored property value.

Test: build
Bug: 76034442
Change-Id: I333fab7e296f425cf5c4a35ae136ccfbaa542379

6 years agoSetMacAddress in Vendor HAL
Jong Wook Kim [Fri, 16 Mar 2018 23:21:49 +0000 (16:21 -0700)]
SetMacAddress in Vendor HAL

Add a Wifi HAL interface to set MAC address.

The default implementation is to bring the interface down, change the
MAC address, and then bring the interface back up.

Bug: 74347653
Test: vts, manual testing
Change-Id: Ic740d94ec2fcb37e6743d0f3e967f3f4b6afb57d

6 years agomatrix: radio HAL uses slot[0-9]+ instance.
Yifan Hong [Tue, 27 Mar 2018 22:24:29 +0000 (15:24 -0700)]
matrix: radio HAL uses slot[0-9]+ instance.

Use regular expression. Radio HAL is an optional
HAL so this does not break OTA.

Bug: 73738616
Test: builds
Test: vts_treble_vintf_test (compatible and No deprecate HALs)
Change-Id: I00a0d97a9528e0c4a72bde6244e47dc2842686ed

6 years agoCamera: Add Monochrome camera capability
Shuzhen Wang [Mon, 26 Mar 2018 23:16:38 +0000 (16:16 -0700)]
Camera: Add Monochrome camera capability

Test: Camera CTS on a monochrome camera device
Bug: 74597035
Bug: 64691172
Change-Id: I720b29c794127ca01e658a2d9d69e3cb61adcd14