OSDN Git Service

android-x86/frameworks-base.git
6 years agomake incidentd run in its own uid under log group for reading logs.
Yi Jin [Tue, 9 Jan 2018 19:29:38 +0000 (11:29 -0800)]
make incidentd run in its own uid under log group for reading logs.

Test: manual
Change-Id: I7106614c0bed1e862fbc80e42a87b43efc063145

6 years agoMerge "Move zygote's seccomp setup to post-fork"
TreeHugger Robot [Tue, 9 Jan 2018 19:43:10 +0000 (19:43 +0000)]
Merge "Move zygote's seccomp setup to post-fork"

6 years agoMerge "Start using new reserved disk GID."
Jeff Sharkey [Tue, 9 Jan 2018 19:27:41 +0000 (19:27 +0000)]
Merge "Start using new reserved disk GID."

6 years agoMerge changes I620d8e72,I532ca35c
Etan Cohen [Tue, 9 Jan 2018 19:16:51 +0000 (19:16 +0000)]
Merge changes I620d8e72,I532ca35c

* changes:
  [RTT2] System API for a Responder Configuration
  [RTT2] Baseline public Wi-Fi RTT API

6 years agoMerge "Initial commit of updatable media API"
TreeHugger Robot [Tue, 9 Jan 2018 19:05:15 +0000 (19:05 +0000)]
Merge "Initial commit of updatable media API"

6 years agoMerge "Revert "Move signing data into SigningDetails container""
Patrick Baumann [Tue, 9 Jan 2018 18:39:45 +0000 (18:39 +0000)]
Merge "Revert "Move signing data into SigningDetails container""

6 years agoMerge "Fix compatibility in MessagingStyle."
Kodlee Yin [Tue, 9 Jan 2018 18:22:07 +0000 (18:22 +0000)]
Merge "Fix compatibility in MessagingStyle."

6 years agoMerge "Cap the size of ice box in StatsdStats."
TreeHugger Robot [Tue, 9 Jan 2018 17:03:17 +0000 (17:03 +0000)]
Merge "Cap the size of ice box in StatsdStats."

6 years agoMerge "Fix SurfaceAnimator and SurfaceAnimationRunner tests"
Jorim Jaggi [Tue, 9 Jan 2018 16:47:11 +0000 (16:47 +0000)]
Merge "Fix SurfaceAnimator and SurfaceAnimationRunner tests"

6 years agoMerge "Add atoms for app startup time."
Olivier Gaillard [Tue, 9 Jan 2018 16:39:00 +0000 (16:39 +0000)]
Merge "Add atoms for app startup time."

6 years agoMerge "Deprecates classes associated with old ContextHubManager APIs"
TreeHugger Robot [Tue, 9 Jan 2018 16:26:29 +0000 (16:26 +0000)]
Merge "Deprecates classes associated with old ContextHubManager APIs"

6 years agoRevert "Move signing data into SigningDetails container"
Patrick Baumann [Tue, 9 Jan 2018 16:12:36 +0000 (16:12 +0000)]
Revert "Move signing data into SigningDetails container"

This reverts commit 47117fcd7878ae75600cf95075fbdbec58be5da6.

Reason for revert: boot time regression (b/71718267)

Change-Id: Ice00e63a68ea3aede847c17cc3acda2d0a6b2f24
Bug: 71718267
Bug: 68860689

6 years agoMerge "Change Network Watchlist feature flag"
Ricky Wai [Tue, 9 Jan 2018 16:02:18 +0000 (16:02 +0000)]
Merge "Change Network Watchlist feature flag"

6 years agoAdd atoms for app startup time.
Olivier Gaillard [Tue, 12 Dec 2017 14:26:22 +0000 (14:26 +0000)]
Add atoms for app startup time.

These atoms match exactly what we currently send through Tron.

Test: manual
Change-Id: I36809417c8d5c62d60035be696ddf506243ee2a9

6 years agoMerge "Expose API android.icu.util.IllformedLocaleException"
Victor Chang [Tue, 9 Jan 2018 13:59:12 +0000 (13:59 +0000)]
Merge "Expose API android.icu.util.IllformedLocaleException"

6 years agoFix SurfaceAnimator and SurfaceAnimationRunner tests
Jorim Jaggi [Tue, 9 Jan 2018 13:28:44 +0000 (14:28 +0100)]
Fix SurfaceAnimator and SurfaceAnimationRunner tests

