OSDN Git Service

android-x86/frameworks-base.git
6 years agovold now deletes misc_ce/misc_de
Paul Crowley [Tue, 17 Oct 2017 17:54:12 +0000 (10:54 -0700)]
vold now deletes misc_ce/misc_de

Bug: 25861755
Test: create user, populate vold subdirectory, delete user, check logs
Change-Id: I95f2d8d52ea9cdb621b6bf0b18d6151721dcf8d9

6 years agoMerge "Change Bluetooth HID Profile Name (1/11)"
TreeHugger Robot [Mon, 23 Oct 2017 21:15:46 +0000 (21:15 +0000)]
Merge "Change Bluetooth HID Profile Name (1/11)"

6 years agoMerge "Add config to display VM number as default number of CF" am: 3e26cb18fb am...
Jordan Liu [Mon, 23 Oct 2017 21:04:29 +0000 (21:04 +0000)]
Merge "Add config to display VM number as default number of CF" am: 3e26cb18fb am: 9953542c3a
am: d44b0c454f

Change-Id: I8b9025467e1ebf9c74438eddbf1273fc53f3af53

6 years agoMerge "Add config to display VM number as default number of CF" am: 3e26cb18fb
Jordan Liu [Mon, 23 Oct 2017 20:48:04 +0000 (20:48 +0000)]
Merge "Add config to display VM number as default number of CF" am: 3e26cb18fb
am: 9953542c3a

Change-Id: I93696ab322ca9a2edcbf03efeb33cbf9f6c6279a

6 years agoMerge "Add config to display VM number as default number of CF"
Jordan Liu [Mon, 23 Oct 2017 20:39:20 +0000 (20:39 +0000)]
Merge "Add config to display VM number as default number of CF"
am: 3e26cb18fb

Change-Id: Ie332a31b699b375d7a9ff56f314346546244010e

6 years agoMerge "Add config to display VM number as default number of CF"
Jordan Liu [Mon, 23 Oct 2017 20:27:28 +0000 (20:27 +0000)]
Merge "Add config to display VM number as default number of CF"

6 years agoMerge "Allow package local mocking for ActivityManager Unit Tests."
Bryce Lee [Mon, 23 Oct 2017 20:07:42 +0000 (20:07 +0000)]
Merge "Allow package local mocking for ActivityManager Unit Tests."

6 years agoMerge "[PASSPOINT] Add API to return all matching configurations"
Etan Cohen [Mon, 23 Oct 2017 19:58:32 +0000 (19:58 +0000)]
Merge "[PASSPOINT] Add API to return all matching configurations"

6 years agoMerge "Add pushing many batterystats events to statsd"
TreeHugger Robot [Mon, 23 Oct 2017 19:43:50 +0000 (19:43 +0000)]
Merge "Add pushing many batterystats events to statsd"

6 years agoMerge "Updated the whitelist to match the state of platform apps"
Fyodor Kupolov [Mon, 23 Oct 2017 19:34:31 +0000 (19:34 +0000)]
Merge "Updated the whitelist to match the state of platform apps"

6 years agoMerge "Throw clear error if a row doesn't fit into CursorWindow"
Fyodor Kupolov [Mon, 23 Oct 2017 18:44:23 +0000 (18:44 +0000)]
Merge "Throw clear error if a row doesn't fit into CursorWindow"

6 years agoMerge "Rename registerLanguageList to registerLocaleList."
TreeHugger Robot [Mon, 23 Oct 2017 18:37:49 +0000 (18:37 +0000)]
Merge "Rename registerLanguageList to registerLocaleList."

6 years agoMerge "Refactor MetricProducer so that a big chunk of boiler plate code can be removed."
TreeHugger Robot [Mon, 23 Oct 2017 18:21:04 +0000 (18:21 +0000)]
Merge "Refactor MetricProducer so that a big chunk of boiler plate code can be removed."

6 years agoMerge "Don't wait for NFC when shutting down."
TreeHugger Robot [Mon, 23 Oct 2017 18:04:13 +0000 (18:04 +0000)]
Merge "Don't wait for NFC when shutting down."

6 years agoMerge "Add setTime and setTimeZone API."
Yueming Wang [Mon, 23 Oct 2017 17:29:09 +0000 (17:29 +0000)]
Merge "Add setTime and setTimeZone API."

6 years agoAdd pushing many batterystats events to statsd
Bookatz [Tue, 10 Oct 2017 22:49:28 +0000 (15:49 -0700)]
Add pushing many batterystats events to statsd

