OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Make setServiceId a TestApi" into pi-dev
Hall Liu [Wed, 11 Apr 2018 20:21:48 +0000 (20:21 +0000)]
Merge "Make setServiceId a TestApi" into pi-dev

6 years agoMerge "Fixing missing reportDrawFinish method in windowCallbacksCompat" into pi-dev
Sunny Goyal [Wed, 11 Apr 2018 20:01:01 +0000 (20:01 +0000)]
Merge "Fixing missing reportDrawFinish method in windowCallbacksCompat" into pi-dev

6 years agoMerge "Cleanup after updating Vehicle permissions" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 19:50:50 +0000 (19:50 +0000)]
Merge "Cleanup after updating Vehicle permissions" into pi-dev

6 years agoMerge "Show onboarding screen from dnd tile" into pi-dev
Julia Reynolds [Wed, 11 Apr 2018 19:36:41 +0000 (19:36 +0000)]
Merge "Show onboarding screen from dnd tile" into pi-dev

6 years agoMerge "Add SigningInfo class to expose package signing details." into pi-dev
Daniel Cashman [Wed, 11 Apr 2018 19:21:07 +0000 (19:21 +0000)]
Merge "Add SigningInfo class to expose package signing details." into pi-dev

6 years agoMerge "DO NOT MERGE - Hide IWLAN system API" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:36:31 +0000 (18:36 +0000)]
Merge "DO NOT MERGE - Hide IWLAN system API" into pi-dev

6 years agoFixing missing reportDrawFinish method in windowCallbacksCompat
Sunny Goyal [Wed, 11 Apr 2018 18:29:24 +0000 (11:29 -0700)]
Fixing missing reportDrawFinish method in windowCallbacksCompat

Test: Verified on launcher that there is no ANR
Bug: 77695434
Change-Id: I1c382ea24fee15835637ed9d4055161a99ff3625

6 years agoMerge "Trim the invalid uids and tags when reading uids/tags from chain." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:29:40 +0000 (18:29 +0000)]
Merge "Trim the invalid uids and tags when reading uids/tags from chain." into pi-dev

6 years agoMerge "MessageQueue: explicitly remove FD event listeners." into pi-dev
David Pursell [Wed, 11 Apr 2018 18:05:52 +0000 (18:05 +0000)]
Merge "MessageQueue: explicitly remove FD event listeners." into pi-dev

6 years agoMerge "Mark CTS-tested APIs as @TestApi" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:03:44 +0000 (18:03 +0000)]
Merge "Mark CTS-tested APIs as @TestApi" into pi-dev

6 years agoMerge "BufferingParams: add annotation @TestApi" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:01:24 +0000 (18:01 +0000)]
Merge "BufferingParams: add annotation @TestApi" into pi-dev

6 years agoMerge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 17:52:22 +0000 (17:52 +0000)]
Merge "Fix docs and bug in SliceManager#bindSlice" into pi-dev

6 years agoMerge "Revert "Update docs to match encryption requirements"" into pi-dev
Colin Cross [Wed, 11 Apr 2018 17:28:39 +0000 (17:28 +0000)]
Merge "Revert "Update docs to match encryption requirements"" into pi-dev

6 years agoRevert "Update docs to match encryption requirements"
Colin Cross [Wed, 11 Apr 2018 17:27:24 +0000 (17:27 +0000)]
Revert "Update docs to match encryption requirements"

This reverts commit cebb55ea9d98dc7ba93eed520b874ac24ff96800.

Reason for revert: broke docs builds

Change-Id: I3a4b8d274141efec90fae2ed0b9324194288c635

6 years agoMerge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
Nathan Harold [Wed, 11 Apr 2018 17:09:07 +0000 (17:09 +0000)]
Merge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev

6 years agoMerge "StatsManager throws exceptions" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 17:02:06 +0000 (17:02 +0000)]
Merge "StatsManager throws exceptions" into pi-dev

