Commit Graph

3417 Commits

Author SHA1 Message Date
android-build-team Robot
e70da339c1 Merge cherrypicks of [5285346, 5285158, 5284278] into pi-qpr1-release
Change-Id: Ie48ea2e6d0af7b1ffcb89f9e2c5e524c6fb50a40
2018-10-16 22:48:36 +00:00
Adam Seaton
5f22828cb1 Update SVN for Walleye/Taimen to 21 for December release
bug: 117667960
(cherry picked from commit c3df451697)

Change-Id: Ibf3e69bd4ed3b252d237ede91a4a1f2149fee899
2018-10-16 22:48:21 +00:00
android-build-team Robot
ac5e799044 Merge cherrypicks of [5201218] into pi-qpr1-release
Change-Id: I75c44dc914264c072c81e85e51fdca79140a68f1
2018-10-05 23:18:13 +00:00
Badhri Jagan Sridharan
78ed42ad70 usb gadget hal: Increase disconnect timeout
Increase disconnect timeout from 10ms to 100ms for the host ports which
dont strictly adhere to the spec to sense disconnect.

This is a work around given that some of the root ports dont detect
it. From the USB 2.0 spec guidelines, the disconnect should be
detected in 2.5us.

From the USB 2.0 spec (pg 186)
Time to detect a disconnect event
at a hub’s downstream facing port
TDDIS Section 7.1.7.3 2 2.5 µs


Bug: 110412433
Test: Walleye entering accessory mode in USB 3.0 with IOGear cable
and USB 3.0 host.

Change-Id: I8d8f62dc1a7bcbc9c7727c51cad7f3cb07ba6b50
(cherry picked from commit 28ad0a90cf)
2018-10-05 23:18:09 +00:00
android-build-team Robot
eabf8fcd11 Merge cherrypicks of [4986743, 4986744, 4987539, 4987168, 4986376, 4986377, 4986378, 4986889, 4986745, 4986746, 4986747, 4986748, 4986749, 4986750, 4986773, 4987169, 4987170, 4987611, 4987631, 4987632, 4987633, 4987634, 4986890, 4987612, 4987651, 4987598, 4987613, 4987614, 4987615, 4987599, 4986379, 4986380, 4987652, 4987653, 4987691, 4986774] into pi-qpr1-release
Change-Id: I4e4adaa93a249ba28ef956b263181293de172712
2018-09-10 23:21:21 +00:00
Elisa Pascual Trevino
437e4d9247 Update SVN for November for Wahoo to 20 on pi-dev & master
Bug:114110585
(cherry picked from commit 3ef04ad9ce)

Change-Id: I3f93051a875265067d7373b7ed07868dbbbbaec5
2018-09-10 23:18:43 +00:00
android-build-team Robot
e324f1ac2e Merge cherrypicks of [4871059, 4868580, 4869372] into pi-qpr1-release
Change-Id: I42428ace2e8a383905d648626e65fdfa13dc5e93
2018-08-24 22:00:53 +00:00
Eva Bertels
ab4136a982 Add check for misprovisioned Pixel devices.
Some Pixel devices had a wrong brand value provisioned into keymaster.
Due to this misprovisioning those devices fail device ID attestation because it includes a check for the correct brand value.
This is now solved by re-trying Device ID attestation if we are running on a potentially misprovisioned device, allowing for the known incorrect brand value.

Bug: 69471841
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testKeyManagement
Change-Id: I41b51a355e1b582fd7c7f12f8b7e0992294b16e3
Merged-In: I73dd4501416bcc2587d137d8b1e27127e3bfc0c0
(cherry picked from commit 0e5b3f1396)
2018-08-24 22:00:25 +00:00
android-build-team Robot
1fec7fb949 Snap for 4966094 from eb8465d7d3 to pi-qpr1-release
Change-Id: Idd05d99e7083baa66f234cee6acfcaade6d0d704
2018-08-21 03:10:47 +00:00
Thierry Strudel
eb8465d7d3 Merge "Do not set charge levels unless retaildemo mode is enabled" into pi-dev 2018-08-20 21:59:31 +00:00
android-build-team Robot
c3a3cd1150 Snap for 4963492 from 296429c678 to pi-qpr1-release
Change-Id: I8fb724891f5190110075367bd2e35d4dcbb5f706
2018-08-20 03:10:36 +00:00
Wei Wang
12fdb32b87 PowerHAL: skip Audio streaming hint in VR/SUSTAINED_PERFORMANCE mode
Bug: 110795217
Test: Boot

Change-Id: I008b1f82b5d92ab0901312b0451c766034e76aa8
2018-08-17 22:13:03 +00:00
Maggie White
aa30298a1c Do not set charge levels unless retaildemo mode is enabled
Test labs use start and stop charge levels to control the battery levels
of DUTs. This is not currently possible since retaildemo mode is set to
0 on every boot. After this behavior is removed, it will still be
possible to reset the charging behavior via a factory reset.

Bug: 112763954
Change-Id: I73992bb44d32357f0ed41b55fc551db79c486338
Signed-off-by: Maggie White <maggiewhite@google.com>
2018-08-17 11:20:01 -07:00
YiHo Cheng
296429c678 thermal: Add property for thermal testing.
Add property to disable usb overheat mitigation that prevent device
offline during thermal testing in chamber.

Bug: 111762741
Test: Run thermal test in chamber
Change-Id: I23a760c8e31979b38ae89cd6750ae107605d5c3b
2018-08-16 13:37:45 -07:00
android-build-team Robot
6fc8e8cf92 Snap for 4916303 from 2cded42036 to pi-qpr1-release
Change-Id: Ibfaef0e070af2da4a9f909dede8aceeffe312b0d
2018-07-27 03:04:52 +00:00
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