android/platform-hardware-interfaces.git
2 years agoAllow implicit-fallthrough warnings locally. DO NOT MERGE.
Chih-Hung Hsieh [Mon, 22 Oct 2018 16:44:49 +0000 (09:44 -0700)]
Allow implicit-fallthrough warnings locally. DO NOT MERGE.

It will be a global error by default.
This change is not needed for goog/master.

Test: make checkbuild
Bug: 112564944
Change-Id: Ie90ad1f59f6922da6cecd4a0ac136b1e42b6d482
Exempt-From-Owner-Approval: do not block on new warnings

2 years agoMerge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp2"
Przemyslaw Szczepaniak [Mon, 22 Oct 2018 16:03:04 +0000 (16:03 +0000)]
Merge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp2"

* changes:
  Adds TENSOR_FLOAT16 operand type.
  Add TENSOR_QUANT16_ASYMM to operand types
  Add new OperandType BOOL.
  Add HAL entry to allow querying device impl version.

2 years agoMerge "Fix implicit-fallthrough warnings."
Treehugger Robot [Sat, 20 Oct 2018 04:45:15 +0000 (04:45 +0000)]
Merge "Fix implicit-fallthrough warnings."

2 years agoFix implicit-fallthrough warnings.
Chih-Hung Hsieh [Fri, 19 Oct 2018 21:26:01 +0000 (14:26 -0700)]
Fix implicit-fallthrough warnings.

Test: make checkbuild
Bug: 112564944
Change-Id: Ib93559a5c1512861f9746cd28d8b19073ce92aa8

2 years agoMerge pi-dr1-dev to aosp-master
Bill Yi [Fri, 19 Oct 2018 19:20:42 +0000 (12:20 -0700)]
Merge pi-dr1-dev to aosp-master

Change-Id: Ida0bc98526f4fc7a1c20f5bbd3210b2f6156d459

2 years agographics: composer@2.2 does not require mapper@2.1
Chia-I Wu [Fri, 19 Oct 2018 18:48:36 +0000 (11:48 -0700)]
graphics: composer@2.2 does not require mapper@2.1
am: 0eafa742c6

Change-Id: I6f045113a3c0218a4b8f2c8e794892a21c1fc306

2 years agoAdds TENSOR_FLOAT16 operand type.
Michael K. Sanders [Fri, 12 Oct 2018 08:10:15 +0000 (09:10 +0100)]
Adds TENSOR_FLOAT16 operand type.

Bug: 113563458
Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Change-Id: If12ceff428e1b1a90ef99b7353f0df60d4ef8010
Merged-In: If12ceff428e1b1a90ef99b7353f0df60d4ef8010
(cherry picked from commit 19d63453d4c2723c3fad4ce7f852f548d761278e)

2 years agoAdd TENSOR_QUANT16_ASYMM to operand types
Lev Proleev [Mon, 1 Oct 2018 10:18:31 +0000 (11:18 +0100)]
Add TENSOR_QUANT16_ASYMM to operand types

Add new OperandType::TENSOR_QUANT16_ASYMM.
Add VTS validation for the new type.

Bug: 113561892
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_0TargetTest
Test: VtsHalNeuralnetworksV1_1TargetTest
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: I4f9ed6a33d5d3ec227e9f335df71954c73edf344
Merged-In: I4f9ed6a33d5d3ec227e9f335df71954c73edf344
(cherry picked from commit 5d7c99527e7bad07d6ab5413bcfd14cec5df5f31)

2 years agoAdd new OperandType BOOL.
Lev Proleev [Mon, 1 Oct 2018 10:18:31 +0000 (11:18 +0100)]
Add new OperandType BOOL.

- Add new enum OperandType::BOOL.
- Add v1.2 Operand, OperandType.
- Add VTS validation tests for BOOL.

Bug: 117423393

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest

Change-Id: I420e2afeb09b881a499eee6b138c1f26e9874f5a
Merged-In: I420e2afeb09b881a499eee6b138c1f26e9874f5a
(cherry picked from commit abad9eac448cc61582a9a658a231010358051b97)

2 years agoAdd HAL entry to allow querying device impl version.
Miao Wang [Thu, 20 Sep 2018 18:35:42 +0000 (11:35 -0700)]
Add HAL entry to allow querying device impl version.

Bug: 111425781
Bug: 112661050
Test: mm
Test: NeuralNetworksTest_static
Change-Id: I32527fa09e45459bc9759f5b679646073cf96785
Merged-In: I32527fa09e45459bc9759f5b679646073cf96785
(cherry picked from commit 44b029b181b554931367c670f8bd026ceacc0536)

2 years agoMerge "Fix implicit fallthrough warnings."
Chih-hung Hsieh [Fri, 19 Oct 2018 06:27:06 +0000 (23:27 -0700)]
Merge "Fix implicit fallthrough warnings."
am: 591171a659

