OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Display the active volume stream."
Julia Reynolds [Fri, 19 Jan 2018 15:40:35 +0000 (15:40 +0000)]
Merge "Display the active volume stream."

6 years agoMerge "Revert "Calc job standby runnability based on last job execution...""
Robert Berry [Fri, 19 Jan 2018 15:25:29 +0000 (15:25 +0000)]
Merge "Revert "Calc job standby runnability based on last job execution...""

6 years agoMerge "DisplayCutout: device-independent emulation overlay"
TreeHugger Robot [Fri, 19 Jan 2018 14:42:13 +0000 (14:42 +0000)]
Merge "DisplayCutout: device-independent emulation overlay"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 19 Jan 2018 14:28:26 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 19 Jan 2018 13:37:19 +0000 (13:37 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Implement Policy to disable printing."
Vladislav Kuzkokov [Fri, 19 Jan 2018 13:36:09 +0000 (13:36 +0000)]
Merge "Implement Policy to disable printing."

6 years agoRevert "Calc job standby runnability based on last job execution..."
Robert Berry [Fri, 19 Jan 2018 10:52:19 +0000 (10:52 +0000)]
Revert "Calc job standby runnability based on last job execution..."

This reverts commit f0ce10155244b8e7361dc61640a2d0beac22471b.

Reason for revert: broken master

Test: manual
Bug: 72207660
Change-Id: Ib760dadfd51c4457744b0688f714de8f61570f50

6 years agoMerge "Alert user on rapid/heavy data usage."
Jeff Sharkey [Fri, 19 Jan 2018 12:27:22 +0000 (12:27 +0000)]
Merge "Alert user on rapid/heavy data usage."

6 years agoMerge "Use data plans for better job scheduling."
Jeff Sharkey [Fri, 19 Jan 2018 12:21:01 +0000 (12:21 +0000)]
Merge "Use data plans for better job scheduling."

6 years agoDisplayCutout: device-independent emulation overlay
Adrian Roos [Thu, 18 Jan 2018 16:45:52 +0000 (17:45 +0100)]
DisplayCutout: device-independent emulation overlay

Adds an option to use dp instead of px when specifying the cutout bounds.
Also centers the coordinate system in the middle, making it easier to specify
the usually centered cutouts.

Also makes the emulated cutout a bit prettier.

Bug: 65689439
Test: adb shell overlay enable com.android.display.cutout.emulation
Change-Id: I3bd16af15f1dad2af204d436abaa35fb9e5ae146

6 years agoMerge "Add validators for all Settings.Global settings that are backed up"
Michal Karpinski [Fri, 19 Jan 2018 11:44:13 +0000 (11:44 +0000)]
Merge "Add validators for all Settings.Global settings that are backed up"

6 years agoMerge "Add SettingsValidators class and a test for validators enforcement"
Michal Karpinski [Fri, 19 Jan 2018 11:42:52 +0000 (11:42 +0000)]
Merge "Add SettingsValidators class and a test for validators enforcement"

6 years agoMerge "Remove junit classes from android.jar"
TreeHugger Robot [Fri, 19 Jan 2018 11:40:20 +0000 (11:40 +0000)]
Merge "Remove junit classes from android.jar"

6 years agoMerge "Apply differential privacy on watchlist report"
Ricky Wai [Fri, 19 Jan 2018 11:28:06 +0000 (11:28 +0000)]
Merge "Apply differential privacy on watchlist report"

6 years agoMerge "Handle multiple packages of same name in 'aapt2 convert'"
David Chaloupka [Fri, 19 Jan 2018 10:57:53 +0000 (10:57 +0000)]
Merge "Handle multiple packages of same name in 'aapt2 convert'"

6 years agoMerge "Initial commit for VideoView2Impl"
TreeHugger Robot [Fri, 19 Jan 2018 09:57:15 +0000 (09:57 +0000)]
Merge "Initial commit for VideoView2Impl"

6 years agoAlert user on rapid/heavy data usage.
Jeff Sharkey [Fri, 19 Jan 2018 09:02:47 +0000 (18:02 +0900)]
Alert user on rapid/heavy data usage.

Now that we have accurate information about a user's carrier data
plan, we can alert them if the current usage patterns would end up
with a nasty surprise towards the end of the current billing cycle.

For example, a single abusive app could use 90% of the user's budget
within the first few days of a billing cycle, leaving the user to
limp along for the remainder of the month.

The simple algorithm here extrapolates to see if the average usage
over the last 4 days would be more than 150% of the data limit for
the full billing cycle.  This period is short enough to catch rapid
recent usage, but long enough to smooth over short-term habit
changes, such as a weekend getaway.  This was chosen after
backtesting the proposed algorithm against real-world data usage
from a handful of internal users.

Fix NPMS unit tests, and write new ones, but leave the existing
@Ignored annotation intact for now.

Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 64133169
Change-Id: I0d394b133257e8569a9aa2631b57638839d870ce

6 years agoMerge "Only load preinstalled updatable in release"
TreeHugger Robot [Fri, 19 Jan 2018 09:18:39 +0000 (09:18 +0000)]
Merge "Only load preinstalled updatable in release"

6 years agoRemove junit classes from android.jar
Paul Duffin [Mon, 18 Dec 2017 12:53:43 +0000 (12:53 +0000)]
Remove junit classes from android.jar

Bug: 30188076
Test: make checkbuild
Change-Id: Ia90b8a81495299165d6f8d373ab8c5937e2a5290

6 years agoMerge "Added new SIM state related broadcasts." am: 0fc9900802 am: 6ada16b386
Amit Mahajan [Fri, 19 Jan 2018 08:02:04 +0000 (08:02 +0000)]
Merge "Added new SIM state related broadcasts." am: 0fc9900802 am: 6ada16b386
am: 1644137343  -s ours

Change-Id: I3b6f80f86f5a422d768f92ded609a2bc0ee61d86

6 years agoMerge "Added new SIM state related broadcasts." am: 0fc9900802
Amit Mahajan [Fri, 19 Jan 2018 07:54:45 +0000 (07:54 +0000)]
Merge "Added new SIM state related broadcasts." am: 0fc9900802
am: 6ada16b386

Change-Id: Id2b6996e712675b387d0f6b89043b02f39fb1af9

6 years agoMerge "Added new SIM state related broadcasts."
Amit Mahajan [Fri, 19 Jan 2018 07:47:21 +0000 (07:47 +0000)]
Merge "Added new SIM state related broadcasts."
am: 0fc9900802

Change-Id: I10b5f7a9307012e1097712acd36a91c5f6969c11

6 years agoOnly load preinstalled updatable in release
Christofer Åkersten [Fri, 19 Jan 2018 07:20:37 +0000 (16:20 +0900)]
Only load preinstalled updatable in release

Test: Instantiate MediaController2
Change-Id: I8da88cf9291ee1365143ca86fa64d3f2fde8e225

6 years agoMerge "Only pass resources to updatable"
TreeHugger Robot [Fri, 19 Jan 2018 07:14:46 +0000 (07:14 +0000)]
Merge "Only pass resources to updatable"

6 years agoUse data plans for better job scheduling.
Jeff Sharkey [Thu, 18 Jan 2018 22:58:35 +0000 (07:58 +0900)]
Use data plans for better job scheduling.

Now that we have data plan information from the carrier, we can start
using it to influence when we schedule jobs.  As a first pass
algorithm:

-- If the network is congested, and a job is less than 50% through
its runnable window, then we'll defer it for awhile.
-- If the network has a surplus of data, we'll consider using some
of it to improve the user experience by running prefetching jobs.

Provider APIs for carrier apps to override their connections to be
temporarily marked as either "unmetered" or "congested", along with
automatic timeouts if desired.

Flag for developers to indicate which jobs will have a material
positive impact on end users.  (We don't want to promote jobs that
are simply doing logs upload; for example.)  Glue code to quickly
return targetSdk of a specific package.

More tweaking to the exact algorithms will come in future CLs.

Test: bit FrameworksServicesTests:com.android.server.job.
Bug: 64133169
Change-Id: Iabb9f90a7a65958ad648b091edec378fc3bf785a

6 years agoMerge "Add DataUnit to clarify SI-vs-IEC units."
Jeff Sharkey [Fri, 19 Jan 2018 06:38:48 +0000 (06:38 +0000)]
Merge "Add DataUnit to clarify SI-vs-IEC units."

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Jan 2018 06:34:01 +0000 (22:34 -0800)]
Import translations. DO NOT MERGE

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