Since we marked mAnimator.mInitialized to true in the tests,
WM executed things from another thread during tests leading to
concurrency bugs.

Instead, we stub out addAfterPrepareSurfacesRunnable to a consumer
which executes the runnable directly during tests, avoiding the
need to let WM process animation frames.

Also attempts to fix flakyness in SurfaceAnimationRunner

Test: go/wm-smoke
Test: SurfaceAnimatorTest
Test: SurfaceAnimationRunnerTest

Change-Id: Ic9522e1afef6ce62667aefca80e58d6fb1db3424
Fixes: 71650763
Fixes: 71602314
Bug: 71719744

6 years agoMerge "Marked #testCancel_sneakyCancelBeforeUpdate as flaky."
TreeHugger Robot [Tue, 9 Jan 2018 13:23:24 +0000 (13:23 +0000)]
Merge "Marked #testCancel_sneakyCancelBeforeUpdate as flaky."

6 years agoMerge "Mark translatable="false" for DevicePolicyManager.getDisallowedSystemApps...
TreeHugger Robot [Tue, 9 Jan 2018 11:14:25 +0000 (11:14 +0000)]
Merge "Mark translatable="false" for DevicePolicyManager.getDisallowedSystemApps xmls"

6 years agoMerge changes Ibe8c8d3c,I4a475d6f
TreeHugger Robot [Tue, 9 Jan 2018 10:03:01 +0000 (10:03 +0000)]
Merge changes Ibe8c8d3c,I4a475d6f

* changes:
  Thread-safety at log processor level.
  Handle null string in jni and c++ stats-log-api interfaces.

6 years agoMerge "Make SystemApi retained at runtime"
TreeHugger Robot [Tue, 9 Jan 2018 09:33:14 +0000 (09:33 +0000)]
Merge "Make SystemApi retained at runtime"

6 years agoMerge "WorkSource: Fix WorkSource#remove for chained worksources."
TreeHugger Robot [Tue, 9 Jan 2018 08:46:22 +0000 (08:46 +0000)]
Merge "WorkSource: Fix WorkSource#remove for chained worksources."

6 years agoMerge "Update clock whenever AoD unpauses"
TreeHugger Robot [Tue, 9 Jan 2018 06:46:22 +0000 (06:46 +0000)]
Merge "Update clock whenever AoD unpauses"

6 years agoMerge "Wire up reserved blocks presence for tests."
Jeff Sharkey [Tue, 9 Jan 2018 05:40:53 +0000 (05:40 +0000)]
Merge "Wire up reserved blocks presence for tests."

6 years agoUpdate clock whenever AoD unpauses
Lucas Dupin [Mon, 8 Jan 2018 18:21:52 +0000 (10:21 -0800)]
Update clock whenever AoD unpauses

Clock might show wrong time otherwise.

Test: cover prox sensor, look at clock
Change-Id: I73e37f133e877ef0affa038f23b0e11787f9aa65
Fixes: 65674396

6 years agoMerge "Prevent crash for Span change events"
Siyamed Sinir [Tue, 9 Jan 2018 04:34:48 +0000 (04:34 +0000)]
Merge "Prevent crash for Span change events"

6 years agoMerge "Revert "Enable incidentd, it will just be idle while no one triggers it.""
TreeHugger Robot [Tue, 9 Jan 2018 03:28:11 +0000 (03:28 +0000)]
Merge "Revert "Enable incidentd, it will just be idle while no one triggers it.""

6 years agoMerge "Duration format for tunable settings"
TreeHugger Robot [Tue, 9 Jan 2018 03:19:03 +0000 (03:19 +0000)]
Merge "Duration format for tunable settings"

6 years agoMerge "Migrate PrintSpooler to aapt2."
TreeHugger Robot [Tue, 9 Jan 2018 02:29:53 +0000 (02:29 +0000)]
Merge "Migrate PrintSpooler to aapt2."

6 years agoMerge "Add a global setting to turn on/off the proc state cpu times tracking."
Sudheer Shanka [Tue, 9 Jan 2018 02:28:51 +0000 (02:28 +0000)]
Merge "Add a global setting to turn on/off the proc state cpu times tracking."

