Commit Graph

4703 Commits

Author SHA1 Message Date
Paul Scovanner
6dd44dec19 Update Wahoo SVN to 29 Bug:126590667
am: 54f31c6501

Change-Id: Ifbd2cd5dfc3ef8b929dc50379da213571f04bbb6
2019-06-12 10:41:47 -07:00
Paul Scovanner
54f31c6501 Update Wahoo SVN to 29
Bug:126590667
2019-06-11 19:57:42 +00:00
TreeHugger Robot
26d913d557 Merge "fstab: use "sync" for /metadata" into qt-dev 2019-06-11 10:22:24 +00:00
TreeHugger Robot
2911bc982d Merge "Remove CAR_SPEED pre-grant for Gearhead on wahoo" into qt-dev 2019-06-07 17:24:49 +00:00
Nick Moukhine
b5cb56b8c1 Remove pre-granted audio permission from Now Playing on Pixel2
See bug for more details.  The apk already supports asking for this permission at runtime.  Upgrading to this android build does not revoke the permission out from under the app.

Bug: 130440726
Test: Manually tested by upgrading walleye to this build and seeing now playing continue to work.
Change-Id: I599586b93ad786762e151fb798d4e5011f2b0315
2019-06-07 12:05:47 +00:00
Jaegeuk Kim
e982cf1e4b fstab: use "sync" for /metadata
/metadata should be synchronous enoughly to avoid boot failure.

Bug: 134172577
Change-Id: I342b1eab9b3b79024deebe039e07d0aa93209148
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2019-06-05 19:42:17 -07:00
Srinivas Visvanathan
04ffd88058 Remove CAR_SPEED pre-grant for Gearhead on wahoo
- Pre-granting has caused issues in the past. See b/134583542.

Test: None
Bug: 134583542
Change-Id: I37d81c1f716533543919607e0e898dc78bb746d4
2019-06-05 10:59:17 -07:00
Lajos Molnar
f70badf3be Merge "media: update performance XML" into qt-dev 2019-06-04 13:42:56 +00:00
Lajos Molnar
de8e4cf259 media: update performance XML
Bug: 131600580
Change-Id: I880a4212e68768508e04a7214e6e3d4ee7420e8a
2019-05-31 13:46:44 -07:00
Srinivas Visvanathan
c2bed46517 Extra Wahoo runtime pregrants for Android Auto
- Including permissions for Top Gear effort.

Bug: 132998136
Bug: 132997487
Test: Built/flashed Wahoo
Change-Id: I91503b29c81c686596e3f0151548ea6b72a707eb
2019-05-31 06:36:29 -07:00
Carter Hsu
6f28bfbe18 Merge "audio: enable soundtrigger concurrent cpature" into qt-dev 2019-05-31 01:13:47 +00:00
TreeHugger Robot
e8e2c36aa5 Merge "Allow codecs access to gpu_device" into qt-dev 2019-05-24 16:25:48 +00:00
Carter Hsu
928955b464 audio: enable soundtrigger concurrent cpature
Bug: 129111371
Test: manual
Change-Id: Ib6a81f56e75331bae086ef599714794bcb66b7c9
Signed-off-by: Carter Hsu <carterhsu@google.com>
2019-05-24 11:21:55 +00:00
Pawin Vongmasa
4f10bbae3e Allow codecs access to gpu_device
Bug: 132837730
Test: atest android.media.cts.DecoderTest
Change-Id: I23aaf87106ca9aa0942a3053e5baf3e7667377e4
2019-05-24 01:25:30 -07:00
Srinivas Visvanathan
69fc3dc604 Granting Android Auto permissions on Pixel 2
- Pre-granting runtime permissions. The stub will be installed on Pixel
1's and this matches Pixel 4 setup.

Bug: 133353187
Test: Build/installed images on Pixels and confirm AA setup
Change-Id: I9e964a1ef40284c6777c733f0f7e771109c7c5a6
2019-05-23 09:46:40 -07:00
Ryan Savitski
61dfc52f7e Merge "Allow camera to notify traced of a notable event (walleye/taimen)" into qt-dev 2019-05-21 11:07:58 +00:00
TreeHugger Robot
2bc7620e2b Merge "Allow vendor read access to 'ro.camera' property" into qt-dev 2019-05-20 22:21:39 +00:00
Ryan Savitski
b71af1ed7c Allow camera to notify traced of a notable event (walleye/taimen)
Most apps already have the permission to act as full producers
(isolated_app, ephemeral_app, priv_app, untrusted_app_all), but
the camera doesn't inherit that as it runs in its own domain.

