Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set permissive #5

Open
wants to merge 62 commits into
base: master
Choose a base branch
from
Open

set permissive #5

wants to merge 62 commits into from

Conversation

xihua-chen
Copy link
Owner

Tracked-On:
Signed-off-by: Xihua Chen [email protected]

shalinibodapati and others added 30 commits February 20, 2020 14:29
Tracked-On: OAM-86904
Signed-off-by: bodapati <[email protected]>
Refine x86 options to support more platforms
Change cpu-arch to x86 option

Tracked-On: OAM-86904
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#417
Mixin-Reviewed-On: projectceladon#591
Signed-off-by: bodapati <[email protected]>
[postinstall] Fix "fails to run postinstall" issue
1. Sepolicy path of postinstall was changed,
modify BOARD_SEPOLICY_DIRS to point to right path.
2. Use system/bin/sh to replace vendor/bin/sh
Android Q add support using system/bin/sh in recovery mode

Tracked-On: OAM-86848
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#412
Signed-off-by: Heng Luo <[email protected]>
Set overlay for disabling keepalive offload to address CTS issue
Keepalive packet offloading is enabled by default. CTS test cases
are failing as the keepalive offloading event is not received.
As keepalive offloading is not supported, override the configs
to disable it to address CTS failures.

Tracked-On: OAM-86930
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#418
Signed-off-by: Aiswarya Cyriac <[email protected]>
Tracked-On: OAM-86757
Signed-off-by: sunxunou <[email protected]>
Support kernelflinger-for-cic.efi build for cic
Add boot-arch groups for cic

Tracked-On: OAM-86757
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#402
Mixin-Reviewed-On: projectceladon#570
Signed-off-by: sunxunou <[email protected]>
Rename build result file as CI convention.
We have certain logic in our CI process that depends
on this naming convention for the build result:
lunchtargetname-buildnumber
Otherwise, it will break the CI process.

Tracked-On: OAM-88183
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#423
Signed-off-by: zhongjie <[email protected]>
Simplify the preparation work of setting VM
1. install UEFI from package source.
2. use emulational USB to optimize the flash process.
3. automatize flash process, user could flash without operations in
UEFI.

Tracked-On: OAM-88180
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#425
Signed-off-by: Liu, Xinwu <[email protected]>
Remove cp_ss
This module is only required for the OTA across pre-P to P or successors.
No requirement of O->Q now.
And it will cause to ATS failure due to sepolicy.

Tracked-On: OAM-86820
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#408
Signed-off-by: Huang Yang <[email protected]>
Donot load VM when host kernel version lower than V5.0.0
Caas VM is working on host kernel newer than V5.0.0 with trusty enabled.

Tracked-On: OAM-88232
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#429
Signed-off-by: Liu, Xinwu <[email protected]>
Tracked-On: OAM-86881
Signed-off-by: Fei Jiang <[email protected]>
EM: Update power profile
"cpu.core_power.cluster0" is a new power profile domain and used to
caculate cpu power usage by BatteryStatsHelper.java.
This patch adds this power profile for GP IVI.
NOTE: the current values are fake data as no real battery in GP MRB.

Tracked-On: OAM-86942
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#430
Signed-off-by: Sun Xinx <[email protected]>
x86: config: Enable support for RTL8152 dongle
This patch adds support for RTL8152 USB ethernet
dongle for Android platforms. This is an Android
compliance requirement.

Tracked-On: OAM-88225
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#434
Signed-off-by: saranya <[email protected]>
Rebasing kernel tag to 4.19.78

Tracked-On: OAM-88281
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#435
Signed-off-by: rnaidu <[email protected]>
Set usb-ota-switch to true.

Tracked-On: OAM-88331
Signed-off-by: sarora2x <[email protected]>
Signed-off-by: M Balaji <[email protected]>
Fix for ADB over usb.
Set usb-ota-switch to true.

