Commit Graph

13524 Commits

Author SHA1 Message Date
Yu-Han Yang
030d033b3f Add TestGnssMeasurementCodeType VTS test
- add default implementation to mock reporting measurements.

Bug: 120277977
Fixes: 120277977

Test: atest VtsHalGnssV2_0TargetTest
Change-Id: I881f105874a992327551ef616860d7bd61e4bf83
2018-12-18 17:45:45 -08:00
Yu-Han Yang
4010c21bbe Merge "Add vintf_fragment to GNSS HAL 2.0" 2018-12-19 01:34:11 +00:00
Xusong Wang
232f1a013c [automerger skipped] Merge changes from topics "nn_hal_fp16", "comparison_ops" am: f771d0f183 am: ecbee9fbdc
am: fcb19a8c96  -s ours

Change-Id: I69358a3e75aa4f8ef691abe559a3cbc670c4e453
2018-12-18 16:54:45 -08:00
Lev Proleev
a79733b0d0 [automerger skipped] Add two missing comparison ops to HAL am: a26349a847 am: b1027ef021
am: 1c3c9631c8  -s ours

Change-Id: Idcbab17d048907214f3300ca9fa3b2b8006bf54b
2018-12-18 16:54:23 -08:00
Michael K. Sanders
07b510d704 [automerger skipped] Fixes VTS test failures. am: 2a0101203f am: aac609d9bc
am: 40ad986eab  -s ours

Change-Id: I42a6ea4f4b1d7c30d1fd2b435ef626ef42c06227
2018-12-18 16:54:03 -08:00
Xusong Wang
fcb19a8c96 Merge changes from topics "nn_hal_fp16", "comparison_ops" am: f771d0f183
am: ecbee9fbdc

Change-Id: I9be6db397363842dd7f5bdc3266c98af3e6375b9
2018-12-18 16:33:27 -08:00
Lev Proleev
1c3c9631c8 Add two missing comparison ops to HAL am: a26349a847
am: b1027ef021

Change-Id: I10661b4efb52966fc410bdfbb0e7942aab8c53c0
2018-12-18 16:33:08 -08:00
Michael K. Sanders
40ad986eab Fixes VTS test failures. am: 2a0101203f
am: aac609d9bc

Change-Id: I09cca4cbc91a0195f4b4b09b2ff5367ea593e2eb
2018-12-18 16:32:52 -08:00
Xusong Wang
ecbee9fbdc Merge changes from topics "nn_hal_fp16", "comparison_ops"
am: f771d0f183

Change-Id: I58adff431243e0eac262c035284abc2401225b38
2018-12-18 16:22:20 -08:00
Lev Proleev
b1027ef021 Add two missing comparison ops to HAL
am: a26349a847

Change-Id: Idd7d7e98d63c207869238155b74b6a20fac2bbd6
2018-12-18 16:21:45 -08:00
Michael K. Sanders
aac609d9bc Fixes VTS test failures.
am: 2a0101203f

Change-Id: I99e09cd4ecf54b9e0b495938ebce1c771f3d9325
2018-12-18 16:21:06 -08:00
Xusong Wang
f771d0f183 Merge changes from topics "nn_hal_fp16", "comparison_ops"
* changes:
  Add new OperandType FLOAT16.
  Add two missing comparison ops to HAL
  Fixes VTS test failures.
2018-12-18 23:57:30 +00:00
Kevin Chyn
0cb863b927 Merge "Move lockout to below the HAL" 2018-12-18 18:31:45 +00:00
Xusong Wang
5666626b33 Add new OperandType FLOAT16.
Bug: 120225191
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Iaabebe490303c9c93a34d319c8c594df13fb7899
Merged-In: Iaabebe490303c9c93a34d319c8c594df13fb7899
(cherry picked from commit 7bca34bee7)
2018-12-18 16:20:00 +00:00
Przemyslaw Szczepaniak
07960edbe9 Merge "Add support for QUANT8_SYMM_PER_CHANNEL as graph input" 2018-12-18 11:13:00 +00:00
Lev Proleev
a26349a847 Add two missing comparison ops to HAL
Bug: 113561733
Test: NeuralNetworksTest_static
Test: VtsHalNeuralnetworksV1_2TargetTest
Change-Id: Ied32f217f4e4ece3c082f6485f99cf8dee78e55f
Merged-In: Ied32f217f4e4ece3c082f6485f99cf8dee78e55f
(cherry picked from commit 149f2b018b)
2018-12-18 09:17:15 +00:00
Michael K. Sanders
2a0101203f Fixes VTS test failures.
Moves comments for type range values into their enums to make it harder
to forget to update them.

Adds missing float16 types for ARGMAX/ARGMIN/CAST.