6 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Jan 2018 06:28:46 +0000 (22:28 -0800)]
Import translations. DO NOT MERGE

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

6 years agoMerge "Camera: Update MOTION_TRACKING requirements"
TreeHugger Robot [Fri, 19 Jan 2018 06:08:23 +0000 (06:08 +0000)]
Merge "Camera: Update MOTION_TRACKING requirements"

6 years agoMerge "Add 4 new fields to KeychainSnapshot"
TreeHugger Robot [Fri, 19 Jan 2018 05:51:43 +0000 (05:51 +0000)]
Merge "Add 4 new fields to KeychainSnapshot"

6 years agoInitial commit for VideoView2Impl
Insun Kang [Wed, 17 Jan 2018 14:06:18 +0000 (23:06 +0900)]
Initial commit for VideoView2Impl

Test: build
Change-Id: I12b93da01b9c37115cba29b8b50b36cf3d74ddb6

6 years agoMerge "Merge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8 am...
Android Build Merger (Role) [Fri, 19 Jan 2018 05:36:48 +0000 (05:36 +0000)]
Merge "Merge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8 am: 1993c5618a"

6 years agoMerge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8
Ian Pedowitz [Fri, 19 Jan 2018 05:35:27 +0000 (05:35 +0000)]
Merge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8
am: 1993c5618a

