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

[DONT MERGE] Disable thermal #182

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

Conversation

JeevakaPrabu
Copy link
Contributor

Tracked-On:
Signed-off-by: Jeevaka Prabu Badrappan [email protected]

vincentx-yue and others added 30 commits February 9, 2018 07:31
Add the required sepolicies for KBL NUC, this is for
fix google photo crash when play video

Jira: None
Test: google photo play video

Signed-off-by: Yue, VincentX <[email protected]>
Jira: None
Test: Device boots to homescreen

Signed-off-by: sgnanase <[email protected]>
sdcardfs is supported to mount emulated storage with sdcardfs instead of fuse.
To avoid IO overheads and double caching effects

Jira: None
Test: Mount cmd output (should have some partitions with type as sdcardfs)
Signed-off-by: shyjumon <[email protected]>
f2fs filesystem support is enabled for using in adoptable storage
as per google AOSP CDD adoptable storage shall use both ext4 and f2fs. so enabling f2fs

Jira: None
Test: mount cmd
      1. create a storage volume with mkfs.f2fs utility
      2. mount -t f2fs <dev entry> <mount point>
      3. check mount cmd output and check for mount type as f2fs

Signed-off-by: shyjumon <[email protected]>
Jira: None
Test: None

Signed-off-by: Priya Shree <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Added sepolicy for USB Camera to avoid the permission
issue on sepolicy 'enforcing' mode.

Jira: None
Test: USB Camera is working fine with 3rd party apps
Signed-off-by: Muhammad Aksar <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Jira: none
Test: none

Signed-off-by: saranya <[email protected]>
Patch lets search for hwcomposer also work with postfix. Path is used for exports
required for HWC Validation.

JIRA:None
Tests:compilation of hwcomposer validation works fine.

Signed-off-by:Munish Bhardwaj<[email protected]>
  This patch enable coredump by adding "debug-coredump: true"
into mixin spec file and enable "ELF_CORE" in kernel config.

Jira: Link to Jira [Default:None.]
Test: Test in on KBL-NUC device, APCOREDUMP can work normally.
Signed-off-by: yayongdx <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
As F2FS userspace utilities are not present.
This is creating issue in adoptable storage, so disabling till userspace readiness.
[Need to bring in when userspace is ready]

Jira: None
Test: None

Signed-off-by: shyjumon <[email protected]>
Revert "Enable Multitouch driver"

This reverts commit 889607f.
kernel 4.14 add a new class of icmp_socket, cts test
suites need the access permissions to this new class
to complete their tests.

Jira: None
Test: The device can boot to UI and there are no obvious
regressions should be found.

Signed-off-by: ji, zhenlong z <[email protected]>
When the keyguard is shown with the music playing underground,
systemui will do some render operations.

Jira: None
Test: When the keyguard is shown with the music playing
underground, the screen shouldn't to flicker.

Signed-off-by: ji, zhenlong z <[email protected]>
Nexus6P and Google emulator all of them are config defalut wallpaper,
it can improve user experience, and avoid to the end user set the live
wallpaper picker as default application.

Due to the AOSP wallpaperpicker not only set wallpaper but also can set
the live wallpaper. So, select the AOSP wallpaperpicker as default is the
best choice.

JIRA:None
Tests:Long press home screen, click wallpaper, don't pop up menu.

Signed-off-by: Yue, VincentX <[email protected]>
Jira: None.
Test: Test it in Joule and KBL NUC.

Signed-off-by: Zhou, Lihua <[email protected]>
Signed-off-by: Ming Tan <[email protected]>
It is needed for build the system.img after enable AVB and A/B slot.

Jira: None.
Test: Test it in Joule and KBL NUC using kernelflinger.

Signed-off-by: Zhou, Lihua <[email protected]>
Signed-off-by: Ming Tan <[email protected]>
So if the mixins change the default partition name, need not to modify
this file again.

Jira: None.
Test: Test it in Joule and KBL NUC, can boot to UI.

Signed-off-by: tanminger <[email protected]>
In mixins, only 'call inherit-product,build/target/product/verity.mk'
when use GVB.

Jira: None
Test: Test it Joule, can boot to UI.

Signed-off-by: Ming Tan <[email protected]>
Now use mixin to generate the flash.json according configuration.

Jira: None.
Test: Test it in Joule and KBL NUC using kernelflinger, can boot to UI.

Signed-off-by: Ming Tan <[email protected]>
Jira: None.
Test: Test it in Joule and KBL NUC using kernelflinger, can boot to UI.