Tracked-On: OAM-88331
Mixin-Reviewed-On: projectceladon#616
Signed-off-by: M Balaji <[email protected]>
Signed-off-by: sarora2x <[email protected]>
Bluetooth and WLAN mixin changed to auto.

Tracked-On: OAM-88286
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
Signed-off-by: Aiswarya Cyriac <[email protected]>
Bluetooth and WLAN mixin changes to adopt aaf
Changes done:
- Enabled new mixin group auto for bluetooth and wlan
- Added generic libraries and packages neeed for bluetooth
and wlan to support multiple connectivity modules.
- Bluetooth profiles updated to match tablet device type
- Set property persist.bluetooth.enablenewavrcpto true to
get BT A2DP, AVRCP working.
- Based on detected bluetooth chip set vendor property
vendor.bluetooth.chip.
Bluetooth and WLAN mixin changes to adopt aaf
Bluetooth and WLAN mixin changed to auto.

Tracked-On: OAM-88286
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#436
Mixin-Reviewed-On: projectceladon#615
Signed-off-by: Aiswarya Cyriac <[email protected]>
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
Change target-level to 4 for Q

Tracked-On: OAM-85223
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#415
Signed-off-by: Qiming Shi <[email protected]>
Signed-off-by: Tong Bo <[email protected]>
Set control_privapp_permissions to enforce
New cts cases of Q require control_privapp_permissions must be enforce.
Test: run cts -m CtsPermission2TestCases -t android.permission2.cts.PrivappPermissionsTest#privappPermissionsMustBeEnforced

Tracked-On: OAM-86934
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#427
Signed-off-by: Xie, Shellyx <[email protected]>
media_profiles.xml: Make changes to pass CTS
CamcorderProfileTest expects "high" profile to match
with max profile in each category. This patch adds
changes for that. This was tested with Logitech
1080p camera which is POR for camera team.

Tracked-On: OAM-86962
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#437
Signed-off-by: saranya <[email protected]>
CIV: Enable virtual VT-d(vIOMMU)
Add options in start_android_qcow2.sh:
-device intel-iommu,device-iotlb=off \
The "device-iotlb" must off due to a QEMU issue:
https://patchew.org/QEMU/[email protected]/

Tracked-On: OAM-88511
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#439
Signed-off-by: Qi Yadong <[email protected]>
Set file_encryption to true

Tracked-On: OAM-88514
Signed-off-by: Ai, Ting A <[email protected]>
Enable FBE for CIV
Set file_encryption to true

Tracked-On: OAM-88514
Mixin-Reviewed-On: projectceladon#627
Signed-off-by: Ai, Ting A <[email protected]>
CIV: Enable virtual VT-d(vIOMMU) for launch_swrender()
The launch script may fall-back to launch_swrender(). When launch
with sw rendering, the vIOMMU is also required.

Tracked-On: OAM-88532
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#442
Signed-off-by: Qi Yadong <[email protected]>
Fix some treble violations
There are some operations violate the treble requiements, and this
introduces some selinux avc errors that cannot be fixed. Fix these
violations so we can add proper sepolicy rules for this.

Tracked-On: OAM-88545
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#444
Signed-off-by: ji, zhenlong z <[email protected]>
[BT] Add BT usb vendor ID and product ID
As part of BT enablement, added vendor and product id to usb-host on boot
time.

Tracked-On: OAM-88567
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#448
Signed-off-by: Raveendra Babu Chennakesavulu
Tracked-On: OAM-88583
Signed-off-by: ji, zhenlong z <[email protected]>
Enable selinux for caas

Tracked-On: OAM-88583
Mixin-Reviewed-On: projectceladon#635
Signed-off-by: ji, zhenlong z <[email protected]>
Enable usb camera in VM
Assigned logitech 1080p(C922, C920) USB devices to VM

