OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Do not allow ScrimView backgrounds" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 20:02:37 +0000 (20:02 +0000)]
Merge "Do not allow ScrimView backgrounds" into pi-dev
am: b6238ed540

Change-Id: If02fcf7c2347f31d36067ac06672cfa361653fa7

6 years agoMerge "Allow null subscriberId in NetworkStatsManager." am: 6bd13af46a
Remi NGUYEN VAN [Tue, 6 Mar 2018 19:52:57 +0000 (19:52 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager." am: 6bd13af46a
am: a6905db1d8

Change-Id: I1e4e283c6eaecf33d12488e41e0c524f6ff83954

6 years agoMerge "Merge "Expose Process.isIsolated()" into pi-dev am: 6ddf443d15" into pi-dev...
Android Build Merger (Role) [Tue, 6 Mar 2018 19:45:49 +0000 (19:45 +0000)]
Merge "Merge "Expose Process.isIsolated()" into pi-dev am: 6ddf443d15" into pi-dev-plus-aosp

6 years agoMerge "Expose Process.isIsolated()" into pi-dev
Andrew Grieve [Tue, 6 Mar 2018 19:45:12 +0000 (19:45 +0000)]
Merge "Expose Process.isIsolated()" into pi-dev
am: 6ddf443d15

Change-Id: I02cb0a0bb503201ea4b4e9ca4961e5687a51e6d8

6 years agoMerge "Connectivity: Fix map access" am: be04ebd707
Andreas Gampe [Tue, 6 Mar 2018 19:38:18 +0000 (19:38 +0000)]
Merge "Connectivity: Fix map access" am: be04ebd707
am: 81a6310c86

Change-Id: Ice91ac58257551485231da4664027a281237de4b

6 years agoMerge "Allow null subscriberId in NetworkStatsManager."
Remi NGUYEN VAN [Tue, 6 Mar 2018 19:37:13 +0000 (19:37 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager."
am: 6bd13af46a

Change-Id: I900ac14224284fc3a1422e8791bc54d6a9ee77ba

6 years agoChange action label to be sentence case in ONN
Mehdi Alizadeh [Tue, 6 Mar 2018 19:31:46 +0000 (19:31 +0000)]
Change action label to be sentence case in ONN
am: 398f6caa6b

Change-Id: Ib4a921243192f33eb2f2ff17d7d4fb89a7fef047

6 years agoMerge "Do not allow ScrimView backgrounds" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 19:28:30 +0000 (19:28 +0000)]
Merge "Do not allow ScrimView backgrounds" into pi-dev

6 years agoMerge "Update UsbHandlerTests" into pi-dev
Jerry Zhang [Tue, 6 Mar 2018 19:27:00 +0000 (19:27 +0000)]
Merge "Update UsbHandlerTests" into pi-dev
am: 67ccb4f5c4

Change-Id: I3f828300ac32a9afb6719ec3320403d261c79951

6 years agoMerge "Expose Process.isIsolated()" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 19:20:47 +0000 (19:20 +0000)]
Merge "Expose Process.isIsolated()" into pi-dev

6 years agoMerge "Connectivity: Fix map access"
Andreas Gampe [Tue, 6 Mar 2018 19:20:32 +0000 (19:20 +0000)]
Merge "Connectivity: Fix map access"
am: be04ebd707

Change-Id: I3c1fea926fda1d70e38746378191100bb825758f

6 years agoChange action label to be sentence case in ONN
Mehdi Alizadeh [Tue, 6 Mar 2018 01:50:36 +0000 (17:50 -0800)]
Change action label to be sentence case in ONN

Changes action label in Open network notification from "All Networks" to
"All networks" to make it sentence case.

Bug: 72693961
Test: check ONN notification text manually on device
Change-Id: I132fd3c4eb8cdb651775a3fb91ad0e79edd1aef5

6 years agoMerge "Update UsbHandlerTests" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 18:50:01 +0000 (18:50 +0000)]
Merge "Update UsbHandlerTests" into pi-dev

6 years agoMerge "ContextHub: Fix map access" into pi-dev
Andreas Gampe [Tue, 6 Mar 2018 18:14:07 +0000 (18:14 +0000)]
Merge "ContextHub: Fix map access" into pi-dev
am: 983c1e54e1

Change-Id: Id869cafd2d4f3d4b3d6ccd5303f37f069de5b4e2

6 years agoMerge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 17:56:39 +0000 (17:56 +0000)]
Merge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
am: 1c6e3ba66d