Signed-off-by: Ming Tan <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Enables the NVMe based storage device support.
Build cmd:
	make SPARSE_IMG=true flashfiles -j32 | tee build_logs.txt

Jira: None
Test: None

Signed-off-by: shyjumon <[email protected]>
remove unwanted .swp file

Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
Makes search for hardware composer generic.
Due to IA don't support sensor to auto rotate, turn off
auto rotate for recoverying default screen orientation.

Jira: None
Test: None

Signed-off-by: Yue, VincentX <[email protected]>
Jira: None
Test: None

Signed-off-by: sgnanase <[email protected]>
walterx-yan and others added 25 commits November 22, 2018 16:54
This issue relates with the AOSP Car service module, It'd better
put these rules to packages/services/Car/car_product/sepolicy/test.
Maybe we need to upstream this patch?

Tracked-On: OAM-71318
Signed-off-by: ji, zhenlong z [email protected]
Signed-off-by: Yan, WalterX <[email protected]>
kernel boot-up and support of f2fs enable

Tracked-On: None
Wifi Display has dependency on wifi direct and
wifi Direct will work when wifi vendor hal is supported.
Intel doesnot have wifi vendor hal implementation,
Hence disabled config_enableWifiDisplay flag to false
to disable wifi direct so that Concurrencytest will pass.

Tracked-On: OAM-71339
Signed-off-by: Harshita Goswami <[email protected]>
Make the UVC driver as built-in instead of LKM

Tracked-On: OAM-71785

Signed-off-by: Muhammad Aksar <[email protected]>
Support for 720@30fps on External Camera HAL

Tracked-On: OAM-72082

Signed-off-by: Muhammad Aksar <[email protected]>
Current celadon platforms are not battery operated systems.
Android 9 onwards, the battery less devices status reporting has
changed. This caused cts failures.

Ref: https://source.android.com/devices/tech/power/batteryless
+-------------------------------------------------------------------------------+
|  Battery State             |  Android 9 and higher  |  Android 8.1 and lower  |
+-------------------------------------------------------------------------------+
|  Present                   |    false               |    true                 |
|  Status                    |    unknown             |    charging             |
|  Remaining Capacity        |    0                   |    100                  |
|  Health                    |    unknown             |    good                 |
|  AC charger online status  |    not modified        |    forced to true       |
+-------------------------------------------------------------------------------+

As per google's recommendation, OEMs can implement HAL to
overcome/report the status as desired.

Tracked-On: OAM-71291
Signed-off-by: Liu, PengX <[email protected]>
Signed-off-by: ysiyer <[email protected]>
Disable Wifi Direct
Wifi Direct will work when wifi vendor hal is supported.
Intel doesnot have wifi vendor hal implementation,
Hence to pass Concurrencytest, wifi direct is disabled.
Celadon porting mixins [debug-logs]
Health-HAL: Adding health hal for celadon
Current celadon platforms are not battery operated systems.
Android 9 onwards, the battery less devices status reporting has
changed. This caused cts failures.
Ref: https://source.android.com/devices/tech/power/batteryless
+-------------------------------------------------------------------------------+
|  Battery State             |  Android 9 and higher  |  Android 8.1 and lower  |
+-------------------------------------------------------------------------------+
|  Present                   |    false               |    true                 |
|  Status                    |    unknown             |    charging             |
|  Remaining Capacity        |    0                   |    100                  |
|  Health                    |    unknown             |    good                 |
|  AC charger online status  |    not modified        |    forced to true       |
+-------------------------------------------------------------------------------+
As per google's recommendation, OEMs can implement HAL to
overcome/report the status as desired.
Health-HAL: Enabling health hal in mixins
Current celadon platforms are not battery operated systems.
Android 9 onwards, the battery less devices status reporting has
changed. This caused cts failures.
Ref: https://source.android.com/devices/tech/power/batteryless
+-------------------------------------------------------------------------------+
|  Battery State             |  Android 9 and higher  |  Android 8.1 and lower  |
+-------------------------------------------------------------------------------+
|  Present                   |    false               |    true                 |
|  Status                    |    unknown             |    charging             |
|  Remaining Capacity        |    0                   |    100                  |
|  Health                    |    unknown             |    good                 |
|  AC charger online status  |    not modified        |    forced to true       |
+-------------------------------------------------------------------------------+
As per google's recommendation, OEMs can implement HAL to
overcome/report the status as desired.

