Commit Graph

16471 Commits

Author SHA1 Message Date
Steven Moreland
8a27154f79 Merge "dumpstate example: use new lazy hal mechanism" am: 60d9b98423
am: 045e3f99fc

Change-Id: I467f52b78090dc98e01ada782188bbd45b887339
2019-10-03 13:43:20 -07:00
Steven Moreland
045e3f99fc Merge "dumpstate example: use new lazy hal mechanism"
am: 60d9b98423

Change-Id: I5652f0bf8cdac693158c9932b0b5942d7bd9d0fb
2019-10-03 13:29:49 -07:00
Mikhail Naganov
ad3bf06a89 Merge "Fix the name of the constant for device [dis]connect parameter" am: 998c4cd02f
am: a8770db02d

Change-Id: Icde1704bd46642567050f4704d4d65ac9ad96845
2019-10-03 13:10:16 -07:00
Treehugger Robot
60d9b98423 Merge "dumpstate example: use new lazy hal mechanism" 2019-10-03 20:00:34 +00:00
Mikhail Naganov
a8770db02d Merge "Fix the name of the constant for device [dis]connect parameter"
am: 998c4cd02f

Change-Id: I66092fdf4e02c2631116d1c1b670ec169fd4a0ab
2019-10-03 12:57:08 -07:00
Treehugger Robot
998c4cd02f Merge "Fix the name of the constant for device [dis]connect parameter" 2019-10-03 19:44:44 +00:00
Mikhail Naganov
36678b2b16 Fix the name of the constant for device [dis]connect parameter
During the transition to Treble, "device connect" / "disconnect"
parameter was erroneously attributed to audio streams. This
issue got fixed in Audio HAL V4.0, but AudioParameter file
was still using incorrect name for the constant.

Test: make
Change-Id: I18e1e3fccad3d41372f3c5c046af4f6ffd83328b
Merged-In: I18e1e3fccad3d41372f3c5c046af4f6ffd83328b
2019-10-03 09:46:13 -07:00
Alistair Delva
6c3213c940 Merge "Make gralloc0 pass-through mapper handle layers" am: b756e23e5c
am: 6982d1aec5

Change-Id: Ie5bafe1ae8851aa8a79a76024f652b575380c170
2019-10-03 06:35:37 -07:00
Alistair Delva
6982d1aec5 Merge "Make gralloc0 pass-through mapper handle layers"
am: b756e23e5c

Change-Id: I9f5948a862ead71ed745cf1cfca8df2088b3ab59
2019-10-03 06:29:36 -07:00
Alistair Delva
b756e23e5c Merge "Make gralloc0 pass-through mapper handle layers" 2019-10-03 13:02:13 +00:00
Steven Moreland
1f4d49f896 dumpstate example: use new lazy hal mechanism
hwservicemanager will now shutdown the service when it is not in use.
This puts less restrictions on clients.

Bug: N/A
Test: build only (this is an example implementation not used on any
    device)

Change-Id: I4641e727f6e4c3ca5d97d53a66b3cc0fee6f12f3
2019-10-02 17:01:40 -07:00
Jim Kaye
7a473c66f7 Merge "Change AP_POWER_STATE_REPORT's access property." am: 86331df20a
am: a53b19fb08

Change-Id: I08c5d54ff2fe7e0e4bb8f78699d7d88778d221ec
2019-10-02 16:03:58 -07:00
Jim Kaye
a53b19fb08 Merge "Change AP_POWER_STATE_REPORT's access property."
am: 86331df20a

Change-Id: I640166d093da89996e922aab032dcf108c89afe5
2019-10-02 15:55:55 -07:00
Jim Kaye
86331df20a Merge "Change AP_POWER_STATE_REPORT's access property." 2019-10-02 22:41:37 +00:00
Rob Barnes
0eb84f484a Merge "Add Keymaster VTS tests for some AES cases:" am: 772fb53999
am: 0baa38ed55

Change-Id: I6515f4b505bf58cb17d32e09ee2f0ce3cc98e9c1
2019-10-02 01:16:00 -07:00
Rob Barnes
0baa38ed55 Merge "Add Keymaster VTS tests for some AES cases:"
am: 772fb53999

Change-Id: I6ad8fc6a90a29a59a6f927ed0160565e6be671c1
2019-10-02 01:08:41 -07:00
Treehugger Robot
772fb53999 Merge "Add Keymaster VTS tests for some AES cases:" 2019-10-02 07:04:26 +00:00
Nathan Harold
e9b260342b Merge "Clarify the start and end of scan intervals" am: 111a10c44e
am: 696851b904

Change-Id: I57eb9aa689174cb830c4d8a7598eea27f484c732
2019-10-01 14:10:10 -07:00
Nathan Harold
696851b904 Merge "Clarify the start and end of scan intervals"
am: 111a10c44e

Change-Id: If37e587d604003ea2422938dfc994d2109ae359e
2019-10-01 14:06:26 -07:00
Treehugger Robot
111a10c44e Merge "Clarify the start and end of scan intervals" 2019-10-01 20:33:25 +00:00
Rob Barnes
89cd80c9da Merge "Added VTS tests for clearing operation slots after service death." am: fd877b5479
am: 2b3640a442

Change-Id: I24581b6427c87c6568ecee78282de2b0ed632dcf
2019-10-01 10:15:22 -07:00
Rob Barnes
2b3640a442 Merge "Added VTS tests for clearing operation slots after service death."
am: fd877b5479

Change-Id: I6cffe618012a38bc4b62943eb3d20edffe09ceee
2019-10-01 10:10:38 -07:00
Rob Barnes
fd877b5479 Merge "Added VTS tests for clearing operation slots after service death." 2019-10-01 16:52:49 +00:00
Nathan Harold
3b685a8ac8 Clarify the start and end of scan intervals
Update the documentation of NetworkScanRequest to clarify
that the interval between scans is from the completion of
one scan to the start of another. This is the only possible
definition that doesn't possibly result in back-to-back
scans which never complete.

In the initial design of this API, the stated use case was
for scans where "interval" >> "scan duration". For that
use case, this clarification doesn't make a meaningful
difference; however, for the use case of long-duration
scans, the distinction prevents the issue stated above.

Bug: 139935383
Test: compilation (docstring-only change)
Change-Id: Ib8393110bfd3ea883045648ee7dac9c6e6a32d44
2019-09-30 16:11:22 -07:00
Min Yun
1a87dbca80 Change AP_POWER_STATE_REPORT's access property.
Change AP_POWER_STATE_REPORT's access property from WRITE to READ_WRITE.
In Vehicle environment some hals communicate with external ecu,
so they must know the boot reason.
(Not only on, but DEEP_SLEEPY_EXIT, ON, CANCELD)
To handle this, AOSP provide CarPowerManager, but it use AIDL.
But, in treble, vendor process must communicate with system process via hidl.
So, vendor processes(almost hal), can't use CarPowerManager.
(Beside, CarPowerManager use /dev/binder but vendor process use /dev/vndbinder).
If hals subscribe AP_POWER_STATE_REPORT via vehicle hal,
they can handle the power state.

bug: 140370318

Merged-In: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
Change-Id: Ic4c7f1d66a4fdee1cfb8b9da42cf76bc7aed5948
2019-09-27 21:28:34 +00:00
Jason Macnak
8b5b9fb52c Make gralloc0 pass-through mapper handle layers
Gralloc0 does not support layers. This change is needed for Cuttlefish
to pass the GraphicsMapperHidlTest.ValidateBufferSizeBadValue VTS test

Bug: b/132087346
Test: vts-tradefed run commandAndExit vts -m VtsHalGraphicsMapperV2_1Target
Change-Id: I2ed7dae209629d401ccaf2fc0fd992d766b0fa9b
2019-09-27 09:58:45 -07:00
Colin Cross
978e59e401 Merge "Use libcrypto_static instead of libcrypto" am: c048c187be
am: 06b758a918

Change-Id: I7cef34166243e60df62b9ab2a1cb8de3142e4104
2019-09-26 07:54:40 -07:00
Colin Cross
06b758a918 Merge "Use libcrypto_static instead of libcrypto"
am: c048c187be

Change-Id: I0c5d5843b8003f6be14ba583e7299693b25da7c0
2019-09-26 07:42:20 -07:00
Colin Cross
c048c187be Merge "Use libcrypto_static instead of libcrypto" 2019-09-26 14:32:33 +00:00
Michael Butler
c63d12cf35 Merge "Change NNAPI VTS to use TEST_P to iterate across all service instances" am: b287873b73
am: a89b02a5cd

Change-Id: I613bc1f2974d9fd192bba0c14964b4dc51391eee
2019-09-25 13:28:20 -07:00
Amy Zhang
95323a806a Merge changes from topic "frontend" am: 6494b4c9a6
am: 3c2d9e1fb6

Change-Id: I19fb432c4a724ced8526866e1838c8f18c481ae8
2019-09-25 13:26:07 -07:00
Michael Butler
a89b02a5cd Merge "Change NNAPI VTS to use TEST_P to iterate across all service instances"
am: b287873b73

Change-Id: I1890ae9f3b34e09926b624aec22c6ceef496b243
2019-09-25 13:22:43 -07:00
Amy Zhang
3c2d9e1fb6 Merge changes from topic "frontend"
am: 6494b4c9a6

Change-Id: I39bdb3fdfb65c63d5fdaba5a56691a3f8e5e49cb
2019-09-25 13:20:19 -07:00
Michael Butler
b287873b73 Merge "Change NNAPI VTS to use TEST_P to iterate across all service instances" 2019-09-25 20:02:20 +00:00
Amy Zhang
6494b4c9a6 Merge changes from topic "frontend"
* changes:
  Playback VTS modulization
  Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
  Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
