OSDN Git Service

android-x86/frameworks-base.git
6 years agoBatteryStats: Remove empty conditional.
Narayan Kamath [Tue, 6 Feb 2018 13:26:46 +0000 (13:26 +0000)]
BatteryStats: Remove empty conditional.

This was accidentally left behind by change 8182202ac8 when the
statsd related logic was moved to the caller of the method in
question.

Test: make
Change-Id: I75f88aa239d84dfd57f64606059f41259b35c334

6 years agoMerge "Make phone number actions dependent on user privileges"
TreeHugger Robot [Tue, 6 Feb 2018 11:01:53 +0000 (11:01 +0000)]
Merge "Make phone number actions dependent on user privileges"

6 years agoMerge "Dump autofill compat packages."
TreeHugger Robot [Tue, 6 Feb 2018 10:24:16 +0000 (10:24 +0000)]
Merge "Dump autofill compat packages."

6 years agoMerge "Frameworks: Mark tests" am: c86b195cd5 am: 2b12970061
Andreas Gampe [Tue, 6 Feb 2018 09:29:10 +0000 (09:29 +0000)]
Merge "Frameworks: Mark tests" am: c86b195cd5 am: 2b12970061
am: 70c15d1d8d

Change-Id: I55b62b64236937c66a21ec667216f7f1d505a5b5

6 years agoMerge "Frameworks: Mark tests" am: c86b195cd5
Andreas Gampe [Tue, 6 Feb 2018 09:14:05 +0000 (09:14 +0000)]
Merge "Frameworks: Mark tests" am: c86b195cd5
am: 2b12970061

Change-Id: I73c717b99b9660a11141b5392c6993ab9aabf85c

6 years agoMerge "Frameworks: Mark tests"
Andreas Gampe [Tue, 6 Feb 2018 09:04:38 +0000 (09:04 +0000)]
Merge "Frameworks: Mark tests"
am: c86b195cd5

Change-Id: I07af71812c623a14bd8df098e9991a331bdecbc2

6 years agoMerge "Ignore more yellows and greens"
TreeHugger Robot [Tue, 6 Feb 2018 08:32:30 +0000 (08:32 +0000)]
Merge "Ignore more yellows and greens"

6 years agoMerge "Change enum MustExist in CertUtils to IntDef integers"
TreeHugger Robot [Tue, 6 Feb 2018 07:05:36 +0000 (07:05 +0000)]
Merge "Change enum MustExist in CertUtils to IntDef integers"

6 years agoMerge "Revert "Use the correct prebuilts for lifecycles.""
TreeHugger Robot [Tue, 6 Feb 2018 06:54:34 +0000 (06:54 +0000)]
Merge "Revert "Use the correct prebuilts for lifecycles.""

6 years agoMerge "Partial buckets on app upgrade and fix duration."
TreeHugger Robot [Tue, 6 Feb 2018 06:16:10 +0000 (06:16 +0000)]
Merge "Partial buckets on app upgrade and fix duration."

6 years agoMerge "Frameworks: Mark tests"
Treehugger Robot [Tue, 6 Feb 2018 06:03:09 +0000 (06:03 +0000)]
Merge "Frameworks: Mark tests"

6 years agoMerge "OMS: handle overlay package upgrades, uninstalls"
Adam Lesinski [Tue, 6 Feb 2018 05:21:51 +0000 (05:21 +0000)]
Merge "OMS: handle overlay package upgrades, uninstalls"

6 years agoMerge "Fix the function to get baseband version correctly in telephony manager."
Pankaj Kanwar [Tue, 6 Feb 2018 05:13:23 +0000 (05:13 +0000)]
Merge "Fix the function to get baseband version correctly in telephony manager."

6 years agoMerge "Merge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5...
Android Build Merger (Role) [Tue, 6 Feb 2018 04:23:20 +0000 (04:23 +0000)]
Merge "Merge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5 am: 3a19b325c1"

6 years agoMerge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5
Stanley Tng [Tue, 6 Feb 2018 04:18:57 +0000 (04:18 +0000)]
Merge "Add function to change LE Tx Data Length" am: 383a7d432f am: cffe307fa5
am: 3a19b325c1

Change-Id: I717bfaa6fa452be311b493199dfc59a9124a73f0

6 years agoMerge "Increase CRASH_AT_SIZE to 20000"
Hans Boehm [Tue, 6 Feb 2018 04:15:56 +0000 (04:15 +0000)]
Merge "Increase CRASH_AT_SIZE to 20000"

