This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.
Bug: 200993386
Bug: 199357330
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
As the modem logging configs have different group ID from
s5123 and s5300 platform, we need to use different config files
for each projects, move them from Pixel Logger to device
specific folders
Bug: 210784859
Change-Id: I1ec4386a31e175f8dfe8404cbfc70c221e51d71c
Revert "Remove BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert "Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS"
Revert submission 16603844-colefaust_dauntless
Reason for revert: Broke other products that didn't set BOARD_WITHOUT_DTLS
Reverted Changes:
I3b4ab3ed2:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
Iee95550f4:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I1b210d8ab:Make BOARD_WITHOUT_DTLS work without an override
I80bfec988:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
I5f51cf010:Use BOARD_HAS_DTLS instead of BOARD_WITHOUT_DTLS
If6592aa18:Remove BOARD_WITHOUT_DTLS
Change-Id: Ibb34b7d0f36ffc1ddfa60fa8a23483891c89a78d
The common data providers will be moved to gs common directory. So
I removed them in this directory and used gs common library to get
the APIs.
Bug: 206576142
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic4c1379af912fecb2e74c6c8303bf57f27e49246
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This property is found no used and causes a SELinux avc denial error,
so remove it accordingly.
auditd : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295
subj=u:r:init:s0 msg='avc: denied { set } for
property=dev.usbsetting.embedded pid=1 uid=0 gid=0
Bug: 184103246
Test: forrest test build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I746fc21d8520b69312d90b9ae0ee447d297b4b35
This flag is true for everyone now. No need for it here. Change has no effect.
Bug: 183612348
Bug: 185920634
Change-Id: Ia264cfceb5cea4230a1c459fbd3c3f8c99a35bdf
(cherry picked from commit 8661e6ae13af04eb4aa299327134d7185b563e24)
Use findstring to filter the factory target.
Bug: 209918222
Test: Verify the unsupported xml files are not in the device.
Change-Id: I1383b18825ad06e88dedc9b4950bc5e5f676ecb8
Non-modem project does't inlucde the fstab.modem
It can avoid long boot time from fs_mgr mount fail
Bug: 209694809
Test: reboot test
Change-Id: I3f1499f0c3767ba61895699e618856e41844b4bf
Signed-off-by: Ocean Chen <oceanchen@google.com>
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.
Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
ueventd.rc now can only placed to /vendor/etc when
PRODUCT_SHIPPING_API_LEVEL equals to 32.
Now correct the destination path of ueventd.rc.
Test: adb shell getprop ro.product.first_api_level
Bug: 202921268
Change-Id: I1dcda5472278c03c546f3cf1eec26c92d138f2bb
Signed-off-by: Alex Hong <rurumihong@google.com>
Bug: 205240941
Test: regression test is passed. (b/207432169)
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ieb6ff80aa61108e18fed65ad02f9754f59a2812c
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Merged-In: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Reflect the pKVM experiment status from the property into the misc
partition so the bootloader can apply it next boot. This is only done on
builds that don't have pKVM enabled by default by pkvm_enabler.
Bug: 192819132
Test: set property and observe change in pKVM state at reboot
Change-Id: Ief85fa196f630867d0a0ced7fa4744f0241d41ea
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
Also move BOARD_* variables specifying location and partition size of
pvmfw from vendor board config file here.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: build a gs101 target, check /apex/com.android.virt exists
Change-Id: Ie46b0ad5f45bd4757570b72cb275d002df7b4616
Revert "Include pvmfw variables in all gs101 builds"
Revert submission 16007088-pkvm-apex-gs101
Reason for revert: Fails on checkouts without vendor
Reverted Changes:
I238181780:Include pvmfw variables in all gs101 builds
Iefd7e1dc5:pKVM: Include pvmfw and virt APEX in gs101 builds
Bug: 202827425
Bug: 192819132
Change-Id: I08b0b2ac09f68847ad9bfabc39423de408fa6632
Support for pKVM is being added to all gs101 builds starting with T,
disabled by default. So far, the userspace components have been included
only in special _pkvm builds. Include them unconditionally.
This adds 89MB to the size of the system image.
Bug: 192819132
Test: flash, check /apex/com.android.virt exists
Change-Id: Iefd7e1dc5e0c1f23ff66e8b282c94a3b85f7cc3e
gs101 builds are getting experimental support for pKVM which can be
enabled either using fastboot or with misc_writer. For _pkvm builds we
want the device to automatically enable pKVM for testing. This patch
adds a new early-init service which checks for the presence of /dev/kvm
and if not found, writes to /misc and forces a reboot.
Bug: 192819132
Bug: 202484976
Test: flash a _pkvm build, observe double-reboot, check /dev/kvm exists
Change-Id: I3834b3e4c6118b3f6e4093ce52d5b94117eca29c
Enable building pvmfw.img through PRODUCT_BUILD_PVMFW_IMAGE for products
that currently enable pKVM. Note that the board-provided
BOARD_PREBUILT_PVMFWIMAGE may still overshadow that flag.
Bug: 199831815
Test: m ${ANDROID_PRODUCT_OUT}/pvmfw.img
Change-Id: I47713648b795fd7e0f4c0d5a868a1abafea47588
Note : We should customize in specific device for B3, instead of
override gs101
This reverts commit d326059d567690c4b2ffbaaf3e5c3fd51e5a69aa.
Reason for revert: 201962520
Change-Id: I2be3f5bebf52ee4be4b7bf8c0ce50bb83380f8ee
Add support One-handed mode system properties flag to enable B3
project.
Bug: 200899897
Test: Build a new ROM build to manually test
Change-Id: Ia511f9a298f76589780f258daf657d36c666e206