OSDN Git Service

android-x86/frameworks-base.git
6 years agoThe pm command is no more.
Dianne Hackborn [Tue, 31 Oct 2017 19:55:42 +0000 (19:55 +0000)]
The pm command is no more.

It is now just a shell of itself. :)

Also brings in a few fixes to never try to open files from the system
process.

Test: manual
Change-Id: Ia8187196af597046fd2e7092dbf19ce1dc1ea457

6 years agoMerge "Add "KeyFallback" handling ability to Views"
Evan Rosky [Thu, 16 Nov 2017 21:55:03 +0000 (21:55 +0000)]
Merge "Add "KeyFallback" handling ability to Views"

6 years agoMerge "Fix some bugs found in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 21:28:10 +0000 (21:28 +0000)]
Merge "Fix some bugs found in statsd"

6 years agoMerge "Implement force-all-apps-standly in job scheduler."
Makoto Onuki [Thu, 16 Nov 2017 20:48:33 +0000 (20:48 +0000)]
Merge "Implement force-all-apps-standly in job scheduler."

6 years agoMerge "Implement front-end APIs for generic vendor-specific parameters."
Tomasz Wasilczyk [Thu, 16 Nov 2017 20:43:43 +0000 (20:43 +0000)]
Merge "Implement front-end APIs for generic vendor-specific parameters."

6 years agoMerge "Handle if mAlwaysUse is not be set"
TreeHugger Robot [Thu, 16 Nov 2017 20:41:08 +0000 (20:41 +0000)]
Merge "Handle if mAlwaysUse is not be set"

6 years agoMerge "Minor optimizations to task loading/screenshot"
Winson Chung [Thu, 16 Nov 2017 20:38:47 +0000 (20:38 +0000)]
Merge "Minor optimizations to task loading/screenshot"

6 years agoMerge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373...
Android Build Merger (Role) [Thu, 16 Nov 2017 20:15:38 +0000 (20:15 +0000)]
Merge "Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373 am: 55839ebbb8"

6 years agoMerge "Specify the version for Robolectric version"
TreeHugger Robot [Thu, 16 Nov 2017 19:56:27 +0000 (19:56 +0000)]
Merge "Specify the version for Robolectric version"

