OSDN Git Service

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

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

6 years agoMerge "Fix typo" am: 913f396c11 am: 8c7c6e3952
Ahmad Melegy [Fri, 17 Nov 2017 19:13:29 +0000 (19:13 +0000)]
Merge "Fix typo" am: 913f396c11 am: 8c7c6e3952
am: 9296c2c8c1

Change-Id: Idb98baf68132e27718c69d4b9a6bc22e8db77a0e

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

Change-Id: I8871aeb7f3d1618883439df6f78f2d34955cc29e

6 years agoMerge "Fix typo" am: 913f396c11
Ahmad Melegy [Fri, 17 Nov 2017 19:04:55 +0000 (19:04 +0000)]
Merge "Fix typo" am: 913f396c11
am: 8c7c6e3952

Change-Id: Ieed26cd7bb6be66c6084dd0fc8f0dcc05d9156d0

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

Change-Id: I83ebfa9404af1b8045c6d9c7e8a3634469420adc

6 years agoMerge "Fix typo"
Ahmad Melegy [Fri, 17 Nov 2017 18:55:53 +0000 (18:55 +0000)]
Merge "Fix typo"
am: 913f396c11

Change-Id: I244ccafe5bf76718cdc48b2fa7d9ce8270b0dd33

6 years agoMerge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Cassie Han [Fri, 17 Nov 2017 18:47:59 +0000 (18:47 +0000)]
Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."

6 years agoMerge "Fix typo"
Treehugger Robot [Fri, 17 Nov 2017 18:47:43 +0000 (18:47 +0000)]
Merge "Fix typo"

6 years agoMerge "Expose how many bytes are written in ProtoOutputStream"
Yi Jin [Fri, 17 Nov 2017 18:44:15 +0000 (18:44 +0000)]
Merge "Expose how many bytes are written in ProtoOutputStream"

6 years agoApply PGO for all modules in hwui
Pirama Arumuga Nainar [Fri, 17 Nov 2017 06:40:00 +0000 (22:40 -0800)]
Apply PGO for all modules in hwui

Bug: http://b/65598278

Since hwui source files get statically linked into hwuimicro and
hwuimacro, we need to enable PGO for them (to instrument and collect
profiles).  For consistency, apply PGO to all hwui modules (including
the unit tests) so we test the actual build configuration for libhwui.

For now, we don't use any profile so this CL affects the build only when
instrumentation is turned on using 'ANDROID_PGO_INSTRUMENT=hwui'.

Test: Build with ANDROID_PGO_INSTRUMENT=hwui, run hwuimacro and
hwuimicro and verify profile generation

Change-Id: I9d35953d544e0ccc180eb164ff53466239194c0f

6 years agoMerge "Fix Gravity toString wrong message issue"
Qing Xia [Fri, 17 Nov 2017 18:29:57 +0000 (18:29 +0000)]
Merge "Fix Gravity toString wrong message issue"

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 17 Nov 2017 18:25:24 +0000 (18:25 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."

6 years agofix the permission check crash in statsd.
Yao Chen [Fri, 17 Nov 2017 17:44:40 +0000 (09:44 -0800)]
fix the permission check crash in statsd.

And change the fake config uid to be 1000, so we can dump it from the test app.

Test: manual
Change-Id: I99b4cd28b351add8cf3e315e1dccf8cf511a0be8

6 years agoLocation Unit tests
tccyp [Wed, 15 Nov 2017 18:51:53 +0000 (10:51 -0800)]
Location Unit tests

- Added the GnssStatus unit test
- Upgraded the runner to AndroidJunitRunner
- Removed the old non-working unit tests.

To run the tests, use any of this:
1. runtest frameworks-location
2. forrest test FrameworksLocationTests

Bug: 69375757
Test: runtest frameworks-location

Change-Id: Ia52a8ce51ab9334ad1b8dd1686303270ceca270b

6 years agoBuild fontchain_lint using python_binary_host
Nan Zhang [Thu, 9 Nov 2017 04:48:46 +0000 (20:48 -0800)]
Build fontchain_lint using python_binary_host

Test: out/host/linux-x86/bin/fontchain_lint
out/target/product/generic/system true external/unicode
Bug: b/27727331

Change-Id: Ib9353d2338c3b939027069f49e3e847c65526581

6 years agoMerge "Add a link to the PackageInstaller API demos."
Peter Visontay [Fri, 17 Nov 2017 17:04:29 +0000 (17:04 +0000)]
Merge "Add a link to the PackageInstaller API demos."

6 years agoAdd missing } on @link tag.
Tyler Gunn [Fri, 17 Nov 2017 16:36:41 +0000 (08:36 -0800)]
Add missing } on @link tag.

