OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add short term model reset threshold"
TreeHugger Robot [Wed, 28 Feb 2018 14:24:52 +0000 (14:24 +0000)]
Merge "Add short term model reset threshold"

6 years agoMerge "Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8 am: 0f4ca4a5c0"
Android Build Merger (Role) [Wed, 28 Feb 2018 14:14:22 +0000 (14:14 +0000)]
Merge "Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8 am: 0f4ca4a5c0"

6 years agoMerge "Implement QS spec."
TreeHugger Robot [Wed, 28 Feb 2018 14:14:16 +0000 (14:14 +0000)]
Merge "Implement QS spec."

6 years agoMerge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8
Steven Moreland [Wed, 28 Feb 2018 14:13:52 +0000 (14:13 +0000)]
Merge "Don't use cutils/Atomic.h" am: 07735797a2 am: a272d540d8
am: 0f4ca4a5c0

Change-Id: I4b9798b39d890537f888415b5ac283227970e4de

6 years agoMerge "Don't use cutils/Atomic.h" am: 07735797a2
Steven Moreland [Wed, 28 Feb 2018 14:01:17 +0000 (14:01 +0000)]
Merge "Don't use cutils/Atomic.h" am: 07735797a2
am: a272d540d8

Change-Id: Ie442c255e43f2ebe80ef5423aa4508930d72c44c

6 years agoMerge "Use putIntForUser to turn off ambient display secure settings"
TreeHugger Robot [Wed, 28 Feb 2018 13:54:25 +0000 (13:54 +0000)]
Merge "Use putIntForUser to turn off ambient display secure settings"

6 years agoMerge "Don't use cutils/Atomic.h"
Steven Moreland [Wed, 28 Feb 2018 13:51:44 +0000 (13:51 +0000)]
Merge "Don't use cutils/Atomic.h"
am: 07735797a2

Change-Id: Ie56fadea498f35c7e820f9fadac1b64697565a78

6 years agoMerge "More tests for ActiveRestoreSession - 2"
Bernardo Rufino [Wed, 28 Feb 2018 13:49:26 +0000 (13:49 +0000)]
Merge "More tests for ActiveRestoreSession - 2"

6 years agoMerge "Remove @removed from APIs still in use"
TreeHugger Robot [Wed, 28 Feb 2018 13:43:36 +0000 (13:43 +0000)]
Merge "Remove @removed from APIs still in use"

6 years agoMerge "Don't use cutils/Atomic.h"
Treehugger Robot [Wed, 28 Feb 2018 12:37:50 +0000 (12:37 +0000)]
Merge "Don't use cutils/Atomic.h"

6 years agoAdd short term model reset threshold
Dan Gittik [Thu, 22 Feb 2018 13:53:47 +0000 (13:53 +0000)]
Add short term model reset threshold

Add a threshold to prevent user birghtness adjustments from reseting
without a drastic enough change in the ambient light, and some minor
refactoring

Test: manually adjust brightness; turn screen off for 30 seconds;
      turn screen back on; brightness shouldn't change
Test: manually adjust brightness; turn screen off for 30 seconds;
      cover light sensor; turn screen back on; brightness should change

Make short term model reset decision only happen once, and change its
threshold to be relative

Test: same as before

Minor refactoring

Test: same as before
Fixes: 72734580

