Commit Graph

4735 Commits

Author SHA1 Message Date
Pawin Vongmasa
31bc4019ba Add missing performance points
am: 2aeb9b87f3

Change-Id: I3e5affe017c818b032ee7cc3cc8efa493f4d8c8b
2019-07-08 17:25:22 -07:00
Pawin Vongmasa
2aeb9b87f3 Add missing performance points
Test: cts-tradefed run cts -m CtsMediaTestCases \
-t android.media.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints

Bug: 136536656
Change-Id: Iab2a1ae6a2365fb01e0c66d818974849cb8cf596
2019-07-04 04:48:49 -07:00
Adam Seaton
f5518b2e76 Update Wahoo SVN to 30 for Q release
am: 26ea1f7b49

Change-Id: I62d49857d4705f9f43ba8fdbc0e703604dccd44e
2019-07-03 23:06:00 -07:00
Adam Seaton
26ea1f7b49 Update Wahoo SVN to 30 for Q release
Bug:136220150
Change-Id: I00a79b87364bf613acd2594b65bdef50a46c70c6
2019-07-03 17:10:20 +00:00
TreeHugger Robot
13cbc8b3a9 Merge "LowPowerMonitor: Enable Interactive bugreports" into qt-r1-dev 2019-06-26 19:04:38 +00:00
Benjamin Schwartz
a7e7c11e77 LowPowerMonitor: Enable Interactive bugreports
Bug: 118192245
Test: Configured LPM to trigger a bug report and verified that it is a
full bug report.

Change-Id: I5f820b1e140cfd690bc5eaac75bb74dc4476d70e
2019-06-24 17:41:27 -07:00
Tao Bao
9a8e8cb80b Merge "Include misc_writer." into qt-dev
am: a07062c52a

Change-Id: I35f06647c102ebd42278bea23c0766b788352a37
2019-06-24 16:10:34 -07:00
Tao Bao
a07062c52a Merge "Include misc_writer." into qt-dev 2019-06-24 22:13:36 +00:00
TreeHugger Robot
1e1153ec19 Merge "Fix avc denied to dump some useful hals for user build." into qt-r1-dev 2019-06-20 04:42:03 +00:00
Peiyong Lin
1d38c0eac5 Merge "Disable WCG on Pixel 2017." into qt-dev
am: ec4f0d31b7

Change-Id: I3aef946f657dce5432a4aea99c815cc315340a26
2019-06-19 16:00:38 -07:00
Peiyong Lin
ec4f0d31b7 Merge "Disable WCG on Pixel 2017." into qt-dev 2019-06-19 22:18:10 +00:00
Eva Huang
f52225f443 Add ramdump search access to metadata.
am: 7c82a29668

Change-Id: I565106efd746754558409a7d9f08973f9c3a6b54
2019-06-17 20:49:42 -07:00
Tao Bao
2cb10aa20c Include misc_writer.
Bug: 113028175
Bug: 134157796
Bug: 134430124
Test: Build and flash taimen with the matching bootloader change.
      Check serial log regarding the start of vendor.darkboot service.
      Also read the value via `dd bs=1 skip=2048 if=/dev/block/sda5
      count=32 | xxd` to confirm the change.
Test: Trigger a factory reset via Settings. Check the value in /misc
      after the reset.
Change-Id: I87c248e25450f520bdc6f1cab3d7f240e54394d0
2019-06-17 12:21:16 -07:00
Eva Huang
7c82a29668 Add ramdump search access to metadata.
Bug: 135149434
Change-Id: I35231d4bd86cf78185b9fcb750c1bdb97b0e21eb
2019-06-17 14:10:50 +08:00
Joel Galenson
396aea9539 Track denial.
am: f7f59f80d4

Change-Id: I88079c0d9075ed7ae1c9a1edbc8123f6a788ec7d
2019-06-15 12:06:35 -07:00
Joel Galenson
f7f59f80d4 Track denial.
This should help fix presubmit tests.

Bug: 130250133
Bug: 135149434

Test: Build.
Change-Id: I5e0bc87a527317c2086c0e698c7b8bda1c09593b
Merged-In: I5e0bc87a527317c2086c0e698c7b8bda1c09593b
(cherry picked from commit 5fdf5cfaa8)
2019-06-15 07:27:39 -07:00
Rick Yiu
7caa0ca433 Fix avc denied to dump some useful hals for user build.
To get thermal/power/power_stats hals debug info in user build.

Bug: 134545528
Test: tested in userdebug with dumpstate.unroot set to true
Change-Id: I5594bb7b1a444529c6c4fa0e566b9aeca9792fb4
2019-06-14 16:37:41 +08:00
Paul Scovanner
fcbdf0a464 Update Wahoo SVN to 29 Bug:126590667 am: 54f31c6501
am: 6dd44dec19

