OSDN Git Service

android-x86/frameworks-base.git
6 years agoNat464Xlat: internal state guards cleanup + state enum
Hugo Benichi [Thu, 29 Jun 2017 05:04:13 +0000 (14:04 +0900)]
Nat464Xlat: internal state guards cleanup + state enum

This patch does some cleanup of Nat464Xlat internal state guards
against the Nat464Xlat state Idle | Started | Running, which reduces
code nesting.

It also replaces introspection of internal state for distinguishing
between different stages in 464xlat lifecycle with an enum explicitly
introducing these three Idle | Started | Running states.

Bug: 62997041
Bug: 64571917
Test:  runtest frameworks-net
       manually connected to ipv6 network and went to test-ipv6.com
Merged-In: I6efc9fed2420ca488731a2b9b9c3c025b16eca10
Merged-In: I188ac4c367db11cb33b67fe92df3a120e3c6fbce
Merged-In: I7e2c5db8d537fb0ab47cde37158b7f04d7786942
Merged-In: Ic2246a97618c596dbdbf48cda39c2f5b66e3bfb6
Merged-In: Ib04b9a3d56e9daf61b299a30e24a3c8839819a00
Merged-In: Icc1558a0f0e7c299270f550897347458e2bd3188

(cherry pick from commit 4f6f139869ddadf6f9ed50967c106a10a2e8ce3f)

Change-Id: Iebc7d153d8cd0b90d074d8d6eed821fbc3f1370d

6 years agoNat464Xlat: clat management cleanup
Hugo Benichi [Tue, 27 Jun 2017 06:13:20 +0000 (15:13 +0900)]
Nat464Xlat: clat management cleanup

This patch does some minor refactoring of clat starting/stopping code:
 - remove unused LinkProperties arguments in updateClat
 - remove unused Context argument in Nat464Xlat ctor
 - introduce ensureClatIsStarted and ensureClatIsStopped methods and
   simplify updateClat
 - add clatd to NetworkAgentInfo toString() method
 - clarify some comments

This changes prepare for moving BaseNetworkObserver callbacks to
ConnectivityService.

Bug: 62997041
Bug: 64571917
Test: runtest frameworks-net
      manually connected to IPv6 only network and went to test-ipv6.com

Merged-In: Idb204784614cfe700f73255a7a7b78c5e9ee6eca
Merged-In: Ic3808a1afe48efac745b1b378fb12cc5678918ec
Merged-In: Ia769aef6ef8b258f44f8979003d271c96264f1b5
Merged-In: I1a19e6fbb0cb13262e90b171d861062469078fb6
Merged-In: I06661bd6bd1456ba34a3bbdb52c120ac01da9d61
Merged-In: Ifccff9f3cfccdb2cdddf2f07561f0787a48bc0f8

(cherry picked from commit b577d65825e623a9868664486482ed137b98b504)

Change-Id: Ibb02888633df9643030336c4dbea6c569a47554c

6 years agoMerge "switch to native_handle_create() for passing ownership" into oc-mr1-dev
TreeHugger Robot [Mon, 28 Aug 2017 06:47:52 +0000 (06:47 +0000)]
Merge "switch to native_handle_create() for passing ownership" into oc-mr1-dev

6 years agoMerge "DO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel" into oc-mr1-dev
TreeHugger Robot [Sat, 26 Aug 2017 11:26:42 +0000 (11:26 +0000)]
Merge "DO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel" into oc-mr1-dev

6 years agoMerge "Add API to disallow entering PiP when launching a new activity" into oc-mr1-dev
TreeHugger Robot [Sat, 26 Aug 2017 06:22:34 +0000 (06:22 +0000)]
Merge "Add API to disallow entering PiP when launching a new activity" into oc-mr1-dev

6 years agoDO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel
Siarhei Vishniakou [Sat, 26 Aug 2017 04:44:01 +0000 (21:44 -0700)]
DO NOT MERGE Use CREATE instead of CREATE2 for 3.10 kernel

CREATE2 structs were introduced after kernel 3.18,
so cannot compile user code with uapi headers from
newer 3.18+ kernels. If using CREATE structs then
compatibility is preserved.