Change-Id: I6fc2f638f3e7559a1ec2face4c8ec2dab51506be

2 years agoMerge "Fix implicit fallthrough warnings."
Chih-hung Hsieh [Thu, 18 Oct 2018 18:33:21 +0000 (18:33 +0000)]
Merge "Fix implicit fallthrough warnings."

2 years agographics: composer@2.2 does not require mapper@2.1
Chia-I Wu [Thu, 9 Aug 2018 17:22:38 +0000 (10:22 -0700)]
graphics: composer@2.2 does not require mapper@2.1

Fix composer@2.2 VTS to not require mapper@2.1.  We will need a
better test infra before things get too complex.

Bug: 112248843
Test: manual
Change-Id: Ia71a102742fd26f14e8edf3f43f3351786350ccd
Merged-In: Ia71a102742fd26f14e8edf3f43f3351786350ccd

2 years agoMerge "Update makefiles."
Steven Moreland [Wed, 17 Oct 2018 20:58:30 +0000 (13:58 -0700)]
Merge "Update makefiles."
am: c202d17fa6

Change-Id: I91e945ede9f4e46867aac20303063b309576ed9d

2 years agoMerge "Update makefiles."
Treehugger Robot [Wed, 17 Oct 2018 19:48:41 +0000 (19:48 +0000)]
Merge "Update makefiles."

2 years agoremoved unused line.
Yifan Hong [Wed, 17 Oct 2018 02:51:38 +0000 (19:51 -0700)]
removed unused line.
am: ab6de249ec

Change-Id: I8ad61ab708eed3e86876e673a376ba0fa29b2f9e

2 years agoUpdate makefiles.
Steven Moreland [Tue, 16 Oct 2018 23:36:45 +0000 (16:36 -0700)]
Update makefiles.

Some of these were out of date.

Bug: N/A
Test: N/A
Change-Id: I25a2706b95e199f5728cda5a5e4e2b23c60a8d40

2 years agoFix implicit fallthrough warnings.
Chih-Hung Hsieh [Tue, 16 Oct 2018 21:22:12 +0000 (14:22 -0700)]
Fix implicit fallthrough warnings.

Test: make checkbuild
Bug: 112564944
Change-Id: Ib2b337146de86e4abe40ded5932196f1b8b698c6

2 years agoremoved unused line.
Yifan Hong [Tue, 16 Oct 2018 19:00:04 +0000 (12:00 -0700)]
removed unused line.

Test: builds
Change-Id: I6df9338de150e35147c191a551b1e5eb538db32e

2 years agoMerge "compatibility matrices: move to soong"
Yifan Hong [Tue, 16 Oct 2018 17:29:18 +0000 (10:29 -0700)]
Merge "compatibility matrices: move to soong"
am: 9cfddb6282

Change-Id: I3e88b69a9ed6f57c1b5d011349473b3c568bc74f

2 years agoMerge "Avoid segfaults if disconnect USB camera while preview."
chenhg [Tue, 16 Oct 2018 17:23:06 +0000 (10:23 -0700)]
Merge "Avoid segfaults if disconnect USB camera while preview."
am: 4dce57e459

Change-Id: I08b09d87cbaf4ed3c18ccbd5cd28b3de8fa4c8e4

2 years agoMerge "compatibility matrices: move to soong"
Yifan Hong [Tue, 16 Oct 2018 17:20:50 +0000 (17:20 +0000)]
Merge "compatibility matrices: move to soong"

2 years agoMerge "Avoid segfaults if disconnect USB camera while preview."
Treehugger Robot [Tue, 16 Oct 2018 17:05:08 +0000 (17:05 +0000)]
Merge "Avoid segfaults if disconnect USB camera while preview."

2 years agoMerge "Restored 'maxConnsTime' and 'maxConns' in data profile"
Jack Yu [Tue, 16 Oct 2018 01:20:47 +0000 (18:20 -0700)]
Merge "Restored 'maxConnsTime' and 'maxConns' in data profile"
am: bcb0c1b49a

Change-Id: I376197118faadef4175ed97be87ed50b4573e919

2 years agoMerge "Restored 'maxConnsTime' and 'maxConns' in data profile"
Treehugger Robot [Tue, 16 Oct 2018 00:54:19 +0000 (00:54 +0000)]
Merge "Restored 'maxConnsTime' and 'maxConns' in data profile"

2 years agocompatibility matrices: move to soong
Yifan Hong [Fri, 12 Oct 2018 20:08:52 +0000 (13:08 -0700)]
compatibility matrices: move to soong

* Kernel config requirements are built as
separate rules in kernel/configs. All kernel requirements
(including minlts and configs) are represented there.

