Commit Graph

4672 Commits

Author SHA1 Message Date
Martin Liu
ef95a0b535 PowerHal: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: Iff12608a5d3d6a02495c1b01bc3391ac65f34194
2019-05-08 11:27:59 +08:00
Wei Wang
e12f3fd46f Merge "Revert "PowerHal: Support VR reload thermal config"" into qt-dev 2019-05-07 22:19:18 +00:00
Wei Wang
799a3c9e61 Revert "PowerHal: Support VR reload thermal config"
This reverts commit 984593c526.

Reason for revert: b/132193648

Change-Id: Ic3b023f2a6c03f49ec7ad592e59a59ab487ebbb7
2019-05-07 22:06:23 +00:00
Wei Wang
4d6af28fe3 Merge "PowerHal: Support VR reload thermal config" into qt-dev 2019-05-07 18:22:45 +00:00
Kumar Anand
d7842b22d2 Merge changes from topic "b_127715974_wahoo" into qt-dev
* changes:
  wifi - Remove init.qcom.wlan.sh and relative setting
  wifi - Add sepolicy for set driver/fw version by hal.
2019-05-07 16:22:52 +00:00
Martin Liu
984593c526 PowerHal: Support VR reload thermal config
Test: boot
Bug: 129495482
Change-Id: I4226aa9c707530e7175aa9d61a0fbdc264ff0070
2019-05-07 12:00:47 +08:00
Peiyong Lin
d23eed6b08 Merge "Turn on GPU protected composition." into qt-dev 2019-05-06 16:50:18 +00:00
Peiyong Lin
0f25d4c311 Turn on GPU protected composition.
BUG: b/130435822, b/130442144
Test: Verified with Youtube
Change-Id: Ie385081961d8b89b81a034178d10176197b639d5
2019-05-03 16:35:02 -07:00
Eddie Tashjian
861a4a31f6 Merge "Fixed MDS permissions." into qt-dev 2019-05-02 22:48:59 +00:00
chenpaul
52159f15a8 wifi - Remove init.qcom.wlan.sh and relative setting
ag/6722341 will set WLAN driver/FW when start legacy HAL.
The patch removes init.qcom.wlan.sh because it is not necessary

Bug: 127715974
Test: Property with wlan driver/FW version at enforcing mode:
      It can be verified by the below command:
      # adb shell getprop vendor.wlan.driver.version
      # adb shell getprop vendor.wlan.firmware.version

Change-Id: Id94874cb96bc489a0f3eccfb97d780001b712330
2019-05-02 17:47:57 +08:00
chenpaul
c9e1ce1729 wifi - Add sepolicy for set driver/fw version by hal.
ag/6722341 will set WLAN driver/FW when start legacy HAL.
The patch have some change to for the same purpose:
1. Add sepolicy for wifi hal to set WLAN driver/FW into property
2. Remove sepolicy for init.qcom.wlan.sh, because it no necessary

Bug: 127715974
Test: Property with wlan driver/FW version at enforcing mode:
      It can be verified by the below command:
      # adb shell getprop vendor.wlan.driver.version
      # adb shell getprop vendor.wlan.firmware.version

Change-Id: I48f1752749db376a19235676af116cbbdeb63811
2019-05-02 17:47:57 +08:00
Eddie Tashjian
ea59e941b9 Fixed MDS permissions.
ModemDiagnosticSystem app has moved away from platform certificate
(ag/7094557). Updating seapp_contexts so it can associate app with
modem_diagnostics.te.

Test: Open MDS
Bug: 131719647
Change-Id: Idb140c49c8ba4fcba79eb994b8aa53b25f8f0972
2019-05-01 15:54:29 -07:00
Jack Yu
a3ec6c726d Enable aid block route setting and disable P2P polling mask
1. Align CE behavior on pixel devices
2. Disable P2P polling mask

Bug: 130509605
Test: Nfc on/off, CE/Tag
Change-Id: I51cd0b035638fef5fab623a90475a175ec898cf5
Merged-In: I51cd0b035638fef5fab623a90475a175ec898cf5
2019-04-30 01:25:46 +00:00
Yifan Hong
692fa34d4d Merge "atcmdfwd: framework matrix -> device matrix" into qt-dev 2019-04-23 21:50:36 +00:00
Yifan Hong
2c0a3a0913 atcmdfwd: framework matrix -> device matrix
The HAL is served from a system app and used by
a vendor daemon.

Test: ls /system/app/atfwd/atfwd.apk
Test: ls /vendor/bin/ATFWD-daemon
Test: lshal
Bug: 130714844
Change-Id: I87e10fa56ac84ddd7e4210ac2bc4f1338265e1e9
2019-04-22 14:13:24 -07:00
TreeHugger Robot
57511ddaea Merge "Makes settings.intelligence permissions consistent" into qt-dev 2019-04-18 20:32:36 +00:00
TreeHugger Robot
648e5d8b2f Merge "init.hardware.rc: schedtune for boottime" into qt-dev 2019-04-18 19:22:32 +00:00
Michael Ashbridge
f24d2c6e7a Makes settings.intelligence permissions consistent
- Settings Intelligence needs the location and location permissions
  pregranted and fixed in order to function correctly. This change
  makes the calendar and location settings consistent acrosss the
  range of devices that support Q.

