summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-30display: cache display lpm state to avoid set it againandroid11-devMidas Chien
If current foss state same as desired state, doesn't set it again. Bug: 148656663 Test: stress on/off battery saver and check foss state Test: enable battery saver, stress on/off screen Change-Id: I6298361fd6a5d6a86c94eabb71ab254507136fd3
2020-05-18init.insmod.sh: support modprobe with a * matching patternMark Salyzyn
If the module list is specified by a *, or empty, then use contents of modules.load as argument to modprobe. Chose this route over enhancing the modprobe tool to accept an argument of * natively. Specifically also support the -b (blacklist) option to limit which modules to load. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 151950334 Test: second stage modules load with * argument in config Merged-In: Id3b5c43644e465f1327b1a56d11609bab6aad228 Change-Id: Id3b5c43644e465f1327b1a56d11609bab6aad228
2020-05-08[DO NOT MERGE]vibrator: Use property to control double click durationeddielan
Double click duraiton property: ro.vibrator.hal.double.click.duration Bug: 153277457 Test: Build Pass Change-Id: If69d5b6e8ed8b6145b57ea582b6846ffd6d54941
2020-05-07Merge "vibrator: cs40l25: Revert TICK Implementation" into rvc-devTreeHugger Robot
2020-05-01vibrator: cs40l25: Revert TICK ImplementationHarpreet \"Eli\" Sangha
Revert to using the CLICK primitive as the underlining waveform for the TICK effect. Bug: 153503588 Test: Manually. Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com> Change-Id: Ifdfa120905e353e4959b119bc204a83a928b4011
2020-04-27add common pixel mm_logd for legacy deviceMartin Liu
Bug: 151100384 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I326551bdb237ec04b5f2d2129f57d5df1a656e31
2020-04-27add common pixel mm_logdMartin Liu
Bug: 151100384 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I9ff5dbb238cb045ddc4a75f6de82e4e5ff71e925
2020-04-26mm: add mm common rcMartin Liu
This CL creats a common rc file and include mm trace relative sepolicy into mk file. Thus, device side could easily add this mk file to reduce the porting effort. Bug: 152414692 Test: build Merged-In: Ie034e3c5ee514be2e4a2ec243e884160ccccb836 (cherry picked from commit 9c2ecc330f1d659eb2561902808d9e4db9eb1170) Change-Id: Ie034e3c5ee514be2e4a2ec243e884160ccccb836
2020-04-23vibrator: cs40l25: Fix Typo In Service NameHarpreet \"Eli\" Sangha
Bug: 154770249 Test: VTS, PTS Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com> Change-Id: Idad86ad427c822f5c9f6677b8f9c243b34933f95
2020-04-20Merge "Mark some aidl_interface modules as unstable" into rvc-devJiyong Park
2020-04-18Merge "libperfmgr: add atrace when update nodes" into rvc-devWei Wang
2020-04-17libperfmgr: add atrace when update nodesWei Wang
Bug: 147833210 Test: build Signed-off-by: Wei Wang <wvw@google.com> Change-Id: I88cbf2bf6977e4bd65fbdccd3a1252ea467ec196
2020-04-17Merge "Report FG capacity atom in pixelstats" into rvc-devTreeHugger Robot
2020-04-17Merge "vibrator: cs40l25: Fix Benchmark and Test" into rvc-devTreeHugger Robot
2020-04-16Merge "mm_event: add f2fs/ufs event logs" into rvc-devJaegeuk Kim
2020-04-15Report FG capacity atom in pixelstatsStephane Lee
Read ssoc_details, parse the battery FG SOC and the UI SOC. Also parse the UI curve midpoint values and the log reason. This will only nominally log when a device has been disconnected, connected, or reached 100% capacity. In abnormal conditions, this will log when the ssoc jumps by greater than 2%, or if abs(ssoc-gdf) is greater than 4% (at a maximum of 30 min intervals). Bug: 147992263 Bug: 122978471 Test: 'adb shell cmd stats print-logs', then check atom ID 105010 in logcat Change-Id: I74b79158818d3ff9fad5ecd3c047c0b4184de23e
2020-04-15vibrator: cs40l25: Fix Benchmark and TestHarpreet \"Eli\" Sangha
New file dependencies were added to the HAL that are missing from the benchmark and test. Bug: 153945157 Test: atest VibratorHalCs40l25Benchmark VibratorHalCs40l25TestSuite Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com> Change-Id: I984eaa1fa75873476f76296d73b5d875f8ccae99
2020-04-13mm_event: add f2fs/ufs event logsJaegeuk Kim
This requires to enable f2fs->io_stats in kernel side, since it's hard to find moving dm target of /data. Bug: 152162885 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I11ec3bfa42476d94c8b78a7e0442c8dcaa971b75
2020-04-13pixelstats: correct style & unused varsAndrew Chant
Bug: 141605895 Change-Id: Ic1e28013ee27168a382097bfd7e0d139e1112211
2020-04-13Mark some aidl_interface modules as unstableJiyong Park
With b/152655547, all aidl_interface modules are considered as stable unless it is explicitly with "unstable: true". This change marks the aidl_interface that are not used across updatable module bounraries as unstable, so that the build system does not run the API dumping/checking on them. Bug: 152655547 Test: m Change-Id: I60e7243753a453078962dd00f2cc209008353a86
2020-04-08pixel: move code change of "dark_theme" into pixel common folderdybertwang
Bug: 150836896 Change-Id: I5366349dbf67394c7dea0caf5706359d97187dfd
2020-04-08Pixelstats: Add 2 wireless charging metricsDenny cy Lee
Upload metrics, "device orientation" and "1P/3P charger", when wireless charging starts. Bug: 141605895 Test: Manually, adb shell cmd stats print-logs;adb logcat |egrep "statsd.*\(10500. \)0x10000->" Change-Id: I7486cc6ea9ca50e63cc5bfe9c58bdd592020f5b4
2020-04-07Pixelstats: Fix lint errorDenny cy Lee
Bug: 149182684 Test: Build pass Change-Id: I0d0a81c8dcda079a101ad936889226d9d1967e69 Signed-off-by: Denny cy Lee <dennycylee@google.com>
2020-04-07Pixelstats: Create PixelAtoms of wireless chargingDenny cy Lee
Bug: 141605895 Test: Build pass Change-Id: Idc8b90fbdcf662206e1de0831aa3dfa51f47f9ca Signed-off-by: Denny cy Lee <dennycylee@google.com>
2020-04-06pixelstats: correct the wrong array sizeOcean Chen
Bug: 121266661 Change-Id: I3964d43ab238ac6e6b438679ad16505bae1bba9b Signed-off-by: Ocean Chen <oceanchen@google.com>
2020-03-31Merge "mm: add mm common rc for legacy device" into rvc-devTreeHugger Robot
2020-03-31Merge "Power: rename namespace for Pixel power HAL" into rvc-devTreeHugger Robot
2020-03-30Power: rename namespace for Pixel power HALWei Wang
Bug: 152811907 Test: Build Change-Id: I6848e929d8a26b540fcee9145376b896c3cd9799
2020-03-30Merge "Add device.mk for power HAL common sepolicy" into rvc-devTreeHugger Robot
2020-03-30mm: add mm common rc for legacy deviceMartin Liu
This CL creats a common rc file and include mm trace relative sepolicy into mk file. Thus, device side could easily add this mk file to reduce the porting effort. Bug: 152414692 Test: build Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I53067b6301c78642eaa59754b3c254aac573a683
2020-03-30Merge "thermal: use common device.mk" into rvc-devMandy Shen
2020-03-27Add device.mk for power HAL common sepolicyRick Yiu
Use aidl for android.hardware.power-service.pixel-libperfmgr, and use hidl for android.hardware.power@1.3-service.pixel-libperfmgr. Bug: 151873153 Test: selinux_policy build pass Change-Id: I0cefab08a334fd26de6c75665df66931e39c32cd
2020-03-27Merge "vibrator: Expose saveName() Method for Subclasses" into rvc-devTreeHugger Robot
2020-03-26OWNERS file maintenanceWei Wang
Bug: 111098032 Test: build Change-Id: Ib809ce7378a986ca3cac331296f5a5fe4cfde6e6
2020-03-26Add TEST_MAPPING for libperfmgrWei Wang
Bug: 137581945 Test: Build Change-Id: Ib30703876fb4cfe7c3b70cb0cefe9b55fb751178
2020-03-27thermal: use common device.mkmandyshen
Bug: 146390555 Test: No avc denied and thermal_log can print when thermal-hal ativates Change-Id: I0b93bcf994924cb6fe67336a51aaacb43760f506
2020-03-26Move libperfmgr into hardware/google/pixelWei Wang
Bug: 137581945 Test: Build Change-Id: Idc03c7b9819f4aaed65233795107cd8c5c20aacb
2020-03-25Merge "Update drop detect data interface." into rvc-devTreeHugger Robot
2020-03-25Update drop detect data interface.Max Shi
Bug: 141603839 Test: Verified pixelstats receives and correctly decodes the new drop Test: event as well as the old drop event. Change-Id: I319828984db30cc2c4034f6cc5de5aa00259ac62
2020-03-25vibrator: Expose saveName() Method for SubclassesHarpreet \"Eli\" Sangha
Allow subclasses to utilize custom methods to open streams and still register the name to still utilize debug features. Bug: 148249136 Test: Unit Test, VTS, PTS Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com> Change-Id: I5a286fcbf0f765ff1d3468e077ba5434015fac00
2020-03-24vibrator: staticly link ndk_platform in testsHarpreet \"Eli\" Sangha
Bug: 148104695 Test: Unit Test Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com> Change-Id: Ia9be5150ed847b76218add9fc692e029dec5430b
2020-03-24Merge "zram_stat: move zram_stat patch into common" into rvc-devMinchan Kim
2020-03-24Merge "thermal: add sensor logging in thermalWatcherCallbackFunc" into rvc-devTreeHugger Robot
2020-03-23Merge "pixelstats: avoid nullptr when device has no f2fs definition" into ↵Jaegeuk Kim
rvc-dev
2020-03-23thermal: add sensor logging in thermalWatcherCallbackFuncTeYuan Wang
Bug: 151818536 Test: Log can be printed as below: I/android.hardware.thermal@2.0-service.pixel( 889): skin-therm-monitor: 50 Change-Id: Iefd24ff48ead9c2da55640742abcb158e9b181c2 Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-03-22zram_stat: move zram_stat patch into commonMinchan Kim
This CL unify device specific zram_stat's pathes into common path so that we don't need to define the patch into device specific files. Bug: 132938535 Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: I8a2a783d43ab45bc6c65385e9c380a8e8c39cd57
2020-03-23Merge "vibrator: cs40l25: Implement Minimum "Feelability"" into rvc-devHarpreet "Eli" Sangha
2020-03-21Merge "Power: allow powerhint calls as soon as service starts" into rvc-devWei Wang
2020-03-20Power: allow powerhint calls as soon as service startsWei Wang
Bug: 147840817 Test: boot Change-Id: Ic1d6e04109683b999bb99484930e95dc9813fc59
2020-03-21Merge "Power: add aidl extension server" into rvc-devTreeHugger Robot