6 years agoMerge "incidentd: Updating process state enum."
TreeHugger Robot [Tue, 9 Jan 2018 02:20:32 +0000 (02:20 +0000)]
Merge "incidentd: Updating process state enum."

6 years agoMerge "Remove SystemApi annotation from EuiccManager.getOtaStatus()"
TreeHugger Robot [Tue, 9 Jan 2018 02:03:01 +0000 (02:03 +0000)]
Merge "Remove SystemApi annotation from EuiccManager.getOtaStatus()"

6 years agoMerge "Fixes recents visibility when overview service connection changes"
TreeHugger Robot [Tue, 9 Jan 2018 01:56:58 +0000 (01:56 +0000)]
Merge "Fixes recents visibility when overview service connection changes"

6 years agoRevert "Enable incidentd, it will just be idle while no one triggers it."
Yi Jin [Tue, 9 Jan 2018 01:44:47 +0000 (01:44 +0000)]
Revert "Enable incidentd, it will just be idle while no one triggers it."

This reverts commit d612df381e7867780266f0a1161b817e089c3bb6.

Reason for revert: Selinux denials, see b/71591707 for more details.

Change-Id: I864cd74e7ba57d67e2ed8328a7df9c5ff335508c

6 years agoMerge "Work on issue #70859548: Reduce amount of time spent collecting pss data"
TreeHugger Robot [Tue, 9 Jan 2018 01:29:00 +0000 (01:29 +0000)]
Merge "Work on issue #70859548: Reduce amount of time spent collecting pss data"

6 years agoMerge "Adjust animation final crop bounds so it's in screen space."
Chavi Weingarten [Tue, 9 Jan 2018 01:27:31 +0000 (01:27 +0000)]
Merge "Adjust animation final crop bounds so it's in screen space."

6 years agoMerge "Remove DEMO_USER_SETUP_COMPLETE"
Christine Franks [Tue, 9 Jan 2018 00:56:08 +0000 (00:56 +0000)]
Merge "Remove DEMO_USER_SETUP_COMPLETE"

6 years agoAdd a global setting to turn on/off the proc state cpu times tracking.
Sudheer Shanka [Sat, 6 Jan 2018 01:25:46 +0000 (17:25 -0800)]
Add a global setting to turn on/off the proc state cpu times tracking.

Bug: 66953194
Test: atest core/tests/coretests/src/com/android/internal/os/BatteryStatsTests.java
Test: atest hostsidetests/incident/src/com/android/server/cts/BatteryStatsValidationTest.java
Test: atest core/tests/coretests/src/com/android/internal/os/BstatsCpuTimesValidationTest.java
Change-Id: Id26476ad77c95994f358d8bd59b6c2e6513c4c54

6 years agoMarked #testCancel_sneakyCancelBeforeUpdate as flaky.
chaviw [Tue, 9 Jan 2018 00:18:03 +0000 (16:18 -0800)]
Marked #testCancel_sneakyCancelBeforeUpdate as flaky.

Bug: 71719744
Change-Id: Ifbfd2f5f828ac94bdf143448830c56bc0d02daee

6 years agoMerge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config...
Cassie Han [Tue, 9 Jan 2018 00:17:11 +0000 (00:17 +0000)]
Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config." am: 9c1279d2ae am: 28dd9dfeb5
am: 658e7119a6

Change-Id: If54d03e016ef258b391540b46389f4e3d26e4cb6

6 years agoMerge "Add a Java FindAddress implentation." am: 9ea410a6f8 am: da4e3b68fb
Toby Sargeant [Tue, 9 Jan 2018 00:12:33 +0000 (00:12 +0000)]
Merge "Add a Java FindAddress implentation." am: 9ea410a6f8 am: da4e3b68fb
am: ef5218836d

Change-Id: Ic896c9f805330c28e9e0c3ca583f28e80bc47184

6 years agoMerge "Block location quick settings when disallow_config_location_mode is set."
TreeHugger Robot [Tue, 9 Jan 2018 00:01:03 +0000 (00:01 +0000)]
Merge "Block location quick settings when disallow_config_location_mode is set."

6 years agoMerge "Attribute procstate cpu times to correct battery/screen on/off buckets."
Sudheer Shanka [Mon, 8 Jan 2018 23:51:40 +0000 (23:51 +0000)]
Merge "Attribute procstate cpu times to correct battery/screen on/off buckets."

