Commit Graph

22477 Commits

Author SHA1 Message Date
TreeHugger Robot
a431857cc2 Merge "ContentCapture: add new API to notify views deletion on batch." 2019-01-18 20:56:51 +00:00
Alex Salo
61ae7ed2c6 Merge "Add skeleton implementation for Attention API" 2019-01-18 20:01:54 +00:00
TreeHugger Robot
bf62afc1fc Merge "Add Paint#get(ShadowLayer)ColorLong" 2019-01-18 17:32:08 +00:00
Peiyong Lin
9789e55ac0 Merge "Add HDR_10_PLUS to HdrCapabilities." 2019-01-18 17:24:03 +00:00
Bo Zhu
f37f0cc30a Merge "Add an optional metadata blob for recoverable application keys" 2019-01-18 17:17:53 +00:00
Christine Franks
5daa35687a Merge "Add per-app grayscale to CDS" 2019-01-18 17:13:24 +00:00
TreeHugger Robot
615329242c Merge "Media2: Provide a way to tell session's playback active state" 2019-01-18 05:47:41 +00:00
Felipe Leme
481a984a82 Merge "ContentCapture: new API to notify virtual views deletion on batch." 2019-01-18 03:43:01 +00:00
Michele Berionne
996d9f6a38 Merge "Carrier restriction enhancements for Android Q" 2019-01-18 02:56:16 +00:00
Mehdi Alizadeh
b4367b7bab Merge changes from topic "shortcuts-for-sharing"
* changes:
  Disable the use of new share target API in ShareSheet
  Loads direct share targets from ShortcutManager in ShareSheet
2019-01-18 02:42:32 +00:00
Bo Zhu
c704834cb6 Add an optional metadata blob for recoverable application keys
This metadata, if present, will be authenticated (but unencrypted)
together with the application key material.

Bug: 112191661
Test: atest FrameworksCoreTests:android.security.keystore.recovery
      atest FrameworksServicesTests:com.android.server.locksettings.recoverablekeystore
      atest -m RecoveryControllerHostTest RecoverableKeyStoreEndtoEndHostTest RecoverySessionHostTest

Change-Id: I2846952758a2c1a7b1f0849e1adda1f05a3e305e
2019-01-17 17:38:19 -08:00
Mehdi Alizadeh
fd4055bb0c Merge "Adds API to set persons and isLongLived in ShortcutInfo" 2019-01-18 01:12:01 +00:00
Peiyong Lin
2893700ed9 Merge "Add DeviceConfig namespace for Game Driver." 2019-01-18 00:14:12 +00:00
Yifan Hong
e331390d1f Merge "Add VintfObject / VintfRuntimeInfo methods to TestApi." 2019-01-17 23:44:46 +00:00
Felipe Leme
48f363c5b2 ContentCapture: add new API to notify views deletion on batch.
Test: atest CtsContentCaptureServiceTestCases
Bug: 121050915

Change-Id: I325cfb2954c7c990c8916fe9b17a2642dcaa1c79
2019-01-17 15:29:29 -08:00
Felipe Leme
b53afba86a ContentCapture: new API to notify virtual views deletion on batch.
Test: atest CtsContentCaptureServiceTestCases:LoginActivityTest#testVirtualView_batchDisappear
Bug: 121050915

Change-Id: Ia5fc6b88819866142b883d58ab936b6a38b3288b
2019-01-17 15:29:19 -08:00
Ecco Park
37f2ba0a3f Merge "passpoint-r2: add @systemApi for Passpoint APIs" 2019-01-17 22:32:49 +00:00
TreeHugger Robot
3b6f1ed1a9 Merge "passpoint: mark as @deprecated and add permissions" 2019-01-17 22:28:05 +00:00
Shuo Qian
e11e621d5a Merge "Add Emergency Number Test Mode" 2019-01-17 21:52:58 +00:00
Michele Berionne
39ec88f1dc Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Test: Added test cases for CarrierRestrictionRules.
Change-Id: I2723fb07db13efdafbc74471a87182e2d2a32718
2019-01-17 13:50:36 -08:00
Peiyong Lin
31fa8ac94d Add DeviceConfig namespace for Game Driver.
Add namespace to allow us to receive feature control values of Game Driver.

