Commit Graph

1543 Commits

Author SHA1 Message Date
TreeHugger Robot
519a1ee6ce Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202 am: c4bbe5f370 am: 73e1604fe5
Change-Id: Ib853efdf98b4bc31fb2162828f98f3f8fe5b8962
2020-05-18 17:43:59 +00:00
TreeHugger Robot
c4bbe5f370 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca am: 43ddb44202
Change-Id: I7dd0cb5e95d39d1331f79ed310b4b361e06ee2a3
2020-05-18 17:07:08 +00:00
TreeHugger Robot
43ddb44202 Merge "Screen recording doesnt record internal audio" into rvc-dev am: 3ccf874dca
Change-Id: Icb1ad78c63b8b81dc386be86cfdadbbce403a22b
2020-05-18 16:50:38 +00:00
TreeHugger Robot
3ccf874dca Merge "Screen recording doesnt record internal audio" into rvc-dev 2020-05-18 16:37:11 +00:00
Jay Aliomer
c2094aedcc Screen recording doesnt record internal audio
Fixes: 156645454
Test: manual
Change-Id: I3be1df0e6261750b2fe923650ee3359414fce642
2020-05-16 17:58:25 -04:00
TreeHugger Robot
3f2b390486 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764 am: 2cffdd6b41 am: 0be5e16a03
Change-Id: If55c46af334346b6624f3b69a703b38978bc21d7
2020-05-16 02:33:13 +00:00
TreeHugger Robot
2cffdd6b41 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1 am: 99a088c764
Change-Id: I831255898643144318b004e732357533cbe56c14
2020-05-16 01:58:13 +00:00
TreeHugger Robot
99a088c764 Merge "Add keylayout for Steam controller (USB)" into rvc-dev am: e061bdbfe1
Change-Id: I6fd935f70a23800c93acf60c54138b85c56d0e2f
2020-05-16 01:32:42 +00:00
Siarhei Vishniakou
2abc5d2823 Add keylayout for Steam controller (USB)
In the USB mode, Steam controller needs a key layout, because most of
the buttons and axes are incorrectly mapped.

The wireless dongle has not been tested.

The controller also support BLE, but currently goes into lizard mode by
default (only mouse and 2 buttons: left/right clicks work). So a driver
is likely necessary to go into the normal mode over BT, and hid-steam
doesn't help with that currently.

On BT, the controller has product id of 0x1106.

Bug: 147434575
Test: use the "gamepad tester" app and connect joystick over the USB.
Ensure that all mappings work
Test: CTS test will not be done at this time because it requires
supporting SET_REPORT in the hid command.

Change-Id: Ic0c50695338f98dcaeaaa7b3417fde702563d205
2020-05-15 07:38:14 -07:00
Treehugger Robot
3264563e66 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc am: 3dc4f436b9 am: 08525c730f
Change-Id: Iafe38e18fb4dad2790a030454e5ed7ad2b60b068
2020-05-14 17:18:15 +00:00
Treehugger Robot
3dc4f436b9 Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f am: 93e1bfa6fc
Change-Id: I82242b7e323829cdafae869815a35b768f42d233
2020-05-14 16:48:36 +00:00
Treehugger Robot
93e1bfa6fc Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24 am: 445030096f
Change-Id: I1dda18059beb41e34a25a62cc2c95e83944427c3
2020-05-14 16:33:52 +00:00
Treehugger Robot
445030096f Merge "Convert much of f/b/data/fonts/Android.mk to Android.bp" am: fbb827fe24
Change-Id: I1f455ecabdd195f30e6026a0aee3d38e3cd7c5de
2020-05-14 16:18:55 +00:00
Dan Willemsen
276c4eb05b Convert much of f/b/data/fonts/Android.mk to Android.bp
The Serif symlinks haven't been used since 2014, so I removed them.