6 years agoMerge "Some fixes in duration metrics"
TreeHugger Robot [Mon, 8 Jan 2018 23:42:26 +0000 (23:42 +0000)]
Merge "Some fixes in duration metrics"

6 years agoHFP: Add APIs for set and get active device (1/3)
Jack He [Wed, 3 Jan 2018 20:13:26 +0000 (12:13 -0800)]
HFP: Add APIs for set and get active device (1/3)

1. Call BluetoothHeadset.setActiveDevice(BluetoothDevice device) to set
   a connected HFP/HSP device as active.
2. Listen for BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intent
   that will contain the latest active device (in EXTRA_DEVICE field).
   If the active device could not be changed, the EXTRA_DEVICE
   field could be null.
3. If setActiveDevice() is NOT in-progress, BluetoothA2dp.getActiveDevice()
   can be used. If setActiveDevice() is in-progress, the result is undefined.
4. BluetoothHeadset.setActiveDevice() could be called by some other parts of
   the system, so interested parties should always listen for
   BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intents and prepared
   for active device updates.

Bug: 68951996
Test: manual
Change-Id: I22ca639a04fed7bf17df59c405ddeda90dafb8ff
(cherry picked from commit 05f4bc40743654ea501b18d70ee162a08b81b35c)

6 years agoMerge "Reconnect overview service to launcher when its package name changes"
TreeHugger Robot [Mon, 8 Jan 2018 23:33:21 +0000 (23:33 +0000)]
Merge "Reconnect overview service to launcher when its package name changes"

6 years agoCap the size of ice box in StatsdStats.
Yao Chen [Mon, 8 Jan 2018 23:11:58 +0000 (15:11 -0800)]
Cap the size of ice box in StatsdStats.

+ only keep the last 20 old config stats.

Test: statsd_test
Change-Id: I5bff68299bb9e4def7f7b54aa1d347133bc7a768

6 years agoMerge "Renaming leftover from previous CL..."
TreeHugger Robot [Mon, 8 Jan 2018 23:09:32 +0000 (23:09 +0000)]
Merge "Renaming leftover from previous CL..."

6 years agoMerge "Sigh, people wrote tests with weird assumptions."
Jeff Sharkey [Mon, 8 Jan 2018 23:01:15 +0000 (23:01 +0000)]
Merge "Sigh, people wrote tests with weird assumptions."

6 years agoThread-safety at log processor level.
Yangster-mac [Fri, 5 Jan 2018 23:44:07 +0000 (15:44 -0800)]
Thread-safety at log processor level.

Test: statsd unit test passed.

Change-Id: Ibe8c8d3cc8297875b16ee385c077b71c87353147

6 years agoHandle null string in jni and c++ stats-log-api interfaces.
Yangster-mac [Mon, 8 Jan 2018 22:54:48 +0000 (14:54 -0800)]
Handle null string in jni and c++ stats-log-api interfaces.

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

6 years agoMerge changes I3610bfef,I7b898f21,I32ab03b1
TreeHugger Robot [Mon, 8 Jan 2018 22:53:07 +0000 (22:53 +0000)]
Merge changes I3610bfef,I7b898f21,I32ab03b1

* changes:
  Superficial improvements to ZOrderingTest.
  Ensure docked divider is below always-on-top stacks.
  Restore old stack Z ordering promotion.

6 years agoMerge "Keyguard slice layout fixes"
TreeHugger Robot [Mon, 8 Jan 2018 22:38:21 +0000 (22:38 +0000)]
Merge "Keyguard slice layout fixes"

6 years agoFixes recents visibility when overview service connection changes
Matthew Ng [Mon, 8 Jan 2018 22:26:40 +0000 (14:26 -0800)]
Fixes recents visibility when overview service connection changes

When the service is connected, it will immediately show the recents
button and when disconnected the button will be invisible.

Test: manual, toggle in launcher settings
Bug: 67957962
Change-Id: Ie36c4f0a50b6c3ae11e5367ae70a57ee16056e09

6 years agoMerge "Remove obsolete aidl list" am: abac8f7a86 am: 6b8fff4eb5
Colin Cross [Mon, 8 Jan 2018 22:28:31 +0000 (22:28 +0000)]
Merge "Remove obsolete aidl list" am: abac8f7a86 am: 6b8fff4eb5
am: 48d6926f38  -s ours