Bug: 130349398
Test: built & flashed to device, confirmed permission granted
Change-Id: Ibf1003e5ffbb5bcc51b57161b72cdd128557b04a
2019-04-18 16:50:27 +00:00
Wei Wang
4ea1c03f74 init.hardware.rc: schedtune for boottime
Set stune.boost to 100 to boost process to big cores and prefer_idle to
1 to spread tasks. This saves ~370ms from kernel boot to boot_complete.

Before CL:
BootComplete                  : 10.046  0.067631

Post CL:
BootComplete                  : 9.6713  0.083226

Test: boottime
Bug: 80345258
Change-Id: I29159ba3102a23f302ddc2a2747879fd1ca39c27
2019-04-17 23:01:59 -07:00
TreeHugger Robot
c3d6059154 Merge "Give IStats HAL access to fingerprint HAL" into qt-dev 2019-04-16 23:43:13 +00:00
Maggie White
64d79d2878 Give IStats HAL access to fingerprint HAL
Give binder access to the stats HAL from the fingerprint HAL.
This is necessary because we're deprecating IPixelStats.

Bug: 122904980
Change-Id: I15c1a07680819f252b0e7c072598ff4fb29a1ce2
Signed-off-by: Maggie White <maggiewhite@google.com>
2019-04-16 11:44:36 -07:00
Jiyong Park
ef6c69bb90 Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of
APEXes.

Bug: 130418467
Test: m
Test: adb shell getprop ro.apex.updatable in Pixel 2 and 3
Test: adb shell /system/apex/com.android.apex.cts.shim.apex exists.
Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2019-04-15 20:33:30 +09:00
Paul Scovanner
065132bc15 [automerger skipped] [DO NOT MERGE] Update Wahoo SVN to 27 Bug:129374896
am: 9424dc7bc5 -s ours
am skip reason: subject contains skip directive

Change-Id: I1bf0535f3c43a39956fc46dbf79febdc91a0464e
2019-04-12 14:25:17 -07:00
TreeHugger Robot
55fc5d01e7 Merge "power.stats: Only access debugfs for userdebug builds" into qt-dev 2019-04-12 20:13:06 +00:00
Paul Scovanner
9424dc7bc5 [DO NOT MERGE] Update Wahoo SVN to 27
Bug:129374896
2019-04-12 19:01:08 +00:00
Benjamin Schwartz
2de0d664d1 power.stats: Only access debugfs for userdebug builds
Bug: 130202935
Test: adb shell lshal debug android.hardware.power.stats@1.0::IPowerStats/default
Change-Id: I1c633e450e74bc0b30a3aa50f6f421f1b6a1e7ad
2019-04-12 16:40:19 +00:00
Maciej Żenczykowski
53d7e92772 Remove /sys/devices/virtual/net/... /sys/module/tcp_cubic/parameters/...
This will now be provided by core policy.

Test: treehugger

Bug: 130318253
Change-Id: If5597cd9f3506d6ec35f13d675adceab76005157
Signed-off-by: Maciej Żenczykowski <maze@google.com>
2019-04-11 22:23:44 +00:00
Jack Yu
47351c6338 Merge "Fixed the incorrect system properties" into qt-dev 2019-04-09 02:24:21 +00:00
TreeHugger Robot
24edb911ad Merge "Adding GSI keys" into qt-dev 2019-04-09 01:24:56 +00:00
Jack Yu
0535120338 Fixed the incorrect system properties
IWLAN operation mode is not an integer anymore. Removed
the system properties and only use the default mode (tied
to the IRadio version).

Test: Manual
Bug: 126218288
Change-Id: I9c844e76ef1e554dda9b2821f9ebf6e71ccaf39e
2019-04-08 14:31:51 -07:00
TreeHugger Robot
5b34674c72 Merge "Remove media.c2 from framework_manifest.xml" into qt-dev 2019-04-08 14:48:17 +00:00
Bowgo Tsai
421986004d Adding GSI keys
Bug:112293933
Test: tree hugger
Change-Id: I112ece91566e6cea066cd637bfed5cae6761ae66
2019-04-08 18:28:48 +08:00
Wei Wang
acfed5f177 Make EXPENSIVE RENDERING hint a nop
Bug: 129495482
Test: Build
Change-Id: I9b0ded7271874be8363dfb7d4b5d89baee2c7790
2019-04-05 09:17:41 -07:00
Pawin Vongmasa
f20d636979 Remove media.c2 from framework_manifest.xml
The entry for media.c2 in framework_manifest.xml is no longer needed as
it is included as vintf_fragments in mediaswcodec.

Test: adb shell stagefright -i | grep -E "c2.*android"

