OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Make the platform proto naming consistent, Part 1 Change proto names in incide...
TreeHugger Robot [Wed, 14 Feb 2018 23:29:47 +0000 (23:29 +0000)]
Merge "Make the platform proto naming consistent, Part 1 Change proto names in incident_helper"

6 years agoMerge "Listen for IFingerprintServiceLockoutResetCallback death"
TreeHugger Robot [Wed, 14 Feb 2018 23:24:57 +0000 (23:24 +0000)]
Merge "Listen for IFingerprintServiceLockoutResetCallback death"

6 years agoMerge "HIDL: add APIs used by subclasses to SystemApi"
Steven Moreland [Wed, 14 Feb 2018 23:12:28 +0000 (23:12 +0000)]
Merge "HIDL: add APIs used by subclasses to SystemApi"

6 years agoMerge "Assign animation layer above highest animation target."
Rob Carr [Wed, 14 Feb 2018 23:10:50 +0000 (23:10 +0000)]
Merge "Assign animation layer above highest animation target."

6 years agoMerge "Expose AnimationUtils#lockAnimationClock for tests"
TreeHugger Robot [Wed, 14 Feb 2018 23:09:47 +0000 (23:09 +0000)]
Merge "Expose AnimationUtils#lockAnimationClock for tests"

6 years agoMerge "Add frameworks/base/media/OWNERS"
Marco Nelissen [Wed, 14 Feb 2018 22:50:39 +0000 (22:50 +0000)]
Merge "Add frameworks/base/media/OWNERS"

6 years agoMerge "Update the battery charging status when turning battery on/off."
TreeHugger Robot [Wed, 14 Feb 2018 22:49:07 +0000 (22:49 +0000)]
Merge "Update the battery charging status when turning battery on/off."

6 years agoMerge "Change the cert parsing debugging logs to be more meaningful and less noisy"
TreeHugger Robot [Wed, 14 Feb 2018 22:30:53 +0000 (22:30 +0000)]
Merge "Change the cert parsing debugging logs to be more meaningful and less noisy"

6 years agoMerge "No alarm warning in dnd dialog if alarms allowed"
TreeHugger Robot [Wed, 14 Feb 2018 22:21:24 +0000 (22:21 +0000)]
Merge "No alarm warning in dnd dialog if alarms allowed"

6 years agoAdd frameworks/base/media/OWNERS
Marco Nelissen [Wed, 14 Feb 2018 22:18:27 +0000 (14:18 -0800)]
Add frameworks/base/media/OWNERS

Copied from frameworks/av/OWNERS
Test: no

Change-Id: I35b2a2ed7b1b2ead2a460df16f41761e28837b4f

6 years agoMerge "Fix issue with quickscrub not getting reset when the state changes"
TreeHugger Robot [Wed, 14 Feb 2018 21:37:30 +0000 (21:37 +0000)]
Merge "Fix issue with quickscrub not getting reset when the state changes"

6 years agoMerge "Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f...
Android Build Merger (Role) [Wed, 14 Feb 2018 21:27:10 +0000 (21:27 +0000)]
Merge "Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f am: ddf41d99f3  -s ours"

6 years agoMerge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f
Chen Xu [Wed, 14 Feb 2018 21:26:11 +0000 (21:26 +0000)]
Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f
am: ddf41d99f3  -s ours

Change-Id: I6ab44a03d398b0a55003cd83334050af904ce2eb