Change-Id: I71bf710fd98e857a69163ba2302db5369aa8337a

6 years agoMerge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annot...
Jack He [Mon, 8 Jan 2018 22:21:43 +0000 (22:21 +0000)]
Merge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annotations" am: 25259faa27 am: d16d93361b
am: b1ebd51c01  -s ours

Change-Id: I443bd449131bc242527229b3b238632d7ed1a8b7

6 years agoBlock location quick settings when disallow_config_location_mode is set.
yuemingw [Mon, 8 Jan 2018 22:12:05 +0000 (22:12 +0000)]
Block location quick settings when disallow_config_location_mode is set.

Bug: 67674888
Test: manual

Change-Id: I157e513ff556c99b1cf86a99c6f46023a044cef1

6 years agoMerge "Change warning message for roaming for DTAG."
Pankaj Kanwar [Mon, 8 Jan 2018 22:02:18 +0000 (22:02 +0000)]
Merge "Change warning message for roaming for DTAG."

6 years agoPrevent crash for Span change events
Siyamed Sinir [Mon, 8 Jan 2018 21:57:59 +0000 (13:57 -0800)]
Prevent crash for Span change events

For some spans, SpannableStringBuilder cannot determine the previous
start and previous end values correctly. In some cases, previous end
value is smaller than previous start value, and this causes
DynamicLayout to access negative index values. This CL updates
DynamicLayout to reflow from index 0 if such a case occurs.

Test: Added a CTS test
Test: bit CtsTextTestCases:android.text.cts.DynamicLayoutTest#testReflow_afterSpanChangedShouldNotThrowException

Bug: 67926915
Change-Id: Ibc55edfd5e49a7782cdd807e2465f4f21577b68d

6 years agoRemove DEMO_USER_SETUP_COMPLETE
Christine Franks [Mon, 8 Jan 2018 21:40:19 +0000 (13:40 -0800)]
Remove DEMO_USER_SETUP_COMPLETE

This @hide setting is no longer used.

Bug: 71594447
Test: make -j100
Change-Id: Ib412f4c16eabb5bedb9e4538db294bfdfb2a4478

6 years agoAdjust animation final crop bounds so it's in screen space.
chaviw [Mon, 8 Jan 2018 21:36:23 +0000 (13:36 -0800)]
Adjust animation final crop bounds so it's in screen space.

The final crop bounds for animations should use the screen space bounds
instead of stack bounds. Adjust the bounds so they're offset by the
stack position.

Test: WindowAnimationSpec#testApply_clipAfterOffsetPosition
Change-Id: Ibfda5ab505ee3206175e5f59e82f1c16f78d19c4
Fixes: 71619195

6 years agoMerge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config...
Cassie Han [Mon, 8 Jan 2018 21:28:02 +0000 (21:28 +0000)]
Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config." am: 9c1279d2ae
am: 28dd9dfeb5

Change-Id: I9b8a48709850b545b806fb605d1d94e9cdefe1d0

6 years agoMerge "Move to libc++ from stlport." am: c6dd5f9037 am: 81da46f982
Dan Albert [Mon, 8 Jan 2018 21:25:59 +0000 (21:25 +0000)]
Merge "Move to libc++ from stlport." am: c6dd5f9037 am: 81da46f982
am: eff28b5863

Change-Id: Ia45b5a174feaddff5e5839a231af18fb5bb3cb7a

6 years agoMerge "Add a Java FindAddress implentation." am: 9ea410a6f8
Toby Sargeant [Mon, 8 Jan 2018 21:23:45 +0000 (21:23 +0000)]
Merge "Add a Java FindAddress implentation." am: 9ea410a6f8
am: da4e3b68fb

Change-Id: I7b2448fcb2edb4bc9000fd5e55f7295e6c6ff676

6 years agoMerge "Add virtual dtor for virtual classes" am: 27f61a94d6 am: 2d7813a4a7
Yi Kong [Mon, 8 Jan 2018 21:22:21 +0000 (21:22 +0000)]
Merge "Add virtual dtor for virtual classes" am: 27f61a94d6 am: 2d7813a4a7
am: 2807036b09

Change-Id: I3723483c2aac5580a7db3256a39eca278a3ee9fb

6 years agoMerge "Remove obsolete aidl list" am: abac8f7a86
Colin Cross [Mon, 8 Jan 2018 21:20:44 +0000 (21:20 +0000)]
Merge "Remove obsolete aidl list" am: abac8f7a86
am: 6b8fff4eb5

