OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd owner files for feature flag utils
Fan Zhang [Wed, 14 Feb 2018 23:17:27 +0000 (15:17 -0800)]
Add owner files for feature flag utils

Test: rebuild
Change-Id: I23a5724ed3a37350ecbe8fc77861db2b886846cb

6 years agoMerge "Do not show blocking helper if user likes channel"
TreeHugger Robot [Mon, 12 Feb 2018 22:30:26 +0000 (22:30 +0000)]
Merge "Do not show blocking helper if user likes channel"

6 years agoMerge "Public EuiccManager APIs."
Qingxi Li [Mon, 12 Feb 2018 22:09:53 +0000 (22:09 +0000)]
Merge "Public EuiccManager APIs."

6 years agoMerge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check"
TreeHugger Robot [Mon, 12 Feb 2018 21:53:48 +0000 (21:53 +0000)]
Merge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check"

6 years agoMerge "Small fix to anomaly tracker in statsd."
TreeHugger Robot [Mon, 12 Feb 2018 21:43:08 +0000 (21:43 +0000)]
Merge "Small fix to anomaly tracker in statsd."

6 years agoMerge "STATSD_STARTED broadcast include background"
TreeHugger Robot [Mon, 12 Feb 2018 20:50:24 +0000 (20:50 +0000)]
Merge "STATSD_STARTED broadcast include background"

6 years agoMerge "Remove battery from bluetooth tile icon"
TreeHugger Robot [Mon, 12 Feb 2018 20:47:48 +0000 (20:47 +0000)]
Merge "Remove battery from bluetooth tile icon"

6 years agoMerge "Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am:...
Android Build Merger (Role) [Mon, 12 Feb 2018 20:40:52 +0000 (20:40 +0000)]
Merge "Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a am: de387f3298"