6 years agoMerge "Refactored out app standby bucket reordering"
TreeHugger Robot [Tue, 6 Feb 2018 03:50:54 +0000 (03:50 +0000)]
Merge "Refactored out app standby bucket reordering"

6 years agoMerge changes from topic "am-f03a20d785824cb5973391e78d6c1eb2"
Android Build Merger (Role) [Tue, 6 Feb 2018 03:50:18 +0000 (03:50 +0000)]
Merge changes from topic "am-f03a20d785824cb5973391e78d6c1eb2"

* changes:
  Merge changes from topic "ims_apis" am: de65acb915 am: 77230a0b3f am: 83d77063a8  -s ours
  Make ImsService API @SystemApi am: 0e370b4a02 am: a690700bca am: ade4691364  -s ours
  Integrate new MMTel APIs into the framework am: 5b1883b5f1 am: e904f40820 am: a210f34020  -s ours
  Integrate ImsCallSessionListener API changes am: 6ed4ee6847 am: d627bb5039 am: 2c5dc6b6a0  -s ours

6 years agoMerge changes from topic "ims_apis" am: de65acb915 am: 77230a0b3f
Brad Ebinger [Tue, 6 Feb 2018 03:46:05 +0000 (03:46 +0000)]
Merge changes from topic "ims_apis" am: de65acb915 am: 77230a0b3f
am: 83d77063a8  -s ours

Change-Id: I9f26d74bcc5786bc368b9b9626ab77adf0b3b0e4

6 years agoMake ImsService API @SystemApi am: 0e370b4a02 am: a690700bca
Brad Ebinger [Tue, 6 Feb 2018 03:39:27 +0000 (03:39 +0000)]
Make ImsService API @SystemApi am: 0e370b4a02 am: a690700bca
am: ade4691364  -s ours

Change-Id: I25257302d183d00cdc092c6e89196722acba56ab

6 years agoIntegrate new MMTel APIs into the framework am: 5b1883b5f1 am: e904f40820
Brad Ebinger [Tue, 6 Feb 2018 03:34:13 +0000 (03:34 +0000)]
Integrate new MMTel APIs into the framework am: 5b1883b5f1 am: e904f40820
am: a210f34020  -s ours

Change-Id: I06a45a0a21300af17c2685e87970a64a876f317b

6 years agoMerge "Wait for target package MessageQueue empty before continuing"
TreeHugger Robot [Tue, 6 Feb 2018 03:33:47 +0000 (03:33 +0000)]
Merge "Wait for target package MessageQueue empty before continuing"

6 years agoIntegrate ImsCallSessionListener API changes am: 6ed4ee6847 am: d627bb5039
Brad Ebinger [Tue, 6 Feb 2018 03:28:50 +0000 (03:28 +0000)]
Integrate ImsCallSessionListener API changes am: 6ed4ee6847 am: d627bb5039
am: 2c5dc6b6a0  -s ours

Change-Id: Ie435cabd7ac4976110d1e45ac55d33b79f9adaf5

6 years agoMerge "Add function to change LE Tx Data Length" am: 383a7d432f
Stanley Tng [Tue, 6 Feb 2018 03:27:07 +0000 (03:27 +0000)]
Merge "Add function to change LE Tx Data Length" am: 383a7d432f
am: cffe307fa5

Change-Id: I02a15bfc36d8c8817c45e4c6f56ebbfbbf571338

6 years agoOMS: handle overlay package upgrades, uninstalls
Mårten Kongstad [Wed, 10 Jan 2018 11:05:26 +0000 (12:05 +0100)]
OMS: handle overlay package upgrades, uninstalls

Teach the overlay manager about upgrades and uninstalls of overlay
packages. Add two transient overlay states STATE_TARGET_UPGRADING and
STATE_OVERLAY_UPGRADING.

Test: atest OverlayHostTests
Change-Id: I2d04204150f9e749f070b4e4363eacbd59355014

6 years agoMerge "Synchronous audio focus behavior with external focus policy"
Jean-Michel Trivi [Tue, 6 Feb 2018 03:24:40 +0000 (03:24 +0000)]
Merge "Synchronous audio focus behavior with external focus policy"

6 years agoRevert "Use the correct prebuilts for lifecycles."
Ian Pedowitz [Tue, 6 Feb 2018 03:07:12 +0000 (03:07 +0000)]
Revert "Use the correct prebuilts for lifecycles."