Test: VtsHalNeuralnetworksV1_2TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-all
Test: [  PASSED  ] 2519 tests.

Change-Id: Ic7c3df8c8fbff45fe497f304b6b2c7a09e7dc5a6
Merged-In: Ic7c3df8c8fbff45fe497f304b6b2c7a09e7dc5a6
(cherry picked from commit bbdab2feee)
2018-12-18 09:15:51 +00:00
Shuzhen Wang
2d4d55c99a [automerger skipped] Merge "Camera: Clarify configureStreams doc" am: 4ffb6e0bd8 am: 30ce543051
am: b41f01dd71  -s ours

Change-Id: Iabbeaa6c9a649836fe872336102815f95197ff66
2018-12-17 15:10:18 -08:00
Shuzhen Wang
b41f01dd71 Merge "Camera: Clarify configureStreams doc" am: 4ffb6e0bd8
am: 30ce543051

Change-Id: I9fc740e8aebd185d51cc296750aa4d598101a85a
2018-12-17 15:00:45 -08:00
Shuzhen Wang
30ce543051 Merge "Camera: Clarify configureStreams doc"
am: 4ffb6e0bd8

Change-Id: I257191865103d416f0445b0fd6926e32545fb4a8
2018-12-17 14:56:17 -08:00
Treehugger Robot
4ffb6e0bd8 Merge "Camera: Clarify configureStreams doc" 2018-12-17 22:47:12 +00:00
Chih-hung Hsieh
df66e3cb29 Merge "Fix performance-for-range-copy warnings" am: d01f7050ac am: 51e835ce22
am: 86fefab5e9

Change-Id: Ib139d710d47a7a51e24ba8ba582b252f5ff6e244
2018-12-17 14:09:52 -08:00
Chih-hung Hsieh
86fefab5e9 Merge "Fix performance-for-range-copy warnings" am: d01f7050ac
am: 51e835ce22

Change-Id: I1b0a9bf419cb3a4df2aacc3b37bf28e42fa2a103
2018-12-17 13:56:37 -08:00
Chih-hung Hsieh
51e835ce22 Merge "Fix performance-for-range-copy warnings"
am: d01f7050ac

Change-Id: Ic1f8cdf59f47c889275cc4e0ac57dc75869735e6
2018-12-17 13:31:04 -08:00
Chih-hung Hsieh
d01f7050ac Merge "Fix performance-for-range-copy warnings" 2018-12-17 21:14:26 +00:00
Nick Kralevich
d5ddc60e0a Merge "healthd_common.cpp: use epoll_create1" am: 1eebae4517 am: 8343cb0722
am: 64ec2acd65

Change-Id: I8cdd6d8254046d263ec52d9e51bc5d7f8c6cd682
2018-12-17 12:28:42 -08:00
Nick Kralevich
64ec2acd65 Merge "healthd_common.cpp: use epoll_create1" am: 1eebae4517
am: 8343cb0722

Change-Id: I2e5c4ec37f89fbcf309c049c09dbe8e16098f8d2
2018-12-17 12:23:38 -08:00
Nick Kralevich
8343cb0722 Merge "healthd_common.cpp: use epoll_create1"
am: 1eebae4517

Change-Id: I54a72fac7822de7dc7a5e9705e87b7015555d488
2018-12-17 12:19:29 -08:00
Treehugger Robot
1eebae4517 Merge "healthd_common.cpp: use epoll_create1" 2018-12-17 20:12:20 +00:00
Chih-Hung Hsieh
65ab67312b Fix performance-for-range-copy warnings
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: I1b76a22eab100a31e77048626e48169fe7eeaf92
2018-12-17 19:57:21 +00:00
Przemyslaw Szczepaniak
429096160d Add support for QUANT8_SYMM_PER_CHANNEL as graph input
Bug: 119255406
Test: Vts/Cts NNAPI tests.
Change-Id: If7407355f7c1ac878f919369c06ec98592e3f3d4
2018-12-17 17:42:54 +00:00
Peter Kalauskas
1bf027f79d Merge "Fix bug where lazy cas rc file ran wrong service" am: f529ba8dac am: 1569793f57
am: b270054220

Change-Id: Id03bd5b2b9cd66502702558e48db478b57a8a81d
2018-12-16 15:13:19 -08:00
Peter Kalauskas
b270054220 Merge "Fix bug where lazy cas rc file ran wrong service" am: f529ba8dac
am: 1569793f57

Change-Id: I9c253e20d557a9cd352a0cfa28ce563e7dd44878
2018-12-16 15:03:11 -08:00
Peter Kalauskas
1569793f57 Merge "Fix bug where lazy cas rc file ran wrong service"
am: f529ba8dac