Statsd is now informed for starts/stops/etc of the following events:
BleScan
BleScanUnoptimized
BleScanResult
Sensor
Gps
Sync
ScheduledJob
UidWakelock (aggregate wakelock)
LongPartialWakelock
BatterySaverMode (power save mode)
DeviceIdleMode (doze)
ScreenBrightness
Audio
Video (media codec)
Camera
Flashlight
ProcessLifeCycle

TODO: Note that, although tags are java constants (e.g.
StatsLog.SCREEN_STATE), the values passed in for states do not have java
constants associated with them, so we use literals (0 vs 1 for off vs
on). In the future, when corresponding java constants exist, these can
be updated.

Test: manually confirmed statslog received each type of events
Change-Id: I24282cdb56265bba61dceb0932112804273dcfc8

6 years agoAllow package local mocking for ActivityManager Unit Tests.
Bryce Lee [Mon, 23 Oct 2017 17:01:21 +0000 (10:01 -0700)]
Allow package local mocking for ActivityManager Unit Tests.

Test: bit FrameworksServicesTests:com.android.server.am.ActivityRecordTests
Change-Id: I0d1c807681e945b65e2dd9a7d0baa5fc59c8d259

6 years agoChange Bluetooth HID Profile Name (1/11)
Hansong Zhang [Fri, 20 Oct 2017 22:55:59 +0000 (15:55 -0700)]
Change Bluetooth HID Profile Name (1/11)

Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f

6 years agoMerge "Removed .aidl files that are not used on other.aidl files."
TreeHugger Robot [Mon, 23 Oct 2017 15:22:49 +0000 (15:22 +0000)]
Merge "Removed .aidl files that are not used on other.aidl files."

6 years agoMerge "[Magnifier - 5] Auto invalidate and misc"
TreeHugger Robot [Mon, 23 Oct 2017 14:09:01 +0000 (14:09 +0000)]
Merge "[Magnifier - 5] Auto invalidate and misc"

6 years agoMerge "Allow mocking package local stuff"
TreeHugger Robot [Mon, 23 Oct 2017 13:04:28 +0000 (13:04 +0000)]
Merge "Allow mocking package local stuff"

6 years agoMerge "AM: clean up screen pinning toasts."
Charles He [Mon, 23 Oct 2017 12:41:04 +0000 (12:41 +0000)]
Merge "AM: clean up screen pinning toasts."

6 years agoAllow mocking package local stuff
Jorim Jaggi [Fri, 20 Oct 2017 13:07:41 +0000 (15:07 +0200)]
Allow mocking package local stuff

Test: Tested in depending CL
Change-Id: If3a794fe6cc21b99c7b02a6af52d9d9c1027c0ae

6 years ago[Magnifier - 5] Auto invalidate and misc
Andrei Stingaceanu [Thu, 19 Oct 2017 16:02:22 +0000 (17:02 +0100)]
[Magnifier - 5] Auto invalidate and misc

* due to having to make the API public, drop the
  invalidate_by_client strategy in favor of self invalidation
  by polling
* in Magnifier#show(...) stop sending screen coordinates in favor
  of view coordinates
* UI/UX:
** width from 200dp to 164dp
** fixed the shadow depth (elevation)
** fixed the rounded corners (2dp)

Bug: 63531115
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: manual test that shows the magnifier working
Change-Id: I6451767b0a618c0c4ea396ba3ee3144523dadc57

6 years agoAM: clean up screen pinning toasts.
Charles He [Mon, 23 Oct 2017 10:06:23 +0000 (11:06 +0100)]
AM: clean up screen pinning toasts.

We remove the unnecessary handler thread logic in LockTaskNotify, as all
toasts are already called from the handler thread in LockTaskController.

Bug: 67934620
Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest
Change-Id: I5019158b649b7b5f2eac4759dab817fa5f443a76

6 years agoAdd setTime and setTimeZone API.
yuemingw [Thu, 12 Oct 2017 15:52:11 +0000 (16:52 +0100)]
Add setTime and setTimeZone API.

Fix: 67497358
Test: wait for cts test in the following cl. For unitest:
 runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java

Add setTime and setTimeZone API in devicepolicymanager.
Add unitest for each API.
Following design doc: https://docs.google.com/document/d/1NV93mr2CT157S_haru1QbKo9HLeP9iPM9eMiGfVmfCM/edit

Change-Id: I188c27b0b99137b6f01e42ae1ad49356ce0a81b2

6 years agoMerge "Use final release of ASM 6.0" am: d5d697b023 am: a74b04cd70 am: baa428031a
Colin Cross [Sun, 22 Oct 2017 02:28:50 +0000 (02:28 +0000)]
Merge "Use final release of ASM 6.0" am: d5d697b023 am: a74b04cd70 am: baa428031a
am: 710fac6ab7

Change-Id: Ic726773fd17365d4821b63bcfc6d3d36330122a1

6 years agoMerge "Use final release of ASM 6.0" am: d5d697b023 am: a74b04cd70
Colin Cross [Sun, 22 Oct 2017 02:16:44 +0000 (02:16 +0000)]
Merge "Use final release of ASM 6.0" am: d5d697b023 am: a74b04cd70
am: baa428031a

Change-Id: I439fa4aa9f2fb22f372a6a76ab07676c0c51e429

6 years agoMerge "Use final release of ASM 6.0" am: d5d697b023
Colin Cross [Sun, 22 Oct 2017 02:04:59 +0000 (02:04 +0000)]
Merge "Use final release of ASM 6.0" am: d5d697b023
am: a74b04cd70

Change-Id: I6bd5af249d9d1db597139207e06d002956df89a6

6 years agoMerge "Use final release of ASM 6.0"
Colin Cross [Sun, 22 Oct 2017 01:46:39 +0000 (01:46 +0000)]
Merge "Use final release of ASM 6.0"
am: d5d697b023

Change-Id: I94524349eaa38c020d932f301fe36f99952862bc

6 years agoMerge "Use final release of ASM 6.0"
Colin Cross [Sun, 22 Oct 2017 01:37:11 +0000 (01:37 +0000)]
Merge "Use final release of ASM 6.0"

6 years agoMerge "Add Runnable mechanism to WakeupMessage" am: 5964b55654 am: d870cd33f5 am...
Etan Cohen [Sat, 21 Oct 2017 02:46:29 +0000 (02:46 +0000)]
Merge "Add Runnable mechanism to WakeupMessage" am: 5964b55654 am: d870cd33f5 am: b4e455552f
am: 4655548617

Change-Id: Ifb271f45a06399315f55b8fff7abd0e2a56dab8e

6 years agoMerge "Add Runnable mechanism to WakeupMessage" am: 5964b55654 am: d870cd33f5
Etan Cohen [Sat, 21 Oct 2017 02:35:29 +0000 (02:35 +0000)]
Merge "Add Runnable mechanism to WakeupMessage" am: 5964b55654 am: d870cd33f5
am: b4e455552f

Change-Id: Iff399d348193b8028e3927c1003d887c211470fb

6 years agoMerge "Add Runnable mechanism to WakeupMessage" am: 5964b55654
Etan Cohen [Sat, 21 Oct 2017 02:26:41 +0000 (02:26 +0000)]
Merge "Add Runnable mechanism to WakeupMessage" am: 5964b55654
am: d870cd33f5

Change-Id: I2d0f1dd85e97764159eda8239c344e95acd41ee9

6 years agoMerge "Binding to the RemoteViewsService directly from the host"
Sunny Goyal [Sat, 21 Oct 2017 02:19:53 +0000 (02:19 +0000)]
Merge "Binding to the RemoteViewsService directly from the host"

6 years agoMerge "Add Runnable mechanism to WakeupMessage"
Etan Cohen [Sat, 21 Oct 2017 02:17:30 +0000 (02:17 +0000)]
Merge "Add Runnable mechanism to WakeupMessage"
am: 5964b55654

Change-Id: Iab0414f644223d69602e8e93a636eaa46137d873

6 years agoMerge "Add Runnable mechanism to WakeupMessage"
Etan Cohen [Sat, 21 Oct 2017 02:04:50 +0000 (02:04 +0000)]
Merge "Add Runnable mechanism to WakeupMessage"

6 years agoMerge "Make media projection permission dialog configurable"
Jaesung Chung [Sat, 21 Oct 2017 01:32:50 +0000 (01:32 +0000)]
Merge "Make media projection permission dialog configurable"

6 years agoMerge "Changes pulled data to use Parcel objects."
TreeHugger Robot [Sat, 21 Oct 2017 01:21:39 +0000 (01:21 +0000)]
Merge "Changes pulled data to use Parcel objects."

6 years agoThrow clear error if a row doesn't fit into CursorWindow
Fyodor Kupolov [Wed, 18 Oct 2017 22:03:21 +0000 (15:03 -0700)]
Throw clear error if a row doesn't fit into CursorWindow

Test: android.database.sqlite.cts.SQLiteCursorTest
Bug: 66946862
Change-Id: I0b3c7c8c0a4aac2f4b024c579b482cebe79231c0

6 years agoRename registerLanguageList to registerLocaleList.
Seigo Nonaka [Fri, 20 Oct 2017 01:57:47 +0000 (18:57 -0700)]
Rename registerLanguageList to registerLocaleList.

The minikin's public method FontStyle::registerLanguageList
is now FontStyle::registerLocaleList.

Bug: 65024629
Test: make checkbuild
Change-Id: Ia42ea8c56972d2f1f9d4429af4b04e7a4eba1a60

6 years agoMerge "Minor improvements on Autofill:"
TreeHugger Robot [Sat, 21 Oct 2017 00:50:28 +0000 (00:50 +0000)]
Merge "Minor improvements on Autofill:"

6 years agoMerge "Temporarily disable active task trimming."
TreeHugger Robot [Sat, 21 Oct 2017 00:20:25 +0000 (00:20 +0000)]
Merge "Temporarily disable active task trimming."

6 years agoRefactor MetricProducer so that a big chunk of boiler plate code can be removed.
Yao Chen [Fri, 20 Oct 2017 23:59:25 +0000 (16:59 -0700)]
Refactor MetricProducer so that a big chunk of boiler plate code can be removed.

Test: statsd_test
Change-Id: I62489b94c6dfceb0b08ce4147c331a8a785eabb4

6 years agoRemoved .aidl files that are not used on other.aidl files.
Felipe Leme [Sat, 21 Oct 2017 00:06:09 +0000 (17:06 -0700)]
Removed .aidl files that are not used on other.aidl files.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 67867469

Change-Id: I7f598d0016d49a3956d4be00ab5acca6a62d56eb

6 years agoMerge "Convert skpCaptureEnabled compile time flag into a property"
TreeHugger Robot [Fri, 20 Oct 2017 23:57:03 +0000 (23:57 +0000)]
Merge "Convert skpCaptureEnabled compile time flag into a property"

6 years agoMerge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4...
Hall Liu [Fri, 20 Oct 2017 23:54:21 +0000 (23:54 +0000)]
Merge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4 am: 8e055b131a
am: 0e09d9d9d5

Change-Id: Iabe447a1f7ff3b101bc176a00a470d7776e2629c

6 years agoMerge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4
Hall Liu [Fri, 20 Oct 2017 23:43:54 +0000 (23:43 +0000)]
Merge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4
am: 8e055b131a

Change-Id: Ic98d58505c311250fad7220bec88fcd89846b14e

6 years agoBinding to the RemoteViewsService directly from the host
Sunny Goyal [Wed, 18 Oct 2017 07:17:20 +0000 (00:17 -0700)]
Binding to the RemoteViewsService directly from the host

The host passes an IServiceConnection to the AppWidgetManager which
is used to bind to the RemoteViewsService. This allows the host to
recieve the connection callbacks directly instead of proxying it via
the AppWidgetManager. The host is also responsible for unbinding to
the service.

Bug: 26481160
Test: adb shell \
  am instrument -w -e class android.widget.RemoteViewsAdapterTest \
  com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Iac400095a319c3a43714c82fda7516be1ccc68af

6 years agoMerge "Check success before registering DeathRecipient" am: b6c4bc311a
Hall Liu [Fri, 20 Oct 2017 23:32:24 +0000 (23:32 +0000)]
Merge "Check success before registering DeathRecipient" am: b6c4bc311a
am: c336947da4

Change-Id: Ib2b1d0919a974ebe1ce397f643454ae179c1241d

6 years agoChanges pulled data to use Parcel objects.
David Chen [Mon, 16 Oct 2017 20:16:34 +0000 (13:16 -0700)]
Changes pulled data to use Parcel objects.

Previously, pulled data was returned as a string. We instead
return the data as an array of StatsLogEventWrapper, which encodes
using the binary-encoded format liblog uses. StatsD uses the same
parsing as for pushed events to convert these. This CL also fixes
the parsing of log_msg since the strings were previously emptied
before we had a chance to read the values.

Note that the cpp-aidl can't support List of Parcelable, so we
have to return the results as an array.

Test: Manual using the new command in StatsService to print results.
Also created a new unit-test by creating a dummy pull code of -1,
but this test is deleted since it required creating a fake output in
StatsCompanionService.

Change-Id: I1cfb9ea081a59292a60e934e8527adc40982ed80

6 years agoMerge "incidentd: dumping batterystats app data to proto"
TreeHugger Robot [Fri, 20 Oct 2017 23:22:48 +0000 (23:22 +0000)]
Merge "incidentd: dumping batterystats app data to proto"

6 years agoMerge "Removing stats service registration in system server"
Max Bires [Fri, 20 Oct 2017 23:22:22 +0000 (23:22 +0000)]
Merge "Removing stats service registration in system server"

6 years agoMerge "Check success before registering DeathRecipient"
Hall Liu [Fri, 20 Oct 2017 23:22:13 +0000 (23:22 +0000)]
Merge "Check success before registering DeathRecipient"
am: b6c4bc311a

Change-Id: Ie4a8f3ea3374d30a6a4dd9d22d9d48df0075c560

6 years agoMerge "Check success before registering DeathRecipient"
Hall Liu [Fri, 20 Oct 2017 23:10:09 +0000 (23:10 +0000)]
Merge "Check success before registering DeathRecipient"

6 years agoMerge "Perftests for StrictMode"
TreeHugger Robot [Fri, 20 Oct 2017 23:10:07 +0000 (23:10 +0000)]
Merge "Perftests for StrictMode"

6 years agoMerge "Remove an extra line in a comment."
TreeHugger Robot [Fri, 20 Oct 2017 23:03:45 +0000 (23:03 +0000)]
Merge "Remove an extra line in a comment."

6 years agoMerge "Let SuggestionService receive suggestion-launched signal."
TreeHugger Robot [Fri, 20 Oct 2017 22:52:57 +0000 (22:52 +0000)]
Merge "Let SuggestionService receive suggestion-launched signal."

6 years agoMerge "Fix crash in "Tree::updateBitmapCache""
TreeHugger Robot [Fri, 20 Oct 2017 22:20:57 +0000 (22:20 +0000)]
Merge "Fix crash in "Tree::updateBitmapCache""

6 years agoMerge "Reduce a11y shortcut timeout after dialog confirmation"
TreeHugger Robot [Fri, 20 Oct 2017 22:18:09 +0000 (22:18 +0000)]
Merge "Reduce a11y shortcut timeout after dialog confirmation"

6 years agoMerge "AM: remove toasts for LockTask mode."
Charles He [Fri, 20 Oct 2017 22:09:36 +0000 (22:09 +0000)]
Merge "AM: remove toasts for LockTask mode."

6 years agoPerftests for StrictMode
Kurt Nelson [Tue, 17 Oct 2017 22:34:07 +0000 (15:34 -0700)]
Perftests for StrictMode

Add perf tests for:

* Disk read thread policy violation
* URI permission VM policy violation
* Disk read across binder thread policy violation

lunch walleye-userdebug

timeThreadViolation_mean=293735
timeThreadViolation_median=290845
timeThreadViolation_min=285718
timeThreadViolation_standardDeviation=8368

timeCrossBinderThreadViolationNoStrictMode_mean=1327809
timeCrossBinderThreadViolationNoStrictMode_median=1317313
timeCrossBinderThreadViolationNoStrictMode_min=1260868
timeCrossBinderThreadViolationNoStrictMode_standardDeviation=58085

timeCrossBinderThreadViolation_mean=2754359
timeCrossBinderThreadViolation_median=3170103
timeCrossBinderThreadViolation_min=1773987
timeCrossBinderThreadViolation_standardDeviation=704586

timeVmViolationNoStrictMode_mean=10764979
timeVmViolationNoStrictMode_median=9762317
timeVmViolationNoStrictMode_min=5187496
timeVmViolationNoStrictMode_standardDeviation=4099275

timeVmViolation_mean=20003781
timeVmViolation_median=21730129
timeVmViolation_min=14321899
timeVmViolation_standardDeviation=3837213

timeThreadViolationNoStrictMode_mean=237276
timeThreadViolationNoStrictMode_median=241457
timeThreadViolationNoStrictMode_min=227193
timeThreadViolationNoStrictMode_standardDeviation=8892

Bug: 65966451
Test: adb shell am instrument -w -e class android.os.StrictModeTest \
    com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner

Change-Id: I97773e1060e21cf78649454973426985b33d3350

6 years agoMerge "Add OWNERS for folder wifi"
Lei Yu [Fri, 20 Oct 2017 22:00:04 +0000 (22:00 +0000)]
Merge "Add OWNERS for folder wifi"

6 years agoConvert skpCaptureEnabled compile time flag into a property
Stan Iliev [Tue, 19 Sep 2017 16:07:10 +0000 (12:07 -0400)]
Convert skpCaptureEnabled compile time flag into a property

Convert SkiaPipeline::skpCaptureEnabled into a system property.
Add ability to capture drawing in layers. Add ability to capture
animations/sequence of frames. Fix crash when recording a
TextureView.

Test: Ran capture script.
Change-Id: I463eecf6ec90a601a6cc172ad1901bd4bcc86ac8

6 years agoUpdated the whitelist to match the state of platform apps
Fyodor Kupolov [Thu, 19 Oct 2017 19:26:32 +0000 (12:26 -0700)]
Updated the whitelist to match the state of platform apps

Some apps in frameworks/base are only included in AOSP targets and
discrepancies weren't discovered by CI tests.

Test: manual
Bug: 67718369
Change-Id: If88aa90f4dcab51b6e11562cadbe003948b6c149

6 years agoMerge "Add FingerprintEnroll API"
TreeHugger Robot [Fri, 20 Oct 2017 21:41:01 +0000 (21:41 +0000)]
Merge "Add FingerprintEnroll API"

6 years agoMerge "Easy switching of logging for TextClassifier"
TreeHugger Robot [Fri, 20 Oct 2017 21:12:05 +0000 (21:12 +0000)]
Merge "Easy switching of logging for TextClassifier"

6 years agoMerge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa am: 8138b8b3ed...
Ben Schwartz [Fri, 20 Oct 2017 21:05:05 +0000 (21:05 +0000)]
Merge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa am: 8138b8b3ed am: 40177a615e
am: 942e125a1a

Change-Id: I92423f3f662382308832c1b02e1bfaac1c951b7f

6 years agoTemporarily disable active task trimming.
Winson Chung [Fri, 20 Oct 2017 20:54:39 +0000 (13:54 -0700)]
Temporarily disable active task trimming.

Bug: 68045330
Bug: 34270611
Test: runtest --path
frameworks/base/services/tests/servicestests/src/com/android/server/am/RecentTasksTest.java

Change-Id: I8c70d4f97867aca158de158d32be4b5fda1b3479

6 years agoMerge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa am: 8138b8b3ed
Ben Schwartz [Fri, 20 Oct 2017 20:51:57 +0000 (20:51 +0000)]
Merge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa am: 8138b8b3ed
am: 40177a615e

Change-Id: Ic394eb3a058bbcc84aec2e08728e19138ad794c3

6 years agoMerge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa
Ben Schwartz [Fri, 20 Oct 2017 20:34:45 +0000 (20:34 +0000)]
Merge "Remove @Presubmit from SettingsBackupTest.Java" am: 3c48bd72aa
am: 8138b8b3ed

Change-Id: I622652209613f1bd113a90d22aa924f898ce6fe2

6 years agoAdd Runnable mechanism to WakeupMessage
Etan Cohen [Fri, 20 Oct 2017 04:12:34 +0000 (21:12 -0700)]
Add Runnable mechanism to WakeupMessage

The WakeupMessage object provides a mechanism to create an Alarm
which will wake-up the device and deliver a message to a Handler.

Add a Runnable mechanism as an alternative to the message.

Bug: 67276378
Test: unit test
Change-Id: Icf5f03b2b25a340273f9d3fcd09f182216ea6238

6 years agoMerge "Fix crash in Vulkan pipeline at boot time"
TreeHugger Robot [Fri, 20 Oct 2017 20:26:53 +0000 (20:26 +0000)]
Merge "Fix crash in Vulkan pipeline at boot time"

6 years agoMerge "Remove @Presubmit from SettingsBackupTest.Java"
Ben Schwartz [Fri, 20 Oct 2017 20:25:37 +0000 (20:25 +0000)]
Merge "Remove @Presubmit from SettingsBackupTest.Java"
am: 3c48bd72aa

Change-Id: I5a4f7c33ccb0a9ddff2778726055c7c059dfa281

6 years agoMerge "Remove @Presubmit from SettingsBackupTest.Java"
Treehugger Robot [Fri, 20 Oct 2017 20:14:43 +0000 (20:14 +0000)]
Merge "Remove @Presubmit from SettingsBackupTest.Java"

6 years agoRemove @Presubmit from SettingsBackupTest.Java
Ben Schwartz [Fri, 20 Oct 2017 17:41:12 +0000 (13:41 -0400)]
Remove @Presubmit from SettingsBackupTest.Java

It appears to be causing problems on some build bots.

Test: Problem can only be reproduced after merge...
Change-Id: I7c9c1c7a54f0e2981faecbf9793eef888f5c97d1