BUG: 121350991
Test: Build, flash and boot
Change-Id: I395c66c76eb8a0079f71bac1a2218e5e8d22391c
2019-01-17 13:12:10 -08:00
Peiyong Lin
173ae08d3f Add HDR_10_PLUS to HdrCapabilities.
Now that we can have HDR10+ from composer, expose it in Java
Display.HdrCapabilities as well.

BUG: 118343714
Test: Build, flash and boot.
Change-Id: Ibe65c03fe81fe0afd336d54ef04e68a5bfa34833
2019-01-17 13:01:34 -08:00
Aurimas Liutikas
01c7237439 Merge "Add ID_NULL constant to Resources." 2019-01-17 20:47:59 +00:00
Christine Franks
f3529b2f24 Add per-app grayscale to CDS
Bug: 111215474
Test: atest FrameworksServicesTests:ColorDisplayServiceTest and
atest FrameworksServicesTests:AppSaturationControllerTest

Change-Id: I1c59317c668d4caf01847f3b66411709b9d5459e
2019-01-17 12:43:49 -08:00
Lajos Molnar
c7641debd3 Merge "MediaCodecInfo: add codec attributes and performance points." 2019-01-17 20:21:08 +00:00
Yifan Hong
5857870774 Add VintfObject / VintfRuntimeInfo methods to TestApi.
Add methods used by VintfDeviceInfo, a CTS test, to TestApi.
Also remove them from greylist.

Bug: 111610941
Test: builds

Change-Id: Ieccf8c9225132fd604d7df0fc7e9976f63f9077c
2019-01-17 12:11:04 -08:00
Mehdi Alizadeh
406e8b36a1 Loads direct share targets from ShortcutManager in ShareSheet
Bug: 111698461
Test: Manual test using test app
Change-Id: I4f315d186363cc76578ee551cc55349e3e266593
2019-01-17 11:52:39 -08:00
TreeHugger Robot
8d566764fd Merge "Add config_defaultRoleHolders for specifying default role holders." 2019-01-17 18:31:40 +00:00
Aurimas Liutikas
8338623a70 Add ID_NULL constant to Resources.
Bug: 122967079
Test: cts in same topic
Change-Id: Ic6e2da137554a967b379b30c0d2d37341941a117
2019-01-17 18:20:27 +00:00
TreeHugger Robot
3515a7bee4 Merge "Add @TestApi to brightness @SystemApis" 2019-01-17 17:42:40 +00:00
Kenny Guy
9524ff9de9 Add @TestApi to brightness @SystemApis
Expose the current @SystemApis as @TestApi
so they can be used from CTS.
Add missing equals to BrightnessCorrection
so that equals on BrightnessConfiguration works.

Test: atest android.display.cts
Bug: 122988010
Bug: 122954284

Change-Id: Ifdb79bd6bb8e3fcd3aa783aad09b08f81c73f433
2019-01-17 15:35:06 +00:00
Lajos Molnar
a462966c8e Merge "media: Add new AVC levels and AV1 media type string" 2019-01-17 14:41:58 +00:00
Jaewan Kim
69dd985043 Media2: Provide a way to tell session's playback active state
Bug: 122818120
Test: Run MediaSession2Test in CTS
Change-Id: I32fed056db08b95fc406d82f32c583bbb3ca4fa8
2019-01-17 22:24:07 +09:00
Toby Sargeant
e27df4dd82 Merge "[wv] Add WebView unresponsive renderer APIs." 2019-01-17 10:31:42 +00:00
Stanislav Zholnin
2452709418 Merge "Added a new set of permissions for DeviceConfig API." 2019-01-17 10:16:25 +00:00
Yueming Wang
21be1cf12d Merge "Add new intents, extras and constants for provisioning optimization." 2019-01-17 08:34:18 +00:00
Alex Salo
b81472f7e2 Add skeleton implementation for Attention API
This service will let the system know whether the user is paying attention to
the device. This may be useful in certain scenarios - like keeping the screen
on, even when there has been no touch related user activity.

