Commit Graph

3557 Commits

Author SHA1 Message Date
Badhri Jagan Sridharan
a063ae4f55 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-08-16 16:39:04 +00:00
android-build-team Robot
4632dabb4e Merge cherrypicks of [4647037, 4647038, 4647883, 4647039, 4647933, 4648530, 4648550, 4648551, 4648552, 4648553, 4646931, 4646932, 4646933, 4646934, 4648391, 4647976, 4647977, 4647978, 4647526, 4646972, 4646935, 4646936, 4646937, 4646938, 4646939, 4646940, 4646941, 4648392, 4647509, 4648630, 4648631, 4647934] into pi-release-2
Change-Id: I66226810c555620cb6086c6d008cc0a69da161b9
2018-07-27 18:47:52 +00:00
Adam Seaton
60983c25c3 Update SVN to 18 for September Monthly release
Bug: 111501777
(cherry picked from commit 2cded42036)

Change-Id: I000eb4caac77c085c7938d59fb62e8168de59668
2018-07-27 18:40:15 +00:00
android-build-team Robot
e96c281fd9 Snap for 4832339 from 83759b7709 to pi-release
Change-Id: Ie82fea6f545d8db732889bfc0c119cd3119472a0
2018-06-10 19:02:13 +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
android-build-team Robot
0c00406d2c Snap for 4829593 from 6799a52d08 to pi-release
Change-Id: I1b40a4e350adc9952b478fad08c07e4bc4b077e5
2018-06-08 07:24:38 +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
android-build-team Robot
01c9058de9 Snap for 4821244 from 591308e3bf to pi-release
Change-Id: I7827a1c3981808b47b92685c65970c326c1bae52
2018-06-05 07:23:47 +00: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
android-build-team Robot
34fcdc026a Snap for 4807121 from 57b429087c to pi-release
Change-Id: I8b1bafa8db22fc95390f5583964c985859bfbad2
2018-05-27 07:25:15 +00: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
android-build-team Robot
73cc0042ba Snap for 4801384 from e60a7fd931 to pi-release
Change-Id: I919883b61efe84e489623b5f6cbaee8fe79df229
2018-05-24 07:21:51 +00: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
android-build-team Robot
f7a4c49940 Snap for 4796401 from 83fc9c1995 to pi-release
Change-Id: Id28cb866c6c038485cb442acfdfc3237d7328919
2018-05-22 07:21:39 +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
android-build-team Robot
7e28aff94b Snap for 4793185 from b730e3be1c to pi-release
Change-Id: I23d9410cc6cf6c5f5d0d77a558eccbd47ac59f48
2018-05-20 07:20:58 +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
android-build-team Robot
48e131b6bb Snap for 4787078 from a2664cd58c to pi-release
Change-Id: I50cd4796b30dd387808cbd1ba302a8ee09a6ebde
2018-05-17 07:20:48 +00: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
android-build-team Robot
bab0defc0e Snap for 4784261 from f8323eb866 to pi-release
Change-Id: Ibb283eda2495ae3d353cb9345ce81637b9757995
2018-05-16 07:20:49 +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
android-build-team Robot
d7fa892568 Snap for 4781566 from 4d865e6af8 to pi-release
Change-Id: Ieaf7a824d1f529f8a4706f335a7e0cce60d4cea4
2018-05-15 07:26:54 +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
android-build-team Robot
b8c27a7778 Snap for 4778776 from 9cafa9a191 to pi-release
Change-Id: Icc1f0138eea937532e3090f12af09495a819b3c2
2018-05-13 07:23:35 +00: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