Commit graph

14 commits

Author SHA1 Message Date
Dan Shi
030bef33a5 Convert VtsHalThermalV*TargetTest to be parameterized test
Bug: 142397658
Test: atest
Change-Id: I5846cab420671e7c3d2bfe80034a7b612ec2e47b
2019-10-16 14:45:16 -07:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Daniel Norman
c59e5f961a Adds missing interface for vendor.thermal-hal-2-0-mock.
init_rc files require the entire interface inheritance hierarchy to
be listed, since e.g. all 1.0::IThermal functions are also implemented
by 2.0::IThermal.

Bug: 118016875
Test: builds & passes existing tests.
Change-Id: I4b00d9e1aa02f45dd1affe77d680920c7f04a4c4
2019-07-11 22:42:36 +00:00
Steven Moreland
99712c08cc Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I53e5bf67a0d314e1b10c0ba0c7172a7af358ddcc
2019-04-18 18:13:05 -07:00
Wei Wang
dd62969e33 Check temperature and cooling device name not empty
Bug: 116540200
Test: atest VtsHalThermalV2_0TargetTest
Change-Id: I61bfb32ed6115d711dfcc82c2c3ff6eb29951ef2
2019-04-05 11:11:52 -07:00
Wei Wang
aae73cd258 Adjust mock thermal HAL 2.0 mock data
Bug: 127269185
Test: Build
Change-Id: I7a8b83a893a51dcc1028f3f62c54877a446e1b71
2019-03-21 15:22:43 -07:00
Steven Moreland
b91ac5c6a0 Update makefies: no 'types' internal
Bug: 123976090
Test: N/A
Change-Id: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-04 14:09:25 -08:00
Wei Wang
84cf5c9fc3 Improve the comments of Thermal HAL 2.0 API
Make sure (un)register API failed with nullptr

Test: Build
Test: VtsHalThermalV2_0TargetTest
Change-Id: I42a87fde85a38f77faa4d07f29ed3a78501a0dca
2019-02-20 14:10:40 -08:00
Wei Wang
b9f5e43b61 Thermal: change default implementation target as mock
Test: Build
Change-Id: I833fac3091645a7d95e71f0ef1ef4917f65be4f9
2019-01-13 20:29:40 -08:00
Wei Wang
be9759eb47 Add NPU type sensor type
Also changed to use new enum#API expression

Bug: 119888807
Test: Build
Change-Id: I4b6a9c867cc2c93c47a21ffce33ce135152e31b0
2018-12-10 10:41:53 -08:00
Wei Wang
5eaaec3010 thermal: change WARNING level to EMERGENCY
Bug: 116540200
Test: VtsHalThermalV2_0TargetTest
Change-Id: I705da6145c37f94db457e33843e431675895880b
2018-12-04 18:27:47 -08:00
Wei Wang
7737b7c983 Fix a typo in comment
Test: Build
Change-Id: I5950312515a984d8311d63f5c1697a4b4f953bf6
2018-12-01 05:15:08 +00:00
Wei Wang
c4c2559e9a ThermalHAL: add BCL to temperature type
Bug: 116540200
Test: VTS test passed
Change-Id: I7cdf64a8ee55a9e14a9df673edaf25a5cd3a90d2
2018-10-26 11:01:23 -07:00
Wei Wang
84ce54ebaf Add thermal HAL 2.0
Bug: 116540200
Test: add default ThermalHAL 2.0 and VtsHalThermalV2_0TargetTest pass
Change-Id: Ib12634459d9ed5071230adf353b9737f5c90e771
2018-10-19 18:49:16 -07:00