This reverts commit 8c61d7b4b9dd6de37a7acc14f91f8a71623edcc1.

Reason for revert: b/72969557

Bug: 72969557
Bug: 72566647
Change-Id: I46bebf253f1dcb5abfdff2f56022675c1dd44219

6 years agoMerge changes from topic "ims_apis" am: de65acb915
Brad Ebinger [Tue, 6 Feb 2018 03:16:39 +0000 (03:16 +0000)]
Merge changes from topic "ims_apis" am: de65acb915
am: 77230a0b3f

Change-Id: Ifd9a6ee66dae58dc3c1bfec6d7d6eed4f64a6b72

6 years agoMerge "Add new InputBindResult.ResultCode for no editor"
TreeHugger Robot [Tue, 6 Feb 2018 03:12:23 +0000 (03:12 +0000)]
Merge "Add new InputBindResult.ResultCode for no editor"

6 years agoMake ImsService API @SystemApi am: 0e370b4a02
Brad Ebinger [Tue, 6 Feb 2018 03:11:36 +0000 (03:11 +0000)]
Make ImsService API @SystemApi am: 0e370b4a02
am: a690700bca

Change-Id: Idd65b968636b4ee8bffe982afdb86f35db695ac2

6 years agoIntegrate new MMTel APIs into the framework am: 5b1883b5f1
Brad Ebinger [Tue, 6 Feb 2018 03:07:16 +0000 (03:07 +0000)]
Integrate new MMTel APIs into the framework am: 5b1883b5f1
am: e904f40820

Change-Id: I3e6276418b2c6330bce65289f589980d4666de6a

6 years agoMerge "Add function to change LE Tx Data Length"
Stanley Tng [Tue, 6 Feb 2018 03:06:49 +0000 (03:06 +0000)]
Merge "Add function to change LE Tx Data Length"
am: 383a7d432f

Change-Id: I5e4e634b7265d3673a2142fc629d381d4b16b491

6 years agoIntegrate ImsCallSessionListener API changes am: 6ed4ee6847
Brad Ebinger [Tue, 6 Feb 2018 03:03:30 +0000 (03:03 +0000)]
Integrate ImsCallSessionListener API changes am: 6ed4ee6847
am: d627bb5039

Change-Id: Ia445ff1153483813d29b85723437b356da9996e2

6 years agoFix the function to get baseband version correctly in telephony manager.
pkanwar [Wed, 27 Dec 2017 04:01:58 +0000 (20:01 -0800)]
Fix the function to get baseband version correctly in telephony manager.

Bug: 62281863
Test: manual
Change-Id: I58cefcf9651e2dbe4058a8eca6a0875153df0b90

6 years agoMerge "Camera2: Add API to expose all physical camera metadata"
TreeHugger Robot [Tue, 6 Feb 2018 02:47:40 +0000 (02:47 +0000)]
Merge "Camera2: Add API to expose all physical camera metadata"

6 years agoMerge "LocationManager constants for footer injector"
Maggie Wang [Tue, 6 Feb 2018 02:35:24 +0000 (02:35 +0000)]
Merge "LocationManager constants for footer injector"

6 years agoMerge "Update Typeface.createFromFile/Asset"
Siyamed Sinir [Tue, 6 Feb 2018 02:24:25 +0000 (02:24 +0000)]
Merge "Update Typeface.createFromFile/Asset"

6 years agoMerge "Require only ACTION_VIEW for web instant apps"
TreeHugger Robot [Tue, 6 Feb 2018 01:29:05 +0000 (01:29 +0000)]
Merge "Require only ACTION_VIEW for web instant apps"

6 years agoIgnore more yellows and greens
Lucas Dupin [Tue, 6 Feb 2018 00:53:28 +0000 (16:53 -0800)]
Ignore more yellows and greens

Updated palettes to ignore a broader range or yellows, greens
and adjacent colors.

Change-Id: Ied6c3ea0cb917a19548483a42d66f1f4b4fee4f7
Fixes: 68683213
Test: atest tests/Internal/src/com/android/internal/colorextraction/types/TonalTest.java

6 years agoRefactored out app standby bucket reordering
Suprabh Shukla [Thu, 1 Feb 2018 01:39:30 +0000 (17:39 -0800)]
Refactored out app standby bucket reordering