* device framework compatibility matrix and final
framework compatibility matrix need special environment
variables, so they are not generic enough to be written
in the soong rule.

See compatibility_matrices/Android.bp for sample usages.

Test: builds and compare output before change
Change-Id: I53bf88362314f96487ca243c9292570b7931f24b

2 years agoFix implicit fallthrough warnings.
Chih-Hung Hsieh [Mon, 15 Oct 2018 21:21:11 +0000 (14:21 -0700)]
Fix implicit fallthrough warnings.
am: 40b77ef6b5

Change-Id: I0eee7ff35ef8943847d6966720a2c5477fc21fd0

2 years agoFix implicit fallthrough warnings.
Chih-Hung Hsieh [Fri, 12 Oct 2018 22:44:27 +0000 (15:44 -0700)]
Fix implicit fallthrough warnings.

Test: make checkbuild
Bug: 112564944
Change-Id: Iaaa0e2c325e860572d058ae27a7ad7dc00134564

2 years agoRestored 'maxConnsTime' and 'maxConns' in data profile
Jack Yu [Mon, 15 Oct 2018 16:49:05 +0000 (09:49 -0700)]
Restored 'maxConnsTime' and 'maxConns' in data profile

These two fields are still needed for some carriers. Should
not be removed in 1.3. Reverted back to what we have in 1.0.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: I33e7b9b0cb26b56fc3c0e011557657136cb38a6c

2 years agoAvoid segfaults if disconnect USB camera while preview.
chenhg [Thu, 11 Oct 2018 00:07:21 +0000 (17:07 -0700)]
Avoid segfaults if disconnect USB camera while preview.

BUG: 117575807
Test: manual test by disconnect USB camera while preview.

Change-Id: Ia74b03e7f2a672efd9e9dfd651b5894529daeeee

2 years agoMerge "Audio: Do not sanitize android.hardware.audio@2.0-service"
Andreas Gampe [Fri, 12 Oct 2018 01:09:56 +0000 (18:09 -0700)]
Merge "Audio: Do not sanitize android.hardware.audio@2.0-service"
am: f06fb17cd7

Change-Id: I743c1afaae84f560879cab6afba0fe31978ef871

2 years agoMerge "Audio: Do not sanitize android.hardware.audio@2.0-service" android-o-mr1-iot-release-smart-display-r3
Treehugger Robot [Fri, 12 Oct 2018 00:56:46 +0000 (00:56 +0000)]
Merge "Audio: Do not sanitize android.hardware.audio@2.0-service"

2 years agoMerge "audio: Add a missing break to EffectsFactory::getAllDescriptors"
Mikhail Naganov [Thu, 11 Oct 2018 22:27:22 +0000 (15:27 -0700)]
Merge "audio: Add a missing break to EffectsFactory::getAllDescriptors"
am: ef84854472

Change-Id: I47effe88ae8467f8570556ad56ced648abddc4d7

2 years agoMerge "audio: Add a missing break to EffectsFactory::getAllDescriptors"
Treehugger Robot [Thu, 11 Oct 2018 22:18:22 +0000 (22:18 +0000)]
Merge "audio: Add a missing break to EffectsFactory::getAllDescriptors"

2 years agoMerge "Add monostate to optional safe unions."
Steven Moreland [Thu, 11 Oct 2018 21:44:26 +0000 (14:44 -0700)]
Merge "Add monostate to optional safe unions."
am: 17c437eac1

Change-Id: I28c1b888c3611262dbbbb48f5b3886b7e41ac56d

2 years agoMerge "Add monostate to optional safe unions."
Steven Moreland [Thu, 11 Oct 2018 21:23:27 +0000 (21:23 +0000)]
Merge "Add monostate to optional safe unions."

2 years agoaudio: Add a missing break to EffectsFactory::getAllDescriptors
Mikhail Naganov [Wed, 10 Oct 2018 21:40:54 +0000 (14:40 -0700)]
audio: Add a missing break to EffectsFactory::getAllDescriptors

Would the legacy HAL return -ENOENT while retrieving an effect,
the enumeration has to be aborted, and the effects queried so far
need to be returned. A missing 'break' was causing returning
no effects at all.

Bug: 117567478
Test: make
Change-Id: I7cc05004f88b39272d06d2ed33a0693f8e1e3d04
Merged-In: I7cc05004f88b39272d06d2ed33a0693f8e1e3d04

2 years agoAdd monostate to optional safe unions.
Steven Moreland [Wed, 10 Oct 2018 20:59:36 +0000 (13:59 -0700)]
Add monostate to optional safe unions.

Bug: 116156870
Test: hidl_test, hidl_test_java
Change-Id: Ie17a80dee982775e267a39086016071ac2361fb5

