Commit Graph

3402 Commits

Author SHA1 Message Date
Adam Seaton
2cded42036 Update SVN to 18 for September Monthly release
Bug: 111501777
2018-07-26 15:22:22 -07:00
Adam Seaton
a12630c1fb [automerger skipped] [DO NOT MERGE] Update SVN to 16 for August RoW backpocket bug:109889880
am: 1f3b021647  -s ours

Change-Id: I1b029c4bc6a38130b0d994418e3e3782d3837177
2018-06-18 16:51:34 -07:00
Adam Seaton
aec1e04de2 [automerger skipped] [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket Bug:109889880
am: 741408fe62  -s ours

Change-Id: I276b2ffd1e9344391c9bf83d8f1d4ac99945930c
2018-06-18 16:27:28 -07:00
Adam Seaton
1f3b021647 [DO NOT MERGE] Update SVN to 16 for August RoW backpocket
bug:109889880
2018-06-18 21:40:23 +00:00
Adam Seaton
741408fe62 [DO NOT MERGE] Update SVN to 15 for August Fi Backpocket
Bug:109889880
2018-06-18 21:07:43 +00:00
Chris Craik
83759b7709 Disable use_buffer_age to workaround driver issue
Bug: 74534157
Test: none

Change-Id: Ic2960e7c8fbb4089440accc5360929cd56cc8edb
2018-06-08 20:07:27 +00:00
Stanley Tng
6799a52d08 Disable the Hearing Aid profile for Pixel 2
Bug: 109880029
Test: Compile
Change-Id: I7c641444e85be61f8737fa7172ef7a0c849e79f2
2018-06-07 11:57:37 -07:00
Jaekyun Seok
591308e3bf Fix access denials for Render script props
ro.vendor.graphics.memory and vendor.debug.rs.* are used by Render
script (one of same-process HALs).
So they should be public-readable because Render script can be loaded
from almost everywhere.

Bug: 109653662
Test: succeeded building and tested with taimen
Change-Id: I5c6d6dd2f2406feaec60c965a763215c4a064f52
2018-06-05 09:26:02 +09:00
Adam Seaton
57b429087c Update SVN to 17 for Pi release
Bug:80225397

Anticipating the need for SVN to be set to 15/16 for backpocket OC-MR1
builds in August, setting this to 17.
2018-05-25 09:30:22 -07:00
TreeHugger Robot
e60a7fd931 Merge "configstore: uprev configstore (1.0 -> 1.1)" into pi-dev 2018-05-24 00:50:19 +00:00
Jaekyun Seok
da2016576a Fix access denials for libEGL props
vendor.debug.egl.changepixelformat and vendor.debug.prerotation.disable
are used by libEGL (one of same-process HALs).
So they should be public-readable because libEGL can be loaded from
almost everywhere.

Bug: 80135368
Test: succeeded building and tested with taimen
Change-Id: I2e9c0809a4868329ab76a94800a144283f523579
Merged-In: I2e9c0809a4868329ab76a94800a144283f523579
(cherry picked from commit 52ca941f7a)
2018-05-23 21:17:19 +00:00
Hung-ying Tyan
d804dac184 configstore: uprev configstore (1.0 -> 1.1)
Bug: 69691076
Test: Built and tested on walleye
Change-Id: I16f06827ef83711c9e29698540ffcec658081fda
2018-05-23 10:45:38 -07:00
Jayachandran C
484b83c96c sepolicy: cleanup tel_mon_prop as its no more used
Test: Verified connectivity monitor app works without denial

Bug: 79255514
Change-Id: Id8ebac2f3453a8fc175a91d60caad173734aa6cd
2018-05-22 23:57:44 +00:00
Thierry Strudel
83fc9c1995 Merge "Adjust for QCOM BT HAL property name changes" into pi-dev 2018-05-22 06:30:35 +00:00
TreeHugger Robot
35e267a41f Merge "Temporarily whitelisting system domains writing vendor props" into pi-dev 2018-05-22 05:04:40 +00:00
Petri Gynther
906e91433b Adjust for QCOM BT HAL property name changes
Bug: 36513925
Test: Manual Bluetooth test
Change-Id: I492fde56b7f10395869ac32e8d6dd20268ce5230
2018-05-21 17:41:57 -07:00
Paul Crowley
5cb44010b2 Remove device-specific metadata policy that's now in platform.
Bug: 79781913
Test: compiles
Change-Id: Ie632d1a4c44f491415ae9bb2ceb1264f0cfa5096
2018-05-21 12:01:22 -07:00
TreeHugger Robot
d58a809078 Merge "Add call logs and sms permissions for pixelmigrate" into pi-dev 2018-05-21 15:20:26 +00:00
Wei Wang
b730e3be1c Bring perfd boot_complete signal back
Bug: 79879586
Test: Build
Change-Id: I0faef27bd94d6ee48971b723f9a5473a6258fbcb
2018-05-20 03:52:25 +00:00
Artem Iglikov
11540c9dbe Add call logs and sms permissions for pixelmigrate
Bug: 79186791
Bug: 79240969
Bug: 79532995

Test: n/a
Change-Id: Iac6f75a3fbac15caafefc8fa70755316ed6e14b2
2018-05-18 10:29:38 +00:00
Petri Gynther
8ec9a8d179 Merge "wahoo: sepolicy: add missing vendor_bluetooth_prop" into pi-dev 2018-05-17 20:25:29 +00:00
Adam Seaton
90200b659b "Update SVN to 14 for July RoW Walleye/Taimen Build Bug: 79883349"
am: 6df16ac39c

Change-Id: I4e6b3ebbae5886458731d6c385c39f513022ab68
2018-05-17 10:58:42 -07:00
Adam Seaton
0bd02a90df "Update SVN to 13 for July T-Mobile/Fi Walleye/Taimen Build Bug: 79883349"
am: 96a0fe5fce

Change-Id: Ib92d620ff661f50a6adad1f0ff10fdc37c8eb663
2018-05-17 10:58:20 -07:00
Petri Gynther
bda628fe83 wahoo: sepolicy: add missing vendor_bluetooth_prop
Add missing vendor_bluetooth_prop:
persist.service.bdroid.snooplog

Usage:
1. vendor/qcom/sdm845/proprietary/bluetooth/
   hidl_transport/bt/1.0/default/logger.cpp:
   property_get("persist.service.bdroid.snooplog", ...)

2. init.hardware.diag.rc.userdebug:
   on property:sys.logger.bluetooth=true
      setprop persist.service.bdroid.snooplog true
   on property:sys.logger.bluetooth=false
      setprop persist.service.bdroid.snooplog false

Bug: 77633703
Test: Manual
Change-Id: I781fe8b8b5937a706eccc55f027255ccebe67a5c
2018-05-16 20:58:09 -07:00
Adam Seaton
6df16ac39c "Update SVN to 14 for July RoW Walleye/Taimen Build
Bug: 79883349"
2018-05-16 16:16:49 -07:00
Adam Seaton
96a0fe5fce "Update SVN to 13 for July T-Mobile/Fi Walleye/Taimen Build
Bug: 79883349"
2018-05-16 16:14:54 -07:00
Lajos Molnar
a2664cd58c Merge "media: update codec performance data (PPR1.180514.002)" into pi-dev 2018-05-16 14:31:38 +00:00
TreeHugger Robot
f8323eb866 Merge "Add dontaudit rules for nfc.persist properties" into pi-dev 2018-05-15 22:12:01 +00:00
Lajos Molnar
6a54985cc8 media: update codec performance data (PPR1.180514.002)
Performance data based on releases PPR1.180405.004 and PPR1.180514.002.

Bug: 79258572
Change-Id: I58d05f475e38ac017a0d545f85db78f7b558e228
2018-05-15 10:34:44 -07:00
Wei Wang
e37a6a6d5d Merge "Remove perfd" into pi-dev 2018-05-15 16:42:30 +00:00
Ruchi Kandoi
b7e3d9f3de Add dontaudit rules for nfc.persist properties
Since NFC has a common vendor library, adding dontaudit rules
for properties which are not used by this product.

type=1400 audit(0.0:35): avc: denied { read } for comm="nfc@1.1-service"
name="u:object_r:default_prop:s0" dev="tmpfs" ino=17612 scontext=u:r:hal_nfc_default:s0
tcontext=u:object_r:default_prop:s0 tclass=file permissive=0

Test: check logcat
Bug: 79417308
Change-Id: If2d0a1d3403851d819305f18c96c18eca35db7a8
2018-05-15 15:02:45 +00:00
Jiyong Park
3ee4e77674 Temporarily whitelisting system domains writing vendor props
system properties must not be used as a communication channel in between
system and vendor processes. However, there has been no enforcement on
this: system process could write system properties that are owned and
read by vendor processes and vice versa. Such communication should be
done over hwbinder and should be formally specified in HIDL.

Until we finish migrating the existing use cases of sysprops to HIDL,
whitelisting them in system_writes_vendor_properties_violators so that
the violators are clearly tracked.

These violators are allowed only for P, but not for Q.

Bug: 78598545
Test: m -j selinux_policy
Change-Id: I60b12f1232c77ad997c8c87e6d91baa14c626e94
2018-05-15 14:22:26 +09:00
Wei Wang
8e5694d2c0 Remove perfd
We have moved to new PowerHAL implementation.

Test: build and boot
Bug: 62041945
Change-Id: If8deaf131ccc829653932c8d3310b4c2ecd4a7ac
2018-05-14 15:13:39 -07:00
Justin Yun
4d865e6af8 Remove PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE for test
Setting PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE to true blocks
System-only-OTA from OMR1 devices because it does not allow some
propertis set by the OMR1 vendor partition.

Only if we include the VNDK snapshot v27 to wahoo devices, remove
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE from wahoo as well as ag/3694012
for rild.

Bug: 74505580
Test: Check if Bluetooth could be turned on in P-OMR1 walleye device.
Change-Id: I5113988b10f0cdde394ed2fc31ebc9d1ea811e1c
2018-05-14 15:33:41 +09:00
Joel Galenson
9cafa9a191 Track nfc SELinux denial.
This should help fix presubmit tests.

Bug: 79617173
Test: Built policy.
Change-Id: Ia6b55c7aa329366bde2390939883fb8f4770eff1
2018-05-12 09:05:43 -07:00
TreeHugger Robot
aa3901b33e Merge "Remove keymaster4" into pi-dev 2018-05-12 06:30:38 +00:00
Sean Callanan
55e9c926f4 Merge "wahoo: Update sepolicy for LA.UM.6.4.9.C2.07.00.00.386.031" into pi-dev 2018-05-12 05:47:31 +00:00
Sean Callanan
6a43e6cee4 Merge "Advertise Vulkan 1.1 system feature" into pi-dev 2018-05-12 05:47:31 +00:00
Sean Callanan
3550ada6f7 wahoo: add bug_map for b/79617173
AU031 graphics drivers introduce SELinux denials for
"vendor_default_prop".

Pending a proper fix, tracking this bug so the new graphics driver
can be merged.

Test: Check that presubmit succeeds.
Bug: 79426077
Change-Id: I775de870c6fae32f35acaa7017192ef12254dd7f
2018-05-11 20:35:26 -07:00
Shawn Willden
2f1fec3c6f Remove keymaster4
Wahoo devices don't have keymaster4 hardware, just a software
implementation that was used for testing.

Bug: 77307896
Test: Check that the KM4 binary and RC are no longer on the device
Change-Id: I607937921c09bf24bb971bb7ef089aab2346debd
2018-05-11 17:00:57 -06:00
Sean Callanan
84f819c57f wahoo: Update sepolicy for LA.UM.6.4.9.C2.07.00.00.386.031
Bug: 79426077
Test: CTS, PTS pending
Change-Id: Ic5b7c473deec50a8e48c8db0130666093e5562b8
2018-05-11 15:22:24 -07:00
Joel Galenson
28607db79b Track per_proxy SELinux denial.
This should help fix presubmit tests.

Bug: 79541095
Test: Built policy.
Change-Id: Ide4401527cce5473288092a6c44fc446e9c1fc27
(cherry picked from commit 703a55c3a9)
2018-05-11 09:21:27 -07:00
TreeHugger Robot
a545e9053f Merge "p2p: enable VHT mode when operating as GO" into pi-dev 2018-05-11 03:24:57 +00:00
TreeHugger Robot
33241a7f53 Merge "Move ro.adb.secure declaration into device/* (1/2)" into pi-dev 2018-05-10 20:00:24 +00:00
Przemyslaw Szczepaniak
fe6d0320d8 Merge "Disable hvx NN service for pi-dev" into pi-dev 2018-05-10 16:44:57 +00:00
Jack Wu
2fa48ee4fe battery learned capacity: backup/restore to/from persist data
Test:
    - delete file /persist/battery/qcom_charge_full
    - adb logcat to check code flow related health@2.0
    - adb bugreport
    - no "avc: denied" on health vendor service
    - check learned capacity in both
      /sys/class/power_supply/bms/charge_full
      /persist/battery/qcom_charge_full
      -- decrease /sys/class/power_supply/bms/charge_full
         to check backup to /persist/battery/qcom_charge_full
      -- increase /sys/class/power_supply/bms/charge_full
         to check restore from /persist/battery/qcom_charge_full
         (simluate the reset condition)

Bug: 78883741
Change-Id: Ib17bc0938d3a4b78376140a8a1008b4fc82220af
Signed-off-by: Jack Wu <wjack@google.com>
2018-05-10 09:13:50 -07:00
Przemyslaw Szczepaniak
04cfd2ae4f Disable hvx NN service for pi-dev
Bug: 78249699
Test: manual, cts
Change-Id: Ic0b7a8ab8e1ca854069544e35f5e4139d800c4f3
2018-05-10 12:50:54 +01:00
Jaekyun Seok
977eefd711 Move ro.adb.secure declaration into device/* (1/2)
Bug: 79115842
Test: succeeded building and tested with taimen
Change-Id: I963a68b1b53ca3412027b357e25fffd6391ef9ff
2018-05-10 13:22:37 +09:00
Andrew Chant
4eb8b24b07 Change USB autosuspend delay to 7s by commandline.
b/71936484 has audio accessories failing to connect
when there's a transition to suspend when they're attempting
to enumerate.

Avoid this problem by increasing autosuspend delay
from the default 2s to 7s.

The longest I've seen a device take to enumerate after
vbus is ~3 seconds, this gives a 2x margin.

Test: booted on Walleye, saw no more messages:
[  472.412555] c0   5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode
between device connection and enumeration.

Bug: 71936484
Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
2018-05-09 11:28:00 -07:00
hsuvictor
ef265d934f p2p: enable VHT mode when operating as GO
After disabling vendor driver override, supplicant needs to specify
the max channel width and pass it to driver.

Bug: 79236591
Test: manually check channel width is HT80 when operating as GO on walleye
      add p2p_go_vht=1, ch_width should be 80MHz
Note: need HIDL wpas_p2p_connect argument fix

Change-Id: I14d04556470c5efa66287f2327d7c6324885e822
2018-05-09 19:21:40 +08:00