6 years agoMerge "Revert "SearchView focus should be preserved in split-screen.""
Tarandeep Singh [Fri, 20 Oct 2017 20:13:55 +0000 (20:13 +0000)]
Merge "Revert "SearchView focus should be preserved in split-screen.""

6 years agoMerge "Merge "Refactored area update info support" am: b1092bfd55 -s ours am: befb4f...
Android Build Merger (Role) [Fri, 20 Oct 2017 20:10:40 +0000 (20:10 +0000)]
Merge "Merge "Refactored area update info support" am: b1092bfd55  -s ours am: befb4f2ed4  -s ours am: 84f59db864  -s ours am: 8a9139d09e  -s ours"

6 years agoMerge "Refactored area update info support" am: b1092bfd55 -s ours am: befb4f2ed4...
Jack Yu [Fri, 20 Oct 2017 20:05:26 +0000 (20:05 +0000)]
Merge "Refactored area update info support" am: b1092bfd55  -s ours am: befb4f2ed4  -s ours am: 84f59db864  -s ours
am: 8a9139d09e  -s ours

Change-Id: I661f0301dece204b47366eb5e9faf09767698bf7

6 years agoMinor improvements on Autofill:
Felipe Leme [Fri, 20 Oct 2017 20:04:19 +0000 (13:04 -0700)]
Minor improvements on Autofill:

- Don't print PII on Dataset.toString()
- Use proper method to get last response

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 67867469

Change-Id: I41579ba30366e07193ab4f7790e5a107c85d6ec2

6 years agoMerge "Move StaticLayoutLineBreakingTest from coretests to CTS"
TreeHugger Robot [Fri, 20 Oct 2017 20:04:52 +0000 (20:04 +0000)]
Merge "Move StaticLayoutLineBreakingTest from coretests to CTS"

6 years agoFix crash in "Tree::updateBitmapCache"
Stan Iliev [Wed, 18 Oct 2017 21:56:43 +0000 (17:56 -0400)]
Fix crash in "Tree::updateBitmapCache"

Fix crash caused by updating vectordrawable cache for objects
from previous frames, which may have been deleted.

Bug: 67940327
Test: Ran CtsUiRenderingTestCases test
Change-Id: I4466235e78e9b7937a0d4428240574d9e3d0989f

6 years agoUse final release of ASM 6.0
Colin Cross [Fri, 20 Oct 2017 19:57:56 +0000 (12:57 -0700)]
Use final release of ASM 6.0

Test: m checkbuild
Change-Id: I8b39c7887763a1a5efce2622421906f9b2e1994a

6 years agoMerge "Refactored area update info support" am: b1092bfd55 -s ours am: befb4f2ed4...
Jack Yu [Fri, 20 Oct 2017 19:52:13 +0000 (19:52 +0000)]
Merge "Refactored area update info support" am: b1092bfd55  -s ours am: befb4f2ed4  -s ours
am: 84f59db864  -s ours

Change-Id: I89bd02a64c96fd15838eeb60488042bc758a2219

6 years agoRemoving stats service registration in system server
Max Bires [Fri, 20 Oct 2017 17:28:24 +0000 (10:28 -0700)]
Removing stats service registration in system server

Introduced in ag/2837473, this stats service is not actually up and
running fully. It is creating boot time selinux denials due to lack of
permissions for system server to start the service. Since it cannot run
due to system server being unable to register it with servicemanager, the
registration code is being removed for now to clean up boot denials.

Removing this boot denial will allow boot-time presubmit tests for SELinux to be
put into place. Service definition and sepolicy for this feature can be
added when the feature is approved in the future.

Bug: 67468181
Test: servicemanager does not generate denials on boot
Change-Id: Id6a29cc6abb8ebf5a3f41da4311a555f41dd80b3

6 years agoMerge "Refactored area update info support" am: b1092bfd55 -s ours
Jack Yu [Fri, 20 Oct 2017 19:40:43 +0000 (19:40 +0000)]
Merge "Refactored area update info support" am: b1092bfd55  -s ours
am: befb4f2ed4  -s ours

Change-Id: Ic978426f763d0c8be4381d0f836cec198153c031

6 years agoMerge "Made creation of multiple stacks more intentional."
Wale Ogunwale [Fri, 20 Oct 2017 19:32:01 +0000 (19:32 +0000)]
Merge "Made creation of multiple stacks more intentional."