2 years agoMerge "Divide BBOX_TRANSFORM into 2 ops."
Przemyslaw Szczepaniak [Thu, 11 Oct 2018 16:30:53 +0000 (09:30 -0700)]
Merge "Divide BBOX_TRANSFORM into 2 ops."
am: 76c45692bf

Change-Id: Ic45409f36b1084c32c14ec708cda52b9c760865e

2 years agoMerge "Divide BBOX_TRANSFORM into 2 ops."
Przemyslaw Szczepaniak [Thu, 11 Oct 2018 16:17:46 +0000 (16:17 +0000)]
Merge "Divide BBOX_TRANSFORM into 2 ops."

2 years agoAudio: Do not sanitize android.hardware.audio@2.0-service
Andreas Gampe [Thu, 11 Oct 2018 03:26:39 +0000 (20:26 -0700)]
Audio: Do not sanitize android.hardware.audio@2.0-service

Until the underlying bug is fixed, do not produce a sanitized
binary.

Bug: 117506164
Bug: 117580200
Test: m && SANITIZE_TARGET=address m
Change-Id: I4e6d1206512513c687f7ae065d2974c55c617b61

2 years agoMerge "tests IFoo: WithFmq is more complicated."
Steven Moreland [Wed, 10 Oct 2018 19:23:39 +0000 (12:23 -0700)]
Merge "tests IFoo: WithFmq is more complicated."
am: da1d79bf07

Change-Id: I2256aaad4016dc2ed6176bff8e9bf897f53b52ae

2 years agoMerge "tests IFoo: WithFmq is more complicated."
Steven Moreland [Wed, 10 Oct 2018 19:03:51 +0000 (19:03 +0000)]
Merge "tests IFoo: WithFmq is more complicated."

2 years agoDivide BBOX_TRANSFORM into 2 ops.
Xusong Wang [Thu, 4 Oct 2018 22:03:13 +0000 (15:03 -0700)]
Divide BBOX_TRANSFORM into 2 ops.

Divide BBOX_TRANSFORM op into 2 ops
- AXIS_ALIGNED_BBOX_TRANSFORM
- ROTATED_BBOX_TRANSFORM

Rotated bounding boxes use different tensor format than axis-aligned
bounding boxes, and it would be less confusing if they were represented
by a separate operator code.

Bug: 113562630

Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_xTargetTest with sample driver
Change-Id: Ie08f2e0d0da77f6750766a394969653478d054d5
Merged-In: Ie08f2e0d0da77f6750766a394969653478d054d5
(cherry picked from commit d2bae1c268f8ef8e313441450e226d68ab515d9a)

2 years agoMerge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp"
Przemyslaw Szczepaniak [Wed, 10 Oct 2018 13:36:56 +0000 (06:36 -0700)]
Merge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp"
am: f59720c6b8

Change-Id: I636b34bce6c154c72f1eb732a23d8473b17f7efd

2 years agoMerge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp"
Przemyslaw Szczepaniak [Wed, 10 Oct 2018 13:27:42 +0000 (13:27 +0000)]
Merge changes from topic "nnapi-cherrypick-from-master-and-pi-dev-to-aosp"

* changes:
  Update OWNERS
  Fix indexing bug in NNAPI
  Attach a bug to syncing docs
  Reserve enums for new NNAPI ops.
  Add new op PAD_V2
  Add new ops ARGMAX and ARGMIN

2 years agoMerge "Clarifying GnssMeasurement and Clock commments"
WyattRiley [Wed, 10 Oct 2018 05:28:29 +0000 (22:28 -0700)]
Merge "Clarifying GnssMeasurement and Clock commments"
am: 3a5649ddd5

Change-Id: I0c94fe09746981e8ec52880e4dbe56dbdd9a6d0e

2 years agoMerge "Clarifying GnssMeasurement and Clock commments"
Treehugger Robot [Wed, 10 Oct 2018 05:13:22 +0000 (05:13 +0000)]
Merge "Clarifying GnssMeasurement and Clock commments"

2 years agotests IFoo: WithFmq is more complicated.
Steven Moreland [Tue, 9 Oct 2018 22:10:48 +0000 (15:10 -0700)]
tests IFoo: WithFmq is more complicated.

When an interface is in the struct, scatter gather isn't used.

Bug: 117239572
Test: hidl_test
Change-Id: I749dd7cce85d220c1908ad583b1744c799a105cc

2 years agoMerge "tests: IBaz, nasty nesting struct"
Steven Moreland [Tue, 9 Oct 2018 20:44:37 +0000 (13:44 -0700)]
Merge "tests: IBaz, nasty nesting struct"
am: b035e3a246

Change-Id: I744b3504199a7a6a11b52599368574c575526f21

2 years agoMerge "tests: IBaz, nasty nesting struct"
Treehugger Robot [Tue, 9 Oct 2018 20:36:36 +0000 (20:36 +0000)]
Merge "tests: IBaz, nasty nesting struct"