6 years agoMerge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a
Jordan Liu [Mon, 12 Feb 2018 20:39:41 +0000 (20:39 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6 am: 22189a729a
am: de387f3298

Change-Id: I479c3220cd9f9aef1bdf4184a6a268240218657e

6 years agoMerge "Fix AnimatedImageDrawable drawn in software"
TreeHugger Robot [Mon, 12 Feb 2018 20:38:17 +0000 (20:38 +0000)]
Merge "Fix AnimatedImageDrawable drawn in software"

6 years agoMerge "Use activity-alias to show usb debugging dialog"
Beverly Tai [Mon, 12 Feb 2018 20:33:28 +0000 (20:33 +0000)]
Merge "Use activity-alias to show usb debugging dialog"

6 years agoMerge "Overload setTelephonyProperty without phone ID" am: f27242dbd6
Jordan Liu [Mon, 12 Feb 2018 20:19:37 +0000 (20:19 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am: f27242dbd6
am: 22189a729a

Change-Id: I9d8182751f5303258083e0b0d0825902d06225d1

6 years agoMerge "Overload setTelephonyProperty without phone ID"
Jordan Liu [Mon, 12 Feb 2018 20:06:06 +0000 (20:06 +0000)]
Merge "Overload setTelephonyProperty without phone ID"
am: f27242dbd6

Change-Id: I75fdeb6067b2917899f8b54d3e2857beb5d13c52

6 years agoMerge "Statsd CPU optimization."
TreeHugger Robot [Mon, 12 Feb 2018 19:53:56 +0000 (19:53 +0000)]
Merge "Statsd CPU optimization."

6 years agoMerge "Move SignalDrawable to SettingsLib so every can enjoy it"
TreeHugger Robot [Mon, 12 Feb 2018 19:49:29 +0000 (19:49 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"

6 years agoMerge "Revert "Fix issue #72116995: Add permission guarding Service#startForeground""
TreeHugger Robot [Mon, 12 Feb 2018 19:47:35 +0000 (19:47 +0000)]
Merge "Revert "Fix issue #72116995: Add permission guarding Service#startForeground""

6 years agoMerge "Revert incorrect NonNull assertions in ColorStateList loading"
TreeHugger Robot [Mon, 12 Feb 2018 19:17:14 +0000 (19:17 +0000)]
Merge "Revert incorrect NonNull assertions in ColorStateList loading"

6 years agoMerge "Add performance tests for Service"
TreeHugger Robot [Mon, 12 Feb 2018 19:06:00 +0000 (19:06 +0000)]
Merge "Add performance tests for Service"

6 years agoMerge "New autofill APIs to get importantForAutofill mode on ViewNodes."
TreeHugger Robot [Mon, 12 Feb 2018 19:04:42 +0000 (19:04 +0000)]
Merge "New autofill APIs to get importantForAutofill mode on ViewNodes."

6 years agoStatsd CPU optimization.
Yao Chen [Thu, 8 Feb 2018 22:50:40 +0000 (14:50 -0800)]
Statsd CPU optimization.

The key change is to revamp how we parse/store/match a log event, especially how we match repeated
field and attribution nodes, and how we construct dimensions and compare them.

+ We use a integer to encode the field of a log element. And also encode the FieldMatcher into an
integer and a bit mask. The log matching becomes 2 integer operations.

+ Dimension is stored as encoded field and value pair. Checking if 2 dimensions are equal is then
  becoming checking if the underlying integers are equal. The integers are stored contiguously
  in memory, so it's much faster than previous tree structure.

Start review from FieldValue.h

Test: statsd_test + new unit tests

Bug: 72659059

Change-Id: Iec8daeacdd3f39ab297c10ab9cd7b710a9c42e86

6 years agoMerge "Expose an update_engine API that verifies the given payload metadata."
Tao Bao [Mon, 12 Feb 2018 18:36:47 +0000 (18:36 +0000)]
Merge "Expose an update_engine API that verifies the given payload metadata."

6 years agoMerge "Fix issue #72151749: Lock down 'clear cache' functionality to..."
TreeHugger Robot [Mon, 12 Feb 2018 18:19:38 +0000 (18:19 +0000)]
Merge "Fix issue #72151749: Lock down 'clear cache' functionality to..."

6 years agoDo not show blocking helper if user likes channel
Julia Reynolds [Mon, 12 Feb 2018 14:55:14 +0000 (09:55 -0500)]
Do not show blocking helper if user likes channel

If a user has previously explicitly set the importance of
a notification, assume the user sentiment is postive regardless of what
the assistant suggests.

Test: runtest systemui,  runtest systemui-notification
Change-Id: I646f0878fb5bb2a28ba17fd0ec11c8cdb64b611d
Fixes: 73231297

6 years agoMerge "Overload setTelephonyProperty without phone ID"
Jordan Liu [Mon, 12 Feb 2018 18:17:24 +0000 (18:17 +0000)]
Merge "Overload setTelephonyProperty without phone ID"

6 years agoMerge "Add more APIs to hidden API greylist"
TreeHugger Robot [Mon, 12 Feb 2018 18:15:36 +0000 (18:15 +0000)]
Merge "Add more APIs to hidden API greylist"

6 years agoMerge "Prevent setting negative alpha for dim animations."
Chavi Weingarten [Mon, 12 Feb 2018 18:01:21 +0000 (18:01 +0000)]
Merge "Prevent setting negative alpha for dim animations."

6 years agoMerge "Revert "Revert "Fix MediaDrm security level APIs"""
TreeHugger Robot [Mon, 12 Feb 2018 17:55:50 +0000 (17:55 +0000)]
Merge "Revert "Revert "Fix MediaDrm security level APIs"""

6 years agoMerge "Added DND icon on muted streams on volume dialog"
Beverly Tai [Mon, 12 Feb 2018 17:41:26 +0000 (17:41 +0000)]
Merge "Added DND icon on muted streams on volume dialog"

6 years agoAdd performance tests for Service
Arthur Eubanks [Tue, 9 Jan 2018 19:40:58 +0000 (11:40 -0800)]
Add performance tests for Service

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 -e class \
com.android.frameworks.perftests.am.tests.ServiceStartPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.ServiceBindPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner

BUG: 67460485

Change-Id: I16ea5752def13aabd481aeb29f1af0ac04e75f6a

6 years agoMerge "Non-functional refactor of Location Extras"
Wyatt Riley [Mon, 12 Feb 2018 17:01:10 +0000 (17:01 +0000)]
Merge "Non-functional refactor of Location Extras"

6 years agoAdd more APIs to hidden API greylist
David Brazdil [Mon, 12 Feb 2018 06:57:01 +0000 (06:57 +0000)]
Add more APIs to hidden API greylist

APIs seen in use by common apps.

Bug: 73211878
Bug: 73211350
Bug: 73211163
Bug: 73211208
Bug: 73103890
Bug: 73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d

6 years agoUse activity-alias to show usb debugging dialog
Beverly [Fri, 2 Feb 2018 16:40:54 +0000 (11:40 -0500)]
Use activity-alias to show usb debugging dialog

Test: UsbTest in cts verifier
Change-Id: Ib5b6db7175093cc55fadf6c063baa7e6eea71608
Fixes: 73152503

6 years agoRevert "Fix issue #72116995: Add permission guarding Service#startForeground"
Ian Pedowitz [Mon, 12 Feb 2018 16:12:33 +0000 (16:12 +0000)]
Revert "Fix issue #72116995: Add permission guarding Service#startForeground"

This reverts commit a9da85fde4675ed0b03557e448b1cc67f1d391fe.

Reason for revert: b/73224471

Bug: 73224471
Bug: 72116995
Change-Id: I1485305f40d47fdb138cb1e484c329cf20892a6b

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
hansson [Mon, 12 Feb 2018 15:23:27 +0000 (15:23 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343 am: a4428dc5e4
am: 60108dce1c

Change-Id: Ifc575a70b4b2fda3155353c78239a35220cf4b7d

6 years agoMerge "Add support for time zone notifications"
Neil Fuller [Mon, 12 Feb 2018 15:14:49 +0000 (15:14 +0000)]
Merge "Add support for time zone notifications"

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
hansson [Mon, 12 Feb 2018 15:10:22 +0000 (15:10 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds." am: a869d14343
am: a4428dc5e4

Change-Id: I7e9db0098aeb6069dcd1f048a0cd6f690c947815

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 14:57:46 +0000 (14:57 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."
am: a869d14343

Change-Id: I49f0696119d1aa52e420fa7c676a448d569ea941

6 years agoMerge "Logging for linkify selections"
TreeHugger Robot [Mon, 12 Feb 2018 14:44:35 +0000 (14:44 +0000)]
Merge "Logging for linkify selections"

6 years agoAdded DND icon on muted streams on volume dialog
Beverly [Thu, 8 Feb 2018 22:19:01 +0000 (17:19 -0500)]
Added DND icon on muted streams on volume dialog

Now users cannot toggle off dnd from the volume dialog
since the ringer (volume footer) will be disabled if it's muted by dnd

Test: manual
Change-Id: I7d4dd552e0f791ee52135272d8d0837899abe152
Fixes: 72711020

6 years agoMerge "Fix size of parcelled TextClassification icons."
TreeHugger Robot [Mon, 12 Feb 2018 12:17:58 +0000 (12:17 +0000)]
Merge "Fix size of parcelled TextClassification icons."

6 years agoMerge "More unit tests for PerformBackupTask"
TreeHugger Robot [Mon, 12 Feb 2018 11:07:51 +0000 (11:07 +0000)]
Merge "More unit tests for PerformBackupTask"

6 years agoMerge "WallpaperCropper: Remove dependency on telephony-common."
Narayan Kamath [Mon, 12 Feb 2018 10:59:06 +0000 (10:59 +0000)]
Merge "WallpaperCropper: Remove dependency on telephony-common."

6 years agoMerge "CtsShim: build tweaks for 64-bit only builds."
hansson [Mon, 12 Feb 2018 10:48:30 +0000 (10:48 +0000)]
Merge "CtsShim: build tweaks for 64-bit only builds."

6 years agoReplace smart reply boolean setting with key-value list
Petr Cermak [Mon, 5 Feb 2018 19:00:54 +0000 (19:00 +0000)]
Replace smart reply boolean setting with key-value list

This patch replaces the recently introduced
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS boolean setting
with a new Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS
key-value list.

Rationale: This will allow us to add and tweak smart reply parameters
without polluting the global settings namespace.

Bug: 67765414
Test: atest SmartReplyConstantsTest
Change-Id: I284bb6b31618a234c4772d16ad6190a713035f1b

6 years agoMore unit tests for PerformBackupTask
Bernardo Rufino [Sat, 10 Feb 2018 13:08:52 +0000 (13:08 +0000)]
More unit tests for PerformBackupTask

Around transport and agent failures. Caught a few possible errors, check
TODOs.

Test: m -j RunFrameworksServicesRoboTests
Change-Id: I9d04f4253511032473885ce6c0856c52639f2957

6 years agoMerge "Greylist java.nio.Buffer.address"
David Brazdil [Mon, 12 Feb 2018 06:31:37 +0000 (06:31 +0000)]
Merge "Greylist java.nio.Buffer.address"

6 years agoMerge "Add dedicated signature permissions to platform manifest and shell manifest...
Baisheng Zheng [Mon, 12 Feb 2018 01:34:00 +0000 (01:34 +0000)]
Merge "Add dedicated signature permissions to platform manifest and shell manifest which could enable/disable BT and Wifi state on watch"

6 years agoMerge "Log app start to statsd"
Zhi An Ng [Mon, 12 Feb 2018 00:34:36 +0000 (00:34 +0000)]
Merge "Log app start to statsd"

6 years agoRevert "Revert "Fix MediaDrm security level APIs""
Jeff Tinker [Sun, 11 Feb 2018 18:59:14 +0000 (18:59 +0000)]
Revert "Revert "Fix MediaDrm security level APIs""

This reverts commit fda717d50127c35f52880e94690042c7603600e3.

Change-Id: I5e51c7e8d7ab0626fdfd9726278cb762b79a512e

6 years agoMerge "Revert "Fix MediaDrm security level APIs""
TreeHugger Robot [Sun, 11 Feb 2018 17:16:14 +0000 (17:16 +0000)]
Merge "Revert "Fix MediaDrm security level APIs""

6 years agoRevert "Fix MediaDrm security level APIs"
Tobias Thierer [Sun, 11 Feb 2018 15:01:04 +0000 (15:01 +0000)]
Revert "Fix MediaDrm security level APIs"

This reverts commit 778639efbe1db003487f788a4e7f513414bcfd7c.

Reason for revert: Build cop here. The CL topic that I'm reverting broke several builds: Drm.h's openSession(Vector<uint8_t> &sessionId) hides overloaded virtual function openSession(DrmPlugin::SecurityLevel securityLevel, ..) from IDrm.h.

https://android-build.googleplex.com/builds/submitted/4598692/full-eng/latest/view/logs/build_error.log

Change-Id: I86bb202125b17bdeea12c414f3eca2a9e016dac2

6 years agoAdd dedicated signature permissions to platform manifest and shell manifest which...
baisheng [Thu, 25 Jan 2018 10:07:24 +0000 (18:07 +0800)]
Add dedicated signature permissions to platform manifest and shell manifest which could enable/disable BT and Wifi state on watch

Skip Bluetooth consent UI if running on shell, also fix a typo in log message.

Test: Manual test running `adb root; adb shell service call bluetooth_manager 6` and see if BT is on without consent UI.
Bug: 69872231
Change-Id: Ie513794a7fc13041259fd84734bfc651495ba5cf

6 years agoMerge "Update netpolicy,bstats tests to not assume DUT will be plugged-in."
TreeHugger Robot [Sun, 11 Feb 2018 03:06:22 +0000 (03:06 +0000)]
Merge "Update netpolicy,bstats tests to not assume DUT will be plugged-in."

6 years agoUpdate netpolicy,bstats tests to not assume DUT will be plugged-in.
Sudheer Shanka [Sun, 11 Feb 2018 00:31:34 +0000 (16:31 -0800)]
Update netpolicy,bstats tests to not assume DUT will be plugged-in.

Bug: 73037837
Test: atest com.android.server.net.ConnOnActivityStartTest
Test: atest com.android.internal.os.BstatsCpuTimesValidationTest
Change-Id: I0647b6746d7d2cc9e4d24dfb14321f3fa5ac7f1c

6 years agoMove SignalDrawable to SettingsLib so every can enjoy it
Evan Laird [Sat, 10 Feb 2018 17:36:55 +0000 (09:36 -0800)]
Move SignalDrawable to SettingsLib so every can enjoy it

Anyone with a dependecy on SettingsLib should be able to create and use
a platform SignalDrawable.

Test: runtest systemui; visual
Change-Id: I65caa2ac69cae52b6ad798937df3f3399ab406af
Fixes: 72511183

6 years agoRemove broadcastradio HAL 1.2 support from the framework.
Tomasz Wasilczyk [Thu, 8 Feb 2018 22:17:54 +0000 (14:17 -0800)]
Remove broadcastradio HAL 1.2 support from the framework.

Bug: 62945293
Test: it boots
Change-Id: I7f434ed7ef07d0cf9afa93c17e78f2bf80f43b36

6 years agoMerge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9...
Pavlin Radoslavov [Sat, 10 Feb 2018 09:40:05 +0000 (09:40 +0000)]
Merge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9 am: 7cb1dbd38a
am: b59037596a

Change-Id: Ie29b906d4592b613dc91f3ad858e543ff8e5f7a2

6 years agoMerge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9
Pavlin Radoslavov [Sat, 10 Feb 2018 09:27:54 +0000 (09:27 +0000)]
Merge "Use proper string formatting for the "Active device" string" am: 1b5703f9e9
am: 7cb1dbd38a

Change-Id: I7b9eee4064112569c2dead6bc10d232d2b4cc118

6 years agoMerge "Use proper string formatting for the "Active device" string"
Pavlin Radoslavov [Sat, 10 Feb 2018 09:16:20 +0000 (09:16 +0000)]
Merge "Use proper string formatting for the "Active device" string"
am: 1b5703f9e9

Change-Id: I53fcb586273b02339e83f2514274e3be662b67ba

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Sat, 10 Feb 2018 05:46:49 +0000 (05:46 +0000)]
Merge "add a current table in CarrierIdProvider"

6 years agoMerge "Register for fallback vibration's death"
TreeHugger Robot [Sat, 10 Feb 2018 04:30:30 +0000 (04:30 +0000)]
Merge "Register for fallback vibration's death"

6 years agoMerge changes from topic "revert-assetmanager2-02-09-2018"
TreeHugger Robot [Sat, 10 Feb 2018 03:42:41 +0000 (03:42 +0000)]
Merge changes from topic "revert-assetmanager2-02-09-2018"

* changes:
  Revert "Replace AssetManager with AssetManager2 implementation"
  Revert "libandroidfw: Make sure to set the 'app as lib' flag"
  Revert "Make idiomatic use of ApkAssets and AssetManager"
  Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
  Revert "libandroidfw: Improve performance of AssetManager2"
  Revert "AssetManager2: Allow out of order type/type spec"
  Revert "AssetManager2: Fix list function"
  Revert "AssetManager2: Fix issue with native cast"

6 years agoMerge "Benchmark: stats_write"
TreeHugger Robot [Sat, 10 Feb 2018 03:33:20 +0000 (03:33 +0000)]
Merge "Benchmark: stats_write"

6 years agoMerge "Fix MediaDrm security level APIs"
TreeHugger Robot [Sat, 10 Feb 2018 03:28:03 +0000 (03:28 +0000)]
Merge "Fix MediaDrm security level APIs"

6 years agoMerge "AOD font sizes"
TreeHugger Robot [Sat, 10 Feb 2018 02:45:25 +0000 (02:45 +0000)]
Merge "AOD font sizes"

6 years agoLog app start to statsd
Ng Zhi An [Wed, 31 Jan 2018 01:12:39 +0000 (17:12 -0800)]
Log app start to statsd

Bug: 72713338
Test: manual, open app, logcat -b stats
Change-Id: Ic5dc74a637601df443de29eb6f13bd63dd03c6e7

6 years agoMerge "MediaPlayer2: hook up srcId."
TreeHugger Robot [Sat, 10 Feb 2018 02:31:46 +0000 (02:31 +0000)]
Merge "MediaPlayer2: hook up srcId."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."...
Tyler Gunn [Sat, 10 Feb 2018 02:26:52 +0000 (02:26 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am: 6a3031713c am: 07545d18a2
am: a5627cd0e2

Change-Id: I8b423fba0e10abffc757e8d5ad4feb3b01732e01

6 years agoMerge "Add clear method to ProtoOutputStream so it is reusable by just rewinding...
TreeHugger Robot [Sat, 10 Feb 2018 02:20:30 +0000 (02:20 +0000)]
Merge "Add clear method to ProtoOutputStream so it is reusable by just rewinding its internal pointer."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."...
Tyler Gunn [Sat, 10 Feb 2018 02:11:17 +0000 (02:11 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am: 6a3031713c
am: 07545d18a2

Change-Id: I040613717aef7626dff3eafb2f49c943255d5795

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3 am...
nharold [Sat, 10 Feb 2018 02:11:15 +0000 (02:11 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3 am: e736f83caf
am: 0f7857e587

Change-Id: Ib33ccecfe2fc600c05a208d24df10a474addb0e5

6 years agoMerge "Remove unnecessary interactive check from alarm dumpsys"
TreeHugger Robot [Sat, 10 Feb 2018 02:05:28 +0000 (02:05 +0000)]
Merge "Remove unnecessary interactive check from alarm dumpsys"

6 years agoMerge "Use proper string formatting for the "Active device" string"
Treehugger Robot [Sat, 10 Feb 2018 02:05:12 +0000 (02:05 +0000)]
Merge "Use proper string formatting for the "Active device" string"

6 years agoMerge "[3rd try] JobScheduler to use UID active state for job exemption"
TreeHugger Robot [Sat, 10 Feb 2018 01:59:36 +0000 (01:59 +0000)]
Merge "[3rd try] JobScheduler to use UID active state for job exemption"

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3
nharold [Sat, 10 Feb 2018 01:57:50 +0000 (01:57 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am: 43699e90f3
am: e736f83caf

Change-Id: If7330b4fdf5d2ccbddb590ab81a4b19c1f612b66

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."
Tyler Gunn [Sat, 10 Feb 2018 01:52:07 +0000 (01:52 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."
am: 6a3031713c

Change-Id: I08fb54de452d6f334232d24caf8f89caba85c515

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
nharold [Sat, 10 Feb 2018 01:46:00 +0000 (01:46 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
am: 43699e90f3

Change-Id: I1f286f0215ce88f947775ded0ddfbc8e0cd7bc55

6 years agoMerge "Declare a WTF if setting an alarm fails"
TreeHugger Robot [Sat, 10 Feb 2018 01:35:48 +0000 (01:35 +0000)]
Merge "Declare a WTF if setting an alarm fails"

6 years agoFix MediaDrm security level APIs
Jeff Tinker [Mon, 5 Feb 2018 23:31:02 +0000 (15:31 -0800)]
Fix MediaDrm security level APIs

During development of the vendor/widevine HAL module, the newly added
MediaDrm.setSecurityLevel method was found to be difficult to
implement efficiently since the security level is needed at the time
a session is opened. This CL moves the security level parameter to
openSession to resolve this problem.

bug:72831697
bug:64001680

test: GTS media tests
Change-Id: I74b3d1013405805c18b9794bbf7c46348e0ccda9

6 years agoAOD font sizes
Lucas Dupin [Sat, 10 Feb 2018 00:54:36 +0000 (16:54 -0800)]
AOD font sizes

Rebalanced font size so keyguard message isn't bigger
than the clock.

Test: visual
Change-Id: I0d24c44616b2b1a0787fa9e55ccb439b30a152ac

6 years agoMerge "MediaFrameworkTest: Configure video snapshot framerate"
TreeHugger Robot [Sat, 10 Feb 2018 00:54:55 +0000 (00:54 +0000)]
Merge "MediaFrameworkTest: Configure video snapshot framerate"

6 years agoMerge "Update internal ViewPager's SavedState to match Support Library version"
TreeHugger Robot [Sat, 10 Feb 2018 00:49:02 +0000 (00:49 +0000)]
Merge "Update internal ViewPager's SavedState to match Support Library version"

6 years agoMerge "Add Connection Event for supplementary service notifications." am: efccc1babe...
Tyler Gunn [Sat, 10 Feb 2018 00:25:05 +0000 (00:25 +0000)]
Merge "Add Connection Event for supplementary service notifications." am: efccc1babe am: 4d2dae8f0c
am: cb64e33660

Change-Id: I782179c6a96d7a953c3201943726ae1e34735ca8

6 years agoRemove unnecessary interactive check from alarm dumpsys
Makoto Onuki [Sat, 10 Feb 2018 00:14:26 +0000 (16:14 -0800)]
Remove unnecessary interactive check from alarm dumpsys

Test: boot && dumpsys alarm
Change-Id: I1fa564917cd7631090219f9df99286ccb83069ff

6 years agoMerge "Add Connection Event for supplementary service notifications." am: efccc1babe
Tyler Gunn [Sat, 10 Feb 2018 00:11:19 +0000 (00:11 +0000)]
Merge "Add Connection Event for supplementary service notifications." am: efccc1babe
am: 4d2dae8f0c

Change-Id: Ide105970d9c91f2fa5e2ec14410da011918d92ec

6 years agoSmall fix to anomaly tracker in statsd.
David Chen [Sat, 10 Feb 2018 00:09:26 +0000 (16:09 -0800)]
Small fix to anomaly tracker in statsd.

If the config specifies only one past bucket for anomaly detection,
statsd doesn't want to store any past buckets since only the current
bucket being tracked in the Metrics Producer is used for deciding
if we hit the anomaly.

Test: Checked that statsd_test passes.
Change-Id: I7ca65bf7d2dfcb2d5c7d5c90f63f4a1c70fbc792

6 years agoMerge "Send package to permission check"
TreeHugger Robot [Sat, 10 Feb 2018 00:09:23 +0000 (00:09 +0000)]
Merge "Send package to permission check"

6 years agoMerge "Honor INSTANT_APPS_ENABLED only for web intents"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:44 +0000 (00:07 +0000)]
Merge "Honor INSTANT_APPS_ENABLED only for web intents"

6 years agoMerge "use writepixels on surface, the canvas version is deprecated"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:19 +0000 (00:07 +0000)]
Merge "use writepixels on surface, the canvas version is deprecated"

6 years agoMerge "Fix issue with quick switch animation not running."
Winson Chung [Sat, 10 Feb 2018 00:00:49 +0000 (00:00 +0000)]
Merge "Fix issue with quick switch animation not running."

6 years agoMerge "Add InCallService docs to state prerequisites for be being a dialer app."
Tyler Gunn [Sat, 10 Feb 2018 00:00:04 +0000 (00:00 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."

6 years agoMerge "Add Connection Event for supplementary service notifications."
Tyler Gunn [Fri, 9 Feb 2018 23:59:33 +0000 (23:59 +0000)]
Merge "Add Connection Event for supplementary service notifications."
am: efccc1babe

Change-Id: Ia8f03045830032e42d2518e97fe74fd55734d524

6 years ago[3rd try] JobScheduler to use UID active state for job exemption
Makoto Onuki [Tue, 6 Feb 2018 19:30:15 +0000 (11:30 -0800)]
[3rd try] JobScheduler to use UID active state for job exemption

JobScheduler used to use procstate foreground state to decide whether
to exempt jobs, but it should use UID's active state instead, so that
if apps in the temp-whitelist schedule jobs, they run immediately.

Test: Boot
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java

Bug: 72125364
Change-Id: I7a5628e76121199f3a5299e2a5576e1481574a6e

6 years agoMerge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
nharold [Fri, 9 Feb 2018 23:36:59 +0000 (23:36 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"

6 years agoPrevent setting negative alpha for dim animations.
chaviw [Fri, 9 Feb 2018 22:36:10 +0000 (14:36 -0800)]
Prevent setting negative alpha for dim animations.

When apply in the dim animation is called, the currentPlayTime value can
be greater than the total duration. If that's the case, the alpha
value would be set to a negative value. Instead, if the currentPlayTime is
greater than duration, just set the final alpha value.

Change-Id: I77b7c512cc8832c2a31e20d49c14550da2cff7cd
Fixes: 73152600
Test: No more flashing dim

6 years agoMerge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev am...
Nick Butcher [Fri, 9 Feb 2018 23:11:17 +0000 (23:11 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev am: 35e1410551
am: 0ac5791e9e

Change-Id: Idbcf3a51211a87574bd4aff8d01fb49e504b3981

6 years agoUse proper string formatting for the "Active device" string
Pavlin Radoslavov [Tue, 6 Feb 2018 20:21:34 +0000 (12:21 -0800)]
Use proper string formatting for the "Active device" string

* The hard-coded "active" / "active(media)" / "active(phone)" strings
  are removed and replaced with proper XML-based string formatting.
* Added the appropriate strings for Bluetooth Audio Active Device status:
  "bluetooth_audio_active_device_summaries". For now those strings are
  marked as translatable="false" until the actual UI is finalized.
* Updated all "bluetooth_connected*" strings to include the new
  "active_device" component.
* Added unit tests for the new "active" strings.
  Also, updated existing unit tests to check the getConnectionSummary()
  strings by comparing against strings embedded within the unit tests.

Bug: 72317067
Test: Unit tests added: make RunSettingsLibRoboTests -j40
      Manual: two headsets and switching the active device
Change-Id: Ide639b5dfb45c1db8114155240f193249aeaf3be
(cherry picked from commit e6e080ff5cb9c7c56003695c1b787981e0114599)

6 years agoMerge "Add AttributeSet.getAttributeNamespace()."
TreeHugger Robot [Fri, 9 Feb 2018 22:57:27 +0000 (22:57 +0000)]
Merge "Add AttributeSet.getAttributeNamespace()."

6 years agoMerge "The volume dialog window size should match content"
TreeHugger Robot [Fri, 9 Feb 2018 22:55:39 +0000 (22:55 +0000)]
Merge "The volume dialog window size should match content"

6 years agoMerge "Fix imports in text related graphics classes"
Siyamed Sinir [Fri, 9 Feb 2018 22:47:41 +0000 (22:47 +0000)]
Merge "Fix imports in text related graphics classes"