New permission BIND_ATTENTION_SERVICE is added to ensure that only the system
can bind to the attention service.

Test: manually tested the lifecycle is as expected
Bug: 111939367
Change-Id: I2dab9c69f3d0c6efb0db572f797f517dc6efcc72
2019-01-16 21:21:51 -08:00
TreeHugger Robot
7e59dcb44f Merge "Create a new constant for system app to start a voice service." 2019-01-17 05:16:24 +00:00
Hai Zhang
7876adb642 Add config_defaultRoleHolders for specifying default role holders.
This config string array will be an array of roles and package names
of their default holders, with each item in the format of "ROLE_NAME:
PACKAGE_NAME_1, PACKAGE_NAME_2". This config will be read by
PermissionController to initialize the roles. This change also fixed
an issue preventing role controller to set default holders correctly.

Bug: 110557011
Bug: 122730135
Test: build
Change-Id: I90ffd156d26098235c821e7937950c0b420e0e7f
2019-01-16 17:38:47 -08:00
Lajos Molnar
49beba10cf media: Add new AVC levels and AV1 media type string
Also remove OMX references for the current constants.

Bug: 122971163
Bug: 111936705
Change-Id: I604ecdeedd5408016fe7c69b763ffbc040ecffd2
2019-01-16 17:29:35 -08:00
sqian
cb4bd3a30f Add Emergency Number Test Mode
Add EMERGENCY_NUMBER_SOURCE_TEST_MODE

This also does not allow to send the service categories from database when
dialing.

Bug: 122840137
Test: Manual; Treehugger
Change-Id: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
2019-01-16 17:05:40 -08:00
jiayuzhou
2c80b59010 Create a new constant for system app to start a voice service.
Test: build and update the api.
Bug: 122048642

Change-Id: I4d5b94cd94090553ad4b2355b47391ee29a2beb8
2019-01-16 17:01:07 -08:00
Lajos Molnar
d2a7f47b0d MediaCodecInfo: add codec attributes and performance points.
Bug: 112374531
Bug: 119631295
Bug: 112370870
Change-Id: Icf8db614a616bd5c815bc272093ce77d05eb4406
2019-01-16 16:46:50 -08:00
Eric Laurent
56f5322566 Merge "add new audio sources for audio capture" 2019-01-16 23:57:58 +00:00
Hui Yu
46c2a56f6d Merge "UsageStats DEVICE_SHUTDOWN event." 2019-01-16 23:22:06 +00:00
yuemingw
c5524f2944 Add new intents, extras and constants for provisioning optimization.
Bug: 122725418
Test: manual
Change-Id: I84ebac25621ea252030741b9f725075eeed1cd7b
2019-01-16 22:29:14 +00:00
Ecco Park
44fd4d89f0 passpoint-r2: add @systemApi for Passpoint APIs
Making Passpoint APIs @Systemapi is required for Setup Wizard to use.

Bug: 119514793
Test: ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I3aadfdb30295de8a2997f154705af0b1b27f3a5e
Signed-off-by: Ecco Park <eccopark@google.com>
2019-01-16 14:14:14 -08:00
Aurimas Liutikas
428ddacfa4 Merge "Add source style for each TypedValue." 2019-01-16 21:48:46 +00:00
Ashley Rose
74c1d773f6 Merge "Refactor inspector API" 2019-01-16 20:59:22 +00:00
TreeHugger Robot
46894e7ac2 Merge "Update BiometricManager constants to be more clear" 2019-01-16 19:55:26 +00:00