Added a separate method to reorder alarms when app standby bucket
changes. Using rebatchAllAlarms was not ideal because it removes and
inserts all the alarms again, which may not be needed in most of the
cases relating to app standby.
Excluding allow_while_idle_alarms for now due
to a potential infinite loop when triggerAlarmsLocked and
adjustDeliveryTimes... would keep updating delivery times to values
unacceptable to each other.

Test: atest CtsAlarmManagerTestCases

Bug: 72660630
Bug: 72816079
Change-Id: I5406e14c12e18b50046ef9b39b7710ba9d0383b2

6 years agoMerge "IntentForwarderActivity visible to instant apps"
TreeHugger Robot [Tue, 6 Feb 2018 01:06:00 +0000 (01:06 +0000)]
Merge "IntentForwarderActivity visible to instant apps"

6 years agoMerge "Add function to change LE Tx Data Length"
Stanley Tng [Tue, 6 Feb 2018 01:02:33 +0000 (01:02 +0000)]
Merge "Add function to change LE Tx Data Length"

6 years agoMerge "Add Settings Global value for anomaly config"
TreeHugger Robot [Tue, 6 Feb 2018 00:55:21 +0000 (00:55 +0000)]
Merge "Add Settings Global value for anomaly config"

6 years agoMerge "Fix crash in GmsCore due to permission issue"
TreeHugger Robot [Tue, 6 Feb 2018 00:52:35 +0000 (00:52 +0000)]
Merge "Fix crash in GmsCore due to permission issue"

6 years agoChange enum MustExist in CertUtils to IntDef integers
Bo Zhu [Tue, 6 Feb 2018 00:43:09 +0000 (16:43 -0800)]
Change enum MustExist in CertUtils to IntDef integers

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

Change-Id: I5ebb52c86189f813db688e075ac8b2144d938102

6 years agoUpdate Typeface.createFromFile/Asset
Siyamed Sinir [Mon, 5 Feb 2018 23:47:13 +0000 (15:47 -0800)]
Update Typeface.createFromFile/Asset

This CL updates Typeface.createFromFile and Typeface.createFromAsset so
that they would use the Typeface.Builder. To keep the behavior similar
to previous behavior, the existence of the given font file is checked,
and an exception is thrown if the file does not exist.

Test: atest FrameworksCoreTests:TypefaceTest
Test: atest android.graphics.cts.TypefaceTest
Test: atest CtsGraphicsTestCases:PaintTest

Bug: 72834540
Change-Id: Ibe9907440130ca91369b16c6cbac503f4a34e301

6 years agoFix crash in GmsCore due to permission issue
Amith Yamasani [Mon, 5 Feb 2018 22:17:39 +0000 (14:17 -0800)]
Fix crash in GmsCore due to permission issue

Relax the permission requirement for UsageStats
API querying inactive state of apps across users.

Bug: 72953020
Fixes: 72942083
Test: Manual -- create a secondary user
Change-Id: I9c5e12f718d9f424c99aa72dd70470c4b083c13f

6 years agoAdd new InputBindResult.ResultCode for no editor
Tarandeep Singh [Mon, 5 Feb 2018 21:55:06 +0000 (13:55 -0800)]
Add new InputBindResult.ResultCode for no editor

Added a new ResultCode.ERROR_NO_EDITOR for case when there is
no focused editor in the current window. This change should've been included
in Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da

Bug: 37617707
Fixes: 72913821
Test: Manually check logcats for an activity window:
1. with editor focused
2. with edtior available but not focused (e.g. SearchView)
3. with no editor.
Verified that in all cases, InputBindResult isn't null.

Change-Id: I681b8a452dc7104ca294d5388219cea9ab41e160

6 years agoMerge "Make ConnectivityController dumpsys readable."
Makoto Onuki [Tue, 6 Feb 2018 00:14:46 +0000 (00:14 +0000)]
Merge "Make ConnectivityController dumpsys readable."

6 years agoWait for target package MessageQueue empty before continuing
Arthur Eubanks [Mon, 5 Feb 2018 22:53:04 +0000 (14:53 -0800)]
Wait for target package MessageQueue empty before continuing

By using Looper.myQueue().addIdleHandler(), the variance for perf tests
decreases dramatically.

Before:
registeredBroadcast_mean=12162588
registeredBroadcast_median=9496511
registeredBroadcast_stddev=10821157
manifestBroadcastRunning_mean=16673251
manifestBroadcastRunning_median=11859325
manifestBroadcastRunning_stddev=13329366
manifestBroadcastNotRunning_mean=59187569
manifestBroadcastNotRunning_median=55761932
manifestBroadcastNotRunning_stddev=14805616