6 years agoMerge "Dismiss keyguard when switching user if lockscreen is disabled on new user...
TreeHugger Robot [Wed, 11 Apr 2018 17:02:00 +0000 (17:02 +0000)]
Merge "Dismiss keyguard when switching user if lockscreen is disabled on new user" into pi-dev

6 years agoMerge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 17:00:26 +0000 (17:00 +0000)]
Merge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev

6 years agoMerge "Greylist methods with varargs and intrinsics" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:58:49 +0000 (16:58 +0000)]
Merge "Greylist methods with varargs and intrinsics" into pi-dev

6 years agoMerge "Synchronize stack position and size update for split screen" into pi-dev
Chavi Weingarten [Wed, 11 Apr 2018 16:53:42 +0000 (16:53 +0000)]
Merge "Synchronize stack position and size update for split screen" into pi-dev

6 years agoMerge "Pass app version to agent in adb restore for kv." into pi-dev
Anton Philippov [Wed, 11 Apr 2018 16:53:30 +0000 (16:53 +0000)]
Merge "Pass app version to agent in adb restore for kv." into pi-dev

6 years agoMerge "Update volume logging" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:49:15 +0000 (16:49 +0000)]
Merge "Update volume logging" into pi-dev

6 years agoMerge "Configurable sampling rate for hidden API access log events." into pi-dev
Mathew Inwood [Wed, 11 Apr 2018 16:45:19 +0000 (16:45 +0000)]
Merge "Configurable sampling rate for hidden API access log events." into pi-dev