Bug: 129999541
Change-Id: I79c62bf510af4302485644d44e0f4a80221eaccd
2019-04-05 02:05:46 -07:00
Bill Rassieur
0560411ae2 Merge master@5428150 into git_qt-dev. am: acf81291d0
am: 9599e5f163

Change-Id: Ib6c8c41c676265993446bd7886f014ee84c3e64a
2019-04-03 17:16:20 -07:00
Bill Rassieur
7a3292ac1c Merge master@5428150 into git_qt-dev-plus-aosp.
am: cbed2d59fd

Change-Id: I45342df52015130682659f49a0a5586ba1c44bfa
2019-04-03 16:06:30 -07:00
Wei Wang
4dd9895619 Move PowerHAL into Pixel common
Bug: 129495482
Test: Build
Change-Id: I5eb2e75092cba8a3dd6e108e26bb3baae0a907d3
2019-04-04 01:31:02 +08:00
Bill Rassieur
9599e5f163 Merge master@5428150 into git_qt-dev.
am: acf81291d0

Change-Id: I23ca33755b43b24090aba47e4ba5924397152b09
2019-04-03 08:27:33 -07:00
Bill Rassieur
cbed2d59fd Merge master@5428150 into git_qt-dev-plus-aosp.
Change-Id: I842076366100736174442712f58d072f2111ca84
BUG: 129345239
2019-04-02 18:25:52 +00:00
Bill Rassieur
acf81291d0 Merge master@5428150 into git_qt-dev.
Change-Id: Ib9bf394fe7bb5f324401487387e04b043dfd9d4a
BUG: 129345239
2019-04-02 16:48:29 +00:00
Tao Bao
b3bdff2745 Merge "Mount system_other with AVB verification." 2019-04-02 16:38:32 +00:00
TreeHugger Robot
dc99ca59b2 Merge "wahoo: Add supplicant 1.2 to init.hardware.rc" 2019-04-02 16:06:28 +00:00
Tao Bao
766581ae83 Mount system_other with AVB verification.
This change overrides ro.postinstall.fstab.prefix to /product, for
cppreopt.rc to use product-specific /product/etc/fstab.postinstall (i.e.
/system/product/etc/fstab.postinstall) to mount system_other partition.
The AVB key is specified in this fstab to mount system_other with
dm-verity.

Bug: 129032485
Test: boot device and checks cppreopt results
      init: processing action (ro.postinstall.fstab.prefix=/product && sys.cppreopt=requested) from (/system/etc/init/cppreopts.rc:27)
      init: [libfs_avb]Returning avb_handle for '/postinstall' with status: Success
      init: [libfs_avb]Built verity table: '1 /dev/block/by-name/system_a /dev/block/by-name/system_a 4096 4096 644999 644999 sha1 c6c7051bf32dbc20623fc5b5b99bad0b27233a0e 25e465b1dc1e8274beea7e4e5f2712f7e1a90e26 10 use_fec_from_device /dev/block/by-name/system_a fec_roots 2 fec_blocks 650080 fec_start 650080 restart_on_corruption ignore_zero_blocks'
Change-Id: I032bfcaaa463f9ab694bf056bf05f551b772980d
2019-04-01 16:02:40 -07:00
Hai Shalom
14ff0657ca wahoo: Add supplicant 1.2 to init.hardware.rc
Add missing supplicant 1.2 to init.hardware.rc to wahoo project.

Bug: 129693419
Test: lshal
Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiSupplicantV1_2Host
Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2019-04-01 11:30:41 -07:00
Erik Staats
cf034c4268 Merge "Add a_sns_test to wahoo debug builds." 2019-03-29 20:13:49 +00:00
Jack Yu
4c0dc8d2e5 selinux: Add factoryota property to exported_system_prop am: 3c6750020e am: 34e7f22175
am: 5b8affae3a

Change-Id: Id617838ae95c171d86e45da2be735b966115eb98
2019-03-29 08:48:13 -07:00
Jack Yu
5b8affae3a selinux: Add factoryota property to exported_system_prop am: 3c6750020e
am: 34e7f22175

Change-Id: I2fe9429b083b97898103fed80b2540093db60f70
2019-03-29 08:30:54 -07:00
Jack Yu
34e7f22175 selinux: Add factoryota property to exported_system_prop
am: 3c6750020e

Change-Id: If2729095cba149529a3cfe75e130fa1ecc5a69a0
2019-03-29 08:18:53 -07:00
Jack Yu
3c6750020e selinux: Add factoryota property to exported_system_prop
Clean up avc denials from persist.factoryota.reboot

Bug: 119670542
Test: No avc denials
2019-03-29 20:06:19 +08:00
Erik Staats
1513cfd44a Add a_sns_test to wahoo debug builds.
Bug: 124465434
Test: Verified a_sns_test is installed and runs on Walleye. See details in
testing done comment in
https://googleplex-android-review.git.corp.google.com/6870258 .
Change-Id: I9fe33642242d0fde4321bb88a2b6de5ee5ca03ab
2019-03-28 20:07:55 -07:00