Change-Id: If5a5bf062a0fa586349763da9654b698dae0b30d

6 years agoMerge "Ignores Resources.NotFoundException when setting ViewStructure.setTestIdEntry()."
TreeHugger Robot [Mon, 8 Jan 2018 21:17:30 +0000 (21:17 +0000)]
Merge "Ignores Resources.NotFoundException when setting ViewStructure.setTestIdEntry()."

6 years agoMerge "Support using ImageDecoder with ContentResolver + URI"
Leon Scroggins [Mon, 8 Jan 2018 21:14:50 +0000 (21:14 +0000)]
Merge "Support using ImageDecoder with ContentResolver + URI"

6 years agoMerge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annot...
Jack He [Mon, 8 Jan 2018 21:13:52 +0000 (21:13 +0000)]
Merge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annotations" am: 25259faa27
am: d16d93361b

Change-Id: I525cbc81c450afafd3fcedaf7b1b5e4b17a4162a

6 years agoMerge "Merge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079...
Android Build Merger (Role) [Mon, 8 Jan 2018 21:12:57 +0000 (21:12 +0000)]
Merge "Merge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079 am: e3428dae04 am: fe73dd0542"

6 years agoMerge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079 am: e3428...
Pavlin Radoslavov [Mon, 8 Jan 2018 21:11:35 +0000 (21:11 +0000)]
Merge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079 am: e3428dae04
am: fe73dd0542

Change-Id: Ibf2e9fb0a5939f45a9d21bc06b26ef719ff9c58f

6 years agoMerge "Move to libc++ from stlport." am: c6dd5f9037
Dan Albert [Mon, 8 Jan 2018 21:09:59 +0000 (21:09 +0000)]
Merge "Move to libc++ from stlport." am: c6dd5f9037
am: 81da46f982

Change-Id: I3c7f169097ef1c4d17263893a18ad21b9dae7d49

6 years agoMerge "Allow stacks in split screen to show on lock screen."
Chavi Weingarten [Mon, 8 Jan 2018 21:09:06 +0000 (21:09 +0000)]
Merge "Allow stacks in split screen to show on lock screen."

6 years agoMerge "Add virtual dtor for virtual classes" am: 27f61a94d6
Yi Kong [Mon, 8 Jan 2018 21:07:09 +0000 (21:07 +0000)]
Merge "Add virtual dtor for virtual classes" am: 27f61a94d6
am: 2d7813a4a7

Change-Id: I8787ff83ec93f5a8ae2e08e1af573d13750d9aa5

6 years agoMerge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079
Pavlin Radoslavov [Mon, 8 Jan 2018 21:02:01 +0000 (21:02 +0000)]
Merge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079
am: e3428dae04

Change-Id: If220447db71398cc305eb7a702896e21959110c8

6 years agoRenaming leftover from previous CL...
Felipe Leme [Mon, 8 Jan 2018 20:59:33 +0000 (12:59 -0800)]
Renaming leftover from previous CL...

Test: echo 'In TreeHugger we trust!'

Bug: 71552872

Change-Id: I2b317c28cb7ec0e74b2cfa98338f9d64ff7dce3b

6 years ago[RTT2] System API for a Responder Configuration
Etan Cohen [Tue, 19 Dec 2017 19:33:41 +0000 (11:33 -0800)]
[RTT2] System API for a Responder Configuration

The Responder Configuration is an abstracted specification of the peer
RTT Responder (to which we initiate an RTT operation).

The Responder is abstracted from a ScanResult (for an AP) or a Wi-Fi
Aware PeerHandle or MAC address. Utility methods are provided.

The Responder configuration is the underlying representation used by
the RTT manager and service to communicate infomration on RTT targets.
This API thus does not provide any additional permission or backdoor
hooks to the RTT functionality. It exposes a lower level utility
representation of the data. We may choose to make this more widely
available in the future if necessary.

Bug: 65108607
Test: builds
Change-Id: I620d8e725ad61792b7604ff1355adb1b0ef38ad1

6 years ago[RTT2] Baseline public Wi-Fi RTT API
Etan Cohen [Thu, 7 Dec 2017 16:06:52 +0000 (08:06 -0800)]
[RTT2] Baseline public Wi-Fi RTT API