Change-Id: I75f1594b938679919d531ff9b27b43e0a59a433d

6 years agoMerge "ContextHub: Fix map access" into pi-dev
Andreas Gampe [Tue, 6 Mar 2018 17:47:56 +0000 (17:47 +0000)]
Merge "ContextHub: Fix map access" into pi-dev

6 years agoMerge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 17:34:48 +0000 (17:34 +0000)]
Merge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev

6 years agoExpose Process.isIsolated()
Andrew Grieve [Wed, 14 Feb 2018 14:45:35 +0000 (09:45 -0500)]
Expose Process.isIsolated()

Rather than have a process attempt to perform IO / IPC and check if it
fails, it makes much more sense to expose this getter.

My specific motivation for exposing this information more directly is to
be able to perform process-specific initialization logic in
Application.attachBaseContext():

https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java?rcl=ac2e180a1265f88dd4030bb35d69f5d0b2dc488d&l=54

Bug: 73343822
Test: Same code that's used in Chrome via reflection.
Change-Id: I1505962679da36ac42401230b204bff7b3376b73

6 years agoMerge "Add new APIs to hidden API light greylist" into pi-dev
David Brazdil [Tue, 6 Mar 2018 15:57:48 +0000 (15:57 +0000)]
Merge "Add new APIs to hidden API light greylist" into pi-dev
am: e84c506fc3

Change-Id: Ib8a1af76f3f94fb74fdf4b86554b711d928fb6a2

6 years agoMerge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
Tony Mak [Tue, 6 Mar 2018 15:46:32 +0000 (15:46 +0000)]
Merge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
am: bf8137a7cd

Change-Id: I219b1d9246f4845e0d0100fd1490b3e2155caf32

6 years agoMerge "Add new APIs to hidden API light greylist" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 15:42:52 +0000 (15:42 +0000)]
Merge "Add new APIs to hidden API light greylist" into pi-dev

6 years agoMerge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 15:23:18 +0000 (15:23 +0000)]
Merge "Revert accidental change of isUsingUnifiedPassword javadoc" into pi-dev

6 years agoFix dark greylist violation seen during walleye boot.
Mathew Inwood [Tue, 6 Mar 2018 15:22:10 +0000 (15:22 +0000)]
Fix dark greylist violation seen during walleye boot.
am: 2cf621f8fa

Change-Id: I7bdd12ed40b4c336ed4a00433f2179a39a342d80

6 years agoAdd new APIs to hidden API light greylist
David Brazdil [Tue, 6 Mar 2018 10:08:45 +0000 (10:08 +0000)]
Add new APIs to hidden API light greylist

More APIs seen in use by common apps.

Bug: 64382372
Bug: 74219651
Bug: 74198691
Bug: 74138451
Bug: 73848080
Bug: 74208493
Bug: 74212462
Test: make
Change-Id: Ia06a5116d84a5401546970234432cbeec27febb9

6 years agoFix dark greylist violation seen during walleye boot.
Mathew Inwood [Tue, 6 Mar 2018 11:47:31 +0000 (11:47 +0000)]
Fix dark greylist violation seen during walleye boot.

Add these members to the light greylist. Also ensure all existing items
are sorted.

Violations seen per package:
.dataservices:
Landroid/os/HwBlob;-><init>(I)V