Change-Id: I724e88ddb79a55cadb547463d73131028bb57825

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:40:00 +0000 (11:40 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: e8b557bc08  -s ours am: 5217a34008  -s ours
am: 49b368b447  -s ours

Change-Id: If888f1000209f015dc097b616c64d626848d4402

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed." am...
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:25:14 +0000 (11:25 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed." am: e8b557bc08  -s ours
am: 5217a34008  -s ours

Change-Id: I6672cd7a23ee7c6b5d384fae7111be2948f59e45

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Alexandru-Andrei Rotaru [Wed, 28 Feb 2018 11:11:39 +0000 (11:11 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."
am: e8b557bc08  -s ours

Change-Id: I2a1805375252b56209ac9d18da0f1771f5b6187b

6 years agoMore tests for ActiveRestoreSession - 2
Bernardo Rufino [Wed, 28 Feb 2018 11:05:18 +0000 (11:05 +0000)]
More tests for ActiveRestoreSession - 2

Around restorePackage().

Test: m - j RunFrameworksServicesRoboTests
Change-Id: I291d899d5bb786a1d394e758698418718d6c4d9b

6 years agoUse putIntForUser to turn off ambient display secure settings
Alex Chau [Wed, 28 Feb 2018 10:47:48 +0000 (10:47 +0000)]
Use putIntForUser to turn off ambient display secure settings

- Without forUser we'll be turning off ambient display in primary user instead

Test: Use TestDPC to set DISALLOW_AMBIENT_DISPLAY in secondary users, ambient display is actually turned off
Bug: 72487689
Change-Id: I11a7a5304fcc609ab37594ad5d28814c217bc7f5

6 years agoMerge "Unhide VideoView2 APIs"
TreeHugger Robot [Wed, 28 Feb 2018 10:43:38 +0000 (10:43 +0000)]
Merge "Unhide VideoView2 APIs"

6 years agoRemove @removed from APIs still in use
Robert Berry [Wed, 28 Feb 2018 10:14:24 +0000 (10:14 +0000)]
Remove @removed from APIs still in use

I completely misunderstood this annotation.

Bug: 73962883
Test: ran unit tests
Change-Id: Id3e3863fc6fd1e0614a3c75d25cd35239667eaf0

6 years agoMerge "Unhide MediaControlView2 APIs"
TreeHugger Robot [Wed, 28 Feb 2018 10:28:25 +0000 (10:28 +0000)]
Merge "Unhide MediaControlView2 APIs"

6 years agoMerge "Allow restoring of apps that rotated key"
Michal Karpinski [Wed, 28 Feb 2018 10:08:14 +0000 (10:08 +0000)]
Merge "Allow restoring of apps that rotated key"

6 years agoMerge "Notify the user and turn off tethering when the service is disallowed."
Treehugger Robot [Wed, 28 Feb 2018 10:03:02 +0000 (10:03 +0000)]
Merge "Notify the user and turn off tethering when the service is disallowed."

6 years agoNotify the user and turn off tethering when the service is disallowed.
Alexandru-Andrei Rotaru [Tue, 18 Jul 2017 15:49:22 +0000 (16:49 +0100)]
Notify the user and turn off tethering when the service is disallowed.

Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering.  Added notification
about
tethering being turned off. Also added Unit Tests to test the
functionality
of the UserRestrictionListener added.

Bug: 27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.

Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: I4a57137a7ad592ca186d9508d5cc2fad3f1bc985

6 years agoUnhide VideoView2 APIs
Insun Kang [Wed, 24 Jan 2018 06:56:37 +0000 (15:56 +0900)]
Unhide VideoView2 APIs

Test: make update-api
Bug: 64293205
Change-Id: Ie57e3ea78dd623fc095c1ad5f270f3b97320f155

6 years agoMerge "Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c am:...
Android Build Merger (Role) [Wed, 28 Feb 2018 08:42:50 +0000 (08:42 +0000)]
Merge "Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c am: 3b7de55419"

6 years agoMerge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c
Pavel Maltsev [Wed, 28 Feb 2018 08:42:24 +0000 (08:42 +0000)]
Merge "Add OEM_PAID network capability" am: 4c00edd361 am: 7b87c2050c
am: 3b7de55419

Change-Id: Id64d288764dc5a556b60f5e3b866b40792647ac0

6 years agoMerge "Change PreferenceController#getSummary return type."
TreeHugger Robot [Wed, 28 Feb 2018 08:40:29 +0000 (08:40 +0000)]
Merge "Change PreferenceController#getSummary return type."

6 years agoMerge "Add OEM_PAID network capability" am: 4c00edd361
Pavel Maltsev [Wed, 28 Feb 2018 08:28:25 +0000 (08:28 +0000)]
Merge "Add OEM_PAID network capability" am: 4c00edd361
am: 7b87c2050c

Change-Id: Ie0377fea66f784c910bd0a06f87543cc5cf82c84

6 years agoMerge "Add OEM_PAID network capability"
Pavel Maltsev [Wed, 28 Feb 2018 08:14:48 +0000 (08:14 +0000)]
Merge "Add OEM_PAID network capability"
am: 4c00edd361

Change-Id: I2fb8825bc1038783ef45907846b52192b6fe5d18

6 years agoMerge "Revert "Small fixes to StatsManager API.""
Maurice Lam [Wed, 28 Feb 2018 07:20:36 +0000 (07:20 +0000)]
Merge "Revert "Small fixes to StatsManager API.""

6 years agoMerge "Add OEM_PAID network capability"
Treehugger Robot [Wed, 28 Feb 2018 07:06:00 +0000 (07:06 +0000)]
Merge "Add OEM_PAID network capability"

6 years agoMerge "Dynamics Processing Effect"
TreeHugger Robot [Wed, 28 Feb 2018 06:19:35 +0000 (06:19 +0000)]
Merge "Dynamics Processing Effect"

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c3295...
fionaxu [Wed, 28 Feb 2018 05:14:07 +0000 (05:14 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906 am: 0713fcf66d
am: 9af710c587  -s ours

Change-Id: I9361259e27ffea1ec358323f57cc4681c7c5e991

6 years agoUnhide MediaControlView2 APIs
Jin Seok Park [Wed, 24 Jan 2018 07:46:44 +0000 (16:46 +0900)]
Unhide MediaControlView2 APIs

Test: make update-api
Bug: 64293205
Change-Id: Ia202a7fc1f8733cc2d95d13e7126916affe4f52e

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906
fionaxu [Wed, 28 Feb 2018 05:03:13 +0000 (05:03 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs" am: 8c32954906
am: 0713fcf66d

Change-Id: Iacf464a898da538795152135b0c40cd648bbdf7d

6 years agoMerge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0 am: 8f2c2ca09a
Brad Ebinger [Wed, 28 Feb 2018 04:59:52 +0000 (04:59 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0 am: 8f2c2ca09a
am: 27617a9894

Change-Id: Id4638c9126cce687bb4513731be2aeb962b2250d

6 years agoMerge "Add the option to match a whitelist of strings in FieldValueMatcher."
TreeHugger Robot [Wed, 28 Feb 2018 04:50:17 +0000 (04:50 +0000)]
Merge "Add the option to match a whitelist of strings in FieldValueMatcher."

6 years agoMerge "Add documentation for SECRET_CODE_ACTION according to API review process....
Cassie [Wed, 28 Feb 2018 04:47:16 +0000 (04:47 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process." am: e6691d8e89 am: f29d208045
am: 9f373ee378

Change-Id: I9dcb76126e9cb06a7967f3f003b78fe605b69167

6 years agoMerge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0
Brad Ebinger [Wed, 28 Feb 2018 04:46:13 +0000 (04:46 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy" am: 59391aa4a0
am: 8f2c2ca09a

Change-Id: Id4762516cce2f6f902542d0b15195e9531c2eda4

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs"
fionaxu [Wed, 28 Feb 2018 04:45:25 +0000 (04:45 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"
am: 8c32954906

Change-Id: Ia770310f6135df041bc1d84b09cfbdcda1debd2f

6 years agoMerge "Add documentation for SECRET_CODE_ACTION according to API review process....
Cassie [Wed, 28 Feb 2018 04:36:03 +0000 (04:36 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process." am: e6691d8e89
am: f29d208045

Change-Id: Ib04ccee612d521818ac45f29895e604646286705

6 years agoMerge "Modify shouldProcessCall API to remove redundancy"
Brad Ebinger [Wed, 28 Feb 2018 04:33:28 +0000 (04:33 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy"
am: 59391aa4a0

Change-Id: Iaf27b98f03c363ca23989c251f9e5d66bae394ba

6 years agoMerge "Add documentation for SECRET_CODE_ACTION according to API review process."
Cassie [Wed, 28 Feb 2018 04:25:25 +0000 (04:25 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process."
am: e6691d8e89

Change-Id: I0832ce666883a9054a9252ef93d50e615a64bc79

6 years agoMerge "Add null check in usagestats dump"
TreeHugger Robot [Wed, 28 Feb 2018 04:20:44 +0000 (04:20 +0000)]
Merge "Add null check in usagestats dump"

6 years agoRevert "Small fixes to StatsManager API."
Maurice Lam [Wed, 28 Feb 2018 04:17:03 +0000 (04:17 +0000)]
Revert "Small fixes to StatsManager API."

This reverts commit 16dcd33abdc80b3bd4455ec867a32675f66faa13.

Reason for revert: b/73975175

Bug: 73975175
Change-Id: I5bcccde100900b1370c2e43b8bcfc7d1697e5c72

6 years agoMerge "Add incidentd to readproc group."
TreeHugger Robot [Wed, 28 Feb 2018 04:13:20 +0000 (04:13 +0000)]
Merge "Add incidentd to readproc group."

6 years agoMerge "Atoms: Keygaurd and Bouncer"
TreeHugger Robot [Wed, 28 Feb 2018 04:10:29 +0000 (04:10 +0000)]
Merge "Atoms: Keygaurd and Bouncer"

6 years agoMerge "Added indication update mode support"
TreeHugger Robot [Wed, 28 Feb 2018 04:01:41 +0000 (04:01 +0000)]
Merge "Added indication update mode support"

6 years agoMerge "Import launcher style reveal animations to QS."
TreeHugger Robot [Wed, 28 Feb 2018 03:48:35 +0000 (03:48 +0000)]
Merge "Import launcher style reveal animations to QS."

6 years agoMerge "Allow packages to be blacklisted from showing recents onboarding"
Tony Wickham [Wed, 28 Feb 2018 03:35:03 +0000 (03:35 +0000)]
Merge "Allow packages to be blacklisted from showing recents onboarding"

6 years agoMerge "1/ Fixing docked task animation when entering split screen from home"
Winson Chung [Wed, 28 Feb 2018 03:30:31 +0000 (03:30 +0000)]
Merge "1/ Fixing docked task animation when entering split screen from home"

6 years agoMerge "Add a comment to allocate field number above 100000 for OEMs to use and block...
TreeHugger Robot [Wed, 28 Feb 2018 03:15:46 +0000 (03:15 +0000)]
Merge "Add a comment to allocate field number above 100000 for OEMs to use and block them off from being used."

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs"
Treehugger Robot [Wed, 28 Feb 2018 03:14:45 +0000 (03:14 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"

6 years agoDynamics Processing Effect
rago [Mon, 5 Feb 2018 17:38:25 +0000 (09:38 -0800)]
Dynamics Processing Effect

Adding Dynamics Processing Effect api and configuration helpers.

Bug: 64161702
Bug: 38266419

Test: manual testing and CTS test ag/3662965
Change-Id: I993e1621011a16596aa00ea049fa8681463e8551

6 years agoMerge "Modify shouldProcessCall API to remove redundancy"
Treehugger Robot [Wed, 28 Feb 2018 03:02:27 +0000 (03:02 +0000)]
Merge "Modify shouldProcessCall API to remove redundancy"

6 years agoMerge "Implement a new section to attach LAST_KMSG to incident report This section...
TreeHugger Robot [Wed, 28 Feb 2018 03:02:16 +0000 (03:02 +0000)]
Merge "Implement a new section to attach LAST_KMSG to incident report This section simply gzip a large file and stores result in GZippedFileProto"

6 years agoMerge "Set systemReady before querying the portStatus."
TreeHugger Robot [Wed, 28 Feb 2018 02:52:31 +0000 (02:52 +0000)]
Merge "Set systemReady before querying the portStatus."

6 years agoMerge "Add documentation for SECRET_CODE_ACTION according to API review process."
Treehugger Robot [Wed, 28 Feb 2018 02:30:44 +0000 (02:30 +0000)]
Merge "Add documentation for SECRET_CODE_ACTION according to API review process."

6 years agoMerge "Use 4 thresholds instead of 6" am: fdebcf1ae2 am: 00fef4fb3d
Jordan Liu [Wed, 28 Feb 2018 02:05:51 +0000 (02:05 +0000)]
Merge "Use 4 thresholds instead of 6" am: fdebcf1ae2 am: 00fef4fb3d
am: d16720459d  -s ours

Change-Id: Ie29384e3f86c2deb462fd9503d0950d729d3a5b4

6 years agoDon't throw exception if phone process is dead for carrier ID APIs
fionaxu [Tue, 27 Feb 2018 05:11:40 +0000 (21:11 -0800)]
Don't throw exception if phone process is dead for carrier ID APIs

Bug: 73772776
Test: Build
Change-Id: I81638f52d5d8ccf1005878ba4f3967e07169284b
(cherry picked from commit 331965e5d6f753cd061303607cdfbe9dff4be896)
Merged-in: I81638f52d5d8ccf1005878ba4f3967e07169284b

6 years agoMerge "Use 4 thresholds instead of 6" am: fdebcf1ae2
Jordan Liu [Wed, 28 Feb 2018 01:51:40 +0000 (01:51 +0000)]
Merge "Use 4 thresholds instead of 6" am: fdebcf1ae2
am: 00fef4fb3d

Change-Id: If6f8e1f938298506068d87e008ab0de21b8ff6a3

6 years agoMerge "Don't throw exception if phone process is dead for carrier ID APIs"
Chen Xu [Wed, 28 Feb 2018 01:49:15 +0000 (01:49 +0000)]
Merge "Don't throw exception if phone process is dead for carrier ID APIs"

6 years agoAdd null check in usagestats dump
Michael Wachenschwanz [Tue, 27 Feb 2018 23:54:27 +0000 (15:54 -0800)]
Add null check in usagestats dump

(also adjust the time stamp for easier parsing)

Change-Id: I708c9fe68aa85b4897e95cca6b9d53522eef0d29
Fixes: 73960916
Test: manual

6 years agoAdded indication update mode support
Jack Yu [Tue, 27 Feb 2018 23:15:14 +0000 (15:15 -0800)]
Added indication update mode support

Adde the indication update mode support so that a system
component can control the behavior of indication update. This
will be used by the bluetooth stack when some BT devices such like
carkit is connected, modem will continue update the signal strength
even when the screen is off.

Test: Manual
Bug: 65112388
Change-Id: I4bb4894eaaba401f655e5dc25138275f5e8498e1

6 years agoMerge "Use 4 thresholds instead of 6"
Jordan Liu [Wed, 28 Feb 2018 01:39:58 +0000 (01:39 +0000)]
Merge "Use 4 thresholds instead of 6"
am: fdebcf1ae2

Change-Id: Ie2d1ab2e79d0d3cc79815da7af4022e58838e5cd

6 years agoMerge "Duration tracker optimization."
TreeHugger Robot [Wed, 28 Feb 2018 01:29:27 +0000 (01:29 +0000)]
Merge "Duration tracker optimization."

6 years agoMerge "New attribute textFontWeight for selecting weight in the font family"
TreeHugger Robot [Wed, 28 Feb 2018 01:21:41 +0000 (01:21 +0000)]
Merge "New attribute textFontWeight for selecting weight in the font family"

6 years agoAllow packages to be blacklisted from showing recents onboarding
Tony Wickham [Tue, 27 Feb 2018 23:40:33 +0000 (15:40 -0800)]
Allow packages to be blacklisted from showing recents onboarding

Test: start a blacklisted intent and verify onboarding doesn't show
there, but does on subsequent apps.

Bug: 73723502
Bug: 70180942
Change-Id: I2d03413bfde46e8e6bcd460d88c3a693e089fec2

6 years agoMerge "AAPT2: Fix styled string whitespace processing"
TreeHugger Robot [Wed, 28 Feb 2018 01:00:23 +0000 (01:00 +0000)]
Merge "AAPT2: Fix styled string whitespace processing"

6 years agoAdd a comment to allocate field number above 100000 for OEMs to use and block
yro [Mon, 26 Feb 2018 22:22:54 +0000 (14:22 -0800)]
Add a comment to allocate field number above 100000 for OEMs to use and block
them off from being used.

Bug: 72866543
Test: statsd_test, cts tests
Change-Id: I2074f53eb3360aa93a9bea4e596a8c295696312f

6 years ago1/ Fixing docked task animation when entering split screen from home
Winson Chung [Wed, 21 Feb 2018 18:15:17 +0000 (10:15 -0800)]
1/ Fixing docked task animation when entering split screen from home

- Update the minimized state when docking an app from home to ensure that
  the animation of the docked task goes to the right bounds
- Temporarily block the invocation of the old recents activity when showing
  recents as a part of setting the windowing mode of another task (this is
  fine right now because quickstep only allows docking via the UI and not
  from the nav bar while another task is open).
- Add proto field so we can determine whether to check the recents activity
  from the split screen CTS tests
- Also fix issue with invisible docked task due to wrong bounds calculated
  due to launcher not notifying the divider of the first docked frame

Bug: 73118672
Test: go/wm-smoke
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerSplitScreenTests
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerTransitionSelectionTests

Change-Id: Ib1208501c311de009a9e706103134865c521cb63

6 years agoMerge "Remove connected devices feature flag"
TreeHugger Robot [Wed, 28 Feb 2018 00:42:28 +0000 (00:42 +0000)]
Merge "Remove connected devices feature flag"

6 years agoMerge "Add AOD to BatterySaverPolicy"
TreeHugger Robot [Wed, 28 Feb 2018 00:41:32 +0000 (00:41 +0000)]
Merge "Add AOD to BatterySaverPolicy"

6 years agoMerge "createAndManageUser should communicate reason of failure to caller"
TreeHugger Robot [Wed, 28 Feb 2018 00:39:33 +0000 (00:39 +0000)]
Merge "createAndManageUser should communicate reason of failure to caller"

6 years agoMerge "Blue work profile badge - Blue is the new orange"
Tony Mak [Wed, 28 Feb 2018 00:31:44 +0000 (00:31 +0000)]
Merge "Blue work profile badge - Blue is the new orange"

6 years agoMerge "Fix: Double-free error on RemoteFillService" am: 5b04f89343 am: b23ec4eaa7
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:24:18 +0000 (00:24 +0000)]
Merge "Fix: Double-free error on RemoteFillService" am: 5b04f89343 am: b23ec4eaa7
am: fddb86a80c

Change-Id: I87de2e6bc8f446dc0cddf41cb3e40d76cdc55d98

6 years agoMerge "Show next alarm on ambient display"
TreeHugger Robot [Wed, 28 Feb 2018 00:19:29 +0000 (00:19 +0000)]
Merge "Show next alarm on ambient display"

6 years agoMerge "API Review: android.os.UserManager.DISALLOW_USER_SWITCH"
Alex Chau [Wed, 28 Feb 2018 00:16:41 +0000 (00:16 +0000)]
Merge "API Review: android.os.UserManager.DISALLOW_USER_SWITCH"

6 years agoMerge "Show battery percentage on indication field"
Lucas Dupin [Wed, 28 Feb 2018 00:15:35 +0000 (00:15 +0000)]
Merge "Show battery percentage on indication field"

6 years agoMerge "Fix: Double-free error on RemoteFillService" am: 5b04f89343
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:12:33 +0000 (00:12 +0000)]
Merge "Fix: Double-free error on RemoteFillService" am: 5b04f89343
am: b23ec4eaa7

Change-Id: I3acedf1add384730df6f987b0f20edb77b250228

6 years agoMerge changes from topic "terminal_type_fix"
TreeHugger Robot [Wed, 28 Feb 2018 00:09:15 +0000 (00:09 +0000)]
Merge changes from topic "terminal_type_fix"

* changes:
  Add test for UsbDescriptorParser.java
  USB Audio: broaden Terminal Type interpretation

6 years agoMerge "Fix extra pause report from client"
Andrii Kulian [Wed, 28 Feb 2018 00:06:17 +0000 (00:06 +0000)]
Merge "Fix extra pause report from client"

6 years agoMerge "Fix issue with stack order positioning when ending recents animation."
Winson Chung [Wed, 28 Feb 2018 00:04:41 +0000 (00:04 +0000)]
Merge "Fix issue with stack order positioning when ending recents animation."

6 years agoMerge "Update the RTT features constant."
TreeHugger Robot [Wed, 28 Feb 2018 00:02:59 +0000 (00:02 +0000)]
Merge "Update the RTT features constant."

6 years agoMerge "Fix: Double-free error on RemoteFillService"
Tetsutoki Shiozawa [Wed, 28 Feb 2018 00:00:01 +0000 (00:00 +0000)]
Merge "Fix: Double-free error on RemoteFillService"
am: 5b04f89343

Change-Id: I7e8872a28ee01f29710945ac692236fa94f3c13a

6 years agoMerge "Remove leftover alarm code (Due diligence)"
TreeHugger Robot [Tue, 27 Feb 2018 23:53:54 +0000 (23:53 +0000)]
Merge "Remove leftover alarm code (Due diligence)"

6 years agoImplement QS spec.
Amin Shaikh [Tue, 27 Feb 2018 21:52:53 +0000 (16:52 -0500)]
Implement QS spec.

- Update padding between QS tiles
- Add margins in the QS header for larger width devices
- Update carrier text length in QS footer and fix animation overlap
- Fix TouchAnimator to linearly interpolate more than 2 keyframe values

Bug: 73312177
Test: visual
Change-Id: I8da031437fc78ef1fb86797237711ac92a860616

6 years agoMerge "Use 4 thresholds instead of 6"
Jordan Liu [Tue, 27 Feb 2018 23:44:03 +0000 (23:44 +0000)]
Merge "Use 4 thresholds instead of 6"

6 years agoMerge changes from topics "tip_log_2", "metric_battery_tip"
TreeHugger Robot [Tue, 27 Feb 2018 23:39:33 +0000 (23:39 +0000)]
Merge changes from topics "tip_log_2", "metric_battery_tip"

* changes:
  Add metric for battery tip
  Add metric for BatteryTipDialogFragment

6 years agoDuration tracker optimization.
Yangster-mac [Mon, 26 Feb 2018 07:02:56 +0000 (23:02 -0800)]
Duration tracker optimization.

* Avoid querying sliced condition for stop/stopAll events for duration metric.
* Avoid extracting the internal dimension key when it is identical to the what dimension.

Test: statsd test
Change-Id: I664e8d3b1a68960d05c9ce4789caefb60b1ab502

6 years agoDon't throw exception if phone process is dead for carrier ID APIs
fionaxu [Tue, 27 Feb 2018 05:11:40 +0000 (21:11 -0800)]
Don't throw exception if phone process is dead for carrier ID APIs

Bug: 73772776
Test: Build
Change-Id: I81638f52d5d8ccf1005878ba4f3967e07169284b

6 years agoMerge "Fixed issues with legacy usages of notification people"
TreeHugger Robot [Tue, 27 Feb 2018 23:16:56 +0000 (23:16 +0000)]
Merge "Fixed issues with legacy usages of notification people"

6 years agoMerge "Add explicit method to clear clipboard."
Jeff Sharkey [Tue, 27 Feb 2018 23:10:44 +0000 (23:10 +0000)]
Merge "Add explicit method to clear clipboard."

6 years agoMerge "Alarm: wakes up statsd and notifies the subscribers."
TreeHugger Robot [Tue, 27 Feb 2018 23:08:31 +0000 (23:08 +0000)]
Merge "Alarm: wakes up statsd and notifies the subscribers."

6 years agoMerge "Return when invalid config ID was provided through adb command and change...
TreeHugger Robot [Tue, 27 Feb 2018 23:07:27 +0000 (23:07 +0000)]
Merge "Return when invalid config ID was provided through adb command and change the separator of config_uid and config_id to underscore from dash to disambiguate negative config ids"

6 years agoSet systemReady before querying the portStatus.
Badhri Jagan Sridharan [Tue, 27 Feb 2018 02:32:26 +0000 (18:32 -0800)]
Set systemReady before querying the portStatus.

Since the callbacks are async, its possible that the callback gets
called before the systemReady flag is set.

Change-Id: I5752c097e25ef30a151461540dd7d5323cc927af

6 years agoAtoms: Keygaurd and Bouncer
Tej Singh [Sat, 10 Feb 2018 03:33:15 +0000 (19:33 -0800)]
Atoms: Keygaurd and Bouncer

Logs changes in the state of the keyguard and the keyguard bouncer

Test: verified logs appear in adb logcat -b stats
Change-Id: I1ffdf72ab088318c883197b3e1eb283bec2b8b2a

6 years agoAdd the option to match a whitelist of strings in FieldValueMatcher.
Yao Chen [Tue, 27 Feb 2018 18:55:54 +0000 (10:55 -0800)]
Add the option to match a whitelist of strings in FieldValueMatcher.

+ This is useful when we want to build Anomaly detection on wakelocks, but want to whitelist
wakelocks held by some apps that are whitelisted. It reduces the number of matchers needed
in such a config.

+ Also added the ability to match an AID by string name.

Bug: 73897465
Test: unit tests added.
Change-Id: I19315ae4d7d27fc467655d3a29866049cd8c9a2b

6 years agoMerge "Fix: Double-free error on RemoteFillService"
Treehugger Robot [Tue, 27 Feb 2018 22:51:21 +0000 (22:51 +0000)]
Merge "Fix: Double-free error on RemoteFillService"

6 years agoMerge "Use LocaleList.read/writeParcel in Configuration"
TreeHugger Robot [Tue, 27 Feb 2018 22:49:24 +0000 (22:49 +0000)]
Merge "Use LocaleList.read/writeParcel in Configuration"

6 years agoMerge "Small fixes to StatsManager API."
TreeHugger Robot [Tue, 27 Feb 2018 22:39:15 +0000 (22:39 +0000)]
Merge "Small fixes to StatsManager API."