Basic Wi-Fi RTT API for ranging to APs + Wi-Fi Aware peers.

Note: no functional tests, just unhiding/comment fixes.

Bug: 65108607
Test: builds, unit tests, integration tests.
Change-Id: I532ca35c866a7862859a0e64d9f7eccd95baa83d

6 years agoSuperficial improvements to ZOrderingTest.
Robert Carr [Thu, 4 Jan 2018 02:26:04 +0000 (18:26 -0800)]
Superficial improvements to ZOrderingTest.

Looks a little cleaner like this. Mainly removed
the common mTransaction argument to the assertion function and
renamed it. Also added a helper for repeatedly passed args to create
windows.

Test: Test?
Change-Id: I3610bfefd7f193169930b97d3bf9e635b967cb17

6 years agoEnsure docked divider is below always-on-top stacks.
Robert Carr [Thu, 4 Jan 2018 02:07:51 +0000 (18:07 -0800)]
Ensure docked divider is below always-on-top stacks.

We need interleave it with the AppWindowToken hierarchy even
though it only has a WindowToken.

Fixes: 70318142
Fixes: 70675228
Fixes: 70178829
Test: Manual. ZOrderingTests.
Change-Id: I7b898f2157de85433416579efae5e01a9dcbf46c

6 years agoMerge "Remove app icon from USB dialogs"
TreeHugger Robot [Mon, 8 Jan 2018 20:53:24 +0000 (20:53 +0000)]
Merge "Remove app icon from USB dialogs"

6 years agoMerge "Implement a new type of section which reads from logd and dumps proto."
Yi Jin [Mon, 8 Jan 2018 20:52:54 +0000 (20:52 +0000)]
Merge "Implement a new type of section which reads from logd and dumps proto."

6 years agoReconnect overview service to launcher when its package name changes
Matthew Ng [Mon, 8 Jan 2018 20:50:27 +0000 (12:50 -0800)]
Reconnect overview service to launcher when its package name changes

Listen for broadcast intent filter ACTION_PACKAGE_ADDED to reconnect the
connection from overview to launcher.

Test: manual - enable/disable feature from launcher settings
Bug: 67957962
Change-Id: Ic069498ec2036bcb6ab6d95002d5c34027395360

6 years agoMerge "Generic Mutable class for HIDL code." am: 0f05ce94c3 am: a4ac12c3ac
Steven Moreland [Mon, 8 Jan 2018 20:44:51 +0000 (20:44 +0000)]
Merge "Generic Mutable class for HIDL code." am: 0f05ce94c3 am: a4ac12c3ac
am: 98fa8b7eb0

Change-Id: I0062c37e0fe119ee31b8c72396e2be706a6469a5

6 years agoMove zygote's seccomp setup to post-fork
Victor Hsieh [Mon, 8 Jan 2018 20:43:00 +0000 (12:43 -0800)]
Move zygote's seccomp setup to post-fork

Before this change, seccomp filter setup is as early as in zygote's main
function.  To make it possible to split app and system server's filter,
this postpone the setup to after fork.  It also starts to call app
specific and system server specific setup function.

Test: (cts) -m CtsSecurityTestCases -t android.security.cts.SeccompTest
Bug: 63944145

Change-Id: I748735b478405098beac1e200d911c13ea60e380

6 years agoSigh, people wrote tests with weird assumptions.
Jeff Sharkey [Mon, 8 Jan 2018 20:38:43 +0000 (13:38 -0700)]
Sigh, people wrote tests with weird assumptions.

They're mocking a mock.  Nelson called.

Test: bit FrameworksTelephonyTests:com.android.internal.telephony.ServiceStateTrackerTest
Bug: 71707742
Change-Id: I30db29808fb22ade2247446782ee1ec3d4b947cb

6 years agoMerge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643 am:...
Jack He [Mon, 8 Jan 2018 20:34:04 +0000 (20:34 +0000)]
Merge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643 am: 37f987d7ee
am: 8637bb7e46  -s ours

Change-Id: I8cf5acfb36a041a62b6be1b5af6ef77c9bc3e036

6 years agoMerge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73 am: d7319df4d0
nharold [Mon, 8 Jan 2018 20:29:11 +0000 (20:29 +0000)]
Merge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73 am: d7319df4d0
am: a07d0e463d