Change-Id: If6e67a008d02dc561982583a3819de1ef3e06e46

6 years agoMerge "Merge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d am: b9b7bfb02f"
Android Build Merger (Role) [Fri, 19 Jan 2018 05:30:31 +0000 (05:30 +0000)]
Merge "Merge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d am: b9b7bfb02f"

6 years agoMerge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d
Steven Moreland [Fri, 19 Jan 2018 05:30:07 +0000 (05:30 +0000)]
Merge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d
am: b9b7bfb02f

Change-Id: I2b1506eee7c7a5f9557029abd2013c3b2ae0c523

6 years agoMerge "StaticLayoutPerfTest: Use fixed seed in each test case"
TreeHugger Robot [Fri, 19 Jan 2018 05:27:46 +0000 (05:27 +0000)]
Merge "StaticLayoutPerfTest: Use fixed seed in each test case"

6 years agoMerge "Add ability to override subscriber capabilities." am: d6cd4b241a am: 5e097d452b
Jeff Sharkey [Fri, 19 Jan 2018 05:25:20 +0000 (05:25 +0000)]
Merge "Add ability to override subscriber capabilities." am: d6cd4b241a am: 5e097d452b
am: 992cfa2667

Change-Id: I46a6c87751494afca6fdd13736d7a4877e3cc833

6 years agoMerge "Fix <Report Audio Status> update" am: 1d5e2c3c37 am: e7aaba48de
Dan Zhang [Fri, 19 Jan 2018 05:21:12 +0000 (05:21 +0000)]
Merge "Fix <Report Audio Status> update" am: 1d5e2c3c37 am: e7aaba48de
am: 4775f0c76e

Change-Id: I98074b58c0b9def3d766c40ac2c5bc669a2abd0f

6 years agoMerge "Fix OTP performance with no Vendor ID device" am: 6ecaac4c9f am: b88d9b4593
Dan Zhang [Fri, 19 Jan 2018 05:17:09 +0000 (05:17 +0000)]
Merge "Fix OTP performance with no Vendor ID device" am: 6ecaac4c9f am: b88d9b4593
am: 0f279d4577

Change-Id: I0f8bb0736384cafd60180e658ecbe08a464db8d4

6 years agoMerge "Fix NPE by pressing Volume Up/Down" am: fca5ee0bb8 am: bd57a4d8a1
Dan Zhang [Fri, 19 Jan 2018 05:13:10 +0000 (05:13 +0000)]
Merge "Fix NPE by pressing Volume Up/Down" am: fca5ee0bb8 am: bd57a4d8a1
am: cc07fa73a1

Change-Id: I95d710489a0ad87c6e3811603097e5438f11f413

6 years agoMerge "Fix illegal volume value issue" am: 20443a8dbb am: 65dd4cbf32
Dan Zhang [Fri, 19 Jan 2018 05:09:15 +0000 (05:09 +0000)]
Merge "Fix illegal volume value issue" am: 20443a8dbb am: 65dd4cbf32
am: 3a05ecd714

Change-Id: I64f27d734dc93c036b4f8bd1ecf3088821b92a75

6 years agoOnly pass resources to updatable
Christofer Åkersten [Fri, 19 Jan 2018 05:09:09 +0000 (14:09 +0900)]
Only pass resources to updatable