6 years agoMerge "Update Build#SERIAL docs about deprecation policy"
TreeHugger Robot [Thu, 16 Nov 2017 19:48:21 +0000 (19:48 +0000)]
Merge "Update Build#SERIAL docs about deprecation policy"

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
Hansong Zhang [Thu, 16 Nov 2017 19:14:00 +0000 (19:14 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc am: 7c005ea373
am: 55839ebbb8

Change-Id: Ic655da25a4722a49a982dad68621cf4e669af8fe

6 years agoMerge "Use -Werror in frameworks/base/tools/stats_log_api_gen"
Chih-hung Hsieh [Thu, 16 Nov 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Use -Werror in frameworks/base/tools/stats_log_api_gen"

6 years agoMerge "Use correct user id for permission check for instant foreground service"
TreeHugger Robot [Thu, 16 Nov 2017 19:06:15 +0000 (19:06 +0000)]
Merge "Use correct user id for permission check for instant foreground service"

6 years agoMerge "Allow overlay to add resource."
TreeHugger Robot [Thu, 16 Nov 2017 19:03:05 +0000 (19:03 +0000)]
Merge "Allow overlay to add resource."

6 years agoHandle if mAlwaysUse is not be set
Philip P. Moltmann [Thu, 16 Nov 2017 16:48:38 +0000 (08:48 -0800)]
Handle if mAlwaysUse is not be set

The view is not initialized when the app cannot become a default. Handle
the case as if it not checked.

Change-Id: I9bd9dc40fefa5da498679ca09ce2ebb4ea4f4b10
Fixes: 69395445
Test: attempted to update firmware on Mir (scenario that revealed bug)

6 years agoMerge "Bluetooth HID Device API docs and helper" am: a89f6150dc
Hansong Zhang [Thu, 16 Nov 2017 18:59:36 +0000 (18:59 +0000)]
Merge "Bluetooth HID Device API docs and helper" am: a89f6150dc
am: 7c005ea373

Change-Id: Ic95f83d9884aea8d75ca33fed1ddf69d6c0e33e3

6 years agoMerge "Update javadoc on SearchIndexableData"
TreeHugger Robot [Thu, 16 Nov 2017 18:57:20 +0000 (18:57 +0000)]
Merge "Update javadoc on SearchIndexableData"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Hansong Zhang [Thu, 16 Nov 2017 18:50:16 +0000 (18:50 +0000)]
Merge "Bluetooth HID Device API docs and helper"
am: a89f6150dc

Change-Id: I4b91cd3e528f480ea216e9ffb0414910d4762d3b

6 years agoMerge "Fix StrictMode I/O violations"
Fyodor Kupolov [Thu, 16 Nov 2017 18:38:30 +0000 (18:38 +0000)]
Merge "Fix StrictMode I/O violations"

6 years agoMerge "Bluetooth HID Device API docs and helper"
Treehugger Robot [Thu, 16 Nov 2017 18:38:06 +0000 (18:38 +0000)]
Merge "Bluetooth HID Device API docs and helper"

6 years agoMerge "Camera2: Update generated docs to latest version"
TreeHugger Robot [Thu, 16 Nov 2017 18:29:52 +0000 (18:29 +0000)]
Merge "Camera2: Update generated docs to latest version"

6 years agoMerge "Update statsd proto comment"
TreeHugger Robot [Thu, 16 Nov 2017 18:01:22 +0000 (18:01 +0000)]
Merge "Update statsd proto comment"

6 years agoMinor optimizations to task loading/screenshot
Winson Chung [Tue, 14 Nov 2017 01:45:12 +0000 (17:45 -0800)]
Minor optimizations to task loading/screenshot

- Pass graphic buffer instead of bitmap for current screenshot
- Add option to skip preloading titles
- Adding some more compat classes

Bug: 67510855
Test: Build quickstep

Change-Id: Idf4642683d3121e69f0854ac909a8c22c7238b9a

6 years agoFix some bugs found in statsd
Yao Chen [Thu, 16 Nov 2017 03:26:14 +0000 (19:26 -0800)]
Fix some bugs found in statsd

+ in log matcher, condition tracker and duration metric

Test: added unit test
Change-Id: Id633e856ba5453842487321d7ddc0c64100e4bb8

6 years agoUpdate Build#SERIAL docs about deprecation policy
Svet Ganov [Thu, 16 Nov 2017 03:00:09 +0000 (19:00 -0800)]
Update Build#SERIAL docs about deprecation policy

Test: docs only change

Change-Id: Ic9738764b0d18056401fcd103bfaf95a1701981d

6 years agoHack.
Jeff Sharkey [Thu, 16 Nov 2017 02:07:14 +0000 (19:07 -0700)]
Hack.

Test: none
Bug: 69331247
Change-Id: I65807b7e8994746a80e06a8530d9aeb967ea04ca

6 years agoSeparate android.test.mock from test-runner source
Paul Duffin [Wed, 15 Nov 2017 11:39:14 +0000 (11:39 +0000)]
Separate android.test.mock from test-runner source

Extracts the source for the android.test.mock library from the
frameworks/base/test-runner directory into its own
frameworks/base/test-mock directory. They are already treated separately
at runtime and compile time so this just makes the separation complete.

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

6 years agoUpdate statsd proto comment
yro [Thu, 16 Nov 2017 06:57:24 +0000 (22:57 -0800)]
Update statsd proto comment

Test: not needed.
Change-Id: I2f0c16f2e305624128eaca4658d5ccb9f2a20fe5

6 years agoMerge "Fix AOSP copyright years in statsd"
TreeHugger Robot [Thu, 16 Nov 2017 03:34:55 +0000 (03:34 +0000)]
Merge "Fix AOSP copyright years in statsd"

6 years agoMerge "Allow null context in the constructor"
TreeHugger Robot [Thu, 16 Nov 2017 02:52:31 +0000 (02:52 +0000)]
Merge "Allow null context in the constructor"

6 years agoMerge "Doc that SharedPreferences is IO-expensive"
TreeHugger Robot [Thu, 16 Nov 2017 02:23:44 +0000 (02:23 +0000)]
Merge "Doc that SharedPreferences is IO-expensive"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
Sanket Padawe [Thu, 16 Nov 2017 02:08:32 +0000 (02:08 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60 am: c376ca6bc1
am: 41cff321b6

Change-Id: Ia5013e7e0288f037cd94d24c40a72278a60cc50d

6 years agoMerge changes from topic "expose_methods"
Winson Chung [Thu, 16 Nov 2017 02:00:28 +0000 (02:00 +0000)]
Merge changes from topic "expose_methods"

* changes:
  Removing references to hidden classes in shared lib.
  Exposing a few more methods in the lib
  Move assist data receiver interface to accessible namespace

6 years agoMerge "Add ability to override global duration scale on ValueAnimator"
TreeHugger Robot [Thu, 16 Nov 2017 01:57:55 +0000 (01:57 +0000)]
Merge "Add ability to override global duration scale on ValueAnimator"

6 years agoMerge "API declarations for Call Handover." am: d88abc7b60
Sanket Padawe [Thu, 16 Nov 2017 01:54:51 +0000 (01:54 +0000)]
Merge "API declarations for Call Handover." am: d88abc7b60
am: c376ca6bc1

Change-Id: Icac2039c60928af408d011c0062bcdcf4f207039

6 years agoMerge "Fix Slog message of AppUdateReceiver in StatsCompanionService"
TreeHugger Robot [Thu, 16 Nov 2017 01:45:48 +0000 (01:45 +0000)]
Merge "Fix Slog message of AppUdateReceiver in StatsCompanionService"

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:45:25 +0000 (01:45 +0000)]
Merge "API declarations for Call Handover."
am: d88abc7b60

Change-Id: I0be6f240073408bf9520766238ecf791c016a40b

6 years agoMerge "API declarations for Call Handover."
Sanket Padawe [Thu, 16 Nov 2017 01:34:58 +0000 (01:34 +0000)]
Merge "API declarations for Call Handover."

6 years agoBluetooth HID Device API docs and helper
Hansong Zhang [Wed, 8 Nov 2017 17:57:12 +0000 (09:57 -0800)]
Bluetooth HID Device API docs and helper

* Add a builder for BluetoothHidDeviceAppQosSettings
* Add documentation for BluetoothHidDeviceAppSdpSettings
and BluetoothHidDeviceAppQosSettings
* Fix the behavior of and BluetoothHidDeviceAppSdpSettings.equals()
and BluetoothHidDeviceAppQosSettings.equals()

Bug: 63384609
Test: test with HID device apps
Change-Id: I933f4ec3034e1f704ddd614e48b76d27fda8b6ff

6 years agoImplement force-all-apps-standly in job scheduler.
Makoto Onuki [Fri, 10 Nov 2017 21:22:26 +0000 (13:22 -0800)]
Implement force-all-apps-standly in job scheduler.

Bug: 68769804
Test: Manual test

Change-Id: I70c28b7841165414cc8d27bf3466401c541d0569

6 years agoUpdate javadoc on SearchIndexableData
Fan Zhang [Thu, 16 Nov 2017 01:07:19 +0000 (17:07 -0800)]
Update javadoc on SearchIndexableData

Bug: 69384409
Test: none, it's javadoc update.
Change-Id: Ifa450bb97183089edfaccabf3cd65c4910349797

6 years agoMerge "Decrease radios poll interval"
Fyodor Kupolov [Thu, 16 Nov 2017 00:53:29 +0000 (00:53 +0000)]
Merge "Decrease radios poll interval"

6 years agoMerge "Animation and style adjustments to make UI stutter go away"
TreeHugger Robot [Thu, 16 Nov 2017 00:31:48 +0000 (00:31 +0000)]
Merge "Animation and style adjustments to make UI stutter go away"

6 years agoMerge "Sync the DurationMetric proto from google3."
TreeHugger Robot [Thu, 16 Nov 2017 00:16:31 +0000 (00:16 +0000)]
Merge "Sync the DurationMetric proto from google3."

6 years agoAdd ability to override global duration scale on ValueAnimator
Jorim Jaggi [Mon, 13 Nov 2017 14:47:46 +0000 (15:47 +0100)]
Add ability to override global duration scale on ValueAnimator

This is needed as window animations are being ported over to use
ValueAnimator, and thus ValueAnimator need to ability to support
custom duration scales per object.

Test: ValueAnimatorTests
Bug: 64674361
Change-Id: Iea8d673b66e52866929174bbf6ca4a7ae882807b

6 years agoMerge "Moved navigationbar motion events to global coordinates"
TreeHugger Robot [Thu, 16 Nov 2017 00:05:02 +0000 (00:05 +0000)]
Merge "Moved navigationbar motion events to global coordinates"

6 years agoAllow null context in the constructor
Fyodor Kupolov [Thu, 16 Nov 2017 00:04:24 +0000 (16:04 -0800)]
Allow null context in the constructor

Legacy apps can use it for in-memory databases.

Test: manual
Bug:69379861
Change-Id: I989524c38d6e2ea3b2637bbe6534f2906c5b7bb6

6 years agoMerge "[Telecom] Improve hold capability signal"
Pengquan Meng [Wed, 15 Nov 2017 23:57:58 +0000 (23:57 +0000)]
Merge "[Telecom] Improve hold capability signal"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:54:49 +0000 (23:54 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d am: 866d2d553e
am: 03e7512fc7

Change-Id: I344283ebf5971461f8aa2d712546b7715f090dbf

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel...
Cassie Han [Wed, 15 Nov 2017 23:43:55 +0000 (23:43 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" am: 9b08e4cb8d
am: 866d2d553e

Change-Id: I1afee7200c84bc0058ce394c49eaaf46a917793f

6 years agoFix Slog message of AppUdateReceiver in StatsCompanionService
yro [Wed, 15 Nov 2017 23:38:34 +0000 (15:38 -0800)]
Fix Slog message of AppUdateReceiver in StatsCompanionService

Test: statsd, statsd_test

Change-Id: I840b12e51c9f60a35b2c20afce1d278dbc69dfde

6 years agoMerge "Remove persist option for WifiManager.setCountryCode()"
Ningyuan Wang [Wed, 15 Nov 2017 23:39:04 +0000 (23:39 +0000)]
Merge "Remove persist option for WifiManager.setCountryCode()"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:29:37 +0000 (23:29 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
am: 9b08e4cb8d

Change-Id: Ie34638da4087987c19bbc7f9935854ca8fa5688d

6 years agoMerge "Use U16StringPiece/Range for calling minikin APIs"
TreeHugger Robot [Wed, 15 Nov 2017 23:24:22 +0000 (23:24 +0000)]
Merge "Use U16StringPiece/Range for calling minikin APIs"

6 years agoMerge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""
Cassie Han [Wed, 15 Nov 2017 23:21:33 +0000 (23:21 +0000)]
Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.""

6 years agoMerge "Expose method for testing."
TreeHugger Robot [Wed, 15 Nov 2017 23:07:54 +0000 (23:07 +0000)]
Merge "Expose method for testing."

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150 am: ec039...
Hugo Benichi [Wed, 15 Nov 2017 22:59:32 +0000 (22:59 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150 am: ec039b943a
am: 5ecc02d28f

Change-Id: Ifb4911e1077f8c673052918fcd4a49e1ab7708d2

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150
Hugo Benichi [Wed, 15 Nov 2017 22:50:22 +0000 (22:50 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging" am: e28513f150
am: ec039b943a

Change-Id: I422ef3cd6eab19cf3de2d6d9520840a7597c4a65

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging"
Hugo Benichi [Wed, 15 Nov 2017 22:42:50 +0000 (22:42 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"
am: e28513f150

Change-Id: I6f10845788ba5558637703da6d8c5c41324935cc

6 years agoFix AOSP copyright years in statsd
yro [Wed, 15 Nov 2017 22:38:48 +0000 (14:38 -0800)]
Fix AOSP copyright years in statsd

Test: no test needed

Change-Id: I230b7d51eb00dafb16913d038475c3ac14b44096

6 years agoMerge "IP connectivity metrics: fix LINGER/UNLINGER logging"
Hugo Benichi [Wed, 15 Nov 2017 22:31:59 +0000 (22:31 +0000)]
Merge "IP connectivity metrics: fix LINGER/UNLINGER logging"

6 years agoSync the DurationMetric proto from google3.
Yao Chen [Wed, 15 Nov 2017 22:15:46 +0000 (14:15 -0800)]
Sync the DurationMetric proto from google3.

There are other statsd_config changes for Anomaly detection, but requires
code change. So will sync later.

Test: statsd_test
Change-Id: I927e99bd0763cb949fe339993b232f53a4eefe7a

6 years agoAnimation and style adjustments to make UI stutter go away
Erik Wolsheimer [Wed, 15 Nov 2017 18:22:00 +0000 (10:22 -0800)]
Animation and style adjustments to make UI stutter go away

Bug: 67466005
Change-Id: If5eeb977cbc15a24d3a6d37e5b67d5e42155d8fa

6 years agoAPI declarations for Call Handover.
Sanket Padawe [Fri, 3 Nov 2017 18:07:35 +0000 (11:07 -0700)]
API declarations for Call Handover.

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#

Bug: 65415068
Test: manual.
Change-Id: I0c2f561d92ad6504f858eadde09980fc1ce8727f

6 years agoMerge "Refactor battery saver logic + add "per device" setting"
TreeHugger Robot [Wed, 15 Nov 2017 21:32:50 +0000 (21:32 +0000)]
Merge "Refactor battery saver logic + add "per device" setting"

6 years agoDoc that SharedPreferences is IO-expensive
Philip P. Moltmann [Wed, 15 Nov 2017 21:26:19 +0000 (13:26 -0800)]
Doc that SharedPreferences is IO-expensive

Tried to find the right middle ground in between
- not exposing potentially changing implementation details
- being clear on what it is for and what not
- being too alarmist vs. being to weak

Test: compiled
Bug: 69177691
Change-Id: Ifb40e350a18bf72c113229f31e129b7e8fdacd2a

6 years agoCamera2: Update generated docs to latest version
Eino-Ville Talvala [Fri, 10 Nov 2017 23:23:00 +0000 (15:23 -0800)]
Camera2: Update generated docs to latest version

- Move camera reference doc images to /reference/images
- Minor formatting changes due to merging SDK/NDK metadata definitions
- Minor wording changes for the same

Bug: 69175492
Bug: 29102963
Bug: 33262893
Test: Build and manual inspection of generated docs diff
Change-Id: Ieaf0c1943eba378cc94a22d184734602c40e25e7

6 years agoMerge "Add test case for user quota management in IpSecService" am: cf1a4614e1 am...
Di Lu [Wed, 15 Nov 2017 20:39:53 +0000 (20:39 +0000)]
Merge "Add test case for user quota management in IpSecService" am: cf1a4614e1 am: c9c65317e8
am: 0ec853390a

Change-Id: I84e81e261c93d2199e4932431ee57b75496ea2d5

6 years agoMerge "Adding NonNull annotation to DumpFilter."
TreeHugger Robot [Wed, 15 Nov 2017 20:34:05 +0000 (20:34 +0000)]
Merge "Adding NonNull annotation to DumpFilter."

6 years agoMerge "Add test case for user quota management in IpSecService" am: cf1a4614e1
Di Lu [Wed, 15 Nov 2017 20:31:37 +0000 (20:31 +0000)]
Merge "Add test case for user quota management in IpSecService" am: cf1a4614e1
am: c9c65317e8

Change-Id: I1022151e9317194ac45501a59f68c9bba89e16df

6 years agoMerge "Add test case for user quota management in IpSecService"
Di Lu [Wed, 15 Nov 2017 20:23:14 +0000 (20:23 +0000)]
Merge "Add test case for user quota management in IpSecService"
am: cf1a4614e1

Change-Id: Ib1887b2395f0b1391711a9df9bebe224b6be1643

6 years agoMerge "Add test case for user quota management in IpSecService"
Di Lu [Wed, 15 Nov 2017 20:12:38 +0000 (20:12 +0000)]
Merge "Add test case for user quota management in IpSecService"

6 years agoUse U16StringPiece/Range for calling minikin APIs
Seigo Nonaka [Sat, 11 Nov 2017 00:11:33 +0000 (16:11 -0800)]
Use U16StringPiece/Range for calling minikin APIs

Bug: 65024629
Test: N/A
Change-Id: I5bfef4c7e552e9db774a1353e01982538c504832

6 years agoMerge "Create colored shadows demo"
TreeHugger Robot [Wed, 15 Nov 2017 20:11:31 +0000 (20:11 +0000)]
Merge "Create colored shadows demo"

6 years agoMerge "Logging for widget versions"
TreeHugger Robot [Wed, 15 Nov 2017 19:51:27 +0000 (19:51 +0000)]
Merge "Logging for widget versions"

6 years agoMoved navigationbar motion events to global coordinates
Matthew Ng [Wed, 15 Nov 2017 19:09:44 +0000 (11:09 -0800)]
Moved navigationbar motion events to global coordinates

Moved the navigationbar motion events relative to screen coordinates
than the navigationbar.

Test: manual
Bug: 67957962
Change-Id: I7a75debd767adb74115ac342e1cf2979f7d05626

6 years agoMerge "Turn on the "use standby to exit vr mode" feature"
Steven Thomas [Wed, 15 Nov 2017 19:47:52 +0000 (19:47 +0000)]
Merge "Turn on the "use standby to exit vr mode" feature"

6 years agoMerge "Fixed typo in MergeCursor"
TreeHugger Robot [Wed, 15 Nov 2017 19:45:37 +0000 (19:45 +0000)]
Merge "Fixed typo in MergeCursor"

6 years agoMerge "Support for setting stack windowing mode"
Winson Chung [Wed, 15 Nov 2017 19:32:25 +0000 (19:32 +0000)]
Merge "Support for setting stack windowing mode"

6 years agoMerge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4 am: e842e266a6
Niklas Brunlid [Wed, 15 Nov 2017 19:16:47 +0000 (19:16 +0000)]
Merge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4 am: e842e266a6
am: 858c934b5d

Change-Id: I80d027ca4adffbc18b95c365d9ed27d9faaefccd

6 years agoMerge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4
Niklas Brunlid [Wed, 15 Nov 2017 19:08:30 +0000 (19:08 +0000)]
Merge "Avoid overflow in focus fudge calculation" am: 795d4a5aa4
am: e842e266a6

Change-Id: I0509b4debdf634075df7d8f63516d0b8e18e4b8c

6 years agoMerge "Avoid overflow in focus fudge calculation"
Niklas Brunlid [Wed, 15 Nov 2017 18:59:35 +0000 (18:59 +0000)]
Merge "Avoid overflow in focus fudge calculation"
am: 795d4a5aa4

Change-Id: Id15034f5a02f93a4fe8487b5516993a9bf6f4ada

6 years agoMerge changes from topic "f2fs_gc"
TreeHugger Robot [Wed, 15 Nov 2017 18:47:27 +0000 (18:47 +0000)]
Merge changes from topic "f2fs_gc"

* changes:
  Run gc + fstrim for idle maintenance
  Add 'idle-maint' command for use from shell
  Add entry points to invoke idle maintenance from vold

6 years agoMerge "Avoid overflow in focus fudge calculation"
Treehugger Robot [Wed, 15 Nov 2017 18:42:28 +0000 (18:42 +0000)]
Merge "Avoid overflow in focus fudge calculation"

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06...
Marie Janssen [Wed, 15 Nov 2017 18:37:43 +0000 (18:37 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06 am: e57c02e860
am: 4a59e56a34

Change-Id: I3038e805004af042ba61cdf4717bbfd192688a04

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06
Marie Janssen [Wed, 15 Nov 2017 18:24:50 +0000 (18:24 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration" am: 22b12e6b06
am: e57c02e860

Change-Id: If51a8d59d621cc9578d95df7d86903cec5628935

6 years agoMerge "Allow read-access to notification policy"
TreeHugger Robot [Wed, 15 Nov 2017 18:15:54 +0000 (18:15 +0000)]
Merge "Allow read-access to notification policy"

6 years agoDecrease radios poll interval
Fyodor Kupolov [Wed, 15 Nov 2017 01:41:53 +0000 (17:41 -0800)]
Decrease radios poll interval

Polling with wait() calls is OK, but sleep-based should be as short as
possible.

Test: manual
Bug: 65174075
Change-Id: I6ce3bb46b6f6fb932fd4b9500a5854df2ebf8058

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration"
Marie Janssen [Wed, 15 Nov 2017 18:11:38 +0000 (18:11 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration"
am: 22b12e6b06

Change-Id: Ide20da5af6ea64f1c5c0e325e8864034798eface

6 years agoRevert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Cassie Han [Wed, 15 Nov 2017 17:27:31 +0000 (17:27 +0000)]
Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."

Bug: 69349963
Bug: 69096589
Bug: 63984327

This reverts commit 993203c7e0d397f193b80c01774b4be925242dae.

Change-Id: I52839aa5991541399651904587aa342a858a5915

6 years agoMerge "Persist notification blocker info across reboots"
TreeHugger Robot [Wed, 15 Nov 2017 17:10:55 +0000 (17:10 +0000)]
Merge "Persist notification blocker info across reboots"

6 years agoMerge "Bluetooth: Use elapsed real time for calculating onDuration"
Treehugger Robot [Wed, 15 Nov 2017 17:06:41 +0000 (17:06 +0000)]
Merge "Bluetooth: Use elapsed real time for calculating onDuration"

6 years agoImplement front-end APIs for generic vendor-specific parameters.
Tomasz Wasilczyk [Sat, 11 Nov 2017 00:32:38 +0000 (16:32 -0800)]
Implement front-end APIs for generic vendor-specific parameters.

Bug: 65862441
Test: instrumentalization
Change-Id: Ieec0431c9d851de3215c4cf8eb84581db7e001bc

6 years agoRefactor battery saver logic + add "per device" setting
Makoto Onuki [Tue, 14 Nov 2017 23:03:21 +0000 (15:03 -0800)]
Refactor battery saver logic + add "per device" setting

- Extract the battery saver mode transition logic to BatterySaverController.

This now also supports running different code when screen turns on and off.

- BatterySaverPolicy now takes a "per-device configuration" from config.xml,
which can be overwritten via a global setting. We'll use this to set up
max CPU frequencies.

- The actual part to write max CPU frequencies is not finished yet.

Test: atest BatterySaverPolicyTest
Bug: 68769804
Change-Id: Ife38c2cd94ac9902911b005dbbca8b0d0a62e6d7

6 years agoAllow read-access to notification policy
Beverly [Wed, 15 Nov 2017 16:12:51 +0000 (11:12 -0500)]
Allow read-access to notification policy

Test: manual
Change-Id: I2b3c597b56f910b3bcad902e08f6f432493ce768
Fixes: 69358003

6 years agoMerge changes I93fef3dc,I19647b24
Bryce Lee [Wed, 15 Nov 2017 15:47:24 +0000 (15:47 +0000)]
Merge changes I93fef3dc,I19647b24

* changes:
  Add tests to exercise ActivityStarter precondition failures.
  Make ActivityStackSupervisor instrumentable for unit tests.

6 years agoSupport for setting stack windowing mode
Wale Ogunwale [Thu, 9 Nov 2017 16:28:45 +0000 (08:28 -0800)]
Support for setting stack windowing mode

We currently create a in stack in the windowing mode we want anytime we
want to change the windowing mode of a task which isn't optimal.
We now change the current stack windowing mode for some cases vs.
creating a new stack.

Test: go/wm-smoke
Bug: 64146578
Fixes: 68948655
Fixes: 65739235
Fixes: 29068935
Change-Id: I9fceb7d608e86610c1fb5ba59b15087a96e7401e

6 years agoMerge "Delete synthetic password keystore keys when user is removed."
Rubin Xu [Wed, 15 Nov 2017 14:33:36 +0000 (14:33 +0000)]
Merge "Delete synthetic password keystore keys when user is removed."

6 years agoDelete synthetic password keystore keys when user is removed.
Rubin Xu [Fri, 15 Sep 2017 10:56:53 +0000 (11:56 +0100)]
Delete synthetic password keystore keys when user is removed.

Bug: 65718620
Test: Add user, remove user, look at "adb shell su 1000 keystore_cli_v2 list"
      and make sure nothing remains.

Change-Id: I2cf862c35117faed38fdfe5c43ceece4e8dbc3c4

6 years agoBluetooth: Use elapsed real time for calculating onDuration
Marie Janssen [Mon, 26 Jun 2017 14:21:03 +0000 (07:21 -0700)]
Bluetooth: Use elapsed real time for calculating onDuration

The system time can change after boot. Using elapsed real time avoids
this problem.

Test: start factory reset device, adb shell dumpsys bluetooth_manager
Change-Id: Ieea2a2bc8b4bcb375897e609275207b6c3eccdce
Fixes: 62985817