6 years agoMerge "Dump frame history for bugreports"
TreeHugger Robot [Wed, 14 Feb 2018 21:24:46 +0000 (21:24 +0000)]
Merge "Dump frame history for bugreports"

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650 am:...
Jiyong Park [Wed, 14 Feb 2018 21:21:22 +0000 (21:21 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650 am: 78c71ca44b
am: e481df974d

Change-Id: I38739a4f2f7bdb3da64e70cfa5f098039ef129fa

6 years agoMerge "Adding some more owners to systemUI"
TreeHugger Robot [Wed, 14 Feb 2018 21:13:35 +0000 (21:13 +0000)]
Merge "Adding some more owners to systemUI"

6 years agoMerge "Added SQLiteOpenHelper.setOpenParams"
Fyodor Kupolov [Wed, 14 Feb 2018 21:09:49 +0000 (21:09 +0000)]
Merge "Added SQLiteOpenHelper.setOpenParams"

6 years agoMerge "add a current table in CarrierIdProvider" am: 3fa6fe2117
Chen Xu [Wed, 14 Feb 2018 21:09:29 +0000 (21:09 +0000)]
Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117
am: 9fce67f50f

Change-Id: Ia8dbd47c1c4cf775f7597e7e93c8315bf004e9e0

6 years agoMerge "AudioService: Remove orientation tracking"
TreeHugger Robot [Wed, 14 Feb 2018 21:08:56 +0000 (21:08 +0000)]
Merge "AudioService: Remove orientation tracking"

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Wed, 14 Feb 2018 21:00:42 +0000 (21:00 +0000)]
Merge "add a current table in CarrierIdProvider"
am: 3fa6fe2117

Change-Id: I5e734d3b55332e5d9bb5bc27515625456edb5df5

6 years agoMerge "Fix magnification viewport drifting when scaling"
TreeHugger Robot [Wed, 14 Feb 2018 20:51:33 +0000 (20:51 +0000)]
Merge "Fix magnification viewport drifting when scaling"

6 years agoExpose AnimationUtils#lockAnimationClock for tests
John Reck [Wed, 14 Feb 2018 20:47:51 +0000 (12:47 -0800)]
Expose AnimationUtils#lockAnimationClock for tests

Bug: 38270821
Test: EdgeEffectTests CTS
Change-Id: I5a3568da5c845d5b3eb06624c7178c378768831a

6 years agoListen for IFingerprintServiceLockoutResetCallback death
Kevin Chyn [Wed, 14 Feb 2018 20:46:45 +0000 (12:46 -0800)]
Listen for IFingerprintServiceLockoutResetCallback death

Fixes: 73106873

Test: adb shell pkill systemui, log shows up
Change-Id: I35af0ce0264b6a7ca5b31ec17b32350ef6c9a3b4

6 years agoMerge "Cascading timeouts for App Standby"
TreeHugger Robot [Wed, 14 Feb 2018 20:43:06 +0000 (20:43 +0000)]
Merge "Cascading timeouts for App Standby"

6 years agoMerge "Update qs footer to 56dp."
TreeHugger Robot [Wed, 14 Feb 2018 20:29:57 +0000 (20:29 +0000)]
Merge "Update qs footer to 56dp."

6 years agoMerge "Camera: Remove individual streaming request limitation"
TreeHugger Robot [Wed, 14 Feb 2018 20:25:38 +0000 (20:25 +0000)]
Merge "Camera: Remove individual streaming request limitation"

6 years agoMerge "Add support for url_bar sanitization on autofill compat mode."
TreeHugger Robot [Wed, 14 Feb 2018 20:22:31 +0000 (20:22 +0000)]
Merge "Add support for url_bar sanitization on autofill compat mode."

6 years agoMerge "Remove unused variables in statsd, and make more warnings show."
TreeHugger Robot [Wed, 14 Feb 2018 20:12:18 +0000 (20:12 +0000)]
Merge "Remove unused variables in statsd, and make more warnings show."

6 years agoChange the cert parsing debugging logs to be more meaningful and less
Bo Zhu [Wed, 14 Feb 2018 19:50:57 +0000 (11:50 -0800)]
Change the cert parsing debugging logs to be more meaningful and less
noisy

Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Iee92d0c3fdea597e6ba4c9471554082360a724c7

6 years agoNo alarm warning in dnd dialog if alarms allowed
Beverly [Wed, 14 Feb 2018 16:31:50 +0000 (11:31 -0500)]
No alarm warning in dnd dialog if alarms allowed

Test: make ROBOTEST_FILTER=EnableZenModeDialogTest RunSettingsLibRoboTests -j40
Change-Id: I3a60e6e8e603ecf301076c875693e6fccf9d6ff4
Fixes: 73343468

6 years agoMerge "Remove Activity#setDisablePreviewScreenshots from system API"
Wale Ogunwale [Wed, 14 Feb 2018 19:39:12 +0000 (19:39 +0000)]
Merge "Remove Activity#setDisablePreviewScreenshots from system API"

6 years agoUpdate the battery charging status when turning battery on/off.
Sudheer Shanka [Wed, 14 Feb 2018 19:18:39 +0000 (11:18 -0800)]
Update the battery charging status when turning battery on/off.

Bug: 72656089
Test: atest com.android.server.net.ConnOnActivityStartTest
Change-Id: I5a9a61c82f204a56dedbc06294fef2aab485c334

6 years agoMerge "Updates statsd atoms.proto with small changes."
TreeHugger Robot [Wed, 14 Feb 2018 19:18:39 +0000 (19:18 +0000)]
Merge "Updates statsd atoms.proto with small changes."

6 years agoMerge "Move default bounds to top right of the screen for QuickStep."
Tracy Zhou [Wed, 14 Feb 2018 19:07:21 +0000 (19:07 +0000)]
Merge "Move default bounds to top right of the screen for QuickStep."

6 years agoMerge "Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862...
Android Build Merger (Role) [Wed, 14 Feb 2018 19:01:42 +0000 (19:01 +0000)]
Merge "Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20 am: d0f327cc60 am: 2c426bc3f4  -s ours"

6 years agoMerge changes from topic "uac_jackdetect"
Andrew Chant [Wed, 14 Feb 2018 19:00:23 +0000 (19:00 +0000)]
Merge changes from topic "uac_jackdetect"

* changes:
  Add a selected UsbAlsaDevice
  ALSA jack detection support
  Synchronize UsbAlsaDevice, rename playback/capture.

6 years agoMerge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20...
Nicolas Geoffray [Wed, 14 Feb 2018 19:00:18 +0000 (19:00 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20 am: d0f327cc60
am: 2c426bc3f4  -s ours

Change-Id: I2451fc3c54cab4c1aa1d426e2e45e4bf8a550880

6 years agoMerge "Fix PDK build"
Andrew Hsieh [Wed, 14 Feb 2018 18:55:11 +0000 (18:55 +0000)]
Merge "Fix PDK build"

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Wed, 14 Feb 2018 18:54:06 +0000 (18:54 +0000)]
Merge "add a current table in CarrierIdProvider"

6 years agoMerge "Use new icon for lockdown global action"
Chad Brubaker [Wed, 14 Feb 2018 18:49:20 +0000 (18:49 +0000)]
Merge "Use new icon for lockdown global action"

6 years agoMerge "Update the cache with the snapshot requested during recents animation"
TreeHugger Robot [Wed, 14 Feb 2018 18:38:45 +0000 (18:38 +0000)]
Merge "Update the cache with the snapshot requested during recents animation"

6 years agoFix issue with quickscrub not getting reset when the state changes
Winson Chung [Wed, 14 Feb 2018 18:13:41 +0000 (10:13 -0800)]
Fix issue with quickscrub not getting reset when the state changes

- When resuming launching in forced-portrait, the orientation of the device
  changes, which causes a state transition in QuickScrub. In such a case,
  we should end the previous gesture before changing state. In addition, we
  need to bake the home button view that we are animating, otherwise we may
  have already updated the home button view by the time we get the state
  change (and will reset the wrong view's state).

Bug: 73338008
Test: Go into a forced landscape activity, try to quickscrub home and
      ensure that the button is reset

Change-Id: Icb09248648dd9643a438344d2357cb42913d1260

6 years agoMerge "Update BatteryStats cpustats collection to be asynchronous."
Sudheer Shanka [Wed, 14 Feb 2018 18:34:59 +0000 (18:34 +0000)]
Merge "Update BatteryStats cpustats collection to be asynchronous."

6 years agoAdding some more owners to systemUI
Sunny Goyal [Wed, 14 Feb 2018 18:27:46 +0000 (10:27 -0800)]
Adding some more owners to systemUI

Test: n/a
Change-Id: I673eae29d8027a0ae340eb3f280af25b7563d233

6 years agoMerge "Updating settings icon in frameworks/base/core"
TreeHugger Robot [Wed, 14 Feb 2018 18:24:57 +0000 (18:24 +0000)]
Merge "Updating settings icon in frameworks/base/core"

6 years agoMerge "Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API"
TreeHugger Robot [Wed, 14 Feb 2018 18:07:48 +0000 (18:07 +0000)]
Merge "Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API"

6 years agoAdd support for url_bar sanitization on autofill compat mode.
Felipe Leme [Wed, 14 Feb 2018 01:25:44 +0000 (17:25 -0800)]
Add support for url_bar sanitization on autofill compat mode.

Browsers typically use a standard class (like EditView) to hold the URL of the
page being loaded, and the content of that view is sanitized in the initial
autofill request. So, when running in compat mode, we need a mechanism to let
services tell which view contains the URL, so we can convert its contents to
a sanitized webScheme + webDomain pair or properties.

Test: manual verification
Fixes: 72994424

Change-Id: I8be5f3533d6c31f81f28036dc51d5de10a528079

6 years agoCascading timeouts for App Standby
Amith Yamasani [Sun, 11 Feb 2018 00:46:38 +0000 (16:46 -0800)]
Cascading timeouts for App Standby

Fixes overlapping of predictions, strong usage events
and mild usage events which have forced durations.

Having separate timeouts for ACTIVE and WORKING_SET
and moving between them when necessary prevents
getting stuck in the wrong state (higher) for longer
than necessary.

Bug: 73294677
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I35530e62cffe2c86945b5da64a41704f807708ce

6 years agoMerge "Use elapsed realtime instead of times based on wall clock, which can jump...
TreeHugger Robot [Wed, 14 Feb 2018 17:17:07 +0000 (17:17 +0000)]
Merge "Use elapsed realtime instead of times based on wall clock, which can jump around and go backwards."

6 years agoMove default bounds to top right of the screen for QuickStep.
Tracy Zhou [Tue, 13 Feb 2018 23:15:43 +0000 (15:15 -0800)]
Move default bounds to top right of the screen for QuickStep.

Bug: 73299590
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: Icb261bda15c373f8ec5fc126a0f6f9fba4eb77cd

6 years agoMerge "Handle KeyEvent.FLAG_LONG_PRESS on power key"
Erik Wolsheimer [Wed, 14 Feb 2018 16:46:40 +0000 (16:46 +0000)]
Merge "Handle KeyEvent.FLAG_LONG_PRESS on power key"

6 years agoMerge "Fix flicker with remote animations"
Chavi Weingarten [Wed, 14 Feb 2018 16:32:14 +0000 (16:32 +0000)]
Merge "Fix flicker with remote animations"

6 years agoMerge "Use destroy in transaction for animation"
Chavi Weingarten [Wed, 14 Feb 2018 16:31:36 +0000 (16:31 +0000)]
Merge "Use destroy in transaction for animation"

6 years agoUpdate qs footer to 56dp.
Amin Shaikh [Tue, 13 Feb 2018 22:55:14 +0000 (17:55 -0500)]
Update qs footer to 56dp.

- Update qs footer icons to 18dp
- Animate out drag handle when QS footer is expanded
- Change the qs footer actions container to optimize for alpha
animations.

Bug: 72382393
Bug: 73312177
Test: visual
Change-Id: If2700d4ae13612924443712b2b03fb7660b36681

6 years agoUpdating settings icon in frameworks/base/core
Beverly [Tue, 13 Feb 2018 19:37:38 +0000 (14:37 -0500)]
Updating settings icon in frameworks/base/core

Test: manual
Bug: 73110052
Change-Id: I9ef3ea51606c23da3da288279c9ab207bd7602a5

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650
Jiyong Park [Wed, 14 Feb 2018 16:17:16 +0000 (16:17 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650
am: 78c71ca44b

Change-Id: I4e97594663b711f18a3940e002fceac215575d1c

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps"
Jiyong Park [Wed, 14 Feb 2018 16:08:59 +0000 (16:08 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps"
am: 779f561650

Change-Id: Iccbb6f4f98aece6ee8d5f41c95e5f0eb56bff94e

6 years agoRemove Activity#setDisablePreviewScreenshots from system API
Wale Ogunwale [Wed, 14 Feb 2018 15:15:20 +0000 (07:15 -0800)]
Remove Activity#setDisablePreviewScreenshots from system API

Change-Id: Ie106fb77f4645cc0c9061f4b6f7a4546711e5cb3
Bug: 73250551
Test: N/A

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps"
Treehugger Robot [Wed, 14 Feb 2018 15:02:22 +0000 (15:02 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps"

6 years agoEnforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API
Wale Ogunwale [Wed, 14 Feb 2018 14:59:14 +0000 (06:59 -0800)]
Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API

Change-Id: Id8cb1883ea61979701d11bc9c46852eb64f83413
Fixes: 67109817
Test: builds

6 years agoMerge "Deprecated onCreateThumbnail"
Wale Ogunwale [Wed, 14 Feb 2018 14:28:18 +0000 (14:28 +0000)]
Merge "Deprecated onCreateThumbnail"

6 years agoMerge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20
Nicolas Geoffray [Wed, 14 Feb 2018 14:07:55 +0000 (14:07 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20
am: d0f327cc60

Change-Id: Iaa313ddff5b22ed22baa916d931befc7a59090ba

6 years agoMerge "Refactor runtime hidden API flag from negative to positive"
Nicolas Geoffray [Wed, 14 Feb 2018 13:57:37 +0000 (13:57 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive"
am: 46b4862d20

Change-Id: Ib750c357265a13f60032104371d84974df17776e

6 years agoMerge "NIAP: Log cert validation and key integrity failures."
TreeHugger Robot [Wed, 14 Feb 2018 13:45:40 +0000 (13:45 +0000)]
Merge "NIAP: Log cert validation and key integrity failures."

6 years agoMerge "Hidden API blacklisting killswitch."
TreeHugger Robot [Wed, 14 Feb 2018 13:44:42 +0000 (13:44 +0000)]
Merge "Hidden API blacklisting killswitch."

6 years agoMerge "Refactor runtime hidden API flag from negative to positive"
Nicolas Geoffray [Wed, 14 Feb 2018 11:41:02 +0000 (11:41 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive"

6 years agoHidden API blacklisting killswitch.
Mathew Inwood [Thu, 8 Feb 2018 12:23:59 +0000 (12:23 +0000)]
Hidden API blacklisting killswitch.

Just support "*" for now, meaning disable all API blacklisting for all
apps.

Test: Manually verified by:
- installing test app that accesses hidden API
- manually blacklist the API
- $ adb shell settings put global hidden_api_blacklist_exemptions \\*

Change-Id: I9a41a104742c9aaaf3a753e7b0f3a1106e37d4d3

6 years agoMerge "add swapPss of native process to totalSwapPss" am: 0db84fcc8f am: c3af6331e5
Martijn Coenen [Wed, 14 Feb 2018 11:27:44 +0000 (11:27 +0000)]
Merge "add swapPss of native process to totalSwapPss" am: 0db84fcc8f am: c3af6331e5
am: cf1c563fdd

Change-Id: I196cc30e5b9512712428d8e9524441070395a189

6 years agoMerge "Show logout button on keyguard"
Alex Chau [Wed, 14 Feb 2018 11:22:50 +0000 (11:22 +0000)]
Merge "Show logout button on keyguard"

6 years agoMerge "add swapPss of native process to totalSwapPss" am: 0db84fcc8f
Martijn Coenen [Wed, 14 Feb 2018 11:15:37 +0000 (11:15 +0000)]
Merge "add swapPss of native process to totalSwapPss" am: 0db84fcc8f
am: c3af6331e5

Change-Id: I4e8dbdd04ae92d1b6882ac476e8b4990a34bbb27

6 years agoMerge "add swapPss of native process to totalSwapPss"
Martijn Coenen [Wed, 14 Feb 2018 11:08:54 +0000 (11:08 +0000)]
Merge "add swapPss of native process to totalSwapPss"
am: 0db84fcc8f

Change-Id: I615e245f2f0f50f2afe8726ada55a81101fce6bb

6 years agoRefactor runtime hidden API flag from negative to positive
David Brazdil [Tue, 13 Feb 2018 17:04:26 +0000 (17:04 +0000)]
Refactor runtime hidden API flag from negative to positive

There are only two situations in which we want to enable hidden API
access flag checks. Turning the flag from DISABLE_ to ENABLE_
simplifies logic in ART and reduces the number places where the flag
had to be passed down to ART.

Bug: 64382372
Test: boot device, install and run apps, check log messages

(cherry picked from commit f7e31c0a2b69e97662e2bdeb7e5b5c6d0a7f995c)

Change-Id: Ib2f70696d98c6e1500d1d419d6acf0a8d0487213

6 years agoMerge "add swapPss of native process to totalSwapPss"
Martijn Coenen [Wed, 14 Feb 2018 09:17:32 +0000 (09:17 +0000)]
Merge "add swapPss of native process to totalSwapPss"

6 years agoMerge "Fix a bug of not deleting previously added config files on disk"
TreeHugger Robot [Wed, 14 Feb 2018 08:00:10 +0000 (08:00 +0000)]
Merge "Fix a bug of not deleting previously added config files on disk"

6 years agoFix PDK build
Logan Chien [Wed, 14 Feb 2018 05:53:04 +0000 (13:53 +0800)]
Fix PDK build

This commit moves "IConfirmationPromptCallback.aidl" and
"IKeystoreService.aidl" to "system/security/keystore/binder" so that
"libkeystore_aidl" can be built in PDK builds.

Test: Run `cts-tradefed run cts -m CtsKeystoreTestCases` on Pixel 2017
and the test results are idential with and without this CL.

Test: Build PDK with special manifest described in
http://b/69539820#comment18 and http://b/69539820#comment19.

Test: Build a target (described in http://b/72961456) with
`platform.zip` built from master FSK source tree.

Bug: 69539820
Bug: 72961456
Change-Id: I7350f0ca943b15a6f3e40023a6cc299bdf8aed0e

6 years agoadd a current table in CarrierIdProvider
fionaxu [Mon, 29 Jan 2018 22:08:12 +0000 (14:08 -0800)]
add a current table in CarrierIdProvider

restructure CarrierIdProvider into two tables
1. All - a private table which stores a complete mapping of all carriers
2. Current - a public table only stores the carrier identification of the
current active subs. require no permission to query.
expose the content url to public so that apps could be
notified on carrier identity change either on background or foreground.

Bug: 72571475
Test: runtest --path CarrierIdProviderTest.java
Test: Manual
Change-Id: If2a20288e63d25343f5bb582b35564d769a4e13b
(cherry picked from commit 3d00d698d7d6c10628076cca8df30adb50c52563)
Merged-in: If2a20288e63d25343f5bb582b35564d769a4e13b

6 years agoUse elapsed realtime instead of times based on wall clock, which can jump around...
Yangster-mac [Thu, 8 Feb 2018 23:24:38 +0000 (15:24 -0800)]
Use elapsed realtime instead of times based on wall clock, which can jump around and go backwards.

Test: statsd unit test passed

Change-Id: Ib541df99231e171b3be2a24f75632693e36da90e

6 years agoFix link-type check warning on PMTest_Java* test apps
Jiyong Park [Wed, 14 Feb 2018 07:26:04 +0000 (16:26 +0900)]
Fix link-type check warning on PMTest_Java* test apps

The test apps are built with SDK, but are using native libraries built
without SDK (libpmtest(32|64|dual)). This has been causing link-type check
warning, which will be errors soon.

Fixing the warning by building the native libraries with SDK.

Bug: 69899800
Test: mma -j under
frameworks/base/core/tests/hosttests/test-apps/SharedUid is successful
and does not show any link-type check warning

Change-Id: I660edb9accd8965ddd471f88f2b47f6b7285b83f

6 years agoMerge "MediaSessionService: Detects changes media session service apps"
TreeHugger Robot [Wed, 14 Feb 2018 07:16:11 +0000 (07:16 +0000)]
Merge "MediaSessionService: Detects changes media session service apps"

6 years agoFix a bug of not deleting previously added config files on disk
yro [Wed, 14 Feb 2018 06:06:34 +0000 (22:06 -0800)]
Fix a bug of not deleting previously added config files on disk

Bug: 73304022
Test: statsd_test
Change-Id: Ic024d40da97ed79cb405a5da1f0c9abac0436b34

6 years agoMerge "Refactor ZygoteProcess to deal in LocalSocketAddress." am: 9fda81e274 am:...
Robert Sesek [Wed, 14 Feb 2018 05:54:15 +0000 (05:54 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress." am: 9fda81e274 am: 9b13db0938
am: 1bb6046a06  -s ours

Change-Id: I2d4378406be9341a55135e09749b2335321c40de

6 years agoMerge "Refactor ZygoteProcess to deal in LocalSocketAddress." am: 9fda81e274
Robert Sesek [Wed, 14 Feb 2018 05:43:52 +0000 (05:43 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress." am: 9fda81e274
am: 9b13db0938

Change-Id: Ic977e64157b6c140f4ac6c22643ca1b9375f855c

6 years agoMediaSessionService: Detects changes media session service apps
Jaewan Kim [Mon, 12 Feb 2018 12:23:06 +0000 (21:23 +0900)]
MediaSessionService: Detects changes media session service apps

Bug: 72613128
Test: Following tests
  - Manually uninstall and install MediaComponents test apk and verified
    that 'dumpsys media_session' is updated accordingly.
  - Manually disabled/enabled a service in the MediaComponents test apk
    and verified that 'dumpsys media_session' is updated accordingly.
  - Manually reinstalled the MediaComponents test apk and verified that
    the session service is updated only once.
  - Run all MediaComponents tests once
Change-Id: I869853a40fb81e71f0188e84711f9d4a763defe2

6 years agoMerge "Refactor ZygoteProcess to deal in LocalSocketAddress."
Robert Sesek [Wed, 14 Feb 2018 05:36:58 +0000 (05:36 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress."
am: 9fda81e274

Change-Id: If044eb9eb5b27e7fa21d750dd09a8e56c07b8e50

6 years agoMerge "Add feature flag for assist gesture hardware."
Philip Quinn [Wed, 14 Feb 2018 05:17:21 +0000 (05:17 +0000)]
Merge "Add feature flag for assist gesture hardware."

6 years agoMerge changes from topic "quickstep-dogfood"
Sunny Goyal [Wed, 14 Feb 2018 04:42:49 +0000 (04:42 +0000)]
Merge changes from topic "quickstep-dogfood"

* changes:
  Turn on quickscrub by default from system property
  Adding hit target hint from SysUI to launcher to defer recents animation

6 years agoMerge "MediaSession: Rename mCallbackHandler to mCallback"
TreeHugger Robot [Wed, 14 Feb 2018 03:58:51 +0000 (03:58 +0000)]
Merge "MediaSession: Rename mCallbackHandler to mCallback"

6 years agoMerge "Refactor ZygoteProcess to deal in LocalSocketAddress."
Treehugger Robot [Wed, 14 Feb 2018 03:35:37 +0000 (03:35 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress."

6 years agoMerge "fix uid for ActivityForegroundStateChanged atom"
TreeHugger Robot [Wed, 14 Feb 2018 03:30:48 +0000 (03:30 +0000)]
Merge "fix uid for ActivityForegroundStateChanged atom"

6 years agoAdd feature flag for assist gesture hardware.
Philip Quinn [Sat, 10 Feb 2018 01:56:40 +0000 (17:56 -0800)]
Add feature flag for assist gesture hardware.

Bug: 73176604
Test: make -j

Change-Id: I59f1c1638afe74a596c04e379d6d63b7f8c2df25

6 years agoTurn on quickscrub by default from system property
Matthew Ng [Wed, 14 Feb 2018 00:00:34 +0000 (16:00 -0800)]
Turn on quickscrub by default from system property

Set the system property for enabling quick step true by default.

Test: move the home button
Bug: 70180755
Change-Id: I6cce8823585f5eb8a25d0b70433bc565ba7593c7

6 years agoAdding hit target hint from SysUI to launcher to defer recents animation
Winson Chung [Tue, 13 Feb 2018 18:37:35 +0000 (10:37 -0800)]
Adding hit target hint from SysUI to launcher to defer recents animation

Bug: 73242451
Test: Swipe up over back with suitable launcher build and ensure that we
      don't start the recents animation on touch down

Change-Id: I3022ced8803caf9555efdbd9681c8ee2e627a216

6 years agoMerge "Add System API for system update clients"
Rubin Xu [Wed, 14 Feb 2018 02:14:59 +0000 (02:14 +0000)]
Merge "Add System API for system update clients"

6 years agoMerge "Fixed an issue where the notification wasn't clickable"
TreeHugger Robot [Wed, 14 Feb 2018 02:13:06 +0000 (02:13 +0000)]
Merge "Fixed an issue where the notification wasn't clickable"

6 years agoMake the platform proto naming consistent, Part 1
Yi Jin [Thu, 25 Jan 2018 05:48:36 +0000 (21:48 -0800)]
Make the platform proto naming consistent, Part 1
Change proto names in incident_helper

Bug: 72474563
Test: atest incident_helper_test
Change-Id: Ia416ef9726a19d247e62d7de1028874408ec53f1

6 years agoMerge "fix uid for ForegroundServiceStateChanged"
TreeHugger Robot [Wed, 14 Feb 2018 02:01:30 +0000 (02:01 +0000)]
Merge "fix uid for ForegroundServiceStateChanged"

6 years agoMediaSession: Rename mCallbackHandler to mCallback
Sungsoo Lim [Tue, 13 Feb 2018 00:40:13 +0000 (09:40 +0900)]
MediaSession: Rename mCallbackHandler to mCallback

Support library uses reflection to the variable, mCallback, of
MediaSession. In order not to break the existing support lib
behavior on P devices, we need to keep the name.

Bug: 72979099
Test: version-compat-tests on P device
Change-Id: I5fd6c786d6a988777b94a3eb4f23d885202daa2a

6 years agoMerge "Statsd_test update for rounding up alarms"
TreeHugger Robot [Wed, 14 Feb 2018 01:36:08 +0000 (01:36 +0000)]
Merge "Statsd_test update for rounding up alarms"

6 years agoUpdate the cache with the snapshot requested during recents animation
Winson Chung [Thu, 1 Feb 2018 19:41:43 +0000 (11:41 -0800)]
Update the cache with the snapshot requested during recents animation

- When a screenshot is requested by the recents animation runner, update
  the task snapshot cache to ensure that the same snapshot is used for the
  next starting animation. In doing so, we also need to prevent the default
  logic from taking a new snapshot when the app is hidden at the end of the
  recents animation.

Bug: 70180552
Test: atest TaskSnapshotControllerTest
Change-Id: Ib081ba324587b0719edb370e3c253c86f5e6c1b6

6 years agoMerge "Fix a bug in LogEvent.GetLong"
TreeHugger Robot [Wed, 14 Feb 2018 01:32:01 +0000 (01:32 +0000)]
Merge "Fix a bug in LogEvent.GetLong"