Tracked-On: OAM-88591
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#449
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
buildslave and others added 29 commits February 20, 2020 14:29
Enable Virgl(Virtual 3D GPU)
This changes help to support Virgl(Virtual 3D GPU) for
guest virtual machines.

Tracked-On: OAM-88714
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#454
Signed-off-by: Jin, Zhi <[email protected]>
Enable Opensource MediaSDK OpenMAX plugin
mixin updates for mediasdk_omx_il

Tracked-On: OAM-88548
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#446
Mixin-Reviewed-On: projectceladon#632
CIV: check nested VT in launch script
Check nested VT status before launch Guest OS. If nested VT is not
enabled, exit script with error hint.

Tracked-On: OAM-88755
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#460
Signed-off-by: Qi Yadong <[email protected]>
Update script to avoid audio stuttering and correct audio pace

Tracked-On: OAM-88716
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#466
Signed-off-by: padmashree9110 <[email protected]>
kernel rebase to 4.19.87 for caas

Tracked-On: OAM-88793
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#467
Signed-off-by: rnaidu <[email protected]>
Adding the changes to support cvt 4k display

Tracked-On: OAM-88790
Signed-off-by: rbabub <[email protected]>
[CIV] Enable 4k Touch device
Adding the changes to support cvt 4k display
[CIV] Enable 4k Touch device
Adding the changes to support cvt 4k display

Tracked-On: OAM-88790
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#470
Mixin-Reviewed-On: projectceladon#665
Signed-off-by: rbabub <[email protected]>
Enable "full-screen" in launching qemu
For Android UI is booting with Full Screen, add an option in
QEMU launching. For switching back to host from Androud Full
screen, "Ctrl-Alt-F" can be used.

Tracked-On: OAM-88724
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#471
Signed-off-by: Shaofeng Tang <[email protected]>
CIV: enable ramfb
enable ramfb to support boot display.
ramfb is a very simple framebuffer display device. It is intended to be
configured by the firmware and used as boot framebuffer, until the guest
OS loads a real GPU driver.

Tracked-On: OAM-88855
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#469
Signed-off-by: JianFeng,Zhou <[email protected]>
CIV: fix QEMU 4.2 build error
QEMU 4.2 depends on libsdl2-dev.
install libsdl2-dev before building QEMU 4.2

Tracked-On: OAM-89033
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#480
Signed-off-by: JianFeng,Zhou <[email protected]>
Trusty: Use pre-built Trusty release binary to build tos image

Tracked-On: OAM-88999
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#478
Signed-off-by: Zhong,Fangjian <[email protected]>
Use PulseAudio as Audio backend with config change
QEMU has default timer-period set to 10 milliseconds. This is quite
long for PulseAudio, which causes audio distortion. It is solved
by reducing timer-period to 5 milliseconds.
Tested Audio playback/capture.

Tracked-On: OAM-89014
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#485
Signed-off-by: Prashanth M, Shakthi <[email protected]>
Add PulseAudio as backend at build time
QEMU audio backend needs to be configured at build time.
This commit adds PulseAudio as backedn at build time.

Tracked-On: OAM-89307
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#486
Signed-off-by: Prashanth M, Shakthi <[email protected]>
Rebasing the kernel to 4.19.94 on caas

Tracked-On: OAM-89587
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#487
Signed-off-by: rnaidu <[email protected]>
[CELADON] Issue resolved when the image file is large

Tracked-On: OAM-89658
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#497
Signed-off-by: swaroopb <[email protected]>
Update scripts for automation
Launch kvmgt module before start QEMU
on host linux kernel higher than 5.3.0, kvmgt not launched by default.
need to launch kvmgt module before start QEMU.
otherwise, VGPU can't be created and android UI will not be shown.

Tracked-On: OAM-89684
Tracked-On:OAM-89705
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#499
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#500
Signed-off-by: JianFeng,Zhou <[email protected]>
Signed-off-by: padmashree9110 <[email protected]>
Tracked-On:
Signed-off-by: Xihua Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants