* 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
Hold wakelock on boot to mitigate suspend/resume
Bug: 247032124
Change-Id: I113862adbce70604cf184b5b1bb62fde8ab264d5
(cherry picked from commit 99e7d26840)
- 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>
Ref: aosp/2328294
Note:
This CL switches the Keymint HAL to the Rust implementation which can
only communicate with a Keymint TA implemented in Rust in Trusty.
go/gpar/489149 switches the Keymint TA to the Rust implementation.
Therefore, this CL is one of two CLs that needs to be synced in order
for the zuma devices to be able to boot with
Keymint Rust implementation.
Bug: 197891150
Bug: 225036046
Test: VtsAidlKeyMintTargetTest
Change-Id: I53307b3911a478d941fc2d6cc39f3d410ad050e0
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
Test: sanity test at b/268167428
Test: sanity test at b/268166962
Test: atest CtsLocationGnssTestCases
Test: atest VtsHalGnssTargetTest
Bug: 268165042
Change-Id: Iadba50f626c23a01eb0643cc78b750458b5e12bf
This reverts commit 6191ab4e6b.
Reason for revert: Enable DSP Saliency and ESP by default.
Bug: 258342843
Test: Stability test passed (b/264671175)
Change-Id: Ib1ec0525511748567e96cbfdf830073687c85b8b
Fix prefix-correlation weakness in filenames encryption by switching to
AES-256-HCTR2. Enabling HCTR2 fixes a longstanding known weakness in
filenames encryption.
Also enable HCTR2 for adoptable storage. Pixel phones don't have an SD
card slot. So they can only have adoptable storage through the "Virtual
SD Card", which is for testing only.
Bug: 265046004
Test: Equivalent changes were tested on P21 since I don't have a P23.
Will be tested with storage-qa.
Change-Id: I0666eb07c4b93b1bab4da41e3b4f5019ac38c213