Granting only the socket (i.e. ipc) permission, as:
* only that is needed at the moment.
* granting the shmem/fd permissions would require a broader change, as traced_tmpfs is declared in private/.

Specific denial:
05-20 13:56:20.303  7751  7751 W trigger_perfett: type=1400 audit(0.0:19): avc: denied { write } for name="traced_producer" dev="tmpfs" ino=7061 scontext=u:r:google_camera_app:s0:c181,c256,c512,c768 tcontext=u:object_r:traced_producer_socket:s0 tclass=sock_file permissive=0 app=com.google.android.GoogleCamera

Bug: 130543265
Tested: extrapolating from the same fix on crosshatch, tested manually on blueline-userdebug.
Merged-In: I53dc08a28d167f566b759d8f91d00a4828f4847f
Change-Id: I53dc08a28d167f566b759d8f91d00a4828f4847f
(cherry picked from commit 12b6414919)
2019-05-20 20:28:25 +01:00
TreeHugger Robot
f42815ed26 Merge "vibrator: Enforce API-Specific Effect Range" into qt-dev 2019-05-16 16:53:19 +00:00
TreeHugger Robot
1ede337150 Merge "power.stats: Give permission to access wifi system props" into qt-dev 2019-05-15 03:13:33 +00:00
Emilian Peev
84ea4994d1 Allow vendor read access to 'ro.camera' property
The Camera HIDL wrapper needs access to
properties "ro.camera.req.fmq.size" and
"ro.camera.res.fmq.size" which control
the fast message queue size. Cases exist
where the default size is not sufficient.
The precise amount can be controlled by
the respective device configuration which
can set the previously mentioned properties.

Bug: 77865891
Test: Manual using application
Change-Id: I468bde2ee356e0d1d20f781fe6a3af48143cc4b2
Merged-In: I468bde2ee356e0d1d20f781fe6a3af48143cc4b2
2019-05-14 13:40:00 -07:00
Paul Scovanner
18ee059698 [automerger skipped] [DO NOT MERGE] Update Wahoo SVN to 28 Bug:132634503
am: 934ba6d552 -s ours
am skip reason: subject contains skip directive

Change-Id: I9f69a2d69a96438cf2232c8a92dc5c98f17a3c2b
2019-05-14 11:04:49 -07:00
Benjamin Schwartz
9cab564cbf power.stats: Give permission to access wifi system props
Bug: 130202935
Test: vts-tradefed run vts -m VtsHalPowerStatsV1_0Target
Change-Id: I4900643ad7555c9570705019f03a71e63ea1a581
2019-05-13 17:18:17 -07:00
Paul Scovanner
934ba6d552 [DO NOT MERGE] Update Wahoo SVN to 28
Bug:132634503
2019-05-13 22:43:41 +00:00
Christine Franks
1af82961b8 Merge "Add config value for a11y color mode" into qt-dev 2019-05-13 14:47:21 +00:00
Lajos Molnar
26cb86496e Merge "media: remove Codec2 XMLs as these are served from /apex folder" into qt-dev 2019-05-11 01:36:14 +00:00
TreeHugger Robot
9cc1610f68 Merge "netd socket related sepolicy rule cleanup" into qt-dev 2019-05-10 03:15:56 +00:00
Lajos Molnar
f455791995 media: remove Codec2 XMLs as these are served from /apex folder
Bug: 129710438
Change-Id: I10d63c8e1577c70dac3c103853c1233055250d49
2019-05-09 07:09:53 -07:00
Harpreet "Eli" Sangha
2c3507689a vibrator: Enforce API-Specific Effect Range
Bug: 132135335
Test: vts-tradefed run singleCommand vts-hal -m VtsHalVibratorV1_0Target
Change-Id: I45ea5b65220158995a0fe7be603be8fbde5581ad
Signed-off-by: Harpreet "Eli" Sangha <eliptus@google.com>
2019-05-09 14:46:04 +09:00
Christine Franks
d33fceac35 Add config value for a11y color mode
Accessibility transforms require a specific color mode that is not
always available for the user to select.

Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: I0724a55a2d10a9447fa667545f3101e441779dc2
2019-05-08 15:13:09 -07:00
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
Luke Huang
e2cee352d8 netd socket related sepolicy rule cleanup
netd socket is no longer used.

Bug: 65862741
Test: built, flashed, booted
Change-Id: I2da56efacff9645073b702b4ece6a6ac820e0d2e
2019-05-02 12:12:34 +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