Bug: 64981084
Test: bit
Change-Id: I97c7725918b09a817a51c13384ac2d55a6cfab25
CtsHardwareTestCases:android.hardware.input.cts.tests.GamepadTestCase

6 years agoMerge "Bluetooth: Add developer options to show devices without names" into oc-mr1-dev
TreeHugger Robot [Sat, 26 Aug 2017 02:37:54 +0000 (02:37 +0000)]
Merge "Bluetooth: Add developer options to show devices without names" into oc-mr1-dev

6 years agoMerge "O MR1 is API 27" into oc-mr1-dev
TreeHugger Robot [Sat, 26 Aug 2017 02:29:51 +0000 (02:29 +0000)]
Merge "O MR1 is API 27" into oc-mr1-dev

6 years agoMerge "Revert "Support keyboard long-press on notifications"" into oc-mr1-dev
TreeHugger Robot [Sat, 26 Aug 2017 01:00:38 +0000 (01:00 +0000)]
Merge "Revert "Support keyboard long-press on notifications"" into oc-mr1-dev

6 years agoBluetooth: Add developer options to show devices without names
Jack He [Thu, 24 Aug 2017 22:21:40 +0000 (15:21 -0700)]
Bluetooth: Add developer options to show devices without names

* Bluetooth developer can enable it to pair with and send file to
  devices without names

Bug: 34685932
Test: make, RunSettingsLibRoboTest, RunSettingsRoboTest, pair with
      devices

Change-Id: I529609008f9ba69bda47d8b6d8c434a70f9de491

6 years agoMerge "Create new trace object when logging from new thread" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 23:04:46 +0000 (23:04 +0000)]
Merge "Create new trace object when logging from new thread" into oc-mr1-dev

6 years agoMerge "Roll back nav bar interface to version 2" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 22:50:03 +0000 (22:50 +0000)]
Merge "Roll back nav bar interface to version 2" into oc-mr1-dev

6 years agoRevert "Support keyboard long-press on notifications"
Selim Cinek [Fri, 25 Aug 2017 22:07:36 +0000 (22:07 +0000)]
Revert "Support keyboard long-press on notifications"

This reverts commit 2ca798932ea2945184df1c5500b5b9f08af9af55.

Fixes: 65061056
Change-Id: I88bcb549b9e76958d280625a96796791b6f29060

6 years agoMerge "Use synchronization when accessing mPackages state" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 22:20:56 +0000 (22:20 +0000)]
Merge "Use synchronization when accessing mPackages state" into oc-mr1-dev

6 years agoMerge "Merge "Clarified that getAutofillValue() must return same value passed to...
Android Build Merger (Role) [Fri, 25 Aug 2017 21:58:11 +0000 (21:58 +0000)]
Merge "Merge "Clarified that getAutofillValue() must return same value passed to autofill()." into oc-dev am: 7d29b6f2df am: da31220015" into oc-mr1-dev

6 years agoMerge "Remove PIN/PUK keyguard when SIM is removed/ready" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 21:55:05 +0000 (21:55 +0000)]
Merge "Remove PIN/PUK keyguard when SIM is removed/ready" into oc-mr1-dev

6 years agoMerge "Clarified that getAutofillValue() must return same value passed to autofill...
Felipe Leme [Fri, 25 Aug 2017 21:54:45 +0000 (21:54 +0000)]
Merge "Clarified that getAutofillValue() must return same value passed to autofill()." into oc-dev am: 7d29b6f2df
am: da31220015

Change-Id: I1ccd7b54c27ce65edcf9b1aceba7097bd8fc32e2

6 years agoMerge "AOD: Only play wakeup animation when actually waking up" into oc-dr1-dev
Adrian Roos [Fri, 25 Aug 2017 21:39:16 +0000 (21:39 +0000)]
Merge "AOD: Only play wakeup animation when actually waking up" into oc-dr1-dev
am: feb69bf5a7

Change-Id: I3214a82b85f85f3ae23ae1cab22ece815020af1e

6 years agoMerge "Clarified that getAutofillValue() must return same value passed to autofill...
Felipe Leme [Fri, 25 Aug 2017 21:36:04 +0000 (21:36 +0000)]
Merge "Clarified that getAutofillValue() must return same value passed to autofill()." into oc-dev
am: 7d29b6f2df

