DVFS data provider is using predefined frequency table for CPU DVFS
power stats reporting. If different SoC versions define different
CPU frequencies, the predefined table should be updated, otherwise
the residencies of some impacted frequencies will be always 0. So
Make it adaptive to reduce the maintenance efforts.
Bug: 272642210
Bug: 267638537
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ifa39227b9a8b0cc89d8f5a78373f615348a49d4d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
Bug: 259161622
Test: build pass and check audio function with HIDL service
Change-Id: I83a9f4103daccd5fd377a99b2aadaaa51544d918
Signed-off-by: Jasmine Cha <chajasmine@google.com>
* changes:
Fix up open bugs from gs201 AIDL migration
Add resetCb
Migrate IUsbGadget implementation to AIDL
usb: limit the current to 1.3A when connect to accessory
Bug: 240530709
Test: adb bugreport
and the following file got to dumpstate_board.bin:
extended_log_uim.txt
extended_log_os.txt
nv_normal.bin
nv_protected.bin
Change-Id: I4994cdef97805aa54dbf54b218beea796a6b7969
- Define selinux property for /dev/block/by-name/trusty_persist
- Add symlink into init.zuma.rc
Bug: 247013568
Test: - Verify that this change is a NOP for devices with TDP already
created on top of the legacy f2f2 partition /mnt/vendor/persist/ss
- Verify that this change creates a valid symlink on a manually
migrated block device
Change-Id: I231938e708e5a5d6d64818e184a92acdc0ba37de
Increase the DFS clock divider to avoid thermal reset.
Disable CPU cluster power down during clock settings.
Bug: 268768104
Test: Build and boot on device. Check with geek bench test
Change-Id: Ic4b959a7db0c5e903d617531d449b08cc5c81d0a
Signed-off-by: Sayanna Chandula <sayanna@google.com>
1. Remove unused group "wakelock".
2. Correct the right return value on setCurrentUsbFunctions.
Bug: 266694076
Test: Boot to home and function work
Change-Id: If0925a61e481e4deca560dc8dfc1be80a76c148f
(cherry picked from commit 5c7e338667a7f21c27f5789c16a4781dcbbe8755)
Add the resetCb to complete asynchronous
Bug: 267252826
Test: Boot to home and function work
Change-Id: I9d6624cbe15c86c63e28f8f176d7c560aed8446f
(cherry picked from commit f14cbd637085145feff255b192a8031375fcdaa4)
This change migrates IUsbGadget implementation to AIDL.
Bug: 218791946
Test: USB function switch success and AIDL service is running.
Change-Id: I7cc7070d875c26bc42f99aef84d5e5a41606223f
Signed-off-by: Ricky Niu <rickyniu@google.com>
(cherry picked from aosp commit d6d0b7d2ca5066988ee90889dccd00c06d64b694)
For imporve USB stability, limit the current to 1.3A,
when connect to accessory.
Bug: 206635552
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I2c1091aa7111e6242cc949923fbc86f27e54e976
(cherry picked from commit e6cacbcff21d315763943469038c9ca8822a7f37)
The class of device is a string with a list of uint8t values:
90,66,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 14: LE audio
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x42 -> 66 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 268583002
Test: Check COD
Change-Id: I46b62aa06296f3b565cd35da5d6742ab0b30fab8