2 years agoMerge "IFoo: send struct with fmq."
Steven Moreland [Tue, 9 Oct 2018 20:06:56 +0000 (13:06 -0700)]
Merge "IFoo: send struct with fmq."
am: 7daf2659ea

Change-Id: I56b079caffb4b72afdb44f1fdfb98239eea22f5f

2 years agoMerge "IFoo: send struct with fmq."
Steven Moreland [Tue, 9 Oct 2018 19:51:30 +0000 (19:51 +0000)]
Merge "IFoo: send struct with fmq."

2 years agotests: IBaz, nasty nesting struct
Steven Moreland [Tue, 9 Oct 2018 17:05:47 +0000 (10:05 -0700)]
tests: IBaz, nasty nesting struct

toString is broken in some cases because of recursive definitions. This
exercises that case.

Bug: 117342189
Test: hidl_test
Test: m android.hardware.tests.baz@1.0 android.hardware.tests.baz-V1.0-java
    (this runs hidl-gen on this for both Java and C++ output)
Test: manually inspected output

Change-Id: Ic09ac133345f2d83d6f83d3d0af1f63e7e3250ee

2 years agoMerge "VTS: Check return status of initialize and close"
Jack He [Tue, 9 Oct 2018 13:33:46 +0000 (06:33 -0700)]
Merge "VTS: Check return status of initialize and close"
am: 5956e27299

Change-Id: I4b496d9a896b1a55fa213d20c0bf01dd73863869

2 years agoMerge "VTS: Check return status of initialize and close"
Treehugger Robot [Tue, 9 Oct 2018 13:29:02 +0000 (13:29 +0000)]
Merge "VTS: Check return status of initialize and close"

2 years agoUpdate OWNERS
Miao Wang [Fri, 5 Oct 2018 00:16:43 +0000 (17:16 -0700)]
Update OWNERS

Test: none
Change-Id: I96db4de3f34837c9f3174fd01e7d06d3355617f3
Merged-In: I96db4de3f34837c9f3174fd01e7d06d3355617f3
(cherry picked from commit 6653e69dc6385805909df504a93776aae6a6f639)

2 years agoFix indexing bug in NNAPI
Slava Shklyaev [Thu, 27 Sep 2018 15:18:54 +0000 (16:18 +0100)]
Fix indexing bug in NNAPI

Bug: 114365802
Test: n/a
Change-Id: I87173528b58f66175c99e7c7e2e66daa307b04da
Merged-In: I87173528b58f66175c99e7c7e2e66daa307b04da
(cherry picked from commit 4a211d836457e22788010ddd58c8c2f6dd3cfbe7)

2 years agoAttach a bug to syncing docs
Slava Shklyaev [Tue, 25 Sep 2018 15:10:38 +0000 (16:10 +0100)]
Attach a bug to syncing docs

Bug: 116445845
Test: none
Change-Id: I841b1dc503d70efddb8175b75d9d3efe8078eeb1
Merged-In: I841b1dc503d70efddb8175b75d9d3efe8078eeb1
(cherry picked from commit 7f9f46159183b02d53ca8d6bbe728e5610c2ea5a)

2 years agoReserve enums for new NNAPI ops.
Przemyslaw Szczepaniak [Mon, 24 Sep 2018 13:12:28 +0000 (14:12 +0100)]
Reserve enums for new NNAPI ops.

Test: NeuralNetworksTest_static
Bug: 114365802

Change-Id: I3b379fe3f0336b92ef602bbb12a4bd4a150c573c
Merged-In: I3b379fe3f0336b92ef602bbb12a4bd4a150c573c
(cherry picked from commit 5a9362eb2d1378636fd8bf604f6536eb2a268d2c)

2 years agoAdd new op PAD_V2
Slava Shklyaev [Thu, 20 Sep 2018 12:43:37 +0000 (13:43 +0100)]
Add new op PAD_V2

Bug: 113561890
Test: NeuralNetworksTest_static
Change-Id: I34351d6ff5fae0a13e3e883ca42210c534418ff3
Merged-In: I34351d6ff5fae0a13e3e883ca42210c534418ff3
(cherry picked from commit ffe467e6d863b2b555171df7b2f46676ad46200e)

2 years agoAdd new ops ARGMAX and ARGMIN
Slava Shklyaev [Wed, 19 Sep 2018 15:55:31 +0000 (16:55 +0100)]
Add new ops ARGMAX and ARGMIN

Bug: 113558658
Test: NeuralNetworksTest_static
Change-Id: I8862d4062181689ce69ab65aa07c1b6af07ba567
Merged-In: I8862d4062181689ce69ab65aa07c1b6af07ba567
(cherry picked from commit cc31bd6622f5e01ab640916fbb26433dd4ff9db2)