Change-Id: Ibfabc9d32aa0da80e636a27eebf1b50bdd9692b3

6 years agoMerge "Clarified that getAutofillValue() must return same value passed to autofill...
TreeHugger Robot [Fri, 25 Aug 2017 21:27:56 +0000 (21:27 +0000)]
Merge "Clarified that getAutofillValue() must return same value passed to autofill()." into oc-dev

6 years agoMerge "AOD: Only play wakeup animation when actually waking up" into oc-dr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 21:25:02 +0000 (21:25 +0000)]
Merge "AOD: Only play wakeup animation when actually waking up" into oc-dr1-dev

6 years agoMerge "Add new system API for stable display size" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 20:56:57 +0000 (20:56 +0000)]
Merge "Add new system API for stable display size" into oc-mr1-dev

6 years agoAdd new system API for stable display size
Michael Wright [Wed, 16 Aug 2017 22:14:54 +0000 (23:14 +0100)]
Add new system API for stable display size

Fixes: 34388294
Test: manual
Change-Id: Ie380230bbd82370f507161b4cdb6f0d100b09f11

6 years agoMerge "Use a LruCache in WifiNetworkScoreCache." into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 20:29:32 +0000 (20:29 +0000)]
Merge "Use a LruCache in WifiNetworkScoreCache." into oc-mr1-dev

6 years agoCreate new trace object when logging from new thread
Roger 1 Jönsson [Wed, 17 May 2017 12:21:55 +0000 (14:21 +0200)]
Create new trace object when logging from new thread

Create new BootTimingsTraceLog object for logging when starting HIDL
services from different thread, in order to avoid exception.

Bug: 64111691
Test: Manual - device boots, metrics are logged to system/event log
Change-Id: I05834b7fe8078fbf772f9b29f0dd3aa4288f8f23

6 years agoMerge "SyncManager: Log # of jobs loaded, and saved most recently." into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 20:18:52 +0000 (20:18 +0000)]
Merge "SyncManager: Log # of jobs loaded, and saved most recently." into oc-mr1-dev

6 years agoMerge "Allow VR State Listeners with RESTRICTED_VR_ACCESS permission." into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 20:13:31 +0000 (20:13 +0000)]
Merge "Allow VR State Listeners with RESTRICTED_VR_ACCESS permission." into oc-mr1-dev

6 years agoRoll back nav bar interface to version 2
Jason Monk [Fri, 25 Aug 2017 19:56:03 +0000 (15:56 -0400)]
Roll back nav bar interface to version 2

Partial revert of If27641aedcd05ebc834c9dc0b38d18cd20ddae03

Test: make
Change-Id: I47de1ca026028e16e6c4075e6be5b18a9746962c
Fixes: 65055647

6 years agoMerge "Minor Autofill javadoc fixes." into oc-dev am: 560221752e
Felipe Leme [Fri, 25 Aug 2017 19:48:51 +0000 (19:48 +0000)]
Merge "Minor Autofill javadoc fixes." into oc-dev am: 560221752e
am: 948e9ff4d3

Change-Id: I322ab59aa9600b7deb5a48f2e6fc6e012053b8f3

6 years agoMerge "Minor Autofill javadoc fixes." into oc-dev
Felipe Leme [Fri, 25 Aug 2017 19:36:56 +0000 (19:36 +0000)]
Merge "Minor Autofill javadoc fixes." into oc-dev
am: 560221752e

Change-Id: Ib2924dae99bfe132a56a1583ecf4a88f833d3937

6 years agoMerge "Fixed that the status icons were showing in the camera" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 19:13:44 +0000 (19:13 +0000)]
Merge "Fixed that the status icons were showing in the camera" into oc-mr1-dev

6 years agoMerge "Minor Autofill javadoc fixes." into oc-dev
TreeHugger Robot [Fri, 25 Aug 2017 19:12:22 +0000 (19:12 +0000)]
Merge "Minor Autofill javadoc fixes." into oc-dev

6 years agoMerge "Add battery indicator to bluetooth icon" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 18:25:01 +0000 (18:25 +0000)]
Merge "Add battery indicator to bluetooth icon" into oc-mr1-dev