Change-Id: Ia7e3e6ce179d91300413f94a9259ff49292ecf80
Tracked-On: OAM-71291
Tracked-On: OAM-71339
Tracked-On: OAM-72056
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#119
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#120
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#121
Mixin-Reviewed-On: projectceladon#164
Signed-off-by: Harshita Goswami <[email protected]>
Signed-off-by: Liu, PengX <[email protected]>
Signed-off-by: raghupatelraj <[email protected]>
Signed-off-by: sgnanase <[email protected]>
Signed-off-by: ysiyer <[email protected]>
Remove bellow rule for logsvc to fix cts test errors:
allow logsvc self:capability { dac_override sys_nice };

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-71987
Signed-off-by: Xinanx, Luo [email protected]
Remove bellow rule for dumpstate_dropbox to fix cts test errors:
allow dumpstate_dropbox self:capability { chown dac_override };

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-71987
Signed-off-by: Xinanx, Luo <[email protected]>
There are lots of neverallow violations during the cts
test, we need to remove the related rules.

Tracked-On: OAM-71989
Signed-off-by: ji, zhenlong z <[email protected]>
As per VNDK rules, data files directory for vendor apps should
be in vendor folder. Hence moving data dir from /data/misc to
/data/vendor folder.

Tracked-On: OAM-71986
Signed-off-by: ysiyer <[email protected]>
It can be used to support virto-scsi-pci device in QEMU.

Tracked-On: OAM-72233
Signed-off-by: Ming Tan <[email protected]>
CTS failure due to don't support feature: FEATURE_CANT_SAVE_STATE
the feature is for supporting the R.attr.cantSaveState API( sdk28),
the cantSaveState declare that this application can't participate
in the normal state save/restore mechanism.

Test: run cts -m CtsAppTestCases \
        -t
android.app.cts.ActivityManagerProcessStateTest#testCantSaveStateLaunchAndBackground
      run cts -m CtsAppTestCases \
        -t
android.app.cts.ActivityManagerProcessStateTest#testCantSaveStateLaunchAndSwitch

Tracked-On: OAM-71298
Signed-off-by: Wang, ArvinX <[email protected]>
thermal-daemon: Updating the data dir in initrc from misc' to 'vendor'
As per VNDK rules, moving the data dir from /data/misc to
/data/vendor folder.
Fix cts failure in CtsAppTestCases
CTS failure due to don't support feature: FEATURE_CANT_SAVE_STATE
the feature is for supporting the R.attr.cantSaveState API( sdk28),
the cantSaveState declare that this application can't participate
in the normal state save/restore mechanism.
Test: run cts -m CtsAppTestCases \
-t android.app.cts.ActivityManagerProcessStateTest#testCantSaveStateLaunchAndBackground
run cts -m CtsAppTestCases \
-t android.app.cts.ActivityManagerProcessStateTest#testCantSaveStateLaunchAndSwitch

Change-Id: I72121ec64bfbf14a57c5222cff4046816363c2c0
Tracked-On: OAM-71298
Tracked-On: OAM-71986
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#117
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#122
Signed-off-by: Wang, ArvinX <[email protected]>
Signed-off-by: ysiyer <[email protected]>
Tracked-On: OAM-71946
Signed-off-by: shyjumon <[email protected]>
temp_crit for cpus set as follows for all platforms:
KBL-NUC Commercial devices: 100
KBL-NUC Development devices: 100
APL-NUC Development devices: 105

Hence redefined the thermal policy as follows:
KBL-NUC Commercial and Development devices:
Passive limit 1: 85 C
Passive limit 2: 95 C
Critical limit: 99 C

APL-NUC devices:
Passive limit 1: 90 C
Passive limit 2: 100 C
Critical limit: 104 C

Tracked-On: OAM-72228
Signed-off-by: ysiyer <[email protected]>
Move it to make sure TARGET_BOARD_PLATFORM getting definded
before using as device.mk gets running before BoardConfig.mk

Tracked-On: OAM-72181
Signed-off-by: Yan, WalterX <[email protected]>
since there is no sd card slot on Commercial KBL-NUC, use adoptable usb
to test related function instead

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-72351
Signed-off-by: Zhiwei li [email protected]
Tracked-On: OAM-72351
Signed-off-by: Swaroop Balan <[email protected]>
Signed-off-by: Cathy Bao <[email protected]>
Add sepolicy for swap
Add swap mixin group

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-71656
Mixin-Reviewed-On: projectceladon/device-androidia-mixins#127
Mixin-Reviewed-On: projectceladon#174
Signed-off-by: Cathy Bao <[email protected]>
Tracked-On:
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
…anagement

Tracked-On:
Signed-off-by: Jeevaka Prabu Badrappan <[email protected]>
@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale Stale label for inactive open prs
Projects
None yet
Development

Successfully merging this pull request may close these issues.