Test: Instantiate MediaController2
Change-Id: If357a01847d8a2f9995af3f4c3ec3a777082c662

6 years agoMerge "Revert the field number change to make statsd_config proto backward-compatible."
TreeHugger Robot [Fri, 19 Jan 2018 05:03:27 +0000 (05:03 +0000)]
Merge "Revert the field number change to make statsd_config proto backward-compatible."

6 years agoMerge "Temporary use hardcoded counterId."
TreeHugger Robot [Fri, 19 Jan 2018 05:02:18 +0000 (05:02 +0000)]
Merge "Temporary use hardcoded counterId."

6 years agoMerge "resolve merge conflicts of f761f6371a0350bd8d62e97d14cce869a5039572 to master"
TreeHugger Robot [Fri, 19 Jan 2018 04:58:29 +0000 (04:58 +0000)]
Merge "resolve merge conflicts of f761f6371a0350bd8d62e97d14cce869a5039572 to master"

6 years agoMerge "Added new SIM state related broadcasts."
Treehugger Robot [Fri, 19 Jan 2018 04:25:12 +0000 (04:25 +0000)]
Merge "Added new SIM state related broadcasts."

6 years agoMerge "Fixing app compat issue b/72143978" am: 8353a39ecc
Ian Pedowitz [Fri, 19 Jan 2018 04:21:35 +0000 (04:21 +0000)]
Merge "Fixing app compat issue b/72143978" am: 8353a39ecc
am: 61bab24fa8

Change-Id: I6f07f1d9cfd26aa8b93a2563349b5e40effb7a41

6 years agoMerge "camera: Add external flash mode key"
TreeHugger Robot [Fri, 19 Jan 2018 04:19:23 +0000 (04:19 +0000)]
Merge "camera: Add external flash mode key"

6 years agoMerge "Fixing app compat issue b/72143978"
Ian Pedowitz [Fri, 19 Jan 2018 04:13:00 +0000 (04:13 +0000)]
Merge "Fixing app compat issue b/72143978"
am: 8353a39ecc

Change-Id: I4ca60a29aec20f08c65d85b03a080a19d03c7345

6 years agoMerge "Ignore missing font in fontchain_linter.py"
TreeHugger Robot [Fri, 19 Jan 2018 03:37:25 +0000 (03:37 +0000)]
Merge "Ignore missing font in fontchain_linter.py"

6 years agoMerge "Make NotificationShelf nullable in StackScrollAlgorithm."
TreeHugger Robot [Fri, 19 Jan 2018 03:36:02 +0000 (03:36 +0000)]
Merge "Make NotificationShelf nullable in StackScrollAlgorithm."

6 years agoMerge "Fix bug in statsd with uid memory guardrail"
TreeHugger Robot [Fri, 19 Jan 2018 03:31:56 +0000 (03:31 +0000)]
Merge "Fix bug in statsd with uid memory guardrail"

6 years agoMerge "HIDL: Check error value." am: 898137f817
Steven Moreland [Fri, 19 Jan 2018 03:21:45 +0000 (03:21 +0000)]
Merge "HIDL: Check error value." am: 898137f817
am: 74426e9c2d

Change-Id: Iadcd6a9264e0771aa6d9fe62cca221f2391f2d12

6 years agoMerge "Calc job standby runnability based on last job execution..."
TreeHugger Robot [Fri, 19 Jan 2018 03:19:36 +0000 (03:19 +0000)]
Merge "Calc job standby runnability based on last job execution..."

6 years agoMerge "HIDL: Check error value."
Steven Moreland [Fri, 19 Jan 2018 03:15:30 +0000 (03:15 +0000)]
Merge "HIDL: Check error value."
am: 898137f817

Change-Id: I838c21cc0c423d41e980a360967a2773238dff81

6 years agoAdd 4 new fields to KeychainSnapshot
Dmitry Dementyev [Fri, 19 Jan 2018 00:44:08 +0000 (16:44 -0800)]
Add 4 new fields to KeychainSnapshot

The fields are necessary to construct correct arguments for recovery session.
 maxAttempts
 counterId
 serverParams
 trustedHardwarePublicKey

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

Change-Id: If8fbc2e0a313d4367712e3598925eab0fb334258