6 years agoUse synchronization when accessing mPackages state
Fyodor Kupolov [Fri, 25 Aug 2017 18:23:02 +0000 (11:23 -0700)]
Use synchronization when accessing mPackages state

In the context of this bug, enableComponentLPw was concurrently
 modifying arraylist.

Test: manual - multiple reboots
Bug: 64986285
Change-Id: Ifab137c9572a2eb4ec7417309f6674a08425833c

6 years agoSyncManager: Log # of jobs loaded, and saved most recently.
Makoto Onuki [Thu, 24 Aug 2017 21:23:36 +0000 (14:23 -0700)]
SyncManager: Log # of jobs loaded, and saved most recently.

Also moved the "wtf for cancelAll for the system UID" code to catch
other entry points.

Bug: 64536115
Test: Manual

Change-Id: I55ff515ad70263d6f953f18d6be02f6292742efa

6 years agoswitch to native_handle_create() for passing ownership
Erik Kline [Thu, 24 Aug 2017 05:21:57 +0000 (22:21 -0700)]
switch to native_handle_create() for passing ownership

Test: builds
Bug: 29337859
Bug: 32163131
Bug: 64976634
Change-Id: Ifd064736c9fcb633b72e56e93b7baa5f4a5ff051

6 years agoAdd API to disallow entering PiP when launching a new activity
Winson Chung [Tue, 22 Aug 2017 18:32:16 +0000 (11:32 -0700)]
Add API to disallow entering PiP when launching a new activity

- Use this API when launching the camera from a double tap gesture where
  the user expects the camera to start for immediate use.
- Fix missing case of restoring the enter pip state.

Bug: 63916952
Test: Double tap to launch the camera, and ensure it does not trigger
      the current activity to enter PiP (if it supports it)

Change-Id: I2acf44984bcc57dff75701d0e9cbd6b798a97cd8

6 years agoMerge "Check permission for activity embedding" into oc-mr1-dev
Andrii Kulian [Fri, 25 Aug 2017 16:49:26 +0000 (16:49 +0000)]
Merge "Check permission for activity embedding" into oc-mr1-dev

6 years agoFixed that the status icons were showing in the camera
Selim Cinek [Thu, 10 Aug 2017 18:17:39 +0000 (11:17 -0700)]
Fixed that the status icons were showing in the camera

When launching to quicksettings, the camera icons showed
above the camera, clashing with their UI

Test: launch camera (locked) and click on galery
Fixes: 64317909
Change-Id: I4ef68963af11f6d0be739c79cdf352ba35d9ece0

6 years agoMerge "Add get-disabled shell command to locksettings" into oc-mr1-dev
Chavi Weingarten [Fri, 25 Aug 2017 16:28:14 +0000 (16:28 +0000)]
Merge "Add get-disabled shell command to locksettings" into oc-mr1-dev

6 years agoMerge "Not hinting anymore when in power saver" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 03:41:40 +0000 (03:41 +0000)]
Merge "Not hinting anymore when in power saver" into oc-mr1-dev

6 years agoMerge "Fixed a bug where notifications could be dimmable" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 02:07:15 +0000 (02:07 +0000)]
Merge "Fixed a bug where notifications could be dimmable" into oc-mr1-dev

6 years agoMerge "Update FEATURE_VULKAN_HARDWARE_COMPUTE documentation" into oc-mr1-dev
TreeHugger Robot [Fri, 25 Aug 2017 01:50:38 +0000 (01:50 +0000)]
Merge "Update FEATURE_VULKAN_HARDWARE_COMPUTE documentation" into oc-mr1-dev

6 years agoAdd battery indicator to bluetooth icon
jackqdyulei [Wed, 9 Aug 2017 16:57:05 +0000 (09:57 -0700)]
Add battery indicator to bluetooth icon

This cl creates BluetoothDeviceLayerDrawable, which contains two
drwable:
1. previous bluetooth device drawable
2. battery drawable showing the battery level

If connected bt device has battery level, we will use this
LayerDrawable both in bluetooth main page and detail page.

Also, battery drawable is reused from BatteryMeterDrawableBase, we
rotate base drawable by 90 degree and update the spec a little bit.