2 years agoVTS: Check return status of initialize and close
Jack He [Fri, 5 Oct 2018 01:42:37 +0000 (18:42 -0700)]
VTS: Check return status of initialize and close

Test: atest VtsHalBluetoothV1_0TargetTest
Change-Id: I579c4d5f4c6e24b358c67c3dc8a8a8ceb1f936e2

2 years agoIFoo: send struct with fmq.
Steven Moreland [Fri, 5 Oct 2018 16:42:21 +0000 (09:42 -0700)]
IFoo: send struct with fmq.

Bug: 117239572
Test: hidl_test
Change-Id: I968916a9d62e1c8f7a237bd24e6b4267dd013366

2 years agoMerge "IFoo: remove pointer from u."
Steven Moreland [Mon, 8 Oct 2018 16:18:51 +0000 (09:18 -0700)]
Merge "IFoo: remove pointer from u."
am: 999693e4e8

Change-Id: I83c607457dbcf46833e2a2fdc50626e1da0a338a

2 years agoMerge "IFoo: remove pointer from u."
Steven Moreland [Mon, 8 Oct 2018 15:54:11 +0000 (15:54 +0000)]
Merge "IFoo: remove pointer from u."

2 years agoMerge "Add a command to get the minimum battery voltage required for flashing"
Hridya Valsaraju [Sun, 7 Oct 2018 18:05:05 +0000 (11:05 -0700)]
Merge "Add a command to get the minimum battery voltage required for flashing"
am: b99e695e91

Change-Id: Ic6c443e27d84db54fea6e5cda2241c068ebf53cf

2 years agoMerge "Add a command to get the minimum battery voltage required for flashing"
Treehugger Robot [Sun, 7 Oct 2018 17:53:45 +0000 (17:53 +0000)]
Merge "Add a command to get the minimum battery voltage required for flashing"

2 years agoAdded 1.3 DataProfileInfo
Jack Yu [Sat, 6 Oct 2018 21:01:28 +0000 (14:01 -0700)]
Added 1.3 DataProfileInfo
am: e7de00c5f5

Change-Id: Ic77bac6ae6fa599087006b1f6df02befed1f0af1

2 years agoAdd a command to get the minimum battery voltage required for flashing
Hridya Valsaraju [Mon, 1 Oct 2018 22:47:24 +0000 (15:47 -0700)]
Add a command to get the minimum battery voltage required for flashing

Bug: 79480454
Test: fastboot getvar battery-soc-ok

Change-Id: I6141993972a3084fe3620d81f707999e1264b997
Merged-In: I6141993972a3084fe3620d81f707999e1264b997
(cherry picked from commit 83f5631deb5169d7b6f897679956bc11d13e6e0b)

2 years agoAdded 1.3 DataProfileInfo
Jack Yu [Sat, 15 Sep 2018 00:27:27 +0000 (17:27 -0700)]
Added 1.3 DataProfileInfo

1. Deprecated the fields 'mvnoType', 'mvnoMatchData', 'maxConnsTime',
   and 'maxConns'.
2. Added a new flag 'preferred' indicating if this data profile
   is preferred for default data connection setup.
3. Move modemCognative flag from setupDataCall and setInitialAttachApn
   into the struct DataProfileInfo and rename it to 'persistent'.
4. Removed isRoaming flag in setupDataCall, setInitialAttachApn, and
   setDataProfile.

Test: Telephony sanity tests
Bug: 73659459
Change-Id: Ia28715e85755b47a1ee870b5c90e5505a7fd8c4a

2 years agoIFoo: remove pointer from u.
Steven Moreland [Fri, 5 Oct 2018 18:16:20 +0000 (11:16 -0700)]
IFoo: remove pointer from u.

pointer needs a fixup (to abort) since they can't be used in remote
transactions, so removing it from the union here.

Bug: 117322722
Test: hidl_test
Change-Id: Ie582f6b79a8176ca1585bf4b1f43ae9d5d97fa92

2 years agoClarifying GnssMeasurement and Clock commments
WyattRiley [Wed, 15 Aug 2018 01:19:30 +0000 (18:19 -0700)]
Clarifying GnssMeasurement and Clock commments

Change-Id: Ia51b16a2904ab43f67464fc91321fad99a2bb614
Fixes: 77812939
Test: Comments only, verified builds

2 years agoAudio VTS: Do not constrain implementation frameCount am: 069bc45044
Kevin Rocard [Wed, 3 Oct 2018 23:23:21 +0000 (16:23 -0700)]
Audio VTS: Do not constrain implementation frameCount am: 069bc45044
am: 5596e985d4

Change-Id: Idf051c458d74057425ec3c13227fa31190535e18

2 years agoAudio VTS: Do not constrain implementation frameCount
Kevin Rocard [Wed, 3 Oct 2018 23:15:32 +0000 (16:15 -0700)]
Audio VTS: Do not constrain implementation frameCount
am: 069bc45044

