OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "WebView: misc docs changes for WebSettings"
TreeHugger Robot [Tue, 21 Nov 2017 01:27:15 +0000 (01:27 +0000)]
Merge "WebView: misc docs changes for WebSettings"

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6...
Malcolm Chen [Tue, 21 Nov 2017 01:09:47 +0000 (01:09 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6cc  -s ours am: 959385c314  -s ours
am: f4a336808b  -s ours

Change-Id: Ie0761a8a549382d9d8a6781c20a6a23f511231fc

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6...
Malcolm Chen [Tue, 21 Nov 2017 00:58:19 +0000 (00:58 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings." am: 06e314f6cc  -s ours
am: 959385c314  -s ours

Change-Id: Ie6d211fd5ebfeb5a191e1d96a7d3bb37ee9b7d23

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings."
Malcolm Chen [Tue, 21 Nov 2017 00:48:30 +0000 (00:48 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings."
am: 06e314f6cc  -s ours

Change-Id: I3e7e4818688b8e046499513557825809772a1085

6 years agoMerge "Adding "Mobile data" and "Data usage" button in mobile settings."
Treehugger Robot [Tue, 21 Nov 2017 00:35:42 +0000 (00:35 +0000)]
Merge "Adding "Mobile data" and "Data usage" button in mobile settings."

6 years agoMerge "Smooth scroll RecyclerView on a11y ACTION_SCROLL_*"
TreeHugger Robot [Tue, 21 Nov 2017 00:17:56 +0000 (00:17 +0000)]
Merge "Smooth scroll RecyclerView on a11y ACTION_SCROLL_*"

6 years agoMerge "Implement minikin::Run"
TreeHugger Robot [Tue, 21 Nov 2017 00:00:48 +0000 (00:00 +0000)]
Merge "Implement minikin::Run"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 23:49:53 +0000 (23:49 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Fix freeform window resizing."
Tomasz Mikolajewski [Mon, 20 Nov 2017 23:13:58 +0000 (23:13 +0000)]
Merge "Fix freeform window resizing."

6 years agoMerge "Optimize Autofill Sanitizer to work as a Validator."
TreeHugger Robot [Mon, 20 Nov 2017 23:07:23 +0000 (23:07 +0000)]
Merge "Optimize Autofill Sanitizer to work as a Validator."

6 years agoMerge "Collect set of "changed" classes."
TreeHugger Robot [Mon, 20 Nov 2017 22:44:08 +0000 (22:44 +0000)]
Merge "Collect set of "changed" classes."

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: c7d9045105 -s ours
Bill Yi [Mon, 20 Nov 2017 22:34:18 +0000 (22:34 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: c7d9045105  -s ours
am: 651cb9ec20  -s ours

Change-Id: Ie35ab0514caa65270a0e53fbde8f5de3c0a920de

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Mon, 20 Nov 2017 22:27:19 +0000 (22:27 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: c7d9045105  -s ours

Change-Id: I4e65a2c460b3bcfa2e258a2952677b16d89e4d85

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Mon, 20 Nov 2017 22:13:17 +0000 (22:13 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge changes from topic "new-z-order"
Rob Carr [Mon, 20 Nov 2017 22:02:18 +0000 (22:02 +0000)]
Merge changes from topic "new-z-order"

* changes:
  Reimplement DimLayer's using hierarchy.
  Re-implement Z-ordering based off SurfaceControl hierarchy.

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 22:00:40 +0000 (22:00 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoImplement minikin::Run
Seigo Nonaka [Wed, 15 Nov 2017 20:06:24 +0000 (12:06 -0800)]
Implement minikin::Run

The minikin::Run is a callback for measuring text piece.
Implement minikin::Run instead of own Run.

Bug: 65024629
Test: N/A

Change-Id: Iec899dc9f91e1af38338dbfd2a8dc5f4cddd3649

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 20 Nov 2017 21:59:46 +0000 (21:59 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Use -Werror in frameworks/base" am: a29836ad04 am: 267a2a8c8a
Chih-hung Hsieh [Mon, 20 Nov 2017 21:51:42 +0000 (21:51 +0000)]
Merge "Use -Werror in frameworks/base" am: a29836ad04 am: 267a2a8c8a
am: af60d7f8b5

Change-Id: I9daf24758eab254650dc0ea8809c56d0d536a641

6 years agoMerge "Use -Werror in frameworks/base" am: a29836ad04
Chih-hung Hsieh [Mon, 20 Nov 2017 21:40:59 +0000 (21:40 +0000)]
Merge "Use -Werror in frameworks/base" am: a29836ad04
am: 267a2a8c8a

Change-Id: Ibfc63a029813ef952dc94f11baae7a96850e94d6

6 years agoMerge "Make SharedPreferences check with higher precision" am: 9ca31879b0 -s ours...
Philip P. Moltmann [Mon, 20 Nov 2017 21:40:55 +0000 (21:40 +0000)]
Merge "Make SharedPreferences check with higher precision" am: 9ca31879b0  -s ours am: 79d7319d7e  -s ours
am: 3e0c2b73cd  -s ours

Change-Id: I4e956376312317c868db00a3c15f7ec4a33bc8b6

6 years agoMerge "Use -Werror in frameworks/base"
Chih-hung Hsieh [Mon, 20 Nov 2017 21:33:00 +0000 (21:33 +0000)]
Merge "Use -Werror in frameworks/base"
am: a29836ad04

Change-Id: Ie76322acc3b471da60a033cfa2474c1039d70339

6 years agoMerge "Make SharedPreferences check with higher precision" am: 9ca31879b0 -s ours
Philip P. Moltmann [Mon, 20 Nov 2017 21:27:45 +0000 (21:27 +0000)]
Merge "Make SharedPreferences check with higher precision" am: 9ca31879b0  -s ours
am: 79d7319d7e  -s ours

Change-Id: Ifd52e21336a32ecd195e61336ac90777ba990925

6 years agoMerge "Make SharedPreferences check with higher precision"
Philip P. Moltmann [Mon, 20 Nov 2017 21:19:57 +0000 (21:19 +0000)]
Merge "Make SharedPreferences check with higher precision"
am: 9ca31879b0  -s ours

Change-Id: Ie7065c2281bdf6a97af69c2d758d4c2ff55956ae

6 years agoMerge "Use -Werror in frameworks/base"
Chih-hung Hsieh [Mon, 20 Nov 2017 21:18:52 +0000 (21:18 +0000)]
Merge "Use -Werror in frameworks/base"

6 years agoMerge "Remove IStatsCallback aidl from master"
TreeHugger Robot [Mon, 20 Nov 2017 21:16:19 +0000 (21:16 +0000)]
Merge "Remove IStatsCallback aidl from master"

6 years agoMerge "Make SharedPreferences check with higher precision"
Treehugger Robot [Mon, 20 Nov 2017 21:04:10 +0000 (21:04 +0000)]
Merge "Make SharedPreferences check with higher precision"

6 years agoMerge "Add output file and dependencies to fontchain_lint" am: b0a3e9dc83 am: 4db8be0bb3
Colin Cross [Mon, 20 Nov 2017 20:54:14 +0000 (20:54 +0000)]
Merge "Add output file and dependencies to fontchain_lint" am: b0a3e9dc83 am: 4db8be0bb3
am: c181b06021

Change-Id: Id001092f532e66c896dfb7baf83aa4e810d2cd6e

6 years agoCollect set of "changed" classes.
Jeff Sharkey [Mon, 13 Nov 2017 16:13:37 +0000 (09:13 -0700)]
Collect set of "changed" classes.

Generate hash of each class to quickly identify which classes have
been touched between two API files.

Test: manually verified
Bug: 69115817
Change-Id: I0be92ec8a4e9ef6ca603e70c8164e10a2eaf4161

6 years agoMerge "Add output file and dependencies to fontchain_lint" am: b0a3e9dc83
Colin Cross [Mon, 20 Nov 2017 20:44:02 +0000 (20:44 +0000)]
Merge "Add output file and dependencies to fontchain_lint" am: b0a3e9dc83
am: 4db8be0bb3

Change-Id: Ied0b30fca889b55dbf4d0c7075424cf6244178b3

6 years agoMerge "Add output file and dependencies to fontchain_lint"
Colin Cross [Mon, 20 Nov 2017 20:36:15 +0000 (20:36 +0000)]
Merge "Add output file and dependencies to fontchain_lint"
am: b0a3e9dc83

Change-Id: I835565031398b97c995260a0bfc9c8f1f50cef2e

6 years agoMerge "Add output file and dependencies to fontchain_lint"
Treehugger Robot [Mon, 20 Nov 2017 20:24:26 +0000 (20:24 +0000)]
Merge "Add output file and dependencies to fontchain_lint"

6 years agoMerge "Update FontStyle location in minikin."
TreeHugger Robot [Mon, 20 Nov 2017 20:14:55 +0000 (20:14 +0000)]
Merge "Update FontStyle location in minikin."

6 years agoMerge "Hide unneccessary streams after config changes"
TreeHugger Robot [Mon, 20 Nov 2017 20:00:02 +0000 (20:00 +0000)]
Merge "Hide unneccessary streams after config changes"

6 years agoMerge "Update documentation for enhanced 4g lte preference"
Jordan Liu [Mon, 20 Nov 2017 19:56:37 +0000 (19:56 +0000)]
Merge "Update documentation for enhanced 4g lte preference"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 20 Nov 2017 19:54:34 +0000 (11:54 -0800)]
Import translations. DO NOT MERGE

Change-Id: I497880c6698af4c109312185a9254ad7915c028e
Auto-generated-cl: translation import

6 years agoMerge "Remove SliceView (its moving to support)"
Jason Monk [Mon, 20 Nov 2017 19:54:01 +0000 (19:54 +0000)]
Merge "Remove SliceView (its moving to support)"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 20 Nov 2017 19:51:02 +0000 (11:51 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ic8d1823c3ff2b69bbbe2d215cb8981dc97cbed41

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 20 Nov 2017 19:49:27 +0000 (11:49 -0800)]
Import translations. DO NOT MERGE

Change-Id: Iaf8e9270e690c8244a5061f3675694b94774ce8f
Auto-generated-cl: translation import

6 years agoMerge "Cleanup old idle variables"
TreeHugger Robot [Mon, 20 Nov 2017 19:46:35 +0000 (19:46 +0000)]
Merge "Cleanup old idle variables"

6 years agoMerge "Implement Cpu Freq Section"
Yi Jin [Mon, 20 Nov 2017 19:34:15 +0000 (19:34 +0000)]
Merge "Implement Cpu Freq Section"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 20 Nov 2017 19:30:15 +0000 (11:30 -0800)]
Import translations. DO NOT MERGE

Change-Id: I40278b4e7b9cfe21c01c04c0fce9c816b761afd0
Auto-generated-cl: translation import

6 years agoMerge changes Id0ece760,I160b5a62,I8b7563d0
Arthur Ishiguro [Mon, 20 Nov 2017 19:25:18 +0000 (19:25 +0000)]
Merge changes Id0ece760,I160b5a62,I8b7563d0

* changes:
  Creates utility functions to convert between messages
  Removes setters from ContextHubInfo
  Replace JNI code with Java HIDL at ContextHubService

6 years agoUse -Werror in frameworks/base
Chih-Hung Hsieh [Mon, 20 Nov 2017 18:57:19 +0000 (10:57 -0800)]
Use -Werror in frameworks/base

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ibfe36a62d9a91b7df813b42e18dafaa58dc8b60d

6 years agoRemove IStatsCallback aidl from master
yro [Sun, 19 Nov 2017 22:56:37 +0000 (14:56 -0800)]
Remove IStatsCallback aidl from master

Test: statsd, statsd_test

Change-Id: Idd0fb945b62f3a139a0db07f1014a3c4a4e2f5f8

6 years agoMerge "Add read permissions to wm trace file"
TreeHugger Robot [Mon, 20 Nov 2017 18:29:13 +0000 (18:29 +0000)]
Merge "Add read permissions to wm trace file"

6 years agoMerge "Revert "Revert "Implement front-end APIs for generic vendor-specific parameter...
TreeHugger Robot [Mon, 20 Nov 2017 18:28:36 +0000 (18:28 +0000)]
Merge "Revert "Revert "Implement front-end APIs for generic vendor-specific parameters."""

6 years agoMake SharedPreferences check with higher precision
Philip P. Moltmann [Mon, 17 Jul 2017 19:41:53 +0000 (12:41 -0700)]
Make SharedPreferences check with higher precision

When two processes modify shared preferences we use the timestamp to
figure out if the file was changes underneath. Do this with the highest
precision available (instead of sec) as before.

It would be possible to make the check more reliable by writing a unique
id to the shared pref file, but this would make this check much more
expensive in the common case that nothing changed. Considering that this
has not been a problem and we don't officially give any guarantee for
this sounds like a good middle-ground.

(cherry picked from commit ffe74357aec5330098795000e131e8d581b8b274)

Merged-In: I04c96b6a946618d5599c26410c88d7cd654d31fb
Change-Id: I04c96b6a946618d5599c26410c88d7cd654d31fb
Test: SharedPreferencesTest
Fixes: 62949739

6 years agoRemove SliceView (its moving to support)
Jason Monk [Thu, 9 Nov 2017 23:48:00 +0000 (18:48 -0500)]
Remove SliceView (its moving to support)

Test: manual
Bug: 68378561
Change-Id: I33b5a709da39c83e047e9005a20afc0ebde7f85f

6 years agoCleanup old idle variables
Amith Yamasani [Mon, 20 Nov 2017 17:43:56 +0000 (09:43 -0800)]
Cleanup old idle variables

Switch to using the new bucket thresholds and
remove the previous idle thresholds.

Bug: 63527785
Test: atest AppStandbyControllerTests
      atest AppIdleHistoryTests

Change-Id: Ica3fd10fe172faa5b4e712b08273b77357fdae14

6 years agoReimplement DimLayer's using hierarchy.
Robert Carr [Tue, 3 Oct 2017 01:58:36 +0000 (18:58 -0700)]
Reimplement DimLayer's using hierarchy.

Still missing the fade in/out animation. See Dimmer.java for details.

Bug: 64815723
Bug: 64816140
Test: DimmerTests.java. Existing tests pass. go/wm-smoke. Docked resizing Dim layer works, various dialog dim layers work.
Change-Id: I19a03f1b6b602475410fcfb2c9728aae1d0bed85

6 years agoRe-implement Z-ordering based off SurfaceControl hierarchy.
Robert Carr [Tue, 5 Sep 2017 21:54:47 +0000 (14:54 -0700)]
Re-implement Z-ordering based off SurfaceControl hierarchy.

First steps in using the SurfaceControl hierarchy pervasively through
the WindowManager. For each level of the WindowContainer hierarchy
we instantiate a buffer-less SurfaceControl which is used to apply
constraints to all of it's children. For now we use full-screen surfaces
at every non-leaf level and so the only constraint we apply is Z-ordering.

Calculation of Z-ordering is done through the WindowContainer#assignLayers
pass and begins with DisplayContent. Changes are accumulated in-to a pending
transaction which is applied as part of prepareSurfaces (which now applies
to each level of the WindowContainer hierarchy rather than just windows).

Bug: 64815723
Test: Existing tests pass. go/wm-smoke. ZOrderTests.
Change-Id: Ib31bc3107c7fa398cf2ed72430fcb7596fad6fd5

6 years agoCreates utility functions to convert between messages
Arthur Ishiguro [Fri, 17 Nov 2017 18:02:17 +0000 (10:02 -0800)]
Creates utility functions to convert between messages

Will be needed to convert between client-facing and HIDL messages
to/from nanoapps.

Bug: 67734082
Test: make from root
Change-Id: Id0ece7600a653a0ede6d92d9ebbe8dfdc3489207

6 years agoRemoves setters from ContextHubInfo
Arthur Ishiguro [Tue, 14 Nov 2017 23:20:42 +0000 (15:20 -0800)]
Removes setters from ContextHubInfo

No longer needed after JNI code is removed.

Bug: 66965339
Test: Compile only
Change-Id: I160b5a621fd15dd8509ce779d5ff9b98c6395c94

6 years agoReplace JNI code with Java HIDL at ContextHubService
Arthur Ishiguro [Wed, 1 Nov 2017 17:52:28 +0000 (10:52 -0700)]
Replace JNI code with Java HIDL at ContextHubService

This CL does the following:
- Use Java HIDL to communicate with the Context Hub
- Reimplement required JNI functionality in Java

Bug: 67734082
Test: Flash device and run CHQTS, verify pass on walleye-userdebug
Change-Id: I8b7563d04e9e3a22295b81af283fd3168e179957

6 years agoMerge "Provide more information to the assistant"
TreeHugger Robot [Mon, 20 Nov 2017 15:38:46 +0000 (15:38 +0000)]
Merge "Provide more information to the assistant"

6 years agoHide unneccessary streams after config changes
Julia Reynolds [Thu, 16 Nov 2017 14:29:55 +0000 (09:29 -0500)]
Hide unneccessary streams after config changes

Change-Id: I0aad8cafb47076506b0c5bf2bd5044667fe19135
Fixes: 69289893
Test: manual

6 years agoProvide more information to the assistant
Julia Reynolds [Tue, 14 Nov 2017 14:51:01 +0000 (09:51 -0500)]
Provide more information to the assistant

About user interactions with notifications.

Bug: 63095540
Test: runtest systemui, manual
Change-Id: I58cd45333cd084adbf2505c348d6b4e208959135

6 years agoMerge "[Magnifier - 8] SurfaceView support and invalidate revival"
Andrei Stingaceanu [Mon, 20 Nov 2017 13:34:46 +0000 (13:34 +0000)]
Merge "[Magnifier - 8] SurfaceView support and invalidate revival"

6 years ago[Magnifier - 8] SurfaceView support and invalidate revival
Andrei Stingaceanu [Thu, 2 Nov 2017 13:54:10 +0000 (13:54 +0000)]
[Magnifier - 8] SurfaceView support and invalidate revival

It turns out that the auto-invalidate at a defined time,
practically polling, is not a safe way to update content
and also has more chances of producing poor quality so
temporary bring back update() and keep it hidden as the
plan is to have direct update listeners from the graphics
stack in the near future. This solution works well for
TextView, WebView and Chrome.

Added support for SurfaceView (used by Chrome).

Editor adds an onDrawListener to the TextView's tree observer
which posts to Magnifier update. This makes sure the
absolutely everytime anything changes in the view hierarchy
update() will be posted (after the actual drawing).

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: If1b858d793c7cc338d23a850051022768a3f1e40

6 years agoLog SHA256 of secondary dex files during reconcile.
Alan Stokes [Mon, 16 Oct 2017 11:31:44 +0000 (12:31 +0100)]
Log SHA256 of secondary dex files during reconcile.

Bug: 63927552
Test: Exercised manually. Added unit test for DexManager.

Change-Id: Ic8e9ea4da8eb5c22fbe088a59a406e36bc2eb6fa

6 years agoFix freeform window resizing.
Tomasz Mikolajewski [Mon, 20 Nov 2017 07:11:33 +0000 (16:11 +0900)]
Fix freeform window resizing.

Freeform resizing would not result in DRAG_RESIZE_MODE_FREEFORM
set, and as a result would not kick in the backdrop frame renderer.

Bug: None
Test: Backdrop renderer kicks in.
Change-Id: If962ac152186944d9643343441cf5523b832cbe8

6 years agoMerge "2 updates to storing configs on disk"
TreeHugger Robot [Mon, 20 Nov 2017 03:44:51 +0000 (03:44 +0000)]
Merge "2 updates to storing configs on disk"

6 years ago2 updates to storing configs on disk
yro [Sun, 19 Nov 2017 22:33:56 +0000 (14:33 -0800)]
2 updates to storing configs on disk

1. When an existing config is updated, remove the outdated config from
disk to stop accumulating configs.
2. Check disk to remove configs to make sure we delete lingering files
that does not live on memory.

Test: statsd, statsd_test, manual
Change-Id: Iedce4b6eb99a3d36bb5e1d1ccc0d88c84859e8f5

6 years agoMerge "Update statsd_config.proto."
Stefan Lafon [Sun, 19 Nov 2017 05:04:25 +0000 (05:04 +0000)]
Merge "Update statsd_config.proto."

6 years agoMerge "Fix a memory leak in LogEvent"
TreeHugger Robot [Sun, 19 Nov 2017 04:58:53 +0000 (04:58 +0000)]
Merge "Fix a memory leak in LogEvent"

6 years agoFix a memory leak in LogEvent
Yao Chen [Sun, 19 Nov 2017 02:56:52 +0000 (18:56 -0800)]
Fix a memory leak in LogEvent

My previous understanding of the liblog api was wrong. Luckily it
is caught in time. Also added a memory profiling tool in another CL.

Test: statsd_test
      adb shell dumpsys meminfo
      adb shell cmd stats meminfo

Change-Id: I742af2a38e52e35edf0d4c77ccc35ede7019a73b

6 years agoUpdate statsd_config.proto.
Stefan Lafon [Sat, 18 Nov 2017 17:26:53 +0000 (09:26 -0800)]
Update statsd_config.proto.

Test: Ran statsd tests.

Change-Id: I3a83bdfb38be82d70ca547825152370df8bca9cc

6 years agoMerge "Don't just clear mPastBuckets when onDumpReport is called."
TreeHugger Robot [Sat, 18 Nov 2017 23:46:35 +0000 (23:46 +0000)]
Merge "Don't just clear mPastBuckets when onDumpReport is called."

6 years agoDon't just clear mPastBuckets when onDumpReport is called.
Yao Chen [Sat, 18 Nov 2017 22:14:38 +0000 (14:14 -0800)]
Don't just clear mPastBuckets when onDumpReport is called.

This needs to be done properly. Left a TODO.

Test: statsd_test
Change-Id: I8537f0a870ab82039e0822c69096784403ee1651

6 years agoMerge "Fix the unit test failure."
TreeHugger Robot [Sat, 18 Nov 2017 21:34:16 +0000 (21:34 +0000)]
Merge "Fix the unit test failure."

6 years agoFix the unit test failure.
Yao Chen [Sat, 18 Nov 2017 20:03:42 +0000 (12:03 -0800)]
Fix the unit test failure.

Test: statsd_test
Change-Id: I7ab57d4eb8789523a2b435413fd35057602cc988

6 years agoOptimize Autofill Sanitizer to work as a Validator.
Felipe Leme [Fri, 17 Nov 2017 21:54:55 +0000 (13:54 -0800)]
Optimize Autofill Sanitizer to work as a Validator.

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

Fixes: 69465320

Change-Id: I0eec8c6373ae3129314eda3f1f531592b85a4118

6 years agoMerge "Resolve segfault when running send-broadcast command while statscompanion...
Howard Ro [Sat, 18 Nov 2017 18:39:16 +0000 (18:39 +0000)]
Merge "Resolve segfault when running send-broadcast command while statscompanion service is not connected"

6 years agoMerge "[AWARE] Add ranging API to discovery configuration"
Etan Cohen [Sat, 18 Nov 2017 18:11:31 +0000 (18:11 +0000)]
Merge "[AWARE] Add ranging API to discovery configuration"

6 years agoMerge "Shorter thresholds for app standby"
Amith Yamasani [Sat, 18 Nov 2017 18:00:30 +0000 (18:00 +0000)]
Merge "Shorter thresholds for app standby"

6 years agoMerge "Allow "cmd package bg-dexopt-job" to take a list of package names"
TreeHugger Robot [Sat, 18 Nov 2017 04:37:45 +0000 (04:37 +0000)]
Merge "Allow "cmd package bg-dexopt-job" to take a list of package names"

6 years agoMerge "Converts exceptions to log messages in StatsManager."
TreeHugger Robot [Sat, 18 Nov 2017 04:36:47 +0000 (04:36 +0000)]
Merge "Converts exceptions to log messages in StatsManager."

6 years agoMerge "Use ProtoOutputStream's bytesWritten to properly estimate the size of EventMet...
TreeHugger Robot [Sat, 18 Nov 2017 03:50:01 +0000 (03:50 +0000)]
Merge "Use ProtoOutputStream's bytesWritten to properly estimate the size of EventMetricsData on memory"

6 years agoMerge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names...
Donald Chai [Sat, 18 Nov 2017 03:32:38 +0000 (03:32 +0000)]
Merge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names." into oc-mr1-dev am: e7b0a330db
am: f84b4204c3

Change-Id: I11183a5cd03103f7033379944ec762841d559d4a

6 years agoMerge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names...
Donald Chai [Sat, 18 Nov 2017 03:19:30 +0000 (03:19 +0000)]
Merge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names." into oc-mr1-dev
am: e7b0a330db

Change-Id: I7943dc35ceeca0c3fdb4df668a761889cd0add2d

6 years agoMerge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names...
TreeHugger Robot [Sat, 18 Nov 2017 03:03:19 +0000 (03:03 +0000)]
Merge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names." into oc-mr1-dev

6 years agoWebView: misc docs changes for WebSettings
Nate Fischer [Sat, 18 Nov 2017 02:48:13 +0000 (18:48 -0800)]
WebView: misc docs changes for WebSettings

No change to logic, only docs changes.

This is mostly just formatting changes to documentation. Changes fall
into a few categories:

 * Linkify ({@link}) or codify ({@code})
 * Spelling errors

Test: make docs (looks better)
Change-Id: Ibcd762ab06e51451a53bbce5860cc137bee22ccf

6 years agoUse ProtoOutputStream's bytesWritten to properly estimate the size of
yro [Sat, 18 Nov 2017 01:20:45 +0000 (17:20 -0800)]
Use ProtoOutputStream's bytesWritten to properly estimate the size of
EventMetricsData on memory

Test: statsd, statsd_test
Change-Id: I6fc90c5d9303fe6cab582afb03c480969a6dc5a5

6 years agoConverts exceptions to log messages in StatsManager.
David Chen [Sat, 18 Nov 2017 01:44:33 +0000 (17:44 -0800)]
Converts exceptions to log messages in StatsManager.

We log if the statsd is not available instead of throwing an
exception. This helps prevent a crash when calling this API since
statsd is not a system service and can potentially be down.

Test: Not applicable.

Change-Id: I776efede4a01c751924fa9a8abd0eec0c4c1306b

6 years agoMerge "One more feature in DurationMetric -- nesting on top of Or and Max"
TreeHugger Robot [Sat, 18 Nov 2017 01:42:24 +0000 (01:42 +0000)]
Merge "One more feature in DurationMetric -- nesting on top of Or and Max"

6 years agoResolve segfault when running send-broadcast command while
yro [Fri, 17 Nov 2017 23:44:48 +0000 (15:44 -0800)]
Resolve segfault when running send-broadcast command while
statscompanion service is not connected

Test: statsd, statsd_test

Change-Id: Ie98de1884f8d852c31c14db146d3da44cfc5aa8b

6 years agoAllow "cmd package bg-dexopt-job" to take a list of package names
Arthur Eubanks [Fri, 15 Sep 2017 16:28:51 +0000 (09:28 -0700)]
Allow "cmd package bg-dexopt-job" to take a list of package names

Modify "cmd package bg-dexopt-job" to accept an optional list of
packages to run bg-dexopt on to help with testing.

Test: make && flashall && automated tests (ag/2959616)
Test: adb shell cmd package bg-dexopt-job
Test: adb shell cmd package bg-dexopt-job pkg_name

BUG: 64807719
Change-Id: Ibf1fda88810dd4ec19fbbfe3322c35b201727707

6 years agoMerge "Merge "Update the comments for all CellIdentity*." am: 2610ad0556 am: 4f95fd85...
Android Build Merger (Role) [Sat, 18 Nov 2017 00:49:57 +0000 (00:49 +0000)]
Merge "Merge "Update the comments for all CellIdentity*." am: 2610ad0556 am: 4f95fd8532 am: 06b73ece42"

6 years agoMerge "Support StatsD sending broadcasts."
TreeHugger Robot [Sat, 18 Nov 2017 00:48:34 +0000 (00:48 +0000)]
Merge "Support StatsD sending broadcasts."

6 years agoMerge "Update the comments for all CellIdentity*." am: 2610ad0556 am: 4f95fd8532
Cassie [Sat, 18 Nov 2017 00:48:07 +0000 (00:48 +0000)]
Merge "Update the comments for all CellIdentity*." am: 2610ad0556 am: 4f95fd8532
am: 06b73ece42

Change-Id: I1b0d1af77cde5acea8218d2d7e3d92d6dd7ca846

6 years agoMerge "Location Unit tests"
Yipeng Cao [Sat, 18 Nov 2017 00:46:38 +0000 (00:46 +0000)]
Merge "Location Unit tests"

6 years agoMerge "Update the comments for all CellIdentity*." am: 2610ad0556
Cassie [Sat, 18 Nov 2017 00:39:17 +0000 (00:39 +0000)]
Merge "Update the comments for all CellIdentity*." am: 2610ad0556
am: 4f95fd8532

Change-Id: I8ee47862cb6651baae20a79360f7c0c9a94137cc

6 years agoShorter thresholds for app standby
Amith Yamasani [Sat, 18 Nov 2017 00:35:44 +0000 (16:35 -0800)]
Shorter thresholds for app standby

Start off with slightly more aggressive timeouts to
switch between buckets. 12Hrs, 24Hrs and 48Hrs.

Bug: 63527785
Test: atest AppStandbyControllerTests
Change-Id: I4aa0cc38ef91538192eda0f48dd3840217aa49c4

6 years agoMerge "Update the comments for all CellIdentity*."
Cassie [Sat, 18 Nov 2017 00:27:09 +0000 (00:27 +0000)]
Merge "Update the comments for all CellIdentity*."
am: 2610ad0556

Change-Id: I81f4e4a6bd0960ce3d2d51bfe15711a5c3eda9fb

6 years agoMerge "Update the comments for all CellIdentity*."
Treehugger Robot [Sat, 18 Nov 2017 00:16:37 +0000 (00:16 +0000)]
Merge "Update the comments for all CellIdentity*."

6 years agoUpdate FontStyle location in minikin.
Seigo Nonaka [Fri, 17 Nov 2017 23:40:06 +0000 (15:40 -0800)]
Update FontStyle location in minikin.

Bug: 65024629
Test: hwui_unit_tests
Change-Id: I54d701945dfb0792f08a4c26cc1f8b6a6ab9e67e

6 years agoMerge "Implement Activity Manager Dumpsys --service option"
TreeHugger Robot [Fri, 17 Nov 2017 23:24:04 +0000 (23:24 +0000)]
Merge "Implement Activity Manager Dumpsys --service option"

6 years agoMerge "Fix incorrect adb shell cmd help command for pull-source"
TreeHugger Robot [Fri, 17 Nov 2017 23:06:50 +0000 (23:06 +0000)]
Merge "Fix incorrect adb shell cmd help command for pull-source"

6 years agoSupport StatsD sending broadcasts.
David Chen [Wed, 15 Nov 2017 22:20:04 +0000 (14:20 -0800)]
Support StatsD sending broadcasts.

StatsD will send a broadcast when we're 90% of the way to our
allocated memory limit for the configuration. If the memory usage
goes over the limit, we just lose all the data for this config.

Also modifies the adb shell commands to facilitate debugging of the
broadcasts.

Test: Manually tested on marlin-eng with custom gmscore code.

Change-Id: I517a15bd4c959aa221802f84a51f13141a725102