Bug: 63393322
Test: RunSettingsLibRoboTests

Change-Id: I55313940576523dcbeb65a6e20e41289da8a3e0c
Merged-In: I55313940576523dcbeb65a6e20e41289da8a3e0c

6 years agoMerge "Fix the user profile icon." into oc-mr1-dev
Daniel Nishi [Thu, 24 Aug 2017 23:29:35 +0000 (23:29 +0000)]
Merge "Fix the user profile icon." into oc-mr1-dev

6 years agoMerge "Keep close_idle_connections optimization for all devices" into oc-mr1-dev
Fyodor Kupolov [Thu, 24 Aug 2017 23:27:37 +0000 (23:27 +0000)]
Merge "Keep close_idle_connections optimization for all devices" into oc-mr1-dev

6 years agoMerge "Fixed the progress bar positioning when expanded" into oc-mr1-dev
Selim Cinek [Thu, 24 Aug 2017 23:22:53 +0000 (23:22 +0000)]
Merge "Fixed the progress bar positioning when expanded" into oc-mr1-dev

6 years agoRemove PIN/PUK keyguard when SIM is removed/ready
Brad Ebinger [Mon, 21 Aug 2017 21:58:52 +0000 (14:58 -0700)]
Remove PIN/PUK keyguard when SIM is removed/ready

1) If the PIN/PUK keyguard comes up for a locked
SIM, it can not be removed by removing the
affected SIM. It can only be removed by
rebooting the device or entering a bogus PIN.

This change automatically clears the keyguard
when when the locked SIM is removed. It will
be shown again if the locked SIM is re-entered.

2) If the device is PUK locked and the code
**05*PUK*new pin* new Pin# is entered in the
emergency dialer, it will unlock the SIM.
By listening to the READY state, we can remove
the keyguard when the SIM is unlocked by
other means.

Bug: 64469515
Bug: 64044132
Test: Manual
Change-Id: I9507f80edcd4c04dfa0cc3b48a25e619aafa9eb3

6 years agoMerge "Add wifi permissions to shell" into oc-mr1-dev
Rebecca Silberstein [Thu, 24 Aug 2017 22:25:34 +0000 (22:25 +0000)]
Merge "Add wifi permissions to shell" into oc-mr1-dev

6 years agoMerge changes from topic "mtp-user" into oc-mr1-dev
Jerry Zhang [Thu, 24 Aug 2017 22:13:40 +0000 (22:13 +0000)]
Merge changes from topic "mtp-user" into oc-mr1-dev

* changes:
  Add additional context to MtpDatabase
  Reset functions to null when user changes.

6 years agoNot hinting anymore when in power saver
Selim Cinek [Thu, 24 Aug 2017 21:48:38 +0000 (14:48 -0700)]
Not hinting anymore when in power saver

The hint animation wasn't working when on power-saver,
so we just turn it off.

Test: hint while battery saver is on, observe no jump
Change-Id: Ib19dc3378bb4cb0c4b9b81504a0ce6b579b6feee
Fixes: 64279711

6 years agoAllow VR State Listeners with RESTRICTED_VR_ACCESS permission.
Santos Cordon [Wed, 9 Aug 2017 00:11:41 +0000 (17:11 -0700)]
Allow VR State Listeners with RESTRICTED_VR_ACCESS permission.

Extend the ability to use VrStateListeners to applications that
have RESTRICTED_VR_ACCESS permission.  Previously, it required
ACCESS_VR_MANAGER only.

Add VrStateCallback object and methods to VrManager to access the
functionality outside of frameworks.

Bug: 64360244
Test: Manual. Tested ability from VrCore.

Change-Id: I01f1c75b1ccd44a09364df84218168cf6caab322

6 years agoAdd get-disabled shell command to locksettings
chaviw [Mon, 21 Aug 2017 17:46:11 +0000 (10:46 -0700)]
Add get-disabled shell command to locksettings

Added shell command that outputs whether the lock screen is disabled.

Test: Ran "adb shell locksettings get-disabled" while phone had lock
screen and when it did not.
Merged-In: I3532e41e2ee4770bd0801dd431fdbc884c2bafa4
Fixes: 64848695

Change-Id: I3532e41e2ee4770bd0801dd431fdbc884c2bafa4