6 years agoMerge "Refactored area update info support"
Jack Yu [Fri, 20 Oct 2017 19:30:02 +0000 (19:30 +0000)]
Merge "Refactored area update info support"
am: b1092bfd55  -s ours

Change-Id: Ib616989cf16ef67118145d59845c7db764dc5ee9

6 years agoMerge "AssetManager2: Run ApkAssets that have failed verification"
Adam Lesinski [Fri, 20 Oct 2017 19:19:27 +0000 (19:19 +0000)]
Merge "AssetManager2: Run ApkAssets that have failed verification"

6 years agoMerge "Refactored area update info support"
Treehugger Robot [Fri, 20 Oct 2017 19:19:09 +0000 (19:19 +0000)]
Merge "Refactored area update info support"

6 years agoMerge changes I1a4b3ce5,Id7216e5b
Adam Lesinski [Fri, 20 Oct 2017 19:15:54 +0000 (19:15 +0000)]
Merge changes I1a4b3ce5,Id7216e5b

* changes:
  AAPT2: Enable building proto artifacts
  AAPT2: Define and Implement AAPT Container Format

6 years agoMerge "Merge "Add link_type for temp_layoutlib" am: d0b0e8cc86 -s ours am: 3130b4e14...
Android Build Merger (Role) [Fri, 20 Oct 2017 18:58:19 +0000 (18:58 +0000)]
Merge "Merge "Add link_type for temp_layoutlib" am: d0b0e8cc86  -s ours am: 3130b4e146  -s ours am: d857569fda  -s ours am: c2f710ed1f  -s ours"

6 years agoMerge "Add OWNERS for folder bluetooth"
TreeHugger Robot [Fri, 20 Oct 2017 18:58:01 +0000 (18:58 +0000)]
Merge "Add OWNERS for folder bluetooth"

6 years agoMerge "Add link_type for temp_layoutlib" am: d0b0e8cc86 -s ours am: 3130b4e146 ...
Dan Willemsen [Fri, 20 Oct 2017 18:56:24 +0000 (18:56 +0000)]
Merge "Add link_type for temp_layoutlib" am: d0b0e8cc86  -s ours am: 3130b4e146  -s ours am: d857569fda  -s ours
am: c2f710ed1f  -s ours

Change-Id: I7d5ac6aff948f6ff8677e54d159eed17e0d2a9a5

6 years agoMerge "Add link_type for temp_layoutlib" am: d0b0e8cc86 -s ours am: 3130b4e146 ...
Dan Willemsen [Fri, 20 Oct 2017 18:45:25 +0000 (18:45 +0000)]
Merge "Add link_type for temp_layoutlib" am: d0b0e8cc86  -s ours am: 3130b4e146  -s ours
am: d857569fda  -s ours

Change-Id: Ide90033b38ba2d75a5fb08e3078310dda5fec9ac

6 years agoMerge "Add link_type for temp_layoutlib" am: d0b0e8cc86 -s ours
Dan Willemsen [Fri, 20 Oct 2017 18:36:10 +0000 (18:36 +0000)]
Merge "Add link_type for temp_layoutlib" am: d0b0e8cc86  -s ours
am: 3130b4e146  -s ours

Change-Id: I8c22645a4148dcbc80f30b6d54ccd4926d4194c1

6 years agoMerge "Add link_type for temp_layoutlib"
Dan Willemsen [Fri, 20 Oct 2017 18:27:58 +0000 (18:27 +0000)]
Merge "Add link_type for temp_layoutlib"
am: d0b0e8cc86  -s ours

Change-Id: Ic84faa1292e8e52abff9ce62e992e7d00b7cb5e2

6 years agoMerge "Fix netlink group mismatch in fds used for offload" into oc-mr1-dev am: 6575d4...
Niranjan Pendharkar [Fri, 20 Oct 2017 18:26:29 +0000 (18:26 +0000)]
Merge "Fix netlink group mismatch in fds used for offload" into oc-mr1-dev am: 6575d483cc  -s ours
am: 9c798025dd  -s ours

Change-Id: Iac0d7d3c5d44f68d1b6de8bf45621bbd464c30da

6 years agoMerge "Add link_type for temp_layoutlib"
Dan Willemsen [Fri, 20 Oct 2017 18:14:56 +0000 (18:14 +0000)]
Merge "Add link_type for temp_layoutlib"

6 years agoMerge "Update package name for ExtServices to whitelist permissions."
TreeHugger Robot [Fri, 20 Oct 2017 18:08:36 +0000 (18:08 +0000)]
Merge "Update package name for ExtServices to whitelist permissions."