OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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 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 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

6 years agoMerge "Build fontchain_lint using python_binary_host" am: 7ecac139ea am: 7ade558ad2
Nan Zhang [Fri, 17 Nov 2017 22:30:37 +0000 (22:30 +0000)]
Merge "Build fontchain_lint using python_binary_host" am: 7ecac139ea am: 7ade558ad2
am: 67695d3aff

Change-Id: I850304f79c1c35bfeb6951307b8ca2365da0330b

6 years ago[AWARE] Add ranging API to discovery configuration
Etan Cohen [Wed, 8 Nov 2017 16:41:39 +0000 (08:41 -0800)]
[AWARE] Add ranging API to discovery configuration

Add mechanism to enable ranging as a condition for discovery:
- Publisher: enable ranging
- Subscriber: specify min and/or max range (which implicitly
  enables ranging)

Add range (distance) information to the discovery message.

Bug: 33821639
Test: unit tests and basic (non functioning integration tests)
Change-Id: Ic50fb72a4a94e56c608ea47ec669f2b59354456f

6 years agoMerge "Build fontchain_lint using python_binary_host" am: 7ecac139ea
Nan Zhang [Fri, 17 Nov 2017 22:20:57 +0000 (22:20 +0000)]
Merge "Build fontchain_lint using python_binary_host" am: 7ecac139ea
am: 7ade558ad2

Change-Id: Ie920005b39a476b281333b12fbed9e586a2ce3e7

6 years agoMerge "Check Settings.Global before sysprop in FeatureFlagUtils."
TreeHugger Robot [Fri, 17 Nov 2017 22:20:11 +0000 (22:20 +0000)]
Merge "Check Settings.Global before sysprop in FeatureFlagUtils."

6 years agoMerge "statsd: parse the new format of stats log"
TreeHugger Robot [Fri, 17 Nov 2017 22:16:22 +0000 (22:16 +0000)]
Merge "statsd: parse the new format of stats log"

6 years agoUpdate the comments for all CellIdentity*.
Cassie [Fri, 17 Nov 2017 22:16:01 +0000 (14:16 -0800)]
Update the comments for all CellIdentity*.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: Icb9ba99cefb93a7c4a39cbc653ae046df8649cf9

6 years agoMerge "Build fontchain_lint using python_binary_host"
Nan Zhang [Fri, 17 Nov 2017 22:12:58 +0000 (22:12 +0000)]
Merge "Build fontchain_lint using python_binary_host"
am: 7ecac139ea

Change-Id: I4fef971c8fc8837f73644667988ddc3e7f4305ec

6 years agoMerge "Build fontchain_lint using python_binary_host"
Treehugger Robot [Fri, 17 Nov 2017 22:03:27 +0000 (22:03 +0000)]
Merge "Build fontchain_lint using python_binary_host"

6 years agoMerge "Minor comment and formatting cleanup"
TreeHugger Robot [Fri, 17 Nov 2017 21:53:01 +0000 (21:53 +0000)]
Merge "Minor comment and formatting cleanup"

6 years agoMerge "Follow-up for Ife38c2cd94ac9902911b005dbbca8b0d0a62e6d7"
TreeHugger Robot [Fri, 17 Nov 2017 21:41:59 +0000 (21:41 +0000)]
Merge "Follow-up for  Ife38c2cd94ac9902911b005dbbca8b0d0a62e6d7"

6 years agoFix incorrect adb shell cmd help command for pull-source
yro [Fri, 17 Nov 2017 21:22:52 +0000 (13:22 -0800)]
Fix incorrect adb shell cmd help command for pull-source

Test: statsd should pass, but it's not required as it's just an update
in help instruction.

Change-Id: I36f4e4794ae8066abdeaac98db5e679a3bcf0a06

6 years agoMerge "Rootless GPU Debug"
Cody Northrop [Fri, 17 Nov 2017 20:33:33 +0000 (20:33 +0000)]
Merge "Rootless GPU Debug"