com.google.android.gms:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;
Landroid/security/keystore/RecoveryController;->getInstance()Landroid/security/keystore/RecoveryController;
Landroid/security/keystore/RecoveryController;->initRecoveryService(Ljava/lang/String;[B)V
Landroid/security/keystore/RecoveryController;->setRecoverySecretTypes([I)V
Landroid/security/keystore/RecoveryController;->setServerParams([B)V
Landroid/security/keystore/RecoveryController;->setSnapshotCreatedPendingIntent(Landroid/app/PendingIntent;)V

com.google.android.gms.persistent:
Landroid/app/usage/UsageStatsManager;->getAppStandbyBucket(Ljava/lang/String;)I
Landroid/os/WorkSource;->createWorkChain()Landroid/os/WorkSource$WorkChain;
Landroid/os/WorkSource$WorkChain;->addNode(ILjava/lang/String;)Landroid/os/WorkSource$WorkChain;

com.google.intelligence.sense:
Landroid/media/soundtrigger/SoundTriggerManager;->stopRecognition(Ljava/util/UUID;)I
Landroid/media/soundtrigger/SoundTriggerManager;->unloadSoundModel(Ljava/util/UUID;)I

com.verizon.mips.services:
Landroid/util/NtpTrustedTime;->forceRefresh()Z
Landroid/util/NtpTrustedTime;->getCachedNtpTime()J
Landroid/util/NtpTrustedTime;->getCachedNtpTimeReference()J
Landroid/util/NtpTrustedTime;->getInstance(Landroid/content/Context;)Landroid/util/NtpTrustedTime;
Landroid/util/NtpTrustedTime;->hasCache()Z

Test: No more dark greylist violations seen during boot.
Change-Id: I1b5a51da5f08c86b3b5a4816f528db0ff41f6600

6 years agoMerge "Don't whitelist all system image apps." into pi-dev
Mathew Inwood [Tue, 6 Mar 2018 12:07:30 +0000 (12:07 +0000)]
Merge "Don't whitelist all system image apps." into pi-dev
am: 3fbc54e609

Change-Id: I6eef88e7080c8c599494448b640ba0284cb30f6d

6 years agoMerge "Don't whitelist all system image apps." into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 11:50:23 +0000 (11:50 +0000)]
Merge "Don't whitelist all system image apps." into pi-dev

6 years agoRevert accidental change of isUsingUnifiedPassword javadoc
Tony Mak [Tue, 6 Mar 2018 11:33:55 +0000 (11:33 +0000)]
Revert accidental change of isUsingUnifiedPassword javadoc

Test: None

Change-Id: I72735b790ae37838917b2330b84a3cfef32ce7b8

6 years agoDon't whitelist all system image apps.
Mathew Inwood [Fri, 23 Feb 2018 15:01:52 +0000 (15:01 +0000)]
Don't whitelist all system image apps.

Also include in system dump which packages are exempt from the api
restrictions.

This is a cherry-pick of 974290b032b4d98603925d36851422986a5d7d0e
from master.

Test: Verified that the device boots.
Bug: 64382372
Change-Id: Iaeca91478f53c8b4e9608246aab42bdb90f899bb

6 years agoMerge "MediaSession2: Update Builder" into pi-dev
Hyundo Moon [Tue, 6 Mar 2018 09:44:22 +0000 (09:44 +0000)]
Merge "MediaSession2: Update Builder" into pi-dev
am: 9bc5610869

Change-Id: I4f7a5e40cd2f0d35c16ba2cdc79c2ec1d3bdb881

6 years agoMerge "MediaSession2: Update Builder" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 08:59:13 +0000 (08:59 +0000)]
Merge "MediaSession2: Update Builder" into pi-dev

6 years agoMerge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
Insun Kang [Tue, 6 Mar 2018 08:59:05 +0000 (08:59 +0000)]
Merge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
am: 27ed96bf0c

Change-Id: I754bda631577db7179f0d7811b75a26a8a9c392a

6 years agoMerge "Power profile audio & video support" into pi-dev
Mike Ma [Tue, 6 Mar 2018 08:33:57 +0000 (08:33 +0000)]
Merge "Power profile audio & video support" into pi-dev
am: 1ab03020db

Change-Id: I073bc1f1ab6ff7be692df042b94e05cba42eea2d

6 years agoMerge "Fail if the interface is not available when starting" into pi-dev
Erik Kline [Tue, 6 Mar 2018 08:25:03 +0000 (08:25 +0000)]
Merge "Fail if the interface is not available when starting" into pi-dev
am: a69df717ce  -s ours

Change-Id: I2ef43e57db77d84d9c6e80cb14b7cb78db42f49e

6 years agoMerge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
Matthew Ng [Tue, 6 Mar 2018 08:18:34 +0000 (08:18 +0000)]
Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
am: a2546208a6

Change-Id: I5e5cdc1f75ec7c3f300ad3c4f0a1e95d85636fa0

6 years agoMerge "MediaPlayer2: clarify sync/async for API's" into pi-dev
Wei Jia [Tue, 6 Mar 2018 08:07:34 +0000 (08:07 +0000)]
Merge "MediaPlayer2: clarify sync/async for API's" into pi-dev
am: 97d579d1ee

Change-Id: I26d1541c0d016181be09afdb172715fda3dc41dc

6 years agoMerge "Bluetooth: Use enums for adapter connection states" into pi-dev
Jack He [Tue, 6 Mar 2018 07:58:11 +0000 (07:58 +0000)]
Merge "Bluetooth: Use enums for adapter connection states" into pi-dev
am: faf6589748

Change-Id: I5b87108b96afb0e0c0e4f1de16901e785b50b7bd

6 years agoMerge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 07:55:14 +0000 (07:55 +0000)]
Merge "VideoView2: Move MediaContolView2's hidden constant" into pi-dev

