Skip to content

set permissive#5

Open
xihua-chen wants to merge 62 commits intomasterfrom
mynew
Open

set permissive#5
xihua-chen wants to merge 62 commits intomasterfrom
mynew

Conversation

@xihua-chen
Copy link
Owner

Tracked-On:
Signed-off-by: Xihua Chen xihua.chen@intel.com

shalinibodapati and others added 30 commits February 20, 2020 14:29
Tracked-On: OAM-86904
Signed-off-by: bodapati <shalini.salomi.bodapati@intel.com>
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 <shalini.salomi.bodapati@intel.com>
[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 <heng.luo@intel.com>
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 <aiswarya.cyriac@intel.com>
Tracked-On: OAM-86757
Signed-off-by: sunxunou <xunoux.sun@intel.com>
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 <xunoux.sun@intel.com>
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 <zhongjie.shi@intel.com>
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 <xinwu.liu@intel.com>
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 <yang.huang@intel.com>
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 <xinwu.liu@intel.com>
Tracked-On: OAM-86881
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
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 <xinx.sun@intel.com>
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 <saranya.gopal@intel.com>
Rebasing kernel tag to 4.19.78

Tracked-On: OAM-88281
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#435
Signed-off-by: rnaidu <ramya.v.naidu@intel.com>
Set usb-ota-switch to true.

Tracked-On: OAM-88331
Signed-off-by: sarora2x <shashankx.arora@intel.com>
Signed-off-by: M Balaji <m.balaji@intel.com>
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 <m.balaji@intel.com>
Signed-off-by: sarora2x <shashankx.arora@intel.com>
Bluetooth and WLAN mixin changed to auto.

Tracked-On: OAM-88286
Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
Signed-off-by: Aiswarya Cyriac <aiswarya.cyriac@intel.com>
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 <aiswarya.cyriac@intel.com>
Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
Change target-level to 4 for Q

Tracked-On: OAM-85223
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#415
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Tong Bo <bo.tong@intel.com>
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 <shellyx.xie@intel.com>
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 <saranya.gopal@intel.com>
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/20190927045838.2968-1-qi1.zhang@intel.com/

Tracked-On: OAM-88511
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#439
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Set file_encryption to true

Tracked-On: OAM-88514
Signed-off-by: Ai, Ting A <ting.a.ai@intel.com>
Enable FBE for CIV
Set file_encryption to true

Tracked-On: OAM-88514
Mixin-Reviewed-On: projectceladon#627
Signed-off-by: Ai, Ting A <ting.a.ai@intel.com>
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 <yadong.qi@intel.com>
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 <zhenlong.z.ji@intel.com>
[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 <zhenlong.z.ji@intel.com>
Enable selinux for caas

Tracked-On: OAM-88583
Mixin-Reviewed-On: projectceladon#635
Signed-off-by: ji, zhenlong z <zhenlong.z.ji@intel.com>
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 <jeevaka.badrappan@intel.com>
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 <zhi.jin@intel.com>
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 <yadong.qi@intel.com>
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 <padmashree.mandri@intel.com>
kernel rebase to 4.19.87 for caas

Tracked-On: OAM-88793
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#467
Signed-off-by: rnaidu <ramya.v.naidu@intel.com>
Adding the changes to support cvt 4k display

Tracked-On: OAM-88790
Signed-off-by: rbabub <ramesh.babu.b@intel.com>
[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 <ramesh.babu.b@intel.com>
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 <shaofeng.tang@intel.com>
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 <jianfeng.zhou@intel.com>
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 <jianfeng.zhou@intel.com>
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 <fangjian.zhong@intel.com>
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 <shakthi.prashanth.m@intel.com>
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 <shakthi.prashanth.m@intel.com>
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 <ramya.v.naidu@intel.com>
[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 <swaroop.balan@intel.com>
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 <jianfeng.zhou@intel.com>
Signed-off-by: padmashree9110 <padmashree.mandri@intel.com>
Tracked-On:
Signed-off-by: Xihua Chen <xihua.chen@intel.com>
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