Commit Graph

20128 Commits

Author SHA1 Message Date
Anthony Stange
7a04231aaa Create Contexthub HAL 1.1
The HAL 1.1 update allows the contexthub framework to notify the HAL of
any settings changes the user makes.

Bug: 135951924
Test: compile
Change-Id: Ia523c89b2e546ec169eb4997a0af7f471c8185b5
2020-02-18 09:30:22 -08:00
TreeHugger Robot
368c0d9efe Merge "gralloc4-vts: return after GTEST_SUCCEED" 2020-02-18 17:25:45 +00:00
TreeHugger Robot
f699cbff74 Merge "gralloc4-vts: update sampleIncrementInBits" 2020-02-18 17:25:41 +00:00
TreeHugger Robot
5efd0f7194 Merge "Add control flow support to NNAPI VTS tests" 2020-02-17 16:56:44 +00:00
Changyeon Jo
3af53cea40 Merge "Add a method to support multi-display usages" 2020-02-16 16:59:15 +00:00
Changyeon Jo
043a7a027f Add a method to support multi-display usages
- Add getDisplayIdList() and openDisplay_1_1() to IEvsEnumerator.
- Add getDisplayInfo_1_1() to IEvsDisplay.
- Update CameraToDisplayRountTrip test case to use new methods.
- Update default implementation.

Bug: 141886260
Bug: 146567078
Bug: 147553536
Test: VtsHalEvsV1_1TargetTest
Change-Id: I3c17aecc482770074159f7ccaf8e00cadf711e76
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-16 05:56:10 -08:00
Henry Fang
460b9610bf Add comments for invalid IP/port and add Invalid filterID/avSyncId
To allow client to identify and specify invalid value

bug: 148110220
Test: Manual
Change-Id: Ib5e88a13cdcca0b62f55fab992293ed17e0ed708
2020-02-16 03:09:25 +00:00
Treehugger Robot
20953a0be0 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44 am: 65a070de36 am: 3458203ca7
Change-Id: Iea04d74cdbbc63bd80fc3b6bcd2692ef5150300d
2020-02-16 01:10:32 +00:00
Treehugger Robot
3458203ca7 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44 am: 65a070de36
Change-Id: Iba8a1cd7cd2885e3771ca68491bfc6a644262416
2020-02-16 00:53:17 +00:00
Treehugger Robot
65a070de36 Merge "Fix VTS test for health HAL 2.1" am: 0935243c44
Change-Id: Ibb4705efef6c6faa472dbd4fcd580d2185cdc1fa
2020-02-16 00:35:18 +00:00
Treehugger Robot
0935243c44 Merge "Fix VTS test for health HAL 2.1" 2020-02-16 00:16:05 +00:00
Treehugger Robot
72e761e800 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893 am: f7e2840952 am: 9a07084f02
Change-Id: Id32b674faa2a647efa0973966fd2372697321bac
2020-02-15 19:18:45 +00:00
Treehugger Robot
9a07084f02 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893 am: f7e2840952
Change-Id: I37ecf7b0f295bd7ae6f122bc71a35a138bb06068
2020-02-15 19:02:07 +00:00
Treehugger Robot
f7e2840952 Merge "power: Make AIDL HAL mandatory for new devices" am: a36ef09893
Change-Id: I6d4b44a80a116fde46b0018e279eb6908c6291f1
2020-02-15 18:48:13 +00:00
Treehugger Robot
a36ef09893 Merge "power: Make AIDL HAL mandatory for new devices" 2020-02-15 18:33:25 +00:00
Stephane Lee
14107eb665 Fix logging in Health HAL 2.0 am: 45f8ab3477 am: 05c31c601f am: 0b2789f9d9
Change-Id: Ib30ab0f6ee331cda8724fdcf708216b21c0a46db
2020-02-15 10:37:08 +00:00
Stephane Lee
0b2789f9d9 Fix logging in Health HAL 2.0 am: 45f8ab3477 am: 05c31c601f
Change-Id: I34e9628674224f5096cf060778ad80636b0a4a37
2020-02-15 10:26:43 +00:00
Stephane Lee
05c31c601f Fix logging in Health HAL 2.0 am: 45f8ab3477
Change-Id: I8f3e57437e0e29dbba8d6f70c136e9b30d8f2250
2020-02-15 10:14:36 +00:00
TreeHugger Robot
372b792efe Merge "Add control flow performance to NNAPI Capabilities" 2020-02-15 09:54:45 +00:00
Yu-Han Yang
850cba24ef Merge "Update measurement_correction reported accuracy HAL doc" 2020-02-15 03:55:33 +00:00
Yu-Han Yang
c08076e557 Merge "Address ANAPIC review comments" 2020-02-15 01:59:42 +00:00
Jim Kaye
2d1bbf37c4 Merge "Clean up descriptions of power states" 2020-02-15 00:05:34 +00:00
Sasha Kuznetsov
041947e9b1 Merge "Clarify environment bearing docs in HAL" 2020-02-14 23:53:03 +00:00
Stephane Lee
32c4ec09d4 Fix VTS test for health HAL 2.1
Latest update on the ticket to use hard coded thresholds

Test: atest VtsHalHealthV2_1TargetTest
Bug: 149428646
Change-Id: Id7f86ba05a203a926e8d316bf7af4d24c7e0e2f0
2020-02-14 15:30:17 -08:00
Jim Kaye
afb6d8fdf4 Clean up descriptions of power states
Clarify the descriptions of VehicleApPowerStateReq and
VehicleApPowerStateReport.

Fixes: 128841180
Test: None. Documentation only.
Change-Id: Icbe86e2e6a761e37adf2689596eb81bb68295fa7
2020-02-14 13:24:35 -08:00
Stephane Lee
45f8ab3477 Fix logging in Health HAL 2.0
Bug: 149577800
Test: Ensure logging works as expected
Change-Id: I79b78593ee6bdbda59e49a27e70076184a30668d
2020-02-14 11:56:48 -08:00
Yu-Han Yang
428d25abfd Update measurement_correction reported accuracy HAL doc
Fixes: 144817918

Test: doc only and builds
Change-Id: I5aed4a17b5dea8949904f08809d3df9ec250fbeb
2020-02-14 11:20:25 -08:00
Treehugger Robot
9d51774201 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9 am: a4931f9b19 am: 979a72bef0
Change-Id: I5f31eef0aa684e23773980b3121c8a5a6ae00922
2020-02-14 06:23:05 +00:00
Dan Stoza
afcd210a5b Merge "power: Add DPF and update imminent hints to AIDL" am: a35e3bb452 am: 2756a9f508 am: 1ecb9847b8
Change-Id: Ia2bd387f627688bff308045da2fefd015dd64afe
2020-02-14 06:22:52 +00:00
Michael Butler
60b466492f resolve merge conflicts of b545eeaa8f to master
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I01cafbaa53fb35078486d4c7d3e4355feb0fd302
2020-02-13 18:23:49 -08:00
Treehugger Robot
979a72bef0 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9 am: a4931f9b19
Change-Id: I4760315a5bd640b5a1e2be2cd5b4160d9086340f
2020-02-14 02:09:11 +00:00
Treehugger Robot
a4931f9b19 Merge "Use design capacity instead of full charge capacity" am: 25c2de29b9
Change-Id: I4bba155589be27ed8f5c39f5dee8b2e0c57d8566
2020-02-14 01:55:50 +00:00
Treehugger Robot
25c2de29b9 Merge "Use design capacity instead of full charge capacity" 2020-02-14 01:35:16 +00:00
Dan Stoza
1ecb9847b8 Merge "power: Add DPF and update imminent hints to AIDL" am: a35e3bb452 am: 2756a9f508
Change-Id: I42284761a54427c947d6e3bc01617c6d993ffb39
2020-02-14 00:58:07 +00:00
Michael Butler
b545eeaa8f NN 1.3 HAL: ANAPIC review follow up am: c3e1a29a60 am: 4bf3b669cd
Change-Id: Ifa238156df40f0e62131d331f89a11e88b45a946
2020-02-14 00:57:56 +00:00
Dan Stoza
2756a9f508 Merge "power: Add DPF and update imminent hints to AIDL" am: a35e3bb452
Change-Id: I64008beaf3f14d5e5e10b2723d8145fb409c6caa
2020-02-14 00:51:35 +00:00
Dan Stoza
a35e3bb452 Merge "power: Add DPF and update imminent hints to AIDL" 2020-02-14 00:48:43 +00:00
Michael Butler
4bf3b669cd NN 1.3 HAL: ANAPIC review follow up am: c3e1a29a60
Change-Id: Ibcfb43fcf0ee3d1545b6fd237efd4f4ea55bdee0
2020-02-14 00:46:24 +00:00
Michael Butler
c16a7603fc Merge "NNAPI VTS: use max time point instead of uint64_t max" 2020-02-14 00:26:58 +00:00
Yu-Han Yang
99b6d96736 Address ANAPIC review comments
- GnssMeasurementFlags extends v1.0
- add gnssSetCapabilitiesCb_2_1

Fixes: 149501257
Test: VTS tests pass on cuttlefish
Change-Id: I21dd284297d5f458945e7b5fa5e6ed0dab6a5dde
2020-02-13 16:16:43 -08:00
TreeHugger Robot
50d1592052 Merge "IDumpstateDevice 1.1 tweak: "device" -> "verbose"" 2020-02-13 23:31:11 +00:00
Stephane Lee
34714688d5 Use design capacity instead of full charge capacity
Full charge capacity is already included as part of
health HAL 1.0. Concluded in b/149121450 to add a value
that is valuable.

Bug: 149428646
Bug: 149121450
Test: lshal debug android.hardware.health@2.1::IHealth/default
Change-Id: Iadf3c14850df57034378dcc10cdbab0eb43c3aae
2020-02-13 15:19:56 -08:00
Sasha Kuznetsov
cee6a6759a Clarify environment bearing docs in HAL
Bug: 149299473
Test: build cuttlefish
Change-Id: Ie565d7ec96282985505b41961321998e58554aff
2020-02-13 15:11:19 -08:00
Dan Stoza
8fa535c78e power: Make AIDL HAL mandatory for new devices
Makes the AIDL Power HAL mandatory for new devices. As almost all of
the power hints are already optional, this is effectively just
requiring FIXED_PERFORMANCE mode, which is necessary for game tuning
and performance profiling.

Bug: 136285293
Test: N/A
Change-Id: Ie4c01f13661b2388d8c905159d957f9996c41ee6
2020-02-13 14:50:34 -08:00
Dan Stoza
cca80279e2 power: Add DPF and update imminent hints to AIDL
Adds FIXED_PERFORMANCE mode for the dynamic performance framework as
well as a "display update imminent hint" to the AIDL version of the
Power HAL.

Test: VtsHalPowerTargetTest
Bug: 120610745
Bug: 136285293
Bug: 146453294
Change-Id: I0cda99822eed015131f8f068512842a388f9c25c
2020-02-13 14:49:16 -08:00
Marissa Wall
66d459ce87 gralloc4-vts: return after GTEST_SUCCEED
GTEST_SUCCEED() does not cause a GTEST to return. Insert a
return after every GTEST_SUCCEED().

Test: VtsHalGraphicsMapperV4_0
Bug: 149008032
Change-Id: I65637e7a0ac9a9ac8d69c9d8ccbb427543d82428
2020-02-13 11:44:32 -08:00
Marissa Wall
b6809a06ad gralloc4-vts: update sampleIncrementInBits
sampleIncrementInBits is per sample not per component. An RGBA sample
is 32 bits not 8.

Test: VtsHalGraphicsMapperV4_0
Bug: 149310539

Change-Id: If4bd5aac87cada7040f52ee40159a72fa72a97be
2020-02-13 11:44:20 -08:00
Sunil Ravi
2797c113c8 Merge "wifi: Improve documentation of hidl APIs." 2020-02-13 17:25:29 +00:00
Felipe Leme
f2d4327c83 Merge "Changed value of "no user id" to -10000 (same as UserHandle.USER_NULL)." 2020-02-13 04:17:33 +00:00
Hunter Knepshield
09c8b5ba59 IDumpstateDevice 1.1 tweak: "device" -> "verbose"
Pixel has been dumping some non-sensitive information in bug reports
using IDumpstateDevice for a long time, and requiring nothing to be
dumped on user builds by default suddenly changes behavior.

To account for this use case, we instead change the meaning of the
toggle to control *verbose* logging, specifically anything with privacy,
storage, or battery impact.

VTS tests are updated appropriately.

Bug: 143183758
Bug: 143184495
Test: atest VtsHalDumpstateV1_1TargetTest
Change-Id: Ib71ce43e9168d82fd9ee0564db813c5a3538c459
2020-02-12 19:07:07 -08:00