6 years agoMerge "Handle logd reconnect." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:45:11 +0000 (16:45 +0000)]
Merge "Handle logd reconnect." into pi-dev

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:44:32 +0000 (16:44 +0000)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
Phil Weaver [Wed, 11 Apr 2018 16:38:28 +0000 (16:38 +0000)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev

6 years agoShow onboarding screen from dnd tile
Julia Reynolds [Wed, 11 Apr 2018 15:33:32 +0000 (11:33 -0400)]
Show onboarding screen from dnd tile

Increase the DND version and reset the setting so those who
are upgrading P->P see the new flow.

Test: manual
Change-Id: I9286f022d1fa6520305ff03dbce54c4eec0e371a
Fixes: 77658931

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev
Mike Digman [Wed, 11 Apr 2018 16:12:47 +0000 (16:12 +0000)]
Merge "Fix null running task info in SysUI tests" into pi-dev

6 years agoDisplayCutout: Draw anti-aliased bounds in soft overlay
Adrian Roos [Tue, 10 Apr 2018 22:17:08 +0000 (15:17 -0700)]
DisplayCutout: Draw anti-aliased bounds in soft overlay

To do so, we cannot use the Region from DisplayCutout, because it is conceptionally
a binary Bitmap. Instead, we need the exact curve as a Path.

Also fixes a theoretical bug where the DisplayCutout
was cached even though the display height changed.

Change-Id: I9356f4589186fedc5dc95010c7bd1a1fa20edf5e
Fixes: 77868940
Test: Enable display cutout in developer options, verify the edges look smoth and not jagged.
Test: atest DisplayCutoutTest

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:05:39 +0000 (16:05 +0000)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
Siyamed Sinir [Wed, 11 Apr 2018 16:04:52 +0000 (16:04 +0000)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
Bo Zhu [Wed, 11 Apr 2018 15:58:27 +0000 (15:58 +0000)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev
Chad Brubaker [Wed, 11 Apr 2018 15:57:21 +0000 (15:57 +0000)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 15:46:49 +0000 (15:46 +0000)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev

6 years agoRevert "Check permissions only against packagesettings"
Patrick Baumann [Wed, 11 Apr 2018 14:51:30 +0000 (14:51 +0000)]
Revert "Check permissions only against packagesettings"

This reverts commit b00eb6459127018ec7641f407d5873a0c417416d.

Reason for revert: Boot issues after OTA
Bug: 76228188
Fixes: 77888575
Change-Id: I5ca2605cb6befea46ce50198bc72bdd4b6e84f1a

6 years agoMerge "Added gamma correction tests." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:48:17 +0000 (14:48 +0000)]
Merge "Added gamma correction tests." into pi-dev

6 years agoDismiss keyguard when switching user if lockscreen is disabled on new user
Alex Chau [Wed, 11 Apr 2018 14:41:32 +0000 (15:41 +0100)]
Dismiss keyguard when switching user if lockscreen is disabled on new user

Test: Manual
Bug: 77535056
Change-Id: I55d590644b0187c624bca8aef5c21656315ecd87

6 years agoGreylist methods with varargs and intrinsics
David Brazdil [Sat, 7 Apr 2018 19:00:35 +0000 (20:00 +0100)]
Greylist methods with varargs and intrinsics

This is due to a related Doclava change.

Bug: 64382372
Test: make
Change-Id: I8fba27a529a83751ab27859b1c1b791ab85786cf

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:38:02 +0000 (14:38 +0000)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 14:23:39 +0000 (14:23 +0000)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev

6 years agoFix docs and bug in SliceManager#bindSlice
Jason Monk [Tue, 10 Apr 2018 19:00:18 +0000 (15:00 -0400)]
Fix docs and bug in SliceManager#bindSlice

Test: cts
Change-Id: I812af1eda072c2af0b29454a05ea777d8f4c3c62
Fixes: 73123733

6 years agoPass app version to agent in adb restore for kv.
Anton Philippov [Wed, 11 Apr 2018 13:41:58 +0000 (14:41 +0100)]
Pass app version to agent in adb restore for kv.

This is a temporary solution for P to unblock GTS tests.

Bug: 77852250
Test: manual:
1. adb backup -f saved-wifi-api100.ab -keyvalue com.android.providers.settings
2. adb restore saved-wifi-api100.ab
3. See that SettingsBackupAgent receives appVersionCode in onRestore()

Change-Id: I6092bea570e7e27cb5b72165e9284ad2befc21b6

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
Florian Mayer [Wed, 11 Apr 2018 13:55:51 +0000 (13:55 +0000)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev

6 years agoMerge "Update docs to match encryption requirements" into pi-dev
Robert Berry [Wed, 11 Apr 2018 13:49:45 +0000 (13:49 +0000)]
Merge "Update docs to match encryption requirements" into pi-dev

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:39:47 +0000 (13:39 +0000)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev
Beverly Tai [Wed, 11 Apr 2018 13:30:30 +0000 (13:30 +0000)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:17:26 +0000 (13:17 +0000)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
Anton Philippov [Wed, 11 Apr 2018 13:08:44 +0000 (13:08 +0000)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev

6 years agoUpdate volume logging
Julia Reynolds [Tue, 10 Apr 2018 20:07:57 +0000 (16:07 -0400)]
Update volume logging

- Log settings click and ringer toggle
- Log stream for volume change and mute instead of value

Test: manual
Change-Id: Id72e4b79ca9875b7c80b58527c303d3af0af9492
Fixes: 74201925

6 years agoMerge "Minor TextClassifier fixes" into pi-dev
Jan Althaus [Wed, 11 Apr 2018 12:19:43 +0000 (12:19 +0000)]
Merge "Minor TextClassifier fixes" into pi-dev

6 years agoMerge "Hide mandatory backup's API." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 12:02:20 +0000 (12:02 +0000)]
Merge "Hide mandatory backup's API." into pi-dev

6 years agoMinor TextClassifier fixes
Jan Althaus [Mon, 9 Apr 2018 14:14:36 +0000 (16:14 +0200)]
Minor TextClassifier fixes

- Fix incorrect nullable annotation (usage/APIs already correct)
- Fix outdated doc reference
- Fixed visibility of TextClassification fields

Bug: 74461129
Test: N/A
Change-Id: I107cc978c9385ac2ad706fa8e0a8a3ecb215cf36

6 years agoHide mandatory backup's API.
Lenka Trochtova [Tue, 10 Apr 2018 09:01:58 +0000 (11:01 +0200)]
Hide mandatory backup's API.

Bug: 77801801
Bug: 73750212
Bug: 64012357

Test: make RunFrameworksServicesRoboTests
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTes
cts-tradefed run cts -m CtsBackupHostTestCase

Change-Id: I7699755309b3fbff7c3fec2a06a0f409fd4087de

6 years agoAddress API comments on NetworkStats#getDefaultNetwork.
Lorenzo Colitti [Mon, 2 Apr 2018 10:29:26 +0000 (19:29 +0900)]
Address API comments on NetworkStats#getDefaultNetwork.

Bug: 76449091
Test: android.app.usage.cts.NetworkUsageStatsTest passes
Change-Id: I7f21e0bd7bc4b726058fc2e25542ff2c3173fabe

6 years agoAdd logging for smart replies in notifications.
Kenny Guy [Thu, 5 Apr 2018 20:18:38 +0000 (21:18 +0100)]
Add logging for smart replies in notifications.

Log the first time a notification with smart
replies is visible.
Log each click on a smart reply.

Test: atest SystemUITests
Bug: 72153458
Change-Id: I6dc498871000dbb9af978567db3d258b20978781

6 years agoRename onProfileAudioStateChanged() to onAudioModeChanged()
timhypeng [Sun, 8 Apr 2018 05:55:08 +0000 (13:55 +0800)]
Rename onProfileAudioStateChanged() to onAudioModeChanged()

* While receiving BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
  and TelephonyManager.ACTION_PHONE_STATE_CHANGED intent dispath
  onAudioModeChanged() callback.
* Rename onProfileAudioStateChanged() to onAudioModeChanged()

Bug: 74134939
Test: Build
Change-Id: Iaf037110adba907721f7342eeef360e65cb1da34

6 years agoMerge "Add more API to light greylist" into pi-dev
David Brazdil [Wed, 11 Apr 2018 08:02:11 +0000 (08:02 +0000)]
Merge "Add more API to light greylist" into pi-dev

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 07:36:38 +0000 (07:36 +0000)]
Merge "Review of suspend/unsuspend APIs" into pi-dev

6 years agoHandle logd reconnect.
Yao Chen [Tue, 10 Apr 2018 17:39:53 +0000 (10:39 -0700)]
Handle logd reconnect.

When statsd reconnects to logd, statsd will read all logs from buffer again. To prevent us from
reprocessing old events, we do the following:

1. At any given moment, record the largest timestamp(T_max) and last timestamp (check point) that
   we've seen before.
2. When reconnection happens, we look for the check point until we see a new log with a timestamp
   larger than T_max.
   -> If we found the CP, resume after the CP. Success
   -> If we can't find CP, there is definitely log loss. We reset all configs.

Note:
1. Logd has an API to read logs after a certain timestamp. But this api is vulnerable to
time changes from Settings. So we cannot rely on it.

2. If logd inserts a new log (with older timestamp) before CP, we cannot detect it. It's not
   possible to detect it without record all timestamps we have seen.

Test: statsd_test
Bug: 77813113

Change-Id: Ic3fdb47230807606ab11dc994cb162194adb8448

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
TreeHugger Robot [Wed, 11 Apr 2018 04:49:02 +0000 (04:49 +0000)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 03:26:22 +0000 (03:26 +0000)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev

6 years agoFlush the bucket when creating the metric producer.
Yangster-mac [Sun, 8 Apr 2018 18:52:26 +0000 (11:52 -0700)]
Flush the bucket when creating the metric producer.
Use int64 for value field.
E2e test for gauge/value metric.

BUG: b/74445671

Test: statsd test.
Change-Id: I823a0bade8f89834bdfb9cf48864852a47d7b63b

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:18:57 +0000 (03:18 +0000)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev

6 years agoMerge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
Lorenzo Colitti [Wed, 11 Apr 2018 03:01:25 +0000 (03:01 +0000)]
Merge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev

6 years agoMerge "Added tests for MultipathPolicyTracker." into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 02:53:14 +0000 (02:53 +0000)]
Merge "Added tests for MultipathPolicyTracker." into pi-dev

6 years agoMerge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev
Sanry Huang [Wed, 11 Apr 2018 02:46:00 +0000 (02:46 +0000)]
Merge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev

6 years agoMerge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:38:26 +0000 (02:38 +0000)]
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev

6 years agoMerge "Prevent extraneous saving of pinned snap fraction." into pi-dev
Winson Chung [Wed, 11 Apr 2018 02:32:46 +0000 (02:32 +0000)]
Merge "Prevent extraneous saving of pinned snap fraction." into pi-dev

6 years ago[DO NOT MERGE] - Hide Tunnel Mode IpSec API
Nathan Harold [Tue, 10 Apr 2018 04:24:35 +0000 (21:24 -0700)]
[DO NOT MERGE] - Hide Tunnel Mode IpSec API

Hide the tunnel mode of the IpSec API because
there is a disincentive to launch it without
a supported customer use case. That use case,
IWLAN is having its APIs hidden, so we should
hide these as well to avoid constraining future
implementation.

Also, due to issues with the lifetime of the NATT
management object, this API needs to be hidden
until such time as the lifetime of the Keepalive
can be handled independently of the lifetime of
a Transform.

Bug: 72523623
Test: compilation (api removal)
Change-Id: I076030bdbab1cd7d69f6a034577d529970b050dc

6 years agoMerge "Show media stream with remote streams" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:22:06 +0000 (02:22 +0000)]
Merge "Show media stream with remote streams" into pi-dev

6 years agoMerge "Ensure colors for active permission icons" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:22:01 +0000 (02:22 +0000)]
Merge "Ensure colors for active permission icons" into pi-dev

6 years agoMerge "Enable additional logging for recents/remote animations" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:10:29 +0000 (02:10 +0000)]
Merge "Enable additional logging for recents/remote animations" into pi-dev