Test: Compiled code (this is a non-code change).
Bug: 69439905
Change-Id: I334ef7d74ac9802378b43a8f95979dcaf82c592f

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 17 Nov 2017 15:21:49 +0000 (15:21 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."

6 years agoAdd a link to the PackageInstaller API demos.
Peter Visontay [Fri, 17 Nov 2017 14:00:47 +0000 (14:00 +0000)]
Add a link to the PackageInstaller API demos.

Test: Ran "make docs".
Change-Id: I8459bc2a4aaf3827f71a6af5478ff0f30fae6dc3

6 years agoRootless GPU Debug
Cody Northrop [Fri, 20 Oct 2017 15:03:13 +0000 (09:03 -0600)]
Rootless GPU Debug

Add the ability to load GPU debug layers from the base
directory of debuggable applications.

This commit:
* Adds a new Setting to Developer options: "Enable GPU debug layers"
* Adds a new way to discover and specify GPU debug layers per app
* Moves much of the layer enabling logic into GraphicsEnvironment
* Removes the JNI component of ApplicationLoaders

Bug: 63708377
Test: Manual, CTS tests to follow
Change-Id: I7d33e9f835f49aa8d86e63bdb32037728bc8b6a4

6 years agoMerge "Drop the second unit from elapsed time if zero"
TreeHugger Robot [Fri, 17 Nov 2017 05:32:56 +0000 (05:32 +0000)]
Merge "Drop the second unit from elapsed time if zero"

6 years agoMerge "Adds CHRE platform ID to ContextHubInfo"
TreeHugger Robot [Fri, 17 Nov 2017 05:07:54 +0000 (05:07 +0000)]
Merge "Adds CHRE platform ID to ContextHubInfo"

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
Calin Juravle [Fri, 17 Nov 2017 03:04:52 +0000 (03:04 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b am: af657ae978
am: a6b3dc3c42

Change-Id: I359059c4b96248aba45843acf7bff31ecc37b841

6 years agoMerge "Workaround to get passed the broken install flow" am: b0e6508a5b
Calin Juravle [Fri, 17 Nov 2017 02:55:15 +0000 (02:55 +0000)]
Merge "Workaround to get passed the broken install flow" am: b0e6508a5b
am: af657ae978

Change-Id: I57ba9c85e4d5b4e301cb14ba068430c4454a4978

6 years agoAdds CHRE platform ID to ContextHubInfo
Arthur Ishiguro [Thu, 2 Nov 2017 18:30:41 +0000 (11:30 -0700)]
Adds CHRE platform ID to ContextHubInfo

Adds a parameterized constructor and the platform ID to the
ContextHubInfo.

Bug: 67734082
Test: make update-api && make from root
Change-Id: I98822f625c5173cdbd281b24550de434b67b18d3

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:46:57 +0000 (02:46 +0000)]
Merge "Workaround to get passed the broken install flow"
am: b0e6508a5b

Change-Id: Icbad0d985b4d8d3e206ee5e426cdd1f58955aec1

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec...
Jack He [Fri, 17 Nov 2017 02:40:58 +0000 (02:40 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da am: a3185b2ff2
am: e778568995

Change-Id: I2cd2414e591fc224364fc286696d910a1ab0b710

6 years agoMerge "Make ripples silky smooth"
TreeHugger Robot [Fri, 17 Nov 2017 02:36:55 +0000 (02:36 +0000)]
Merge "Make ripples silky smooth"

6 years agoMerge "Workaround to get passed the broken install flow"
Calin Juravle [Fri, 17 Nov 2017 02:36:29 +0000 (02:36 +0000)]
Merge "Workaround to get passed the broken install flow"

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
Jack He [Fri, 17 Nov 2017 02:29:10 +0000 (02:29 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener" am: 8055aec0da
am: a3185b2ff2

Change-Id: Iaa074f6d99742605537c9f406c848a470c2c777c

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Jack He [Fri, 17 Nov 2017 02:19:02 +0000 (02:19 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
am: 8055aec0da

Change-Id: If1757262ce5da5f2ab1055cfb238ea570550f7f7

6 years agoMerge "Write statsd configuration to disk and add cmd to clear it"
Howard Ro [Fri, 17 Nov 2017 02:16:07 +0000 (02:16 +0000)]
Merge "Write statsd configuration to disk and add cmd to clear it"

6 years agoMerge "Revert "Implement front-end APIs for generic vendor-specific parameters.""
TreeHugger Robot [Fri, 17 Nov 2017 02:13:07 +0000 (02:13 +0000)]
Merge "Revert "Implement front-end APIs for generic vendor-specific parameters.""

6 years agoMerge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"
Treehugger Robot [Fri, 17 Nov 2017 02:10:07 +0000 (02:10 +0000)]
Merge "Telephony: Allow custom looper for OnSubscriptionsChangedListener"

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
Jakub Pawlowski [Fri, 17 Nov 2017 01:58:04 +0000 (01:58 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a am: b6946d8563
am: 447e453e58

Change-Id: Idd087f45d5fba325f347a8bb0391745ccd0593a0

6 years agoMerge "Add getProfileParentId (1/2)" am: 7a2c66359a
Jakub Pawlowski [Fri, 17 Nov 2017 01:48:14 +0000 (01:48 +0000)]
Merge "Add getProfileParentId (1/2)" am: 7a2c66359a
am: b6946d8563

Change-Id: I3fe6f4300c9321fc57479fc4a9e952d2aa0c73cc

6 years agoMerge "Remove one legacy install path"
TreeHugger Robot [Fri, 17 Nov 2017 01:46:18 +0000 (01:46 +0000)]
Merge "Remove one legacy install path"

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:40:05 +0000 (01:40 +0000)]
Merge "Add getProfileParentId (1/2)"
am: 7a2c66359a

Change-Id: Iea965e42bb79f939381971e8dd9466b824606ee0

6 years agoMerge "Add getProfileParentId (1/2)"
Jakub Pawlowski [Fri, 17 Nov 2017 01:33:31 +0000 (01:33 +0000)]
Merge "Add getProfileParentId (1/2)"

6 years agoAAPT2: Fix debugging output
Adam Lesinski [Fri, 17 Nov 2017 00:58:02 +0000 (16:58 -0800)]
AAPT2: Fix debugging output

Test: manual
Change-Id: I3a362caf7bd691df399db00c6280e0a208a406da

6 years agoMerge "Provide remote stack trace information"
Fyodor Kupolov [Fri, 17 Nov 2017 00:51:39 +0000 (00:51 +0000)]
Merge "Provide remote stack trace information"

6 years agoMake ripples silky smooth
John Reck [Thu, 16 Nov 2017 21:44:35 +0000 (13:44 -0800)]
Make ripples silky smooth

* Updates press state ripple to match UX spec
* Makes it ungodly silky smooth LIKE BUTTAH
* Update hover & focus states to be closer to UX spec,
  still needs a final pass.

Bug: 63635160
Test: Clicked on a bunch of stuff

Change-Id: I162ab9d8d669002f2ae511f93b5d9fe67f99c533

6 years agoMerge "Add support for provider proto dump in ActivityManager"
TreeHugger Robot [Fri, 17 Nov 2017 00:29:46 +0000 (00:29 +0000)]
Merge "Add support for provider proto dump in ActivityManager"

6 years agoWrite statsd configuration to disk and add cmd to clear it
yro [Wed, 15 Nov 2017 05:31:43 +0000 (21:31 -0800)]
Write statsd configuration to disk and add cmd to clear it

Test: statsd, statsd_test
Change-Id: Iba37a7f295256d24969185bdde6cbf28f9b89a55

6 years agoRevert "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Fri, 17 Nov 2017 00:21:21 +0000 (00:21 +0000)]
Revert "Implement front-end APIs for generic vendor-specific parameters."

This reverts commit 7c22694dc2b0df5a74837f4268f2c1ce6181c49c.

Change-Id: I311166b4cfb55ea032c89a5a7ce49eeaeb02338e

6 years agoWorkaround to get passed the broken install flow
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Workaround to get passed the broken install flow

For fresh installs the PM does not set the app uid before invoking
dexopt; so we would always get a bogus GID.

This is a temporary workaround which fixes the GID of newly
installed apps to an arbitrary UNKNOWN gid.

Test: adb install
Bug: 64548938
Bug: 69331247

(cherry picked from commit a73e165c2ea0bb6499b89dd335d6ef878c92b8e9)

Change-Id: I6438ec8cfca88df813e166f9ef5821e62faf524a

6 years agoTelephony: Allow custom looper for OnSubscriptionsChangedListener
Jack He [Thu, 16 Nov 2017 23:54:14 +0000 (15:54 -0800)]
Telephony: Allow custom looper for OnSubscriptionsChangedListener

* Add OnSubscriptionsChangedListener(Looper looper) constructor

Bug: 69429540
Test: Use this constructor in HeadsetPhoneState.java
Change-Id: I37b6c8d970384466527acc8df7a818625865ab16

6 years agoExpose how many bytes are written in ProtoOutputStream
Yi Jin [Thu, 16 Nov 2017 23:32:27 +0000 (15:32 -0800)]
Expose how many bytes are written in ProtoOutputStream

Bug: 69428467
Test: N/A
Change-Id: If1405885949635cebd1c6d89e220c210ef9fa210

6 years agoMerge "Minor changes in ChoreographerCompat"
TreeHugger Robot [Thu, 16 Nov 2017 23:16:24 +0000 (23:16 +0000)]
Merge "Minor changes in ChoreographerCompat"

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289...
Ajay Panicker [Thu, 16 Nov 2017 23:12:23 +0000 (23:12 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289 am: 171dec7468
am: 6ba5159291

Change-Id: I75138e80effdebee9ec699065360d3e5cc291775

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
Ajay Panicker [Thu, 16 Nov 2017 23:02:43 +0000 (23:02 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier" am: 12bc5b6289
am: 171dec7468

Change-Id: Ie210bbb4a9231377b795ca86219dfab7ee59ff8c

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Ajay Panicker [Thu, 16 Nov 2017 22:53:19 +0000 (22:53 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"
am: 12bc5b6289

Change-Id: Ie622564ba02ec7a39d8f3574ea8885b225596c67

6 years agoMerge "Add MediaMetadata equals to make metadata comparisons easier"
Treehugger Robot [Thu, 16 Nov 2017 22:43:40 +0000 (22:43 +0000)]
Merge "Add MediaMetadata equals to make metadata comparisons easier"

6 years agoMerge "Don't allow 0-sized views to be focused."
Evan Rosky [Thu, 16 Nov 2017 22:42:58 +0000 (22:42 +0000)]
Merge "Don't allow 0-sized views to be focused."