Test: treehugger
Test: m fonts.xml DroidSansMono.ttf AndroidClock.ttf, ensure same installed files
Change-Id: I496498e0debac37f5fff4b9e046813e6b2694fd5
2020-05-13 20:22:42 -07:00
TreeHugger Robot
021ceaecf2 Merge "Add day-night-mode permission to Shell." into rvc-dev 2020-05-13 19:41:38 +00:00
Automerger Merge Worker
0b8132aeff Merge "Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27 am: 27777a33cc am: 6d18a18871" into rvc-qpr-dev-plus-aosp am: e34ae51ffa
Change-Id: Iafcb00a7c6bf79b8a5356698b00c7e9f0adee7cc
2020-05-12 20:25:16 +00:00
TreeHugger Robot
6d18a18871 Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27 am: 27777a33cc
Change-Id: Ifa13b89421c0bab0552819fd086cab93e32f7810
2020-05-12 19:44:50 +00:00
TreeHugger Robot
27777a33cc Merge "Includes SecondaryHome into the priv app whitelist." into rvc-dev am: 8a8dba8d27
Change-Id: I541b357a816f6851a670b17f28d0bee14cdf533c
2020-05-12 19:28:04 +00:00
Treehugger Robot
fbd4a6f80a Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ic444f3351cb130d24a2794284c6bf8709c80712c
(cherry picked from commit a85cc22044)
2020-05-12 15:13:26 +00:00
Yuncheol Heo
561f67eb72 Includes SecondaryHome into the priv app whitelist.
- Add android.permission.INTERACT_ACROSS_USERS for the CarNotificationLib.

Bug: 156114875
Test: check if SecondayHome is shown (in gcar_hl_md_emu_x86).
Change-Id: I79ae64b90a52235876a6e51ad01ae70def1bf1fa
2020-05-11 19:52:01 -07:00
Treehugger Robot
a85cc22044 Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1 am: 4d79a92078 am: 2c5a6f6c4d am: 8da297826d
Change-Id: Ic444f3351cb130d24a2794284c6bf8709c80712c
2020-05-11 23:50:19 +00:00
Treehugger Robot
2c5a6f6c4d Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1 am: 4d79a92078
Change-Id: I543f3a26224e826708dc3317b2f9c2bd7b19b53e
2020-05-11 23:18:22 +00:00
Treehugger Robot
4d79a92078 Merge "Add day-night-mode permission to Shell." am: 963c11e32d am: dbf9eed8c1
Change-Id: I5fe4468f78049f9907a92121b7e3661bb9598440
2020-05-11 22:56:39 +00:00
Treehugger Robot
dbf9eed8c1 Merge "Add day-night-mode permission to Shell." am: 963c11e32d
Change-Id: Iad4aba4108aa1d60e470388bfadf2bdc78984324
2020-05-11 22:38:44 +00:00
Kweku Adams
6adfa79de1 Add day-night-mode permission to Shell.
Without the permission "adb shell cmd uimode night <mode>" doesn't work.
Adding the permission to the AndroidManifest file so the shell command
will work.

Bug: 155584597
Test: run `adb shell cmd uimode night <no|yes|auto>`
Change-Id: Ibfb145d762c73bba9de639d4050b9b26e4778cc9
2020-05-11 11:46:34 -07:00
Hall Liu
594a7cb577 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a am: 276f44d2ba am: 558b7f1af4 am: e6fa6c55b0
Change-Id: Ic5183c50e7932e9d3f4c985de8783aa4579854f3
2020-05-10 06:02:57 +00:00
Hall Liu
558b7f1af4 Merge "Convert Telephony broadcasts to be non-sticky" into rvc-dev am: ee1249911a am: 276f44d2ba
Change-Id: I629a56543cb71ca867804046ffec2bbee5438016
2020-05-10 05:29:32 +00:00
Hall Liu
45066127b3 Convert Telephony broadcasts to be non-sticky
Convert ACTION_SERVICE_STATE_CHANGED and
ACTION_ANY_DATA_CONNECTION_CHANGED to be non-sticky broadcasts that
require the READ_PHONE_STATE permission to receive. As part of this,
declare READ_PHONE_STATE to be split from READ_PRIVILEGED_PHONE_STATE,
so that system apps holding READ_PRIVILEGED_PHONE_STATE can also receive
these broadcasts.