Change-Id: Ib96b30bcb1b47c23d0a18cf043dd042409c61322

6 years agoMerge "Generic Mutable class for HIDL code." am: 0f05ce94c3
Steven Moreland [Mon, 8 Jan 2018 20:25:30 +0000 (20:25 +0000)]
Merge "Generic Mutable class for HIDL code." am: 0f05ce94c3
am: a4ac12c3ac

Change-Id: I1914e805b15064b40b963840eddf87a0bbd41169

6 years agoMerge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643
Jack He [Mon, 8 Jan 2018 20:20:19 +0000 (20:20 +0000)]
Merge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643
am: 37f987d7ee

Change-Id: I2d5a62b3eb22bd10c350495726307674107778b4

6 years agoMerge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73
nharold [Mon, 8 Jan 2018 20:16:08 +0000 (20:16 +0000)]
Merge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73
am: d7319df4d0

Change-Id: If6ab575e2f30fc70d73e6f8787c87f3c7a2ab09d

6 years agoMerge "Insert org.apache.http.legacy at the start of the shared library list"
TreeHugger Robot [Mon, 8 Jan 2018 20:00:28 +0000 (20:00 +0000)]
Merge "Insert org.apache.http.legacy at the start of the shared library list"

6 years agoMerge "Dump a few more bits of history about TIME_TICK"
TreeHugger Robot [Mon, 8 Jan 2018 19:54:27 +0000 (19:54 +0000)]
Merge "Dump a few more bits of history about TIME_TICK"

6 years agoMerge "Exit split-screen when primary stack moved behind a fullscreen stack."
TreeHugger Robot [Mon, 8 Jan 2018 19:53:21 +0000 (19:53 +0000)]
Merge "Exit split-screen when primary stack moved behind a fullscreen stack."

6 years agoMerge "Add a hidden API to inject location."
Ram Periathiruvadi [Mon, 8 Jan 2018 19:41:51 +0000 (19:41 +0000)]
Merge "Add a hidden API to inject location."

6 years agoIgnores Resources.NotFoundException when setting ViewStructure.setTestIdEntry().
Felipe Leme [Mon, 8 Jan 2018 17:49:15 +0000 (09:49 -0800)]
Ignores Resources.NotFoundException when setting ViewStructure.setTestIdEntry().

Test: manual verification using com.facebook.katana
Fixes: 71695541

Change-Id: Idefc7d3799f2ef5525a5050d63ca29a19cab730a

6 years agoEventLog when an executed job had been deferred by standby
Christopher Tate [Fri, 5 Jan 2018 00:10:26 +0000 (16:10 -0800)]
EventLog when an executed job had been deferred by standby

This gives us a way to review the impact of the deferral on jobs'
nominal timeliness.

Bug: 70297451
Test: manual
Change-Id: I0b5caab6ac7157aab1524f7b014e521f34400e1d

6 years agoMerge "Jobs now ignore standby bucketing while device is in parole"
Chris Tate [Mon, 8 Jan 2018 19:25:31 +0000 (19:25 +0000)]
Merge "Jobs now ignore standby bucketing while device is in parole"

6 years agoSome fixes in duration metrics
Yao Chen [Mon, 8 Jan 2018 19:17:11 +0000 (11:17 -0800)]
Some fixes in duration metrics

+ Don't need to keep the condition key if the condition is not sliced.
+ Whiten the hash before returning.

Test: statsd_test
Change-Id: Ie0bcb14b3adc4a15b79ba3be050431a672a68c28

6 years agoAllow stacks in split screen to show on lock screen.
chaviw [Fri, 5 Jan 2018 01:05:05 +0000 (17:05 -0800)]
Allow stacks in split screen to show on lock screen.

The change in ag/3345710 prevented all non full screen stacks from
showing on lock screen. Instead allow split screen and full screen
stack to show on lock screen. Split screen stacks will become full
screen when shown on lock screen.

Fixes: 70919978
Test: Put an app into split screen. Lock screen. Receive a phone call.
      Screen will now properly turn on and show dialer in full screen.

Change-Id: I3759cb4b68a7bdad478b5b603b19140965a24b61

6 years agoMerge "ScanResult: Add radio chain information"
TreeHugger Robot [Mon, 8 Jan 2018 19:06:11 +0000 (19:06 +0000)]
Merge "ScanResult: Add radio chain information"