6 years agoMerge "Fix NPE when calling Session#addToDisplayWithoutInputChannel" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:08:32 +0000 (02:08 +0000)]
Merge "Fix NPE when calling Session#addToDisplayWithoutInputChannel" into pi-dev

6 years agoStatsManager throws exceptions
Bookatz [Wed, 11 Apr 2018 00:15:12 +0000 (17:15 -0700)]
StatsManager throws exceptions

When StatsManager fails to connect to statsd, it now throws an exception
for the caller to catch. It also throws an exception of the config being
added is of an unreadable format.

Due to backwards compatibility issues, the old APIs could not be
changed, so new ones were made to replace the old ones. The old ones are
now temporary and will be removed when the compatibility issue is
resolved.

Bug: 77648233
Test: gts-tradefed run gts-dev --module GtsStatsdHostTestCases
Change-Id: Ibea05883a29b9b3ef9927d2f8fe295eb99832ab7

6 years agoMerge "Shelf alignment and animation fixes" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 02:01:27 +0000 (02:01 +0000)]
Merge "Shelf alignment and animation fixes" into pi-dev

6 years agoMerge "Notify a11y when view attached to parent" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 01:49:57 +0000 (01:49 +0000)]
Merge "Notify a11y when view attached to parent" into pi-dev

6 years ago[WebView Tracing API] documentation fixes.
Tim Volodine [Wed, 4 Apr 2018 16:49:28 +0000 (17:49 +0100)]
[WebView Tracing API] documentation fixes.