6 years agoMerge "Put statsd on system-background cpu set."
TreeHugger Robot [Fri, 19 Jan 2018 02:53:30 +0000 (02:53 +0000)]
Merge "Put statsd on system-background cpu set."

6 years agoTemporary use hardcoded counterId.
Dmitry Dementyev [Fri, 19 Jan 2018 00:57:01 +0000 (16:57 -0800)]
Temporary use hardcoded counterId.

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

Change-Id: I0f387e6a424f24de340276fc45cfaddb3529a715

6 years agoMerge "Fixing app compat issue b/72143978"
Treehugger Robot [Fri, 19 Jan 2018 02:38:33 +0000 (02:38 +0000)]
Merge "Fixing app compat issue b/72143978"

6 years agoMerge "Added new SIM state related broadcasts."
TreeHugger Robot [Fri, 19 Jan 2018 02:32:46 +0000 (02:32 +0000)]
Merge "Added new SIM state related broadcasts."

6 years agoresolve merge conflicts of f761f6371a0350bd8d62e97d14cce869a5039572 to
Arthur Hsu [Fri, 19 Jan 2018 02:30:23 +0000 (18:30 -0800)]
resolve merge conflicts of f761f6371a0350bd8d62e97d14cce869a5039572 to
master

Test: I solemnly swear I tested this conflict resolution.

Change-Id: I095f92ed3607616a7147a23f1fd9cd65b72e921b

6 years agoMerge "Add back missing synchronized in stopGuestOrEphemeralUserIfBackground"
TreeHugger Robot [Fri, 19 Jan 2018 02:10:46 +0000 (02:10 +0000)]
Merge "Add back missing synchronized in stopGuestOrEphemeralUserIfBackground"

6 years agoMerge "Modify IHealthInfoCallback interface to return V2.0 HealthInfo"
TreeHugger Robot [Fri, 19 Jan 2018 01:55:27 +0000 (01:55 +0000)]
Merge "Modify IHealthInfoCallback interface to return V2.0 HealthInfo"

6 years agoMerge "Fix RecoverableKeyStore unit tests."
TreeHugger Robot [Fri, 19 Jan 2018 01:48:10 +0000 (01:48 +0000)]
Merge "Fix RecoverableKeyStore unit tests."

6 years agoMerge "HIDL: Check error value."
Treehugger Robot [Fri, 19 Jan 2018 01:41:08 +0000 (01:41 +0000)]
Merge "HIDL: Check error value."

6 years agoMerge "leanback janktest: use extra to initialize fastlane state"
Dake Gu [Fri, 19 Jan 2018 01:32:47 +0000 (01:32 +0000)]
Merge "leanback janktest: use extra to initialize fastlane state"

6 years agoMerge "Center backspace key ripple in pin keyguard"
TreeHugger Robot [Fri, 19 Jan 2018 01:26:41 +0000 (01:26 +0000)]
Merge "Center backspace key ripple in pin keyguard"

6 years agoMerge "condition dimension query."
TreeHugger Robot [Fri, 19 Jan 2018 01:26:21 +0000 (01:26 +0000)]
Merge "condition dimension query."

6 years agoMerge changes from topic "shadow-in-app"
TreeHugger Robot [Fri, 19 Jan 2018 01:24:40 +0000 (01:24 +0000)]
Merge changes from topic "shadow-in-app"

* changes:
  Remove DragDropController#prepareDrag()
  Create a drag shadow surface in app process,

6 years agoIgnore missing font in fontchain_linter.py
Seigo Nonaka [Fri, 19 Jan 2018 01:24:31 +0000 (17:24 -0800)]
Ignore missing font in fontchain_linter.py

It is totally valid if the font is missing even if the font is listed in
fonts.xml. Android Watch has less fonts and OEM vendor may reduce the
font files.

Bug: 72159040
Test: m fontchain_lint
Change-Id: I22bdf7bfeb6d80a2a338ebf7536c8eaf193b03c5

6 years agoMerge "Fix missing service call when rebinding to VrCore"
Steven Thomas [Fri, 19 Jan 2018 01:19:44 +0000 (01:19 +0000)]
Merge "Fix missing service call when rebinding to VrCore"

6 years agoMerge "Add ability to override subscriber capabilities." am: d6cd4b241a
Jeff Sharkey [Fri, 19 Jan 2018 01:11:41 +0000 (01:11 +0000)]
Merge "Add ability to override subscriber capabilities." am: d6cd4b241a
am: 5e097d452b