Now:
registeredBroadcast_mean=940791
registeredBroadcast_median=889583
registeredBroadcast_stddev=157170
manifestBroadcastRunning_mean=1396281
manifestBroadcastRunning_median=1364531
manifestBroadcastRunning_stddev=189226
manifestBroadcastNotRunning_mean=59161472
manifestBroadcastNotRunning_median=56538781
manifestBroadcastNotRunning_stddev=14414728

Test: m ActivityManagerPerfTestsTestApp ActivityManagerPerfTests
Test: adb install \
$OUT/data/app/ActivityManagerPerfTestsTestApp/ActivityManagerPerfTestsTestApp.apk
Test: adb install \
$OUT/data/app/ActivityManagerPerfTests/ActivityManagerPerfTests.apk
Test: adb shell am instrument -w
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I05714294c53f3d013a080dfaa617e1fc92fd14e0

6 years agoMerge "Exempt system apps from hidden API warnings"
TreeHugger Robot [Tue, 6 Feb 2018 00:07:40 +0000 (00:07 +0000)]
Merge "Exempt system apps from hidden API warnings"

6 years agoMerge "Atom and logging for foreground service state changes"
TreeHugger Robot [Mon, 5 Feb 2018 23:44:49 +0000 (23:44 +0000)]
Merge "Atom and logging for foreground service state changes"

6 years agoMerge "Make MATCH_FACTORY_ONLY @TestApi"
Fyodor Kupolov [Mon, 5 Feb 2018 23:44:31 +0000 (23:44 +0000)]
Merge "Make MATCH_FACTORY_ONLY @TestApi"

6 years agoMerge "Check if WindowToken is visible before adding dim."
Chavi Weingarten [Mon, 5 Feb 2018 23:26:00 +0000 (23:26 +0000)]
Merge "Check if WindowToken is visible before adding dim."

6 years agoRequire only ACTION_VIEW for web instant apps
Patrick Baumann [Sat, 3 Feb 2018 00:07:35 +0000 (16:07 -0800)]
Require only ACTION_VIEW for web instant apps

When generic intent resolution support was added to instant apps, it
added the requirement that web instant app resolution also require the
BROWSABLE category. This change relaxes that requirement.

Test: manual - sent intent without browsable and observed resolution
Change-Id: I7d4d891484f538b46d37f2c8e7c040b370b46b9e
Fixes: 72835413

6 years agoIntentForwarderActivity visible to instant apps
Patrick Baumann [Mon, 5 Feb 2018 19:07:39 +0000 (11:07 -0800)]
IntentForwarderActivity visible to instant apps

Prior to this change, attempts to resolve to an app in a managed profile
would result in a PackageManagerService crash as it replaced the
resolved results with the forwarding activity, which wasn't visible to
the calling instant app. This would result in a null ActivityInfo when
querying getActivityInfo. This change makes the forward activity visible
to instant apps so that in this case, the resolve info can be properly
populated.

Change-Id: Ib1336e561f966bde7a1f429ad71bae2e2c69bb5e
Fixes: 67489723
Test: manual - query and start from instant app in personal and work profile

6 years agoMerge changes from topic "ims_apis"
Brad Ebinger [Mon, 5 Feb 2018 23:15:38 +0000 (23:15 +0000)]
Merge changes from topic "ims_apis"
am: de65acb915

Change-Id: I717387907dde9f10fd61bbeb20e3533aeaeab220

6 years agoMake ImsService API @SystemApi
Brad Ebinger [Mon, 5 Feb 2018 23:10:53 +0000 (23:10 +0000)]
Make ImsService API @SystemApi
am: 0e370b4a02

Change-Id: I7e0e8d26e842d78999138fe09e1fc9e5951a6506

6 years agoMerge "Revert "Add debug logs""
TreeHugger Robot [Mon, 5 Feb 2018 23:09:24 +0000 (23:09 +0000)]
Merge "Revert "Add debug logs""

6 years agoMerge "Statsd - use AID_STATSD in MetricsManager"
TreeHugger Robot [Mon, 5 Feb 2018 23:06:05 +0000 (23:06 +0000)]
Merge "Statsd - use AID_STATSD in MetricsManager"

6 years agoIntegrate new MMTel APIs into the framework
Brad Ebinger [Mon, 5 Feb 2018 23:05:33 +0000 (23:05 +0000)]
Integrate new MMTel APIs into the framework
am: 5b1883b5f1