Also modify affected users to fetch the current value of the broadcast
upon registration instead of relying on the sticky nature of the
broadcast.

Bug: 150155839
Test: manual
Test: atest KeyguardUpdateMonitorTest
Change-Id: I020b1554c4fc59c138d015e787526b4a66c74853
2020-05-06 18:11:50 -07:00
Automerger Merge Worker
d18bdcf5cb Merge "Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev am: 928d88431a am: e3d05e322e" into rvc-d1-dev-plus-aosp am: dd596a19c6 am: c2590587a1
Change-Id: I176f70add9a548a13a80c9c44c55f691f53c0753
2020-05-05 00:30:03 +00:00
Joseph Pirozzo
e3d05e322e Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev am: 928d88431a
Change-Id: Ic993b4665d910a921783ae2957cc8e36a2cbaaf6
2020-05-04 23:38:17 +00:00
Joseph Pirozzo
928d88431a Merge "EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED" into rvc-dev 2020-05-04 23:30:55 +00:00
Siarhei Vishniakou
3e8e53dadc Merge "Add layout for xbox 360 wireless controller" into rvc-dev am: 0a19f87982 am: 7c7b26933a am: d66dbcec72 am: 1b1402b4c2
Change-Id: I30d057f0bc6ed654c6373e9b5713242be0199aba
2020-05-04 23:15:22 +00:00
Siarhei Vishniakou
7c7b26933a Merge "Add layout for xbox 360 wireless controller" into rvc-dev am: 0a19f87982
Change-Id: If60afe7042832a6eb67ac76c838bef5e53bd0169
2020-05-04 22:31:52 +00:00
Siarhei Vishniakou
0a19f87982 Merge "Add layout for xbox 360 wireless controller" into rvc-dev 2020-05-04 22:13:49 +00:00
Joseph Pirozzo
5212738a84 EmbeddedKitchenSinkApp BLUETOOTH_PRIVILEGED
Grant BLUETOOTH_PRIVILEGED permission to test app for Bluetooth testing.

Bug: 155672526
Test: In Kitchen Sink, connect on MAP profile.
Change-Id: I736f5a46e2f198947d7077a5542cf986aea7355c
2020-05-04 13:46:51 -07:00
Siarhei Vishniakou
046e478fd9 Add layout for xbox 360 wireless controller
We are currently missing a layout for the xbox 360 wireless controller,
with product id 02a1.

Bug: 144469012

Test: copied from Vendor_045e_Product_028e.kl
Change-Id: Ib0286d126273619352e9834e669413ecd699b1d9
2020-05-04 19:38:40 +00:00
Chong Zhang
9248b26375 Grant PACKAGE_USAGE_STATS permission to media uid
Allow media service to register UidObserver to get uid
state changes. Media transcoding uses uid states for
transcoding job scheduling purposes.

bug: 154734285
bug: 145233472

Change-Id: I20c7b33798ff5ede6620cccf65143da5ad77cba5
2020-04-29 10:55:37 -07:00
Jay Aliomer
f33e3de397 Merge "Adding P20 styles" into rvc-d1-dev am: d44d9cce56 am: 373d01857a am: fdbabe1ee7
Change-Id: I73771dc8c5f535dc8980ece3ab6cf272d6dcf8ff
2020-04-28 19:26:55 +00:00
Jay Aliomer
d44d9cce56 Merge "Adding P20 styles" into rvc-d1-dev 2020-04-28 18:27:17 +00:00
Jay Aliomer
6da7e0634e Adding P20 styles
adding fonts, colors and icon packs

