summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2020-03-20Power: add aidl extension serverWei Wang
Bug: 151896829 Test: boot flame Change-Id: Ie951008cabe2a5680fbc546a21bdc9a428864ef9
2020-03-20pixelstats: avoid nullptr when device has no f2fs definitionJaegeuk Kim
This fixes the case where device has no f2fs definition Bug: 146053177 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: I07f331187728a06ca2bfa326ec366bce1103cd0a
2020-03-20Merge "mm_logd: add pixel mm_logd to monitor mm stats" into rvc-devMinchan Kim
2020-03-19Merge changes from topic "f2fs_c2f2_suez" into rvc-devJaegeuk Kim
* changes: pixelstats: Upload fsck/mount/checkpoint value pixelstats: add .mk to include from device tree pixelstats:: allow to read hex format
2020-03-19mm_logd: add pixel mm_logd to monitor mm statsMinchan Kim
It monitor /proc/vmstat on every minute by default and store them to /data/vendor/mm/ directories. The mm_logd runs only when persist.vendor.log.mm is set to 1. User could change the interval via persist.vendor.log.mm.interval. Bug: 151100384 Signed-off-by: Minchan Kim <minchan@google.com> Change-Id: I89eabf59268a7f4138ae13900f7fa479e6c20217
2020-03-19thermal: remove redundant cdev_to_watch registrationTeYuan Wang
cdev_to_watch fd causes pollOnce function return immediatly. Because thermalhal does not monitor cdev status now, so remove cdev_to_watch fd to avoid threadLoop busy problem. Bug: 151897840 Test: Verified thermalhal notifythrottling via emul_temp thermalhal will not keep busy. Change-Id: I999c9b843dde5870d83d8305d5517196188fa819 Signed-off-by: TeYuan Wang <kamewang@google.com>
2020-03-19vibrator: cs40l25: Implement Minimum "Feelability"Harpreet \"Eli\" Sangha
- Use effect voltage calibration to determine minimum "feelable" voltage and produce linear scaling. - Incorporate tick and linearly scaled strength into "perform" API. Bug: 150952194 Test: Unit Test, VTS, PTS, Manual Change-Id: I78fa0884861aedd11102b85e9bf64b32d0a3cfee Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>