6 years agoMerge "Check for null appToken" into oc-mr1-dev
Chavi Weingarten [Thu, 24 Aug 2017 21:24:33 +0000 (21:24 +0000)]
Merge "Check for null appToken" into oc-mr1-dev

6 years agoMerge "Add new error code in SmsManager" into oc-mr1-dev
Shuo Qian [Thu, 24 Aug 2017 21:22:31 +0000 (21:22 +0000)]
Merge "Add new error code in SmsManager" into oc-mr1-dev

6 years agoCheck for null appToken
chaviw [Wed, 23 Aug 2017 19:29:02 +0000 (12:29 -0700)]
Check for null appToken

AppWindowToken can be null for non-app windows.

Test: Existing tests pass
Fixes: 65018183

Change-Id: I81c7e4e2bec40c588771cc46e4a8061c7112765a

6 years agoMerge "New haptic feedback constants" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 21:02:57 +0000 (21:02 +0000)]
Merge "New haptic feedback constants" into oc-mr1-dev

6 years agoMerge "Don't report suspicious periodic sync removal for gone users" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 20:29:06 +0000 (20:29 +0000)]
Merge "Don't report suspicious periodic sync removal for gone users" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 20:13:59 +0000 (20:13 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Support keyboard long-press on notifications" into oc-mr1-dev
Geoffrey Pitsch [Thu, 24 Aug 2017 20:04:37 +0000 (20:04 +0000)]
Merge "Support keyboard long-press on notifications" into oc-mr1-dev

6 years agoMerge changes from topic "siyamed_maxlines" into oc-mr1-dev
Siyamed Sinir [Thu, 24 Aug 2017 19:59:22 +0000 (19:59 +0000)]
Merge changes from topic "siyamed_maxlines" into oc-mr1-dev

* changes:
  StaticLayout capped height should be 0 when maxLines=0
  Reset StaticLayout.mEllipsized during generate()

6 years agoMerge "Apply API review comments for SHOW_WITH_INSECURE_KEYGUARD" into oc-mr1-dev
Andrii Kulian [Thu, 24 Aug 2017 19:59:08 +0000 (19:59 +0000)]
Merge "Apply API review comments for SHOW_WITH_INSECURE_KEYGUARD" into oc-mr1-dev

6 years agoFixed a bug where notifications could be dimmable
Selim Cinek [Thu, 24 Aug 2017 16:31:08 +0000 (09:31 -0700)]
Fixed a bug where notifications could be dimmable

Because of a delayed call, notifications could become
dimmed again after the unlock.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayoutTest.java
Change-Id: I76e847cf6d3c8a34ca4b6dd16b1c8e13ddfe4993
Fixes: 64868746

6 years agoMerge "Add extensionController based on PackageManager FEATURE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 19:33:53 +0000 (19:33 +0000)]
Merge "Add extensionController based on PackageManager FEATURE" into oc-mr1-dev

6 years agoMerge "[CS] Allow network factory implementations to re-evaluate requests" into oc...
TreeHugger Robot [Thu, 24 Aug 2017 19:29:02 +0000 (19:29 +0000)]
Merge "[CS] Allow network factory implementations to re-evaluate requests" into oc-mr1-dev

6 years agoMerge "Audio event logging" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 19:04:47 +0000 (19:04 +0000)]
Merge "Audio event logging" into oc-mr1-dev

6 years agoMerge "Consistently uses ASCII numbers in notif category translation." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 19:01:55 +0000 (19:01 +0000)]
Merge "Consistently uses ASCII numbers in notif category translation." into oc-mr1-dev

6 years agoMerge "Test for writing and loading reduced resolution task snapshots" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 18:38:07 +0000 (18:38 +0000)]
Merge "Test for writing and loading reduced resolution task snapshots" into oc-mr1-dev

6 years agoMerge "Fixed a bug where we weren't releasing views" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 18:08:05 +0000 (18:08 +0000)]
Merge "Fixed a bug where we weren't releasing views" into oc-mr1-dev

6 years agoMerge "Check correct DisplayContent when making window freezing screen" into oc-mr1-dev
David Stevens [Thu, 24 Aug 2017 17:57:50 +0000 (17:57 +0000)]
Merge "Check correct DisplayContent when making window freezing screen" into oc-mr1-dev