Bug: 145530620
Test: manual
Change-Id: I38ad71945aee0f1bb3bcfefc3d4e5dad6e93bf37
2020-04-24 21:59:08 +00:00
Beverly Tai
c551107d56 Merge "Update ChargingStarted sound" into rvc-d1-dev am: 676d4a5085 am: 05c9d52c5a am: 4e74805e8f
Change-Id: If8988988736c1b4acb90970dbfac0a1380cc0886
2020-04-23 13:47:04 +00:00
Beverly
f0ce4f1451 Update ChargingStarted sound
Test: manual
Bug: 154293919
Change-Id: If14fad6189e4d216c892325e23d8607b2a0f3727
2020-04-22 18:21:18 +00:00
Anthony Chen
43159e0ba9 Merge "Remove all files associated with android.car.trust." 2020-04-20 22:24:43 +00:00
Mark Renouf
03f9a814a5 Merge "Scroll Capture Framework" into rvc-dev 2020-04-20 19:20:13 +00:00
Mark Renouf
a927929d99 Scroll Capture Framework
This is an implementation of long screenshots supporting
interactive, incremental capture of scrolling content using
a cooperative API between the app process and the system.

Design goals:

 - Provide for tile based incremental screenshots of scrolling content
 - Support existing apps without developer action
 - Provide support for non View-based Apps & UI toolkits

Bug: 148131831
Test: atest \
      FrameworksCoreTests:android.view.ScrollCaptureClientTest \
      FrameworksCoreTests:android.view.ScrollCaptureTargetResolverTest \
      FrameworksCoreTests:com.android.internal.view.ViewGroupScrollCaptureTest \
      FrameworksCoreTests:android.view.ScrollViewCaptureHelperTest \
      WmTests:com.android.server.wm.DisplayContentTest

Merged-In: I6c66a623faba274c35b8fa857d3a72030a763aea
Change-Id: I6c66a623faba274c35b8fa857d3a72030a763aea
2020-04-20 15:07:59 +00:00
Andrei Litvin
3b92b9682d Add support for GamePad api in ITvRemoteServiceInput.
Gamepad-specific API is a separtate input path from standard "remote"
service. Specifically it adds:
  - openGamepad that creates a virtual input device with
  gamepad-specific suport
  - send gamepad keys
  - send gamepad axis updates, which support joysticks, analog triggers
  and HAT axis (as an alternative to DPAD buttons).

Bug: 150764186

Test: atest media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java

Test: flashed a ADT-3 device after the changes. Android TV Remote
      on my phone still worked in controlling the UI.

Merged-In: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
Change-Id: I49612fce5e74c4e00ca60c715c6c72954e73b7a3
(cherry picked from commit 9b9f556af1)
2020-04-20 10:42:58 -04:00
Anthony Chen
2b545820f4 Remove all files associated with android.car.trust.
The `android.car.trust` package and feature has been deprecated in
R and is no longer supported.

Test: m -j
Bug: 150169315
Change-Id: I74f2beec4be1a838f575a05e225e2e36c3c2134b
2020-04-19 19:40:05 -07:00
Mark Renouf
b08cd1f8af Scroll Capture Framework
This is an implementation of long screenshots supporting
interactive, incremental capture of scrolling content using
a cooperative API between the app process and the system.

Design goals:

 - Provide for tile based incremental screenshots of scrolling content
 - Support existing apps without developer action
 - Provide support for non View-based Apps & UI toolkits

Bug: 148131831
Test: atest \
      FrameworksCoreTests:android.view.ScrollCaptureClientTest \
      FrameworksCoreTests:android.view.ScrollCaptureTargetResolverTest \
      FrameworksCoreTests:com.android.internal.view.ViewGroupScrollCaptureTest \
      FrameworksCoreTests:android.view.ScrollViewCaptureHelperTest \
      WmTests:com.android.server.wm.DisplayContentTest

Change-Id: I6c66a623faba274c35b8fa857d3a72030a763aea
2020-04-17 15:26:53 +00:00
Wei Sheng Shih
3b17079b01 Merge "Support addWindow as other user" into rvc-dev am: 1a46294fdb am: bbc82f209c am: 648f3f1954 am: addde6e564
Change-Id: I66df80e7edcf543c52ae6f640cf09df9e67022de
2020-04-10 09:24:31 +00:00
Wei Sheng Shih
1a46294fdb Merge "Support addWindow as other user" into rvc-dev 2020-04-10 08:33:12 +00:00