2019-09-25 19:56:03 +00:00
Max Zhang
4a2baa9256 yukawa: adapt different YCC orders am: 59b31c9b90
am: b21fd17efe

Change-Id: I55fef0dbe5cf68e53c74ac8966138228c032d301
2019-09-25 11:46:33 -07:00
Max Zhang
b21fd17efe yukawa: adapt different YCC orders
am: 59b31c9b90

Change-Id: I7142f64e5343b24348a49fdd0bfe2b9448a235fe
2019-09-25 11:39:32 -07:00
Amy
df3746daeb Playback VTS modulization
Test: manual
Bug: 135708935
Change-Id: I07c03223703290196a20b0b3f689637063bac202
(cherry picked from commit fda9224f14)
2019-09-24 18:29:24 -07:00
Amy
b9d0c8b33f Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
Test: manual
Bug: 135709325
Change-Id: I846c8d1f50ad636e9718cf792a29c8b076246c54
(cherry picked from commit 016b73119c)
2019-09-24 18:28:21 -07:00
Henry Fang
eca50336c3 Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
bug: 135708935
Test: Manual
Change-Id: I667afbe8f4455ba1c70ae3113a2cd6819aa28156
(cherry picked from commit 0d5c8da338)
2019-09-24 18:26:19 -07:00
Max Zhang
59b31c9b90 yukawa: adapt different YCC orders
The order of the planes doesn't matter, therefore enable mapper
adapter to support YCbCr and YCrCb both.

test: manual
bug: 141006723
Change-Id: Iad0d5159c1b38b12bc90a07f937db002471aad1e
2019-09-24 11:38:07 -07:00
Yi Kong
d92d2cf6b8 Ignore format-pedantic compiler warning am: 4321dfea63
am: e38afc37a0

Change-Id: I2f52a4ba6c518f7fe9988c95cfa50a442f6d2a82
2019-09-20 16:03:47 -07:00
Yi Kong
e38afc37a0 Ignore format-pedantic compiler warning
am: 4321dfea63

Change-Id: I13a71e04d795469016ebde30db73048e42551d04
2019-09-20 15:54:15 -07:00
Yi Kong
4321dfea63 Ignore format-pedantic compiler warning
This warning was turned off globally but it is only needed for few
projects. Move the flag to the individual project blueprint files.

Test: presubmit
Change-Id: I55163067ac5038f1650ad12300bf72a48f179b8e
2019-09-20 13:25:25 -07:00
Michael Butler
5d5e6fd4a3 Merge "Specify NNAPI Burst FMQ read/write requirements" am: 64fdda5def
am: ef761b84e5

Change-Id: I03c84a4d447f38ee64c380c959980c332b45081c
2019-09-20 11:30:08 -07:00
Michael Butler
ef761b84e5 Merge "Specify NNAPI Burst FMQ read/write requirements"
am: 64fdda5def

Change-Id: I284cc8f13abb1cbbffddf5a0170bad6549e3d226
2019-09-20 11:23:07 -07:00
Michael Butler
0763328464 Change NNAPI VTS to use TEST_P to iterate across all service instances
This CL removes a dependency on the VTS test runner by dynamically
discovering all NN HAL service instances in the gtest binary itself,
and runs through all service instances with parameterized tests.

This CL converts TEST_F cases to TEST_P cases, where the test parameter
is the name of the service instance. For existing TEST_P cases (such as
the generated test cases), the service instance name is made to be the
first test parameter.

This CL enables the NN VTS tests to be more portable, e.g., they can
run directly as a presubmit test.

Fixes: 124540002
Test: mma
Test: VtsHalNeuralnetworksV1_*TargetTest (with sample-all)
Test: cd $ANDROID_BUILD_TOP/hardware/interfaces/neuralnetworks && atest
Change-Id: I1e301d7c9f9342bb8f35a267bef180f510944b19
Merged-In: I1e301d7c9f9342bb8f35a267bef180f510944b19
(cherry picked from commit 7076f629b7)
2019-09-20 11:20:48 -07:00
Amy Zhang
2c7d0350ca Merge changes from topic "play" am: 297193ceed
am: b5e3d16439

Change-Id: I7c346316b3a950bcfcc8c0a575c91a3aab2aa4d0
2019-09-20 11:02:20 -07:00
Michael Butler
64fdda5def Merge "Specify NNAPI Burst FMQ read/write requirements" 2019-09-20 18:01:51 +00:00
Amy Zhang
b5e3d16439 Merge changes from topic "play"
am: 297193ceed

Change-Id: I022154516e912fd25163009b3f5d2f4d1d1c8639
2019-09-20 10:55:28 -07:00