Some fixes to the WebView Tracing API related documentation.
In particular this patch makes sure that:
- the defaults are correct,
- the examples are correct,
- the formatting is ok,
- the text for parameters etc.. is formatted consistently,
- the documentation is spellchecked and typos corrected.

BUG: 63750258
Test: manual inspection of the generated html documentation
Change-Id: I53ac1a1d003e519739464b8d8554f3d8262c46e4

6 years agoMerge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 01:47:08 +0000 (01:47 +0000)]
Merge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev

6 years agoMerge "Add metrics to track auto-brightness settings visibility" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 01:28:33 +0000 (01:28 +0000)]
Merge "Add metrics to track auto-brightness settings visibility" into pi-dev

6 years agoMerge "Adding a compatibility implementation for WindowCallbacks" into pi-dev
Sunny Goyal [Wed, 11 Apr 2018 01:19:48 +0000 (01:19 +0000)]
Merge "Adding a compatibility implementation for WindowCallbacks" into pi-dev

6 years agoSynchronize stack position and size update for split screen
chaviw [Wed, 4 Apr 2018 22:14:49 +0000 (15:14 -0700)]
Synchronize stack position and size update for split screen

When entering split screen, the secondary window changes position so
it's below the primary split screen when minimized. The WSA at the same
time is also changing size to fit the area. However, the size doesn't
change until the client requests a new size and a frame with the correct
size comes in. This causes the stack to update position before the
resize which causes content to get cut off and then a jump when the resize
completes.