Change-Id: I3ec1df7f581e5b11e0d394139c1421109c16fc19

2 years agoMerge "Reland "Set vendor: true for boot control HAL""
Hridya Valsaraju [Wed, 3 Oct 2018 22:06:52 +0000 (15:06 -0700)]
Merge "Reland "Set vendor: true for boot control HAL""
am: 9ba23d0c78

Change-Id: I4fa44112bf00e1ccb96e8fd7de606fb7ebbe2cd5

2 years agoMerge "Reland "Set vendor: true for boot control HAL""
Treehugger Robot [Wed, 3 Oct 2018 21:47:14 +0000 (21:47 +0000)]
Merge "Reland "Set vendor: true for boot control HAL""

2 years agoReland "Set vendor: true for boot control HAL"
Hridya Valsaraju [Wed, 3 Oct 2018 17:51:58 +0000 (17:51 +0000)]
Reland "Set vendor: true for boot control HAL"

This reverts commit f8169cc2bc23db9be612da42d241267cdccbed40.

Bug: 117072247
Change-Id: Ib80966e31ed92d316217844d0399e6f6ba5fdd2c

2 years agoMerge "Emergency Function HAL (continued)"
Shuo Qian [Wed, 3 Oct 2018 02:21:20 +0000 (19:21 -0700)]
Merge "Emergency Function HAL (continued)"
am: f461463b39

Change-Id: I6c0105193a38b477fdfa7e8b88343bd5b8bb2f14

2 years agoMerge "Emergency Function HAL (continued)" android-o-mr1-iot-release-1.0.5
Shuo Qian [Wed, 3 Oct 2018 01:36:17 +0000 (01:36 +0000)]
Merge "Emergency Function HAL (continued)"

2 years agoMerge "health VTS: split Properties test"
Yifan Hong [Wed, 3 Oct 2018 00:13:37 +0000 (17:13 -0700)]
Merge "health VTS: split Properties test"
am: f8a8873ee6

Change-Id: I4a951a54f052e8f1891e4aeb406307c59f25d3e3

2 years agohealth: registerCallback() and getHealthInfo() does not notify all callbacks
Yifan Hong [Wed, 3 Oct 2018 00:11:22 +0000 (17:11 -0700)]
health: registerCallback() and getHealthInfo() does not notify all callbacks
am: e9fc235eb4

Change-Id: I839443bed06f0007b93d1032c61d28d3955d79a3

2 years agohealth: use recursive_mutex.
Yifan Hong [Wed, 3 Oct 2018 00:11:14 +0000 (17:11 -0700)]
health: use recursive_mutex.
am: a46c0dae81

Change-Id: I132a9b08d9b3a1f6356436f6a73a90b7b59422c7

2 years agoMerge "health VTS: split Properties test"
Yifan Hong [Tue, 2 Oct 2018 23:37:43 +0000 (23:37 +0000)]
Merge "health VTS: split Properties test"

2 years agoAudio VTS: Do not constrain implementation frameCount
Kevin Rocard [Thu, 20 Sep 2018 21:28:46 +0000 (14:28 -0700)]
Audio VTS: Do not constrain implementation frameCount

The test was assuming Stream::getFrameCount() would return the
AudioConfig::frameCount used to create the stream, similarly
to the sampleRate or the channelMask.

Nevertheless this is not the case as the AudioConfig::frameCount
field is not to used by Stream::openOutputStream (nor Input) as
the buffer size is chosen by the HAL, not the framework.

Thus the test can not assume the frameCount chosen by the HAL and
must not test for a particular value.

Test: atest VtsHalAudioV4_0TargetTest
Bug: 116169974
Change-Id: Ibbf0825f540957e01e7c512d851cb9628991f4c4
Signed-off-by: Kevin Rocard <krocard@google.com>
2 years agohealth VTS: split Properties test
Yifan Hong [Tue, 2 Oct 2018 21:52:02 +0000 (14:52 -0700)]
health VTS: split Properties test

... into multiple test cases.
Test: run test

Change-Id: I2a03a7ab01d2918b746e06f55c2ee6d733ab4021

2 years agoSkip hal v1 check after p on low ram devices am: a0eb7e415c
Ng Zhi An [Tue, 2 Oct 2018 21:38:29 +0000 (14:38 -0700)]
Skip hal v1 check after p on low ram devices am: a0eb7e415c
am: 2f5884c94c

Change-Id: If61f7b6b9a06206882684b632d3fa4caa5c637b1

2 years agoMerge "Revert "Set vendor: true for boot control HAL""
Hridya Valsaraju [Tue, 2 Oct 2018 21:38:02 +0000 (14:38 -0700)]
Merge "Revert "Set vendor: true for boot control HAL""
am: 04ba91ef05