Change-Id: Ib22d57c7cde75560cfd5bdd71b75d29b1056f783

6 years agoMerge "Add ability to override subscriber capabilities."
Jeff Sharkey [Fri, 19 Jan 2018 01:04:32 +0000 (01:04 +0000)]
Merge "Add ability to override subscriber capabilities."
am: d6cd4b241a

Change-Id: Id035d437e9b297ba70ba9231f6cfdd44e5b9c257

6 years agoMerge "Treat missing font in fallback chain"
TreeHugger Robot [Fri, 19 Jan 2018 01:03:55 +0000 (01:03 +0000)]
Merge "Treat missing font in fallback chain"

6 years agoMerge "AAPT2: Store BinaryPrimatives in protos as oneofs"
TreeHugger Robot [Fri, 19 Jan 2018 01:00:00 +0000 (01:00 +0000)]
Merge "AAPT2: Store BinaryPrimatives in protos as oneofs"

6 years agoAdd DataUnit to clarify SI-vs-IEC units.
Jeff Sharkey [Fri, 19 Jan 2018 00:56:51 +0000 (09:56 +0900)]
Add DataUnit to clarify SI-vs-IEC units.

Improve docs and propose it as public API.

Test: builds, boots
Bug: 70915728
Change-Id: I9b55601e9eb8c069eeccd5f8f5e64fb34e336fd2

6 years agoMerge "Add semantics for accessibility headings"
TreeHugger Robot [Fri, 19 Jan 2018 00:53:49 +0000 (00:53 +0000)]
Merge "Add semantics for accessibility headings"

6 years agoMerge "Change packVaultParams to use the real vault_handle directly"
Bo Zhu [Fri, 19 Jan 2018 00:44:40 +0000 (00:44 +0000)]
Merge "Change packVaultParams to use the real vault_handle directly"

6 years agoRevert the field number change to make statsd_config proto backward-compatible.
Yangster-mac [Fri, 19 Jan 2018 00:40:57 +0000 (16:40 -0800)]
Revert the field number change to make statsd_config proto backward-compatible.

Test: statsd unit test passed.
Change-Id: I28b28c0706d35da3617ec9dba4c5bfeb2527befc

6 years agoMerge "Update the dimension_in_what/condition field number."
TreeHugger Robot [Fri, 19 Jan 2018 00:37:42 +0000 (00:37 +0000)]
Merge "Update the dimension_in_what/condition field number."

6 years agoPut statsd on system-background cpu set.
Yao Chen [Fri, 19 Jan 2018 00:37:10 +0000 (16:37 -0800)]
Put statsd on system-background cpu set.

Bug: 72176997
Test: manual
Change-Id: Ic160dc8ffea8fd349185ad8b583e6c02dc7defa6

6 years agoMerge "GnssMeasurementsListener - Fix indexing, add & remove"
TreeHugger Robot [Fri, 19 Jan 2018 00:35:58 +0000 (00:35 +0000)]
Merge "GnssMeasurementsListener - Fix indexing, add & remove"

6 years agoMerge "Revert "Enable init.rc for statsd to start statsd by default in boot time""
Yao Chen [Fri, 19 Jan 2018 00:27:36 +0000 (00:27 +0000)]
Merge "Revert "Enable init.rc for statsd to start statsd by default in boot time""

6 years agoFixing app compat issue b/72143978
Ian Pedowitz [Fri, 19 Jan 2018 00:24:11 +0000 (16:24 -0800)]
Fixing app compat issue b/72143978

Revert "Remove obsolete workaround."

This reverts commit 5e48241a95b843c10f96c57d8544af9d04807218.

Bug: 72143978
Bug: 24465209
Test: Tested failing case on sailfish, reverted back all CL's since
Test: 3471433 for b/24465209 and apps open

6 years agoMerge "Set ActivityView's rect as tap exclude region"
TreeHugger Robot [Fri, 19 Jan 2018 00:23:33 +0000 (00:23 +0000)]
Merge "Set ActivityView's rect as tap exclude region"

6 years agoRevert "Enable init.rc for statsd to start statsd by default in boot time"
Yao Chen [Fri, 19 Jan 2018 00:12:18 +0000 (00:12 +0000)]
Revert "Enable init.rc for statsd to start statsd by default in boot time"

This reverts commit 56967528d7bcc7a1342d68f19e0ffa79f2a1ed59.