Change-Id: Id45f87f7399ddd8c2fd0046f5fa3f5364ec5f583

6 years agoIntegrate ImsCallSessionListener API changes
Brad Ebinger [Mon, 5 Feb 2018 22:59:45 +0000 (22:59 +0000)]
Integrate ImsCallSessionListener API changes
am: 6ed4ee6847

Change-Id: I41d63714efc2843fd7b1870fc99cefed074f91c3

6 years agoAdd Settings Global value for anomaly config
jackqdyulei [Thu, 1 Feb 2018 19:16:23 +0000 (11:16 -0800)]
Add Settings Global value for anomaly config

1. ANOMALY_CONFIG_VERSION: version of the anomlay config
2. ANOMALY_CONFIG: a base64-encoded string of raw config.

Bug: 72385333
Test: Build
Change-Id: If990d2e00e019cc6d6a6c601de9a08bd5e649654

6 years agoIncrease CRASH_AT_SIZE to 20000
Hans Boehm [Mon, 5 Feb 2018 21:11:04 +0000 (13:11 -0800)]
Increase CRASH_AT_SIZE to 20000

Bug: 71353150
Test: Build and boot master
Change-Id: I2c9a8a93b01ae3eff0db657cb515a48502eaacbc

6 years agoMerge "Use value from XML for Secure.NOTIFICATION_BADGING."
TreeHugger Robot [Mon, 5 Feb 2018 22:26:07 +0000 (22:26 +0000)]
Merge "Use value from XML for Secure.NOTIFICATION_BADGING."

6 years agoMerge "[P2P] Fix flaky unit test"
TreeHugger Robot [Mon, 5 Feb 2018 22:17:08 +0000 (22:17 +0000)]
Merge "[P2P] Fix flaky unit test"

6 years agoMerge "Avoid improperly removing views during transitions"
TreeHugger Robot [Mon, 5 Feb 2018 22:16:32 +0000 (22:16 +0000)]
Merge "Avoid improperly removing views during transitions"

6 years agoMerge "Fix RTL in StatusIconContainer"
TreeHugger Robot [Mon, 5 Feb 2018 22:15:23 +0000 (22:15 +0000)]
Merge "Fix RTL in StatusIconContainer"

6 years agoMerge "Add the utility functions to parse and validate XML files contains public...
Bo Zhu [Mon, 5 Feb 2018 22:08:50 +0000 (22:08 +0000)]
Merge "Add the utility functions to parse and validate XML files contains public-key certificates for THM"

6 years agoAtom and logging for foreground service state changes
Chenjie Yu [Tue, 30 Jan 2018 19:33:21 +0000 (11:33 -0800)]
Atom and logging for foreground service state changes

Test: will add cts test
Change-Id: I6e934b3a2e717f91dd2e5b6edbfe8c721bcf6dac

Bug: 72320099

6 years agoMerge "Add DEFAULT dump priority for services"
TreeHugger Robot [Mon, 5 Feb 2018 21:39:36 +0000 (21:39 +0000)]
Merge "Add DEFAULT dump priority for services"