6 years agoMerge "Apply PGO for all modules in hwui"
TreeHugger Robot [Fri, 17 Nov 2017 20:24:41 +0000 (20:24 +0000)]
Merge "Apply PGO for all modules in hwui"

6 years agoMerge "fix the permission check crash in statsd."
TreeHugger Robot [Fri, 17 Nov 2017 20:14:01 +0000 (20:14 +0000)]
Merge "fix the permission check crash in statsd."

6 years agoImplement Activity Manager Dumpsys --service option
Yi Jin [Mon, 30 Oct 2017 21:54:12 +0000 (14:54 -0700)]
Implement Activity Manager Dumpsys --service option

Bug: 66729158
Test: out/host/linux-x86/bin/incident_report -w amservices
Change-Id: I72015b9744bc8028001306283f169fca4797c700

6 years agostatsd: parse the new format of stats log
Yao Chen [Tue, 14 Nov 2017 04:42:25 +0000 (20:42 -0800)]
statsd: parse the new format of stats log

+ Changed how we construct LogEvent, now it's based on the context from log_msg
  without making a copy of the list.

+ All stats logs now have the same event tag, the atom id is the first elem in the log.

Test: statsd_test
Change-Id: I4419380f2ee1c2b2155d427b9f2adb78883b337f

6 years agoMerge "[RTT2] Disable VDBG"
Etan Cohen [Fri, 17 Nov 2017 19:53:01 +0000 (19:53 +0000)]
Merge "[RTT2] Disable VDBG"

6 years agoMerge "Add missing } on @link tag." am: 31b0c6fb32 am: 80bfc216ca
Tyler Gunn [Fri, 17 Nov 2017 19:45:00 +0000 (19:45 +0000)]
Merge "Add missing } on @link tag." am: 31b0c6fb32 am: 80bfc216ca
am: 847acf2b9a

Change-Id: I012fa6fdd42edd4f9ee912ea990700ba3c60f2f0

6 years agoMerge "Add missing } on @link tag." am: 31b0c6fb32
Tyler Gunn [Fri, 17 Nov 2017 19:36:07 +0000 (19:36 +0000)]
Merge "Add missing } on @link tag." am: 31b0c6fb32
am: 80bfc216ca

Change-Id: Id241939f950517df7b09171913c958cdc6360a3b

6 years agoMerge "Add a new usage event type for seen notification"
Amith Yamasani [Fri, 17 Nov 2017 19:32:43 +0000 (19:32 +0000)]
Merge "Add a new usage event type for seen notification"

6 years agoMerge "Add missing } on @link tag."
Tyler Gunn [Fri, 17 Nov 2017 19:27:12 +0000 (19:27 +0000)]
Merge "Add missing } on @link tag."
am: 31b0c6fb32

Change-Id: I2249cab4a50a9788cd8decb23fd8c60419ab6c21

6 years agoMerge "Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Android Build Merger (Role) [Fri, 17 Nov 2017 19:26:40 +0000 (19:26 +0000)]
Merge "Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df706dcd9 am: ea01b02f71 am: 5c1b92c512"

6 years agoMerge "AAPT2: Fix debugging output"
Adam Lesinski [Fri, 17 Nov 2017 19:25:28 +0000 (19:25 +0000)]
Merge "AAPT2: Fix debugging output"

6 years agoMerge "AAPT2: Move all file output to FileOutputStream"
Adam Lesinski [Fri, 17 Nov 2017 19:24:06 +0000 (19:24 +0000)]
Merge "AAPT2: Move all file output to FileOutputStream"

6 years agoCheck Settings.Global before sysprop in FeatureFlagUtils.
Fan Zhang [Fri, 17 Nov 2017 19:07:29 +0000 (11:07 -0800)]
Check Settings.Global before sysprop in FeatureFlagUtils.

Bug: 36222960
Test: atest
Change-Id: I731cb93596ca80e9b1a02478a8582d6488750f00

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df70...
Cassie Han [Fri, 17 Nov 2017 19:23:00 +0000 (19:23 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." am: 3df706dcd9 am: ea01b02f71
am: 5c1b92c512

Change-Id: I139427f61310d568a51ece7297804e33b54fddaf