Age | Commit message (Collapse) | Author |
|
am: 432bb9bd2b
Change-Id: I958aab9cad46defbf01c319eb6f360d8d5355b41
|
|
Test: Pixel test suite
Bug: 136608042
Change-Id: I8b3b1149dc12ce84b03622a0ec3db601f89ffb75
|
|
Bug: 137693390
Change-Id: Ie98a57da30796f5ca227d56ccdfc0cc1a057a3a2
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
am: 3acd4afe09
Change-Id: Ice5a352803956433ac566ab9a69f07e552362f5a
|
|
Bug: 135293492
Test: HAL isn't running
Test: atrace and systrace works
Change-Id: Icd680a416b1376b4762553d20a7117d5999ee75b
|
|
|
|
NodeLooperThread is running as -20, and this CL brings the binder thread
running as the same priority.
Bug: 134843942
Test: Build and jank test no regression on hwui test
Change-Id: I16dfc185e16ffe5c937eabd6f17e371bc9511622
|
|
kernel" into qt-r1-dev
|
|
Clears charge stats after reporting them by writing '0'
to the sysfs file.
Bug: 120801632
Test: Ran manual discharge + charge and observed statsd logs
Change-Id: I9c5f92dd93869a2be99413495808c6965da69a54
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
We have a more sophisticated battery resistance calculation in the
kernel that accounts for temperature and voltage differences, so
replacing the existing algorithm with a sysfs file read.
Also, clean up some stoi() references since the error handling doesn't
work.
Bug: 117825747
Test: Reduce upload frequency and observe logs
Change-Id: I2c88647f64456bdb074d9751db48860f36c6dfbd
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
Extend CAMERA_STREMING hint to add CAMERA_STREAMING_SECURE mode
for secure use case.
Bug: 131263055
Test: Boot and test on both typical & secure streaming modes
Change-Id: Ifde1414e3535c8744990fe5b3b3e944ecff88ae7
|
|
am: f31589e53e
Change-Id: Ib43648a6b045333f644834994034b12f65201a6e
|
|
|
|
am: 07c866c648
Change-Id: I5f37eb6287b34f501362052e49872d13170ae90e
|
|
am: 8f4ddcc99e
Change-Id: I5cb6946450ee242ee09ba07e4112380b8cd9618b
|
|
|
|
Bug: 110111068
Bug: 131630776
Test: Build
Change-Id: I16ae0ffbfddc773a1c011a4c2075ba0116d514b7
|
|
|
|
This leads to additional latency in processing hints. Also some tests
have small cores shut off.
Now for testing need to skipping powerhint:
setprop vendor.powerhal.init 0
setprop ctl.restart vendor.power-hal-1-3
Test: Build
Bug: 129495482
Fixes: 133425880
Change-Id: I8ede2f2ee70a3df4f1b353ee9c07ab10752973e2
|
|
am: 67c7285318
Change-Id: I76bfc60c76c9281dae1024924ea3dd0606c79a42
|
|
We can remove this additional boost as b/65034076 resolved.
Test: Build
Bug: 129495482
Change-Id: Ice34de0b3900b190c937b321f59c4ce4c97d9a64
|
|
SOC Based throttling is disabled when charging is enabled.
Throttling is re-enabled once charging is removed.
Bug: 131314951
Test: Use emul_temp and battery/capacity to emulate
condition for checking if SOC thermal zone is
disabled/enabled.
Change-Id: Ib3dc52eaf1d6ec0ff4d8e87e134d839385e69948
Signed-off-by: George Lee <geolee@google.com>
|
|
am: e7fc2638a6
Change-Id: I862f021a6eb4bfd7ad4839bf5b05cb12f7e55d3c
|
|
Test: Build
Bug: 129495482
Change-Id: I928d4493cda3993be17a56d3d5375f6427a7dc83
|
|
am: bdc01697f4
Change-Id: Id0d19f9a89e386b7f5f5e62e982c9ed6cf6667d1
|
|
Bug: 110111068
Bug: 131630776
Bug: 131352179
Test: take a trace
Change-Id: Ie6d8cde30a548a3fda617f1221e4e2dda2ae29d0
|
|
Previous the WlanStateResidencyDataProvider was returning a failure when
it failed to open the wlan node to read the wlan power stats. This node
is not avaiable when wifi is off. Since this is intended behavior we
should not return a failure.
Bug: 130202935
Test: vts-tradefed run vts -m VtsHalPowerStatsV1_0Target
Change-Id: I9fa288bcb41c8ce07f40d580c1f82a809b3367f8
|
|
Upload an alternative battery capacity calculation once a day via
SysfsCollector.
Bug: 120439050
Test: Decrease log frequency to 30 seconds and observe following log:
statsd : { uid(1066) 1555981987000000000 368264161579 (105002)0x10000->com.google.pixel[S] 0x20000->0[I] 0x30000->0[I] }
Change-Id: Ib62420031a9a529782dc476dffe251dceaa51f8e
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
We calcalate charge metrics at the end of every charge cycle in the
kernel and notify userspace (i.e. the pixelstats service) when a full
charge is completed. The pixelstats service will then read the relevant
sysfs file and construct and push statsd VendorAtoms.
Bug: 120801632
Test: Matched charge_stats_actual input with statsd logs
pixelstats-uevent: ChargeStats: processing 4,5000,1500, 65535,65535,65535,65535
pixelstats-uevent: VoltageTierStats: processing 1, 98.180,3698,265, 6,0,0, 265,353,265, 1187,2279,1884, 150,1350,1300
pixelstats-uevent: VoltageTierStats: processing 2, 98.180,3698,265, 317,1290,517, 260,265,272, -608,-57,609, 1250,1326,1350
statsd : { uid(1066) 1555470326000000000 2147106165556 (105000)0x10000->com.google.pixel[S] 0x20000->4[I] 0x30000->5000[I] 0x40000->1500[I] 0x50000->65535[I] 0x60000->65535[I] 0x70000->65535[I] 0x80000->65535[I] }
statsd : { uid(1066) 1555470326000000000 2147106257796 (105001)0x10000->com.google.pixel[S] 0x20000->1[I] 0x30000->98.180000[F] 0x40000->3698[I] 0x50000->265[I] 0x60000->6[I] 0x70000->0[I] 0x80000->0[I] 0x90000->265[I] 0xa0000->353[I] 0xb0000->265[I] 0xc0000->1187[I] 0xd0000->2279[I] 0xe0000->1884[I] 0xf0000->150[I] 0x100000->1350[I] 0x110000->1300[I] }
statsd : { uid(1066) 1555470326000000000 2147106334775 (105001)0x10000->com.google.pixel[S] 0x20000->2[I] 0x30000->98.180000[F] 0x40000->3698[I] 0x50000->265[I] 0x60000->317[I] 0x70000->1290[I] 0x80000->517[I] 0x90000->260[I] 0xa0000->265[I] 0xb0000->272[I] 0xc0000->-608[I] 0xd0000->-57[I] 0xe0000->609[I] 0xf0000->1250[I] 0x100000->1326[I] 0x110000->1350[I] }
Change-Id: Iabff0ed4d2c7bb7b51f6436d6021cd2f2bde3e85
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
|
|
|
|
Fixes: 130757163
Test: Build
Change-Id: I09a8712fb902d4847359dfbb1891e1895703e2b8
|
|
Create a central library that holds all Pixel-specific atom IDs for
atoms that are generated on the vendor partition and are not device
specific. This will prevent atom ID and namespace collision between
Pixel device software teams.
The first atoms added allow us to collect detailed charge cycle metrics.
Bug: 127358284
Bug: 120439050
Test: Used this library in pixelstats
Change-Id: I67ddbd6bdd3e6015838e7dfbe74ae6aee82b29cb
Signed-off-by: Maggie White <maggiewhite@google.com>
|
|
Bug: 122904980
Change-Id: I3be3928c214de7cf788111cabb4ceda5806e9c6d
Signed-off-by: Maggie White <maggiewhite@google.com>
Merged-In: 7b2dc962f0154bceb81d18f9a8bec2e05cbe911e
|
|
am: 75b8db432e
Change-Id: Ic8ee7e275ce85fafc7837865a5769d44dde3e699
|
|
This patch is to support legacy fb path
Bug: 129495482
Test: boot and check Interaction hint
Change-Id: Ib0dc55a802c30fbf7ed41ecc73bcb08a0c65a432
|
|
This patch extend camera streaming to normal
preview, 1080p and 4K recording cases.
Bug: 116854288
Bug: 129495482
Test: boot and function test
Change-Id: Ieea9976a1a48fb4580008a7bbd624b1e5167bad1
|
|
|
|
Change-Id: Id1854c146ccdc3d08e690688b490dc65c03890a1
BUG: 129345239
|
|
Also add vintf_fragments
Bug: 127982667
Test: boot
Change-Id: Ic8d03d10c1747d5b72bf874bba002c6f2e95b490
|
|
Bug:119189816
Test: Verified on blueline:
Can receive uevent and change to polling mode.
Can keep to waiting uevent if no thermsitor accross threshold.
lshal debug android.hardware.thermal@2.0::IThermal/default
pts-tradefed run singleCommand pts -m PtsThermalHalTestCases -l verbose
Change-Id: I3bc8fe2024b8e1e12704f7f03019430569117f6b
Signed-off-by: TeYuan Wang <kamewang@google.com>
|
|
|
|
Bug: 129495482
Bug: 111098032
Test: Boot and check PowerHAL
Change-Id: I79b7276ff0c28885877af8b0533fe1f9d81b3b0c
|
|
Bug: 129298740
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Change-Id: Ib5e9c16af41f62245cabda708df1dbeded737c51
|
|
lshal debug output was not clear that rail energy is cumulative total
since boot. Renaming the column header to clarify this.
Bug: 124080758
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Change-Id: Ib7cff1e9bd9241eb2bbd73b4a5bc1604883a4178
|
|
lshal debug of power.stats@1.0 service now shows rail energy data.
Example output:
============= PowerStats HAL 1.0 rail energy data ==============
Subsys Rail Energy
<example1> <railName1> 13087.34 mWs
<example2> <railName2> 267.46 mWs
========== End of PowerStats HAL 1.0 rail energy data ==========
Example output with "delta" option
============= PowerStats HAL 1.0 rail energy data ==============
Elapsed time: 86273 ms
Subsys Rail Energy ( Delta )
<example1> <railName1> 18496.73 mWs ( 6055.16)
<example2> <railName2> 757.76 mWs ( 490.30)
========== End of PowerStats HAL 1.0 rail energy data ==========
Bug: 124080758
Test: adb shell "lshal debug android.hardware.power.stats@1.0::IPowerStats/default"
Test: Tried on devices with and without rail energy support
Change-Id: I7421aedac07203e14322dc23712cb68f508fcb7c
|
|
Modified .clang-format so that clang-format does not break style
compliant code as often.
Enabled cpplint and checkstyle in the repo hooks to better enfore code
style compliance.
Bug: 126583486
Test: Injected some intentional whitespace changes and made sure that
clang-format did break code style compliance.
Change-Id: Iae0dae7b6e1a71386844916eb060abea79a9322b
|
|
Some drivers that we want to collect power stats from are pass-through
and would require significant changes in order to provide a sysfs node
that the current power stats framework can pull stats from.
These pass-through drivers typically have a userspace daemon that is
capable of keeping track of the power stats and providing them to the
power.stats HAL service, but currently have no way to do that.
The AidlStateResidencyDataProvider will provide a vendor binder service
that will allow data sources to register a callback that will get
invoked when stats are requested from power.stats HAL.
Bug: 117585786
Test: Created a dummy service to register a callback using that provides
data for mock entities. Tested that things continue to function when
killing either the dummy service or killing power.stats service. Also
tested cases where the dummy service provides data for unrecognized
entities, or states. Finally, I tested that an error gets logged in
logcat if the callback latency exceeds some threshold.
Change-Id: I090a33a4b87fc03fc258bece3ee38c90a3575d20
|
|
be3368aa48 -s ours
am: df31e2a8ca
Change-Id: Ie27754658b9f16bf200df4918fa438901f68d6d2
|
|
am: be3368aa48 -s ours
am skip reason: SHA1 be3368aa48 skipped by user delphij
Change-Id: I20673c100d928de96504aec57dab9d0266bc5582
|