6 years agoNew haptic feedback constants
Yohei Yukawa [Thu, 24 Aug 2017 17:51:00 +0000 (10:51 -0700)]
New haptic feedback constants

This CL introduces several haptic feedback constants that are ready
to be exposed to developers.

Test: checkbuild
Fixes: 64537070
Change-Id: If54d5bc6cab4e2c405615b7a40648c74a1097ea3

6 years agoUpdate FEATURE_VULKAN_HARDWARE_COMPUTE documentation
Jesse Hall [Tue, 22 Aug 2017 14:19:56 +0000 (07:19 -0700)]
Update FEATURE_VULKAN_HARDWARE_COMPUTE documentation

Now that VK_KHR_variable_pointers is public, the documentation can be more
precise about the definition of FEATURE_VULKAN_HARDWARE_COMPUTE level 0.
Also document the maxPerStageDescriptorStorageBuffers requirement.

Bug: 34745152
Test: make docs
Change-Id: I0f6c088488243e4daea589d4771d10a8714f7441

6 years agoSupport keyboard long-press on notifications
Geoffrey Pitsch [Fri, 18 Aug 2017 15:15:12 +0000 (11:15 -0400)]
Support keyboard long-press on notifications

ExpandableNotificationRow now handles long-clicks for keyboard support.
SwipeHelper calls performLongClick to trigger the listener on the row.
Now that the View listens to long clicks, SwipeHelper cancels
long-presses on the View when it see touch down events, so the event
doesn't get duped in the touch case.

Bug: 34840327
Test: manual
Change-Id: Ibeb93507781443d6b2dac209afd889b1d8d54aeb

6 years agoAdd extensionController based on PackageManager FEATURE
Lujiang Xue [Tue, 22 Aug 2017 21:13:45 +0000 (14:13 -0700)]
Add extensionController based on PackageManager FEATURE

Bug: 64818339