Change-Id: I147b41417fe0261dd58e764e1bc1f1bc4d3d4e5e

2 years agohealth: registerCallback() and getHealthInfo() does not notify all callbacks
Yifan Hong [Tue, 2 Oct 2018 21:11:35 +0000 (14:11 -0700)]
health: registerCallback() and getHealthInfo() does not notify all callbacks

registerCallback() and getHealthInfo() unintentionally broadcast
health info to all callbacks, which has a performance impact.

* registerCallback() still invokes the new callback immediately
* getHealthInfo() does not call any callbacks at all.

Test: VTS test call getHealthInfo does not invoke update()
Bug: 117167903
Change-Id: Ida99fdd73831e747fbf2d65089c7c0e7661fe7c4

2 years agohealth: use recursive_mutex.
Yifan Hong [Tue, 2 Oct 2018 21:06:51 +0000 (14:06 -0700)]
health: use recursive_mutex.

Need to use an reentrant lock.

Bug: 117167903
Test: vts
Change-Id: I25a366e06ed9d983823f7276668b7f45ddcf1c2b

2 years agoSkip hal v1 check after p on low ram devices
Ng Zhi An [Tue, 2 Oct 2018 21:02:09 +0000 (14:02 -0700)]
Skip hal v1 check after p on low ram devices
am: a0eb7e415c

Change-Id: I7e60e9faf24be23bf08ef65c5f0c074d4e7da2a4

2 years agoMerge "Revert "Set vendor: true for boot control HAL""
Hridya Valsaraju [Tue, 2 Oct 2018 20:43:12 +0000 (20:43 +0000)]
Merge "Revert "Set vendor: true for boot control HAL""

2 years agoRevert "Set vendor: true for boot control HAL"
Hridya Valsaraju [Tue, 2 Oct 2018 20:09:17 +0000 (20:09 +0000)]
Revert "Set vendor: true for boot control HAL"

This reverts commit f009da1bf51087cc33ae81101e3bf50df7683ecd.

Reason for revert: Breaking presubmit boot test on walleye

Change-Id: Ibeebb94b22cf81087b2ee60407a33e9d7e8a4d18

2 years agoSkip hal v1 check after p on low ram devices
Ng Zhi An [Thu, 27 Sep 2018 23:55:47 +0000 (16:55 -0700)]
Skip hal v1 check after p on low ram devices

Bug: 116546417
Test: vts-tradefed run commandAndExit vts
-m VtsHalCameraProviderV2_4Target
-t VtsHalCameraProviderV2_4Target#CameraHidlTest.noHal1AfterP

Change-Id: I28782b560975b49e20d6b42d599d689f819a9383

2 years agoEmergency Function HAL (continued)
sqian [Wed, 19 Sep 2018 21:10:42 +0000 (14:10 -0700)]
Emergency Function HAL (continued)

- Add Emergency Number source for Emergency number, which is critical for
management and display priority.
- Remove solicited request for getting emergency number list.
- Rephrasing the documentations.

Test: Treehugger (will add VTS later)
Bug: 112657134
Change-Id: Idbfebf8d246de06fd91e8de89088f5cc2c70227b

2 years agoMerge "Initialize healthd_mode_ops in recovery default Health HAL impl."
Hridya Valsaraju [Tue, 2 Oct 2018 05:30:35 +0000 (22:30 -0700)]
Merge "Initialize healthd_mode_ops in recovery default Health HAL impl."
am: c5b3b00618

Change-Id: I5ab753e1f48d750af7db7cdc613372cc36404304

2 years agoMerge "Initialize healthd_mode_ops in recovery default Health HAL impl."
Treehugger Robot [Tue, 2 Oct 2018 05:21:45 +0000 (05:21 +0000)]
Merge "Initialize healthd_mode_ops in recovery default Health HAL impl."

2 years agoMerge "Set vendor: true for boot control HAL"
Hridya Valsaraju [Tue, 2 Oct 2018 00:34:45 +0000 (17:34 -0700)]
Merge "Set vendor: true for boot control HAL"
am: b2fa66c4c9

Change-Id: I627eb541e076f55a67fbb2e64ea00644c9c3cc4f

2 years agoMerge "Set vendor: true for boot control HAL"
Treehugger Robot [Tue, 2 Oct 2018 00:20:16 +0000 (00:20 +0000)]
Merge "Set vendor: true for boot control HAL"

2 years agoAdd noexcept to move constructors and assignment operators.
Chih-Hung Hsieh [Mon, 1 Oct 2018 23:13:05 +0000 (16:13 -0700)]
Add noexcept to move constructors and assignment operators.
am: 19a5da4c13

Change-Id: Ib5b417deddc9af28a2de012e379f55d869053ec4