6 years agoMerge "Update diskstats to break out code & data." into oc-mr1-dev am: ca589a064e
Daniel Nishi [Mon, 5 Feb 2018 21:38:26 +0000 (21:38 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev am: ca589a064e
am: db8d267527  -s ours

Change-Id: I0cbaff432260c38995aec7f38a59019dbb9c67ed

6 years agoMerge "Add setting and logging for RTT"
Hall Liu [Mon, 5 Feb 2018 21:30:51 +0000 (21:30 +0000)]
Merge "Add setting and logging for RTT"

6 years agoMerge "fix bluetooth puller + bluetooth adapter may be lost, in which case we should...
TreeHugger Robot [Mon, 5 Feb 2018 21:16:23 +0000 (21:16 +0000)]
Merge "fix bluetooth puller + bluetooth adapter may be lost, in which case we should try to get it again"

6 years agoMerge "camera: Extend the multiple capture request requirements"
TreeHugger Robot [Mon, 5 Feb 2018 21:13:21 +0000 (21:13 +0000)]
Merge "camera: Extend the multiple capture request requirements"

6 years agoAdd DEFAULT dump priority for services
Vishnu Nair [Thu, 1 Feb 2018 23:14:44 +0000 (15:14 -0800)]
Add DEFAULT dump priority for services

- Adds a new DEFAULT priority for services which is treated the same as NORMAL priority but dumpsys does not send "--dump-priority" arguments to the service.

Bug: 27429130
Test: Manually generate bugrepot (default version) and check for any issues
Test: Load bugreport on ABT
Test: mmm -j56 frameworks/native/cmds/dumpstate && \
      adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \
      printf "\n\n#### ALL TESTS PASSED ####\n"

Change-Id: Ia90ae16d56d0144e679cf39ebfbf4473dd21f167

6 years agoMerge "Update diskstats to break out code & data." into oc-mr1-dev
Daniel Nishi [Mon, 5 Feb 2018 21:04:20 +0000 (21:04 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev
am: ca589a064e

Change-Id: Icb380ba195ec25c7eacf2dc4c89639bc2a325fb8

6 years agoMake ConnectivityController dumpsys readable.
Makoto Onuki [Mon, 5 Feb 2018 20:56:20 +0000 (12:56 -0800)]
Make ConnectivityController dumpsys readable.

Test: Build, boot and dumpsys jobscheduler.
Bug: 72953027
Change-Id: I145b489a8e4531fb46d4da3d0e9ed2e0bf7a13b4

6 years agoMerge "Add a new flag to dump normal priority content from ActivityManagerService"
TreeHugger Robot [Mon, 5 Feb 2018 20:54:24 +0000 (20:54 +0000)]
Merge "Add a new flag to dump normal priority content from ActivityManagerService"

6 years agoRevert "Add debug logs"
Todd Kennedy [Tue, 23 Jan 2018 14:35:10 +0000 (14:35 +0000)]
Revert "Add debug logs"

This reverts commit f996b76623f2b6e958e76d40d17b17f673ed30b5.

Change-Id: I855a61070411b2a1fa8f1add10998aaabcef43f6
Fixes: 72369036
Test: Manual; builds and runs

6 years agoMerge "Update diskstats to break out code & data." into oc-mr1-dev
TreeHugger Robot [Mon, 5 Feb 2018 20:47:15 +0000 (20:47 +0000)]
Merge "Update diskstats to break out code & data." into oc-mr1-dev

6 years agoMerge changes Ie6bebede,I21ebbfb0
Chavi Weingarten [Mon, 5 Feb 2018 20:41:38 +0000 (20:41 +0000)]
Merge changes Ie6bebede,I21ebbfb0

* changes:
  Fixed Dimmer test
  Each dimmer can only have one dim layer at a time.

6 years agoStatsd - use AID_STATSD in MetricsManager
Bookatz [Mon, 5 Feb 2018 20:30:14 +0000 (12:30 -0800)]
Statsd - use AID_STATSD in MetricsManager

MetricsManager needs to know the uid of Statsd. Right now it fetches it,
but it is actually a constant that it can access directly.

Test: manual
Change-Id: I36437136babaf99ecad1fac7c233f7aaf06f380d

6 years agoMerge "Use the correct prebuilts for lifecycles."
TreeHugger Robot [Mon, 5 Feb 2018 20:28:45 +0000 (20:28 +0000)]
Merge "Use the correct prebuilts for lifecycles."

6 years agoMerge "Make sure to set-up listener last in NonPhoneDependencyTest."
Selim Cinek [Mon, 5 Feb 2018 20:26:02 +0000 (20:26 +0000)]
Merge "Make sure to set-up listener last in NonPhoneDependencyTest."

6 years agoExempt system apps from hidden API warnings
David Brazdil [Mon, 5 Feb 2018 20:04:16 +0000 (20:04 +0000)]
Exempt system apps from hidden API warnings

Bug: 64382372
Test: make
Change-Id: Ib9bb92f29858dea4f53b0b1ba3b40bdf22b897c9

6 years agoMerge "Fix QS -> QQS animation."
TreeHugger Robot [Mon, 5 Feb 2018 19:59:52 +0000 (19:59 +0000)]
Merge "Fix QS -> QQS animation."

6 years agoAdd setting and logging for RTT
Hall Liu [Tue, 30 Jan 2018 01:22:02 +0000 (17:22 -0800)]
Add setting and logging for RTT

Add a system setting to store preferred RTT mode for calls. Add logging
for RTT in Telecom base classes.

Bug: 63934808
Test: manual
Change-Id: Ie26fac800931604379bbe7b8abfed7caa8c0236d

6 years agoCheck if WindowToken is visible before adding dim.
chaviw [Fri, 2 Feb 2018 22:51:20 +0000 (14:51 -0800)]
Check if WindowToken is visible before adding dim.

If a window token is set to hidden, we don't want to add dim layers to any
window states for that window token.

For example, if an AWT is set to exit, but one of its windows has a dim,
we don't want the dim to stay while the app is exiting.

Fixes: 72821785
Test: Press home from app with dialog open. Dim should hide immediately
and not wait until exit animation is complete.
Test: atest WindowManagerSmokeTest

Change-Id: I0f87dd3900fc4535f572cf2b876e29d9b27f0b35

6 years agoMerge "Make QS footer 90% transparent."
TreeHugger Robot [Mon, 5 Feb 2018 19:27:31 +0000 (19:27 +0000)]
Merge "Make QS footer 90% transparent."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 5 Feb 2018 19:26:38 +0000 (19:26 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Move sharedPreferences to DE directory"
Jerry Zhang [Mon, 5 Feb 2018 19:25:34 +0000 (19:25 +0000)]
Merge "Move sharedPreferences to DE directory"

6 years agoMerge "lowpan: Use IBinder for comparison instead of interface"
TreeHugger Robot [Mon, 5 Feb 2018 19:24:26 +0000 (19:24 +0000)]
Merge "lowpan: Use IBinder for comparison instead of interface"

6 years agofix bluetooth puller
Chenjie Yu [Fri, 2 Feb 2018 06:27:17 +0000 (22:27 -0800)]
fix bluetooth puller
+ bluetooth adapter may be lost, in which case we should try to get it
again

Test: cts test
Change-Id: I331ab45cea930cb5b8b95885442214d4a410b13b

Fix: 72949299

6 years agoMerge changes from topic "ims_apis"
Brad Ebinger [Mon, 5 Feb 2018 19:09:25 +0000 (19:09 +0000)]
Merge changes from topic "ims_apis"

* changes:
  Modify ImsService API to accomodate compat
  Make ImsService API @SystemApi
  Integrate new MMTel APIs into the framework
  Integrate ImsCallSessionListener API changes

6 years agoMerge "Move to "official" app toolkit Make target"
TreeHugger Robot [Mon, 5 Feb 2018 18:58:45 +0000 (18:58 +0000)]
Merge "Move to "official" app toolkit Make target"

6 years agoSynchronous audio focus behavior with external focus policy
Jean-Michel Trivi [Tue, 30 Jan 2018 23:09:47 +0000 (15:09 -0800)]
Synchronous audio focus behavior with external focus policy

This patch preserves the synchronous nature of audio focus requests,
  even when an external focus policy is installed.
When focus is requested, the request is blocked on
  the client-side, while AudioService informs the external
  policy of the request, and until the ext policy responds
  with the focus request result for this client, or
  it times out.
The new AudioPolicy API is the call for the external policy
  to send the focus request result.

Bug: 63906162
Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t 'com.google.android.gts.audio.AudioHostTest#testFocusPolicy'

Change-Id: I4671517f7f00eaaed8748bd4013b7d20be3085fb

6 years agoUse the correct prebuilts for lifecycles.
Aurimas Liutikas [Mon, 5 Feb 2018 18:39:54 +0000 (18:39 +0000)]
Use the correct prebuilts for lifecycles.

This change should have no effect on the app. It is simply unifying some of the prebuilts.

Bug: 72566647
Change-Id: I390febb532efca61b06c32135d0c5b82b61b9cc4

6 years agoMerge "Properly handle start results when using wait flag."
Bryce Lee [Mon, 5 Feb 2018 18:30:40 +0000 (18:30 +0000)]
Merge "Properly handle start results when using wait flag."

6 years agoUse value from XML for Secure.NOTIFICATION_BADGING.
Ben Lin [Mon, 29 Jan 2018 19:48:20 +0000 (11:48 -0800)]
Use value from XML for Secure.NOTIFICATION_BADGING.

Config config_notificationBadging was created, and it was used for
showing/hiding the toggle in Settings app. However, since there's no
default value for Settings.Secure.NOTIFICATION_BADGING, it is possible
to be in a state where there's no toggle, and the user is stuck having
it turned on. This change pulls in config_notificationBadging for also
the default value of Secure.NOTIFICATION_BADGING.

Bug: 36021111
Test: Build, flashed and confirmed proper config value. Also don't see
the toggle anymore in Settings app.

Change-Id: Idbf162040d29cf2456356e7c628a29b26fef6363