Test: make and flash on 6P and headunit, verified in car mode the phone keep phone status bar, and on headunit, it use car status bar all the time
Change-Id: I6b3de99f4c21a50eb8521bf61f640f12cd6c3f02

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 16:36:57 +0000 (16:36 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
Bill Yi [Thu, 24 Aug 2017 16:12:45 +0000 (16:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 7175b7b929  -s ours

Change-Id: I4be65bdb164ecf13c5d89316fb12d32ca69d8bb6

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 16:10:01 +0000 (16:10 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "The VIS should return an AOHD regardless of keyphrase availability." into...
TreeHugger Robot [Thu, 24 Aug 2017 16:08:21 +0000 (16:08 +0000)]
Merge "The VIS should return an AOHD regardless of keyphrase availability." into oc-mr1-dev

6 years agoAudio event logging
Jean-Michel Trivi [Sun, 20 Aug 2017 01:08:06 +0000 (18:08 -0700)]
Audio event logging

New class AudioEventLogger to store a configurable number of the
  last audio events. It hosts a circular buffer of lightweight
  event objects, an abstract class whose implementations are
  event-specific, and does the heavier string manipulations
  at the time of the dump, not during normal operation.
Add logging for:
  - phone state (a.k.a. audio mode) changes
  - wired device connections
  - playback activity monitor
  - force use

Test: adb shell dumpsys audio
Bug: 64470715
Change-Id: I8dbd936e2ffec39134f1a8837191c74f5cb9fc56

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 16:01:06 +0000 (16:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMerge "Fixed an issue where isFalseTouch could be queried" into oc-mr1-dev
Selim Cinek [Thu, 24 Aug 2017 16:00:20 +0000 (16:00 +0000)]
Merge "Fixed an issue where isFalseTouch could be queried" into oc-mr1-dev

6 years agoFixed a bug where we weren't releasing views
Selim Cinek [Wed, 23 Aug 2017 17:59:57 +0000 (10:59 -0700)]
Fixed a bug where we weren't releasing views

When tracking with the headsuptouchhelper, views
would not be released properly, since we're handing
over the touch to the panel.
This is now fixed.

Test: drag down on heads-up, observe normal motion
Change-Id: Ia9eef07c789d6d03098c2e34f86c16fdeeb93d42
Fixes: 37314754

6 years agoMerge "Add new telephony disconnect causes for low battery scenario." into oc-mr1-dev
Tyler Gunn [Thu, 24 Aug 2017 15:01:52 +0000 (15:01 +0000)]
Merge "Add new telephony disconnect causes for low battery scenario." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 14:25:03 +0000 (07:25 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I02d4cd11add59d4997b549c71b42f1b5d5a14ea2

6 years ago[CS] Allow network factory implementations to re-evaluate requests
Etan Cohen [Wed, 23 Aug 2017 15:39:31 +0000 (08:39 -0700)]
[CS] Allow network factory implementations to re-evaluate requests

Change the evalRequests() API to protected to allow network factory
implementations to call the API.

A use-case of the API change is for factories temporarily reject a
request since they cannot fullfill it immediately but retry it at a
later time if/when conditions change.

Bug: 63866251
Test: integration tests
Change-Id: Idc50ce0799c67634b7b2fdbad78a26e443caf2e4

6 years agoMerge "Bluetooth: Add flag for human readable name" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 13:29:28 +0000 (13:29 +0000)]
Merge "Bluetooth: Add flag for human readable name" into oc-mr1-dev

6 years agoMerge "Sleep activities with AOD" into oc-mr1-dev
Jorim Jaggi [Thu, 24 Aug 2017 13:19:42 +0000 (13:19 +0000)]
Merge "Sleep activities with AOD" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 12:11:32 +0000 (05:11 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I38d45e58136a2823cda74f3dbfb39c43b9ebe180

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 11:18:53 +0000 (04:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ied6de9cbe69d8c72f9ba8c0095451a175f02d4dd

6 years agoMerge "sounds : Add a makefile for Android Go specific sounds." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 11:18:31 +0000 (11:18 +0000)]
Merge "sounds : Add a makefile for Android Go specific sounds." into oc-mr1-dev

6 years agoMerge "Trivial change to test expectations." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 10:55:20 +0000 (10:55 +0000)]
Merge "Trivial change to test expectations." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 10:52:49 +0000 (03:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ia2ef45e82949155e201cf8e7e058ca9e8ab0833b

6 years agoMerge "StringParceledListSlice throws exception when the IPC memory threshold is...
TreeHugger Robot [Thu, 24 Aug 2017 10:08:15 +0000 (10:08 +0000)]
Merge "StringParceledListSlice throws exception when the IPC memory threshold is exceeded" into oc-mr1-dev

6 years agoBluetooth: Add flag for human readable name
Jack He [Mon, 24 Jul 2017 21:55:59 +0000 (14:55 -0700)]
Bluetooth: Add flag for human readable name

* Add hasHumanReadableName() method to CachedBluetoothDevice that
  returns True when BluetoothDevice.getAliasName() is not null nor empty

Bug: 34685932
Test: pair Bluetooth device, send file over Bluetooth, unit tests
Change-Id: I197f3f7f3bcb7d785729473b25638006449ae862

6 years agoMerge "CachedBluetoothDevice: Rename mVisible to mJustDiscovered" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 08:34:39 +0000 (08:34 +0000)]
Merge "CachedBluetoothDevice: Rename mVisible to mJustDiscovered" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 07:54:49 +0000 (07:54 +0000)]
Import translations. DO NOT MERGE
am: b4f16b10af  -s ours

Change-Id: I458f0c75e3df2dccd9d622b4444c629ff7020f81

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 07:51:36 +0000 (07:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Move PiP state check exception to the client side" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 05:00:48 +0000 (05:00 +0000)]
Merge "Move PiP state check exception to the client side" into oc-mr1-dev

6 years agoMerge "Implement score cache eviction in AccessPoint." into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 04:50:47 +0000 (04:50 +0000)]
Merge "Implement score cache eviction in AccessPoint." into oc-mr1-dev

6 years agoMerge "Support l11n of Qualcomm® aptX™ strings" into oc-mr1-dev
TreeHugger Robot [Thu, 24 Aug 2017 04:41:01 +0000 (04:41 +0000)]
Merge "Support l11n of Qualcomm® aptX™ strings" into oc-mr1-dev