This change updates the WSA position as soon as it recognizes that the
stack changed position due to entering split screen secondary. The WSA
sets its position as the negative of the stack position, making the
calculated window position at (0,0). When a relayout is requested, the
WSA's position is requested back to (0,0), deferring until the new frame.
This will put the WSA position at (0,0) when a frame with the correct size
is drawn. This places the window position at the stack's new position in
the same transaction that a WSA frame with the new size is drawn.

Change-Id: I8c88d7784f827d66926fb5c382af2346028dc48f
Fixes: 74354855
Test: Entering split screen with quick step is smooth
Test: Entering split screen with old launcher still works

6 years agoMerge "Drop value if the bucket is totally tainted" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 00:45:00 +0000 (00:45 +0000)]
Merge "Drop value if the bucket is totally tainted" into pi-dev

6 years agoReview of suspend/unsuspend APIs
Suprabh Shukla [Tue, 10 Apr 2018 22:04:51 +0000 (15:04 -0700)]
Review of suspend/unsuspend APIs

Clarified the package extras bundle returned from
getSuspendedPackageAppExtras.
Moved the bundle arg to the last in LauncherApps.onPackagesSuspended and
clarified the contents of the Bundle.
isPackageSuspended(String) now throws a NameNotFoundException if the
package is not found.
Also, removed a permission check from isPackageSuspendedForUser.

Test: builds, boots, existing tests:
atest com.android.server.pm.SuspendPackagesTest

Bug: 77518983775179557750774477801528
Change-Id: I06b5f69f8f8a079c206863cb6122e90be58366cd

6 years agoList<SliceSpec> -> Set<SliceSpec>
Jason Monk [Thu, 8 Mar 2018 16:31:26 +0000 (11:31 -0500)]
List<SliceSpec> -> Set<SliceSpec>

Test: update-api
Bug: 73123786
Change-Id: I5668023eda0efcadf40a20259a92624e6680659f

6 years agoDon't show dev warning toast if notifs for app off
Beverly [Wed, 11 Apr 2018 00:09:23 +0000 (20:09 -0400)]
Don't show dev warning toast if notifs for app off

Test: manual
Change-Id: I4e8bf68a6e9a35fa53112758d85fb8b6836f61c4
Fixes: 66882976

6 years agoEnable additional logging for recents/remote animations
Winson Chung [Mon, 9 Apr 2018 22:41:03 +0000 (15:41 -0700)]
Enable additional logging for recents/remote animations

Bug: 73188263
Test: Just logging

Change-Id: I178ed902ad7097cc97fdec6d1c74603cb580453a

6 years agoDO NOT MERGE - Hide IWLAN system API
Jack Yu [Wed, 11 Apr 2018 00:13:19 +0000 (17:13 -0700)]
DO NOT MERGE - Hide IWLAN system API

Hide IWLAN system API for P. Will expose those APIs when IWLAN
full mode support is in place.

Test: Telephony sanity tests
Bug: 64132030
Change-Id: Ic56a04538fc532a7326c8a9234182899d52f15c1

6 years agoMark CTS-tested APIs as @TestApi
Shawn Willden [Tue, 10 Apr 2018 23:21:39 +0000 (17:21 -0600)]
Mark CTS-tested APIs as @TestApi

Bug: 77596526
Test: Keystore CTS
Change-Id: Ic4280db3d9ff093138f0a361ac6a52ca69187cca