6 years agoMerge "Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76...
Android Build Merger (Role) [Tue, 6 Mar 2018 07:47:34 +0000 (07:47 +0000)]
Merge "Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76 am: 65777e4b61" into pi-dev-plus-aosp

6 years agoMerge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76
Lorenzo Colitti [Tue, 6 Mar 2018 07:47:11 +0000 (07:47 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking." am: 6455e31b76
am: 65777e4b61

Change-Id: Ifa76adb79440b1d97c6cfc637509c0ddaefa76fa

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: f7995d280c -s ours
Bill Yi [Tue, 6 Mar 2018 07:44:55 +0000 (07:44 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: f7995d280c  -s ours
am: f2d1f3da86  -s ours

Change-Id: I1a611551d3517f43349c671a36b1a147ebd280e0

6 years agoMerge "Power profile audio & video support" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 07:44:28 +0000 (07:44 +0000)]
Merge "Power profile audio & video support" into pi-dev

6 years agoMerge "Merge "Destroy fill UI when app dies." into pi-dev am: 8ab878ebe0" into pi...
Android Build Merger (Role) [Tue, 6 Mar 2018 07:41:18 +0000 (07:41 +0000)]
Merge "Merge "Destroy fill UI when app dies." into pi-dev am: 8ab878ebe0" into pi-dev-plus-aosp

6 years agoMerge "Add an app-ops check when registering for location" am: b376f02260
Hall Liu [Tue, 6 Mar 2018 07:36:42 +0000 (07:36 +0000)]
Merge "Add an app-ops check when registering for location" am: b376f02260
am: be9359343e

Change-Id: I2490e155ca7436b1e38e5539f4215ba65b666b3e

6 years agoMerge "Destroy fill UI when app dies." into pi-dev
Felipe Leme [Tue, 6 Mar 2018 07:30:29 +0000 (07:30 +0000)]
Merge "Destroy fill UI when app dies." into pi-dev
am: 8ab878ebe0

Change-Id: I22b980126fad511fba43250d1056212c494519cd

6 years agoMerge "Minor cleanups to NetworkStats interface tracking."
Lorenzo Colitti [Tue, 6 Mar 2018 07:28:20 +0000 (07:28 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking."
am: 6455e31b76

Change-Id: I84aad4b9815196e0362d6adba34359a260853f46

6 years agoMerge "Add an app-ops check when registering for location"
Hall Liu [Tue, 6 Mar 2018 07:17:02 +0000 (07:17 +0000)]
Merge "Add an app-ops check when registering for location"
am: b376f02260

Change-Id: I5a41e4080088ac1a62d67f18649ca44ddf0eed9c

6 years agoMerge "Adjust recents onboarding logic" into pi-dev
Tony Wickham [Tue, 6 Mar 2018 07:06:45 +0000 (07:06 +0000)]
Merge "Adjust recents onboarding logic" into pi-dev
am: 2cb0244ade

Change-Id: I5421c16fbf0af59254670399ae6734beba5370a4

6 years agoMediaSession2: Update Builder
Hyundo Moon [Tue, 6 Mar 2018 06:37:43 +0000 (15:37 +0900)]
MediaSession2: Update Builder

This CL updates following APIs of session builder:
 - setPlayer
 - setPlaylistController
 - setVolumeController

Bug: 74093082
Test: runtest-MediaComponents
Change-Id: I88365e740df7e14edf439cbed2106f788d027f53

6 years agoMerge "Allow null subscriberId in NetworkStatsManager."
Remi NGUYEN VAN [Tue, 6 Mar 2018 06:52:35 +0000 (06:52 +0000)]
Merge "Allow null subscriberId in NetworkStatsManager."

6 years agoContextHub: Fix map access
Andreas Gampe [Tue, 6 Mar 2018 02:11:08 +0000 (18:11 -0800)]
ContextHub: Fix map access

Found by Errorprone.

Bug: 73288226
Test: m javac-check-services RUN_ERROR_PRONE=true
Change-Id: Ia546ded8e5cbdb3c1cf02192ea7b5fc2fdea920b

6 years agoMerge "Fail if the interface is not available when starting" into pi-dev
Erik Kline [Tue, 6 Mar 2018 05:53:29 +0000 (05:53 +0000)]
Merge "Fail if the interface is not available when starting" into pi-dev

6 years agoVideoView2: Move MediaContolView2's hidden constant
Insun Kang [Mon, 5 Mar 2018 04:41:39 +0000 (13:41 +0900)]
VideoView2: Move MediaContolView2's hidden constant

Bug: 74173212
Test: VideoViewTest app
Change-Id: Ic91e0b0bfb910d555c1dbe77f028a017f2a18b79
(cherry picked from commit a0fdcc97f0e49162198142726381cd5746971a2c)

6 years agoMerge "Connectivity: Fix map access"
Treehugger Robot [Tue, 6 Mar 2018 05:39:39 +0000 (05:39 +0000)]
Merge "Connectivity: Fix map access"

6 years agoAllow null subscriberId in NetworkStatsManager.
Remi NGUYEN VAN [Mon, 5 Mar 2018 09:14:56 +0000 (18:14 +0900)]
Allow null subscriberId in NetworkStatsManager.

Use a MATCH_MOBILE_WILDCARD template to avoid filtering by
subscriberId when querying statistics from NetworkStatsService.

Bug: 74038898
Change-Id: I4b39e7031416cb33b23d89aa36ff0f774eaa942f
Fixes: 74038898
Test: runtest frameworks-net, CTS tests pass

6 years agoMerge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 04:14:27 +0000 (04:14 +0000)]
Merge "Shows the correct home icon when quickstep is enabled on startup" into pi-dev

6 years agoMerge "MediaPlayer2: clarify sync/async for API's" into pi-dev
Wei Jia [Tue, 6 Mar 2018 03:42:25 +0000 (03:42 +0000)]
Merge "MediaPlayer2: clarify sync/async for API's" into pi-dev

6 years agoMerge "Check mMediaProvider for null" into pi-dev
Jerry Zhang [Tue, 6 Mar 2018 03:34:50 +0000 (03:34 +0000)]
Merge "Check mMediaProvider for null" into pi-dev
am: cefe0c6518

Change-Id: I8c901d37c99d1e144c7b2cdf2d66531eee02bb3c

6 years agoMerge "Bluetooth: Use enums for adapter connection states" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 03:33:42 +0000 (03:33 +0000)]
Merge "Bluetooth: Use enums for adapter connection states" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 6 Mar 2018 03:29:14 +0000 (03:29 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: f7995d280c  -s ours

Change-Id: I707bc618a85429e55a5ec60b4a430fe952e65fc2

6 years agoMerge "Destroy fill UI when app dies." into pi-dev
Felipe Leme [Tue, 6 Mar 2018 02:51:22 +0000 (02:51 +0000)]
Merge "Destroy fill UI when app dies." into pi-dev

6 years agoDo not allow ScrimView backgrounds
Lucas Dupin [Sat, 3 Mar 2018 00:01:10 +0000 (16:01 -0800)]
Do not allow ScrimView backgrounds

An external agent is setting the background of the ScrimView.
This causes washed out lock screen and AOD flickering.

It's not clear what's doing this so I'm adding a Log.wtf and keeping the
backbround from being set.

PS: also formatted the xml and removed an unused method

Change-Id: I65dce9ce2b097b572c78605e0524b3854f46457f
Fixes: 71527665
Fixes: 68877998
Test: manually add a ripple to packages/SystemUI/res/layout/super_status_bar.xml
(cherry picked from commit c2aa8d2a2d6e696423206c6a03ef76ba095e14bd)

6 years agoMerge "Minor cleanups to NetworkStats interface tracking."
Treehugger Robot [Tue, 6 Mar 2018 02:18:39 +0000 (02:18 +0000)]
Merge "Minor cleanups to NetworkStats interface tracking."

6 years agoMerge "Add an app-ops check when registering for location"
Hall Liu [Tue, 6 Mar 2018 02:14:45 +0000 (02:14 +0000)]
Merge "Add an app-ops check when registering for location"

6 years agoFail if the interface is not available when starting
Erik Kline [Fri, 2 Mar 2018 07:51:13 +0000 (16:51 +0900)]
Fail if the interface is not available when starting

Addresses a long-standing TODO.  Now, when calling IpClient's
startProvisioning(), the interface has to be available (i.e.
InterfaceParams#getByName() must return non-null).

Also:
    - add a test
    - refactor for testability
    - delete some constructors no longer used
    - properly handle passed-in null IpClient.Callback
    - some more IpManager -> IpClient renaming
    - permit recording metrics before starting a provisioning
      attempt (logging immediate errors) without Log.wtf().

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks/opt/net/wifi/tests/wifitests/runtests.sh passes
    - runtest frameworks-net passes
    - basic WiFi IpClient connections works fine
Bug: 62476366
Bug: 73487570
Merged-In: I68e5e24122dc31e730cdbe8d75e33847e6332da4
Merged-In: Ifd27f5d908947cd7b4e1b8d54f9fa87e43ebb11b
Merged-In: Ief3c8e1652f69af0276fe35946ae1bf6e6b1b57e
Change-Id: Ic83ad2a65637277dcb273feb27b2d1bb7a11eb2b
(cherry picked from commit b152cd0aa4f333b721615bb17773b35a989245fb)

6 years agoPower profile audio & video support
Mike Ma [Sat, 3 Mar 2018 00:57:31 +0000 (16:57 -0800)]
Power profile audio & video support

Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4

6 years agoMerge "Adjust recents onboarding logic" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 02:03:02 +0000 (02:03 +0000)]
Merge "Adjust recents onboarding logic" into pi-dev

6 years agoMerge "Check mMediaProvider for null" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 01:59:14 +0000 (01:59 +0000)]
Merge "Check mMediaProvider for null" into pi-dev

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
Jack He [Tue, 6 Mar 2018 01:46:00 +0000 (01:46 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
am: 4a3dd2ba58

Change-Id: I048b234c483a74428fdc5ce4c9ded9e2995ae931

6 years agoBluetooth: Use enums for adapter connection states
Jack He [Fri, 2 Mar 2018 21:11:27 +0000 (13:11 -0800)]
Bluetooth: Use enums for adapter connection states

Bug: 69478930
Test: make, no user visible change
Change-Id: I999d0c445fe3b24aca72961c40c3428901542bc1
(cherry picked from commit ee81f9915041875a8c9b6b71a39cb0508f6d7b22)

6 years agoMerge "Revert "Allow restoring of apps that rotated key"" into pi-dev
Fyodor Kupolov [Tue, 6 Mar 2018 01:25:42 +0000 (01:25 +0000)]
Merge "Revert "Allow restoring of apps that rotated key"" into pi-dev
am: d97a0f1ac5

Change-Id: Ide1400a320ec6f3d5428fdfffae613d15319afe3

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 01:23:57 +0000 (01:23 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" into pi-dev

6 years agoConnectivity: Fix map access
Andreas Gampe [Tue, 6 Mar 2018 01:23:07 +0000 (17:23 -0800)]
Connectivity: Fix map access

Found by Errorprone.

Bug: 73288226
Test: mmma frameworks/base/services
Change-Id: I63edad58dbc909c1e772bde85a1b9dd98c551fb1

6 years agoMerge "Merge "Bluetooth: Use enums for adapter connection states" am: 95372e873e...
Android Build Merger (Role) [Tue, 6 Mar 2018 01:17:42 +0000 (01:17 +0000)]
Merge "Merge "Bluetooth: Use enums for adapter connection states" am: 95372e873e am: 8da4504cad" into pi-dev-plus-aosp

6 years agoMerge "Bluetooth: Use enums for adapter connection states" am: 95372e873e
Jack He [Tue, 6 Mar 2018 01:17:15 +0000 (01:17 +0000)]
Merge "Bluetooth: Use enums for adapter connection states" am: 95372e873e
am: 8da4504cad

Change-Id: I7e0ed2b7a0b67bb443b9e104a7985e3a9bed96ff

6 years agoMerge changes Iecf8b207,I2f2a05ef into pi-dev
Dongwon Kang [Tue, 6 Mar 2018 01:15:50 +0000 (01:15 +0000)]
Merge changes Iecf8b207,I2f2a05ef into pi-dev
am: 081d3d2d89

Change-Id: If5ac9d3e67a0156f6bbe9397c13e036b3ba9a815

6 years agoShows the correct home icon when quickstep is enabled on startup
Matthew Ng [Fri, 2 Mar 2018 23:16:03 +0000 (15:16 -0800)]
Shows the correct home icon when quickstep is enabled on startup

The wrong home icon was shown on startup because it takes sometime for
the disabled flags to set disable recents flag that determines if
overview is enabled. When it changes to be true update nav bar icons.

Test: boot phone and look at nav bar
Change-Id: Ib1c00cfa1c3eb0444ccc985dfaf1b3c74e790692
Fixes: 74071465

6 years agoMerge "DO NOT MERGE Dummy StatsLog class" am: 84bda3a709 -s ours
Tej Singh [Tue, 6 Mar 2018 01:07:22 +0000 (01:07 +0000)]
Merge "DO NOT MERGE Dummy StatsLog class" am: 84bda3a709  -s ours
am: f2fdc81f33  -s ours

Change-Id: I74e707e09a47c976acfb3c39acdc1c0d53012855

6 years agoMerge "Merge "Improve javadocs of some DPM APIs" into pi-dev am: 889cf2e00d" into...
Android Build Merger (Role) [Tue, 6 Mar 2018 01:03:33 +0000 (01:03 +0000)]
Merge "Merge "Improve javadocs of some DPM APIs" into pi-dev am: 889cf2e00d" into pi-dev-plus-aosp

6 years agoMerge "Improve javadocs of some DPM APIs" into pi-dev
Tony Mak [Tue, 6 Mar 2018 01:03:14 +0000 (01:03 +0000)]
Merge "Improve javadocs of some DPM APIs" into pi-dev
am: 889cf2e00d

Change-Id: I39e374287a4c37dfd644e5b4292f0801070ce6ad

6 years agoMerge "Bluetooth: Use enums for adapter connection states"
Jack He [Tue, 6 Mar 2018 01:02:52 +0000 (01:02 +0000)]
Merge "Bluetooth: Use enums for adapter connection states"
am: 95372e873e

Change-Id: Iab73a463f99de6113146b6541babe95b512ebbfa

6 years agoMerge "API review: rename CarrierIdentification to Carrier id" am: f01600d5f9
Chen Xu [Tue, 6 Mar 2018 01:00:36 +0000 (01:00 +0000)]
Merge "API review: rename CarrierIdentification to Carrier id" am: f01600d5f9
am: ce7404744f

Change-Id: Iad12593f9e027052185f9efcb65a1983dda22a16

6 years agoMerge "Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" am: 6ec10...
Android Build Merger (Role) [Tue, 6 Mar 2018 00:53:07 +0000 (00:53 +0000)]
Merge "Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" am: 6ec103c746 am: 472ff2a79d" into pi-dev-plus-aosp

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" am: 6ec103c746
Jack He [Tue, 6 Mar 2018 00:52:47 +0000 (00:52 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices" am: 6ec103c746
am: 472ff2a79d

Change-Id: Ib6accd1c4ea332eb04ab0246e3e9697c6ba4b4b4

6 years agoMerge "Metric constants for dnd system and duration" into pi-dev
Beverly [Tue, 6 Mar 2018 00:52:43 +0000 (00:52 +0000)]
Merge "Metric constants for dnd system and duration" into pi-dev
am: 74cfe56742

Change-Id: Ia3368c08194e7115d246c371a2f7184679377624

6 years agoMerge "DO NOT MERGE Dummy StatsLog class"
Tej Singh [Tue, 6 Mar 2018 00:50:33 +0000 (00:50 +0000)]
Merge "DO NOT MERGE Dummy StatsLog class"
am: 84bda3a709  -s ours

Change-Id: If6a663dc3b9abe19a2cfb18ab5688b401bd2f624

6 years agoMerge "Merge "Move SignalDrawable to SettingsLib so every can enjoy it" am: 2fa0f7964...
Android Build Merger (Role) [Tue, 6 Mar 2018 00:46:59 +0000 (00:46 +0000)]
Merge "Merge "Move SignalDrawable to SettingsLib so every can enjoy it" am: 2fa0f7964f am: d9152570b0  -s ours" into pi-dev-plus-aosp

6 years agoMerge "Move SignalDrawable to SettingsLib so every can enjoy it" am: 2fa0f7964f
Evan Laird [Tue, 6 Mar 2018 00:46:34 +0000 (00:46 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it" am: 2fa0f7964f
am: d9152570b0  -s ours

Change-Id: I448448c4ee3147f5157e1d2ff1e2af2265fd9d34

6 years agoMerge "Increase rotate suggestion timeout in fullscreen" into pi-dev
Mike Digman [Tue, 6 Mar 2018 00:44:22 +0000 (00:44 +0000)]
Merge "Increase rotate suggestion timeout in fullscreen" into pi-dev
am: ea36a69c7c

Change-Id: I1ffded01abc15fa57ff62e44d0d7d620674854ab

6 years agoMediaPlayer2: clarify sync/async for API's
Wei Jia [Thu, 1 Mar 2018 17:20:13 +0000 (09:20 -0800)]
MediaPlayer2: clarify sync/async for API's

Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: I48b73c75311dbb31dcebe7c7a38e444d7dc65ed8

6 years agoMerge "API review: rename CarrierIdentification to Carrier id"
Chen Xu [Tue, 6 Mar 2018 00:40:19 +0000 (00:40 +0000)]
Merge "API review: rename CarrierIdentification to Carrier id"
am: f01600d5f9

Change-Id: Ic75f2037d277ccce95b24003b152159c9c37e4fc

6 years agoMerge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices"
Jack He [Tue, 6 Mar 2018 00:35:28 +0000 (00:35 +0000)]
Merge "Bluetooth: Enable Multi-A2DP/HFP support for up to 5 devices"
am: 6ec103c746

Change-Id: I65f257023b7cdc245236e9804f2c0859f4ee1601

6 years agoMerge "OWNER: add wjia" into pi-dev
Wei Jia [Tue, 6 Mar 2018 00:32:57 +0000 (00:32 +0000)]
Merge "OWNER: add wjia" into pi-dev
am: 0db51ad50e

Change-Id: I86fe5bf078cb69f8a8b8b08027df4bdde141dcee

6 years agoMerge "Move SignalDrawable to SettingsLib so every can enjoy it"
Evan Laird [Tue, 6 Mar 2018 00:32:49 +0000 (00:32 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"
am: 2fa0f7964f

Change-Id: Id4b60a36c89736fe49e84d4748b4ed643cd21816

6 years agoMerge "Revert "Allow restoring of apps that rotated key"" into pi-dev
Fyodor Kupolov [Tue, 6 Mar 2018 00:28:51 +0000 (00:28 +0000)]
Merge "Revert "Allow restoring of apps that rotated key"" into pi-dev

6 years agoMerge changes Iecf8b207,I2f2a05ef into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 00:19:54 +0000 (00:19 +0000)]
Merge changes Iecf8b207,I2f2a05ef into pi-dev

* changes:
  Make MP2.prepare|play handled with task queue
  Remove unused imports in MediaPlayer2.

6 years agoMerge "Tint keyguard icons" into pi-dev
Lucas Dupin [Tue, 6 Mar 2018 00:18:28 +0000 (00:18 +0000)]
Merge "Tint keyguard icons" into pi-dev
am: 94e5d34d4e

Change-Id: I2140301e186a475a46aba92f76fdeffe0131570c

6 years agoMerge "Bluetooth: Use enums for adapter connection states"
Treehugger Robot [Mon, 5 Mar 2018 23:16:21 +0000 (23:16 +0000)]
Merge "Bluetooth: Use enums for adapter connection states"

6 years agoMerge "Improve javadocs of some DPM APIs" into pi-dev
TreeHugger Robot [Mon, 5 Mar 2018 23:16:14 +0000 (23:16 +0000)]
Merge "Improve javadocs of some DPM APIs" into pi-dev

6 years agoMerge "DO NOT MERGE Dummy StatsLog class"
Treehugger Robot [Mon, 5 Mar 2018 23:14:48 +0000 (23:14 +0000)]
Merge "DO NOT MERGE Dummy StatsLog class"