- This fixes DriveDroid functionality when coupled together with [1].
[1]: 0e435675d7
Test: Open DriveDroid, host an image, change usb configuration to File Transfer and try to boot an OS on PC by plugging in the phone.
Change-Id: I7956e14fb8239d273e687b61ed4154a0695460ce
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
* Required to make build complete now that `host_init_verifier` checks
the init scripts for missing interfaces definitions
Change-Id: I85a293bb8b9272354c46bb9889aaa4a24bc6493b
Signed-off-by: Woomymy <woomy@woomy.be>
HEAD to 387cefaab6d1e4ac30a859f512387cffa640abc1 ("Merge changes from
topic "p25_thermal_config_checker" into main")
Change-Id: I63223eb7562c6218104b774c0ffaae8e8baeb02c
* This converts a legacy sensors 1.0 implementation into a 2.0 implementation.
Change-Id: I2f76c69be280f09c8463442f47d9afd14a7ad67c
Signed-off-by: bengris32 <bengris32@protonmail.ch>
* MicroUSB devices do not have this node. As such, do not error when
failing to write this node, as it is optional.
This reverts commit b5994cae09.
Change-Id: I5a2129ae81a74e3d85704c80d5f6cb7a8e686ba7
Signed-off-by: bengris32 <bengris32@protonmail.ch>
- Initialize the members in constructor based on type to avoid
overlapping initializations.
- Update random() value generator test to use mC data and also
add a check for 55C
Bug: 308179047
Test: Build and boot on device
Change-Id: Ic59ab150cb2a8f923b3907fcf81d633c20f5a251
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Use std::isnan instead of comparing to NAN as NAN != NAN.
Bug: 325683988
Test: Build and test by hardcoding nan values
Change-Id: I6167f597c7249bd1763f4dacc6c054bfad8b428b
changes are made to support LSTM forecast model:
- add support of historic sample
- add support of multiple projected vs temperature on multiple hot spot
Bug: 308179047
Test: build, boot to home and validate with thermal_recorder
Change-Id: Ifd4087136f6f0d4017f3825c7863f226620a052e
Signed-off-by: Jikai Ma <jikai@google.com>
When any subsensor value is nan, update to set sensor value also has nan
in place of 0.
Bug: 323995026
Test: Local build and use constant of NAN value as subsensor
Change-Id: I561f101ff8b31591dcf2599e113602dcb4852811
Use first sample for historical samples reference and allow average
power calculation taking first sample as reference.
This allows us to have a valid power value from second iteration itself.
For higher sample counts, this would mean that till we collect enough
data samples, we will calculate average power from first sample itself.
Bug: 323011971
Test: Build and boot on device. Check VT at boot
Change-Id: Ie6aace43d5435717efde6601d871ea9a679add0e
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Instead of using static_cast to convert to int use lround to round the
value.
Bug: 293393562
Test: Build and verify
/dev/thermal/tz-by-name/*/trip_point_0_{temp,hyst}
Change-Id: If03b21f2f3f8b9b969bdd6564a8ab08b44acd554
1. support the powercap in CoolingDevice
2. support the notification when CoolingDevice status changed
Bug: 312540064
Test: atest VtsHalThermalTargetTest
Change-Id: Idadc5ed60125763b83658015f22f1e02cfe5d36b