Change-Id: I2fb4308a909ec80cd0cf7435aa503c3f83bb87b9
2018-12-16 14:58:05 -08:00
Peter Kalauskas
f529ba8dac Merge "Fix bug where lazy cas rc file ran wrong service" 2018-12-16 22:46:51 +00:00
Anil Admal
94f3272ae6 Merge "Replace network type with network capabilities in IAgnssRil.hal" 2018-12-16 01:44:50 +00:00
Nick Kralevich
8c038f2a2f healthd_common.cpp: use epoll_create1
epoll_create leaks file descriptors. Use epoll_create1(EPOLL_CLOEXEC)
instead.

Bug: 120983106
Test: compiles and boots
Change-Id: I50aad9f1c0633add2b44fb22be73dd292a366f39
2018-12-15 11:36:47 -08:00
TreeHugger Robot
bafa670a06 Merge "Audio HAL: More generalization for types imports" 2018-12-15 04:03:35 +00:00
Anil Admal
b02bcc130c Replace network type with network capabilities in IAgnssRil.hal
The NetworkType enumerator in IAGnssRil.hal is mapped to the
transport type constants (TYPE_MOBILE, TYPE_WIFI, etc.) in the
framework class ConnectivityManager. These constants are deprecated
and their use should be replaced with network capabilities instead.

The GNSS HAL implementation should make decisions based on the
reported capabilities of a network and not on the type of the network.

Bug: 117768826
Test: Tested with code instrumentation to verify that the
      @2.0::AGnssRil.hal updateNetwork_2_0() method implementation
      is called with correct arguments.
Test: Verified @1.0::AGnssRil.hal backward compatibility on a
      Pixel 3 device.
Change-Id: I8f7f8ca8f5254815702b6d5a89dcb4e53a289cfe
2018-12-15 02:21:31 +00:00
Gregory Clark
e235988776 Merge "Added the DOOR_POS and WINDOW_POS properties." 2018-12-15 02:05:09 +00:00
Xusong Wang
d6a2774764 [automerger skipped] Merge "Add 1.2 NN HAL: IPreparedModel & callbacks." am: ba400a29db am: 674808801b
am: 9479bd15a8  -s ours

Change-Id: If2294429905710db687bedbdb508ccd2ed475203
2018-12-14 17:20:49 -08:00
Xusong Wang
9479bd15a8 Merge "Add 1.2 NN HAL: IPreparedModel & callbacks." am: ba400a29db
am: 674808801b

Change-Id: Ib67e0a61ed2a9b1f8fb3936253ab91e8aa193663
2018-12-14 17:15:40 -08:00
Xusong Wang
674808801b Merge "Add 1.2 NN HAL: IPreparedModel & callbacks."
am: ba400a29db

Change-Id: Id8bc16664a6272802839f7ea6882bbd9a8fd63cb
2018-12-14 17:11:32 -08:00
Xusong Wang
ba400a29db Merge "Add 1.2 NN HAL: IPreparedModel & callbacks." 2018-12-15 00:56:47 +00:00
Shuzhen Wang
77c5c4e8b1 Camera: Clarify configureStreams doc
Test: Compile
Change-Id: Idbb7ed8f8dd0a1ebe1d5227446ec7170fec3ec4a
Merged-In: Idbb7ed8f8dd0a1ebe1d5227446ec7170fec3ec4a
2018-12-15 00:51:59 +00:00
TreeHugger Robot
726106da63 Merge "Camera: Clarify configureStreams doc" 2018-12-15 00:51:14 +00:00
Kevin Chyn
16d891dd3d Move lockout to below the HAL
Fixes: 120630211

Test: builds
Change-Id: I87ae317110d0ef6cf5b82afe6ee7724527f9f64e
2018-12-14 16:44:26 -08:00
Mikhail Naganov
00a44c0fc2 Audio HAL: More generalization for types imports
Complement imports of audio::CPP_VERSION with audio::common::CPP_VERSION
for core.

Import namespaces in VTS tests.

Remove "using namespace" from .cpp files where there
are already imports in the .h file.

Test: try moving types between audio/types.hal and common/types.hal.
Change-Id: I49c2e2466c8175f2516c2273f5c26d125afd4801
2018-12-14 16:34:28 -08:00
Oscar Shu
a2b457ebd5 Merge "Add Wifi HAL to get factory MAC address" 2018-12-15 00:13:53 +00:00
Gregory Clark
b06432c9fa Added the DOOR_POS and WINDOW_POS properties.
Bug: b/111797715
Test: Set and get the properties.

Exempt-From-Owner-Approval: Nobody on the owners list is left on AAE.

Change-Id: I24b79ffed2e53dd260f482d6fa00ea05f3fb073a
(cherry picked from commit 6e90b0e9660e5bb9fa5c48a7c601ac4a9117f398)
2018-12-14 22:00:34 +00:00