uwb needs ACM port, create this function combination.
Bug: 209568585
Test: ACM port can be enabled.
Change-Id: I06107cc6ee42fc6b622a1aff25cbdd54b479ea0f
init.usb.configfs.rc has the same trigger condition of midi function.
Rename the config name to "charger" to avoid triggerring twice of the
midi function.
Bug: 188744218
Test: USB enumerated in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Ica112fb4be66356901f6d5f21b79b9e648d49f35
It needs a USB function in charger mode to set the charging current to
500mA/900mA.
Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
Currently, the property 'sys.usb.configfs' is set to 2, these settings
are not needed.
Bug: 209568585
Test: build pass
Change-Id: Icbf24f621e1d20ffc86228fc6d936cb9a1a7c4e5
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests
This patch will set the property to true to enable
batch cancel all requests.
Bug: 181729410
Test: build pass
Change-Id: I546dad88e5e0c72c9bafdaded8e9026deccfbb88
Move gps.xml to device folder and maintain them separately
by project requirement
Bug: 208725716
Test: build pass
Change-Id: I10950cdec6ff77a6a3f9b8ba585960e17c21fe8c
We are shipping GoogleMigrate on all S+ devices instead of Pixelmigrate. The list of permissions is from go/br-new-device.
Bug: 205986103
Change-Id: I21f8a8455084ad66b377aa0449292d046d11da89
This reverts commit 11475b1588.
Reason for revert: b/208845456 disable modem logs until PCIe can sleep correctly
Change-Id: I86df81c96685c571a3deb478b3b24141f89e0e22
Dump the touch information and rawdata when bugreport is triggered.
Bug: 199104466
Test: adb bugreport
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I1047ddfd063d90114b3ff2173c3b4da3a2bb414a
Currently, USB gadgdet hal couldn't access configfs nodes during
device booting. The permission of configfs nodes are root as default,
and they are modified to system by init process. Therefore, USB
gadget HAL can't access them before permission changes completely.
The patch will modify permission of USB gadget hal so that it can
access configfs nodes without permission change.
Bug: 204378488
Test: check connection time
Change-Id: I97f5446a51183225227744043e4a6e0088fecf0b
Change local hbm node ownership to allow framework to access.
Bug: 205640231
Test: check ownership after boot
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: Iba041a9cf8672682411f2167f8677b30e5979027
Added SPDX-license-identifier-Apache-2.0 to:
conf/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: Ie09443987ffc0749d8400387415c7257c033ddb6
Add a file "fstab.gs201-fips" alongside the existing "fstab.gs201" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs201-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
(cherry-pick from device/google/gs101)
Test: Boot to home screen with/without fips mode
Bug: 202417706
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I8fdc1c9a91399816fa2d4c53f282d63e988ce7d5
Currently, the streaming low hint is not used yet.
but we plan to use it with 30fps mode or at the modes that can remove
prefer idle.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 195327798
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Ibc75bf596bd05831605643c3fe427154fa626093
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
This will improve the snapshot performance, especially JPEG encode.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 192067605
Test: Boot, CTS
Change-Id: I9b879d2c462e0a59891d9a36c770484d00b53e6e
CAMERA_STREAMING has the setting "TAPreferHighCap=1". GCA_CAMERA_SHOT should set "TAPreferHighCap=1" as well in case user leaves the viewfinder.
We could get better performance with "HighCapacityStartCpu=6".
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 192534118
Test: manual R4
Change-Id: I85c77ac1ccc2176312b54a6acdd37df55a658f04
Add MIF, INT boost powerhint configuration for CAMERA_BACKEND_BOOST to
improve stability
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 168654554
Test: 1. Check clock freq related file when camera start
2. Check face id function work correctly
3. P21 Camera Test Checklist done
Change-Id: Ia39acd531063bcf93c2db9971d783f6da8006502
clock when camera lauch and secure camera is not used
Add mem, mid CPU cluster power hint configuration when CAMERA_LAUCH
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 168654554
Test: 1. Check clock freq related file when camera start
2. Check perfetto to make sure CPU clock setting does not reset by
BACKEN boost power hint
3. P21 camera checklist
Change-Id: Iadc7058c605533f8bd394dff1d9711bb7aca6897
GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
Reason for remove: face enroll fail
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 168654554
Bug: 187759712
Test: check ISP clock freq no change on local device
Change-Id: I7d70c1fdd7e5d067db1941cced69a375b66ebc89
Prefer high cap and prefer idle is to optimize power and
trade off with scheduling latency.
Applying to app side does has no regression on frame drops.
And we can not apply prefer idle to hal process as it impact performance.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 190127212
Test:
1080p60: 20mW power saving, 59fps no regression
slow-mo 240fps: 239+fps
Change-Id: I548becbd2d6ccac8b576cfe54f9021bbf30b4801
improve camera start performace
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 168654554
Test: 1. check clock freq related file when camera start
2. P21 camera checklist
Change-Id: I3447a6028846cc873e9c7195826c470bceaf03c8