6 years agoCleanup after updating Vehicle permissions
Kai [Tue, 10 Apr 2018 21:15:17 +0000 (14:15 -0700)]
Cleanup after updating Vehicle permissions

Cleanup after updating Vehicle permissions.

Bug: 77860745
Test: Compiles
Change-Id: Iaebabe1825c0c01f1e86653cdf407832ffd84555

6 years agoMerge "Revert "List<SliceSpec> -> Set<SliceSpec>"" into pi-dev
Jason Monk [Wed, 11 Apr 2018 00:00:26 +0000 (00:00 +0000)]
Merge "Revert "List<SliceSpec> -> Set<SliceSpec>"" into pi-dev

6 years agoRevert "List<SliceSpec> -> Set<SliceSpec>"
Jason Monk [Tue, 10 Apr 2018 23:59:14 +0000 (23:59 +0000)]
Revert "List<SliceSpec> -> Set<SliceSpec>"

This reverts commit e2a04b3ea41ebec00afe50db89846920235f23cf.

Bug: 73123786
Change-Id: I1f09893fb3c68650340495f2833eb678099a895f

6 years agoMerge "Logd retry throttling." into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 23:55:06 +0000 (23:55 +0000)]
Merge "Logd retry throttling." into pi-dev

6 years agoMerge "Allow CTS tests to access more from KeyProtection" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 23:36:12 +0000 (23:36 +0000)]
Merge "Allow CTS tests to access more from KeyProtection" into pi-dev

6 years agoMerge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev
Jason Monk [Tue, 10 Apr 2018 23:23:43 +0000 (23:23 +0000)]
Merge "List<SliceSpec> -> Set<SliceSpec>" into pi-dev

6 years agoAdding a compatibility implementation for WindowCallbacks
Sunny Goyal [Tue, 10 Apr 2018 23:18:16 +0000 (16:18 -0700)]
Adding a compatibility implementation for WindowCallbacks

Test: Verified the library with launcher changes
Bug: 77695434
Change-Id: Id1c051896b542cb582c778c7c7709191f7a7957f

6 years agoAllow CTS tests to access more from KeyProtection
Brian C. Young [Tue, 10 Apr 2018 15:43:53 +0000 (08:43 -0700)]
Allow CTS tests to access more from KeyProtection

Add @TestApi to allow CTS tests to use that call.
Encryption and decryption are reversed in some documentation.

Test: CtsKeystoreTestCases
Bug: 77596526
Change-Id: Ifaf8b3fa0e231eef256451a2514219fff1b16699

6 years agoShelf alignment and animation fixes
Lucas Dupin [Tue, 10 Apr 2018 00:25:04 +0000 (17:25 -0700)]
Shelf alignment and animation fixes

- Translate shelf after collapsing notification panel
- Fix issue where icon y translation would be off in AOD

Change-Id: Ibae5e7cd4cb989514a96d5edfd761b0c0201de03
Fixes: 77540062
Fixes: 77541059
Test: visual

6 years agoMerge "Update getIccAuthentication documentation" into pi-dev
TreeHugger Robot [Tue, 10 Apr 2018 22:23:33 +0000 (22:23 +0000)]
Merge "Update getIccAuthentication documentation" into pi-dev

6 years agoMerge "hwui/debug: Remove glMultiDrawElementsBaseVertexOES stubs." into pi-dev
Krzysztof Kosiński [Tue, 10 Apr 2018 22:23:09 +0000 (22:23 +0000)]
Merge "hwui/debug: Remove glMultiDrawElementsBaseVertexOES stubs." into pi-dev

6 years agoAdd SigningInfo class to expose package signing details.
Dan Cashman [Tue, 3 Apr 2018 23:42:23 +0000 (16:42 -0700)]
Add SigningInfo class to expose package signing details.

Attempt to simplify the exposure of package signing information via
PackageInfo by creating a new class and corresponding methods for
querying a package's signing information.

Bug: 74831530
Test: PkgInstallSignatureVerificationTest
Change-Id: Idbc008b41a921f89cefb224b26f910da4d238dea