Change-Id: I4b76bf5783f0df43603e82168009f33296d1f840

6 years agoCalc job standby runnability based on last job execution...
Christopher Tate [Thu, 18 Jan 2018 20:59:15 +0000 (12:59 -0800)]
Calc job standby runnability based on last job execution...

...not unilaterally on the current time of day.  In practice, the point
is that we should let an app run new jobs immediately if it's been a long
time since it ran any, even if it's in a less-active standby bucket,
because it's being a good citizen.

Bug: 63527785
Test: atest CtsJobSchedulerTestCases
Change-Id: I1521c82f23341246484efa733c43f983a5e9e568

6 years agoMerge "Fix <Report Audio Status> update" am: 1d5e2c3c37
Dan Zhang [Fri, 19 Jan 2018 00:05:48 +0000 (00:05 +0000)]
Merge "Fix <Report Audio Status> update" am: 1d5e2c3c37
am: e7aaba48de

Change-Id: I6f7314a01386aff883992d7f4b32bb9bb0500555

6 years agoFix bug in statsd with uid memory guardrail
David Chen [Fri, 19 Jan 2018 00:02:42 +0000 (16:02 -0800)]
Fix bug in statsd with uid memory guardrail

Previously unsigned a negative number to unsigned type, so the int
comparison didn't work as planned.

Test: Manually tested and observed log messages.
Change-Id: Ic72c4dbde5e560288fd64ca11c4bcc81021fb1a9

6 years agoMerge "Fixed method name that was changed in a previous CL."
Felipe Leme [Fri, 19 Jan 2018 00:01:25 +0000 (00:01 +0000)]
Merge "Fixed method name that was changed in a previous CL."

6 years agoMerge "Add factory for TaskPositioner."
TreeHugger Robot [Fri, 19 Jan 2018 00:01:04 +0000 (00:01 +0000)]
Merge "Add factory for TaskPositioner."

6 years agoMerge "Fix <Report Audio Status> update"
Dan Zhang [Thu, 18 Jan 2018 23:59:12 +0000 (23:59 +0000)]
Merge "Fix <Report Audio Status> update"
am: 1d5e2c3c37

Change-Id: Iac3e1fe3f93c376ccc35e29d611067fb0ad8a8fc

6 years agoMerge "Add ability to override subscriber capabilities."
Jeff Sharkey [Thu, 18 Jan 2018 23:58:30 +0000 (23:58 +0000)]
Merge "Add ability to override subscriber capabilities."

6 years agoFixed method name that was changed in a previous CL.
Felipe Leme [Thu, 18 Jan 2018 23:57:18 +0000 (15:57 -0800)]
Fixed method name that was changed in a previous CL.

Bug: 70939974
Test: nope, build is broken, must fix ASAP

Change-Id: I88cf6ccacb5baa097cea26c859b774738bd9b428

6 years agoMerge "Optimize calls to IME's onStartInput"
Tarandeep Singh [Thu, 18 Jan 2018 23:51:17 +0000 (23:51 +0000)]
Merge "Optimize calls to IME's onStartInput"

6 years agoMerge "Expose some hidden APIs in Choreographer to CTS"
Doris Liu [Thu, 18 Jan 2018 23:38:49 +0000 (23:38 +0000)]
Merge "Expose some hidden APIs in Choreographer to CTS"

6 years agoMerge "Implemented shell cmd to get field classification score."
TreeHugger Robot [Thu, 18 Jan 2018 23:34:00 +0000 (23:34 +0000)]
Merge "Implemented shell cmd to get field classification score."

6 years agoMerge "Moved Field Classification score logic to ExtServices."
Felipe Leme [Thu, 18 Jan 2018 23:33:44 +0000 (23:33 +0000)]
Merge "Moved Field Classification score logic to ExtServices."

6 years agoFix RecoverableKeyStore unit tests.
Dmitry Dementyev [Thu, 18 Jan 2018 22:29:49 +0000 (14:29 -0800)]
Fix RecoverableKeyStore unit tests.

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

Change-Id: I19aeb444e2f99f698cd1f9dfa13215093f5230da

6 years agoMerge "Ensure keyguard is considered unlocked on devices that disable it."
Leif Wilden [Thu, 18 Jan 2018 23:27:37 +0000 (23:27 +0000)]
Merge "Ensure keyguard is considered unlocked on devices that disable it."