Change-Id: If9b47a4c429bcdfb480ca61dbe4741ec49200cbc
2019-06-12 10:49:42 -07:00
Paul Scovanner
6dd44dec19 Update Wahoo SVN to 29 Bug:126590667
am: 54f31c6501

Change-Id: Ifbd2cd5dfc3ef8b929dc50379da213571f04bbb6
2019-06-12 10:41:47 -07:00
TreeHugger Robot
ac55b628e1 Merge "Add sepolicy for RamdumpService to access property sys.boot.reason on Pixel 2" into qt-r1-dev 2019-06-11 22:41:51 +00:00
klinesjiang
f41bb34ded Add sepolicy for RamdumpService to access property sys.boot.reason on Pixel 2
Denied pattern is:
avc: denied { read } for name="u:object_r:system_boot_reason_prop:s0" dev="tmpfs" ino=21223 scontext=u:r:ramdump_app:s0:c206,c256,c512,c768 tcontext=u:object_r:system_boot_reason_prop:s0 tclass=file permissive=0

Bug: 132220248

Change-Id: Id391450303a19b14a77ae564a0b79606f9c984fc
2019-06-11 22:38:31 +00:00
Paul Scovanner
54f31c6501 Update Wahoo SVN to 29
Bug:126590667
2019-06-11 19:57:42 +00:00
Jaegeuk Kim
091b6b3f6c Merge "fstab: use "sync" for /metadata" into qt-dev
am: 26d913d557

Change-Id: I1843d72c47a44fa78c8b120b675532c882aac4d5
2019-06-11 03:31:51 -07:00
TreeHugger Robot
26d913d557 Merge "fstab: use "sync" for /metadata" into qt-dev 2019-06-11 10:22:24 +00:00
Srinivas Visvanathan
58e6876547 Merge "Remove CAR_SPEED pre-grant for Gearhead on wahoo" into qt-dev
am: 2911bc982d

Change-Id: I64479c1219e43930dc1048d3fe6c8e51ba0af8ff
2019-06-07 10:41:02 -07: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
99d0f563b9 Remove pre-granted audio permission from Now Playing on Pixel2
am: b5cb56b8c1

Change-Id: Ie915b5752aa4571045c1c2b1693eb0fa4068f744
2019-06-07 08:56:57 -07: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
8954561898 Merge "media: update performance XML" into qt-dev
am: f70badf3be

Change-Id: I315045ade9d396516428092d57b1eb0da00dc2ef
2019-06-04 06:55:14 -07:00
Lajos Molnar
f70badf3be Merge "media: update performance XML" into qt-dev 2019-06-04 13:42:56 +00:00
Srinivas Visvanathan
7fd4a346f5 Extra Wahoo runtime pregrants for Android Auto
am: c2bed46517

Change-Id: I0739a31a4eb103fb19752654a4f7b5e4dbf58cb9
2019-05-31 19:58:28 -07: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
a3b6ea637b Merge "audio: enable soundtrigger concurrent cpature" into qt-dev
am: 6f28bfbe18

Change-Id: I1f2b9897487a78be5ae263cfd43b6c0d21f9c2bc
2019-05-30 18:28:32 -07:00
Carter Hsu
6f28bfbe18 Merge "audio: enable soundtrigger concurrent cpature" into qt-dev 2019-05-31 01:13:47 +00:00
Pawin Vongmasa
502c7ce10a Merge "Allow codecs access to gpu_device" into qt-dev
am: e8e2c36aa5

Change-Id: I6c16089d8f32d70d424aa0a9330e3c93595c4260
2019-05-24 09:48:59 -07:00
TreeHugger Robot
e8e2c36aa5 Merge "Allow codecs access to gpu_device" into qt-dev 2019-05-24 16:25:48 +00:00
Srinivas Visvanathan
1318d25da1 Granting Android Auto permissions on Pixel 2
am: 69fc3dc604

Change-Id: Ib4d216026d98d0b82240c3410857dce0c7d2ed6e
2019-05-24 06:16:44 -07: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
2367c57567 Merge "Allow camera to notify traced of a notable event (walleye/taimen)" into qt-dev
am: 61dfc52f7e

Change-Id: I7319022f2881ddf98fd002e37ae52e16ee8bed60
2019-05-21 04:30:48 -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
Emilian Peev
1e33565446 Merge "Allow vendor read access to 'ro.camera' property" into qt-dev
am: 2bc7620e2b

Change-Id: Ibbee7ea81f03d1b7fd88b446e1d556599a52ba4b
2019-05-20 17:13:49 -07: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
Harpreet "Eli" Sangha
d799b5cd50 Merge "vibrator: Enforce API-Specific Effect Range" into qt-dev
am: f42815ed26

Change-Id: I77c463d83e74c6e426ce9fddd179ab49666ebff6
2019-05-16 10:53:57 -07:00
TreeHugger Robot
f42815ed26 Merge "vibrator: Enforce API-Specific Effect Range" into qt-dev 2019-05-16 16:53:19 +00:00