OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Add requireViewById"
TreeHugger Robot [Wed, 24 Jan 2018 17:48:52 +0000 (17:48 +0000)]
Merge "Add requireViewById"

6 years agoMerge changes from topics "public_browser2", "public_mediasession2"
Jaewan Kim [Wed, 24 Jan 2018 17:41:49 +0000 (17:41 +0000)]
Merge changes from topics "public_browser2", "public_mediasession2"

* changes:
  MediaSession2: Public APIs for MediaBrowser2 and MediaLibraryService2
  MediaSession2: Public APIs for MediaSession2 and MediaController2

6 years agoMerge "Security model for moving sharesheet to systemui"
Geoffrey Pitsch [Wed, 24 Jan 2018 17:33:59 +0000 (17:33 +0000)]
Merge "Security model for moving sharesheet to systemui"

6 years agoMerge "Add an API to fetch the WebView thread."
TreeHugger Robot [Wed, 24 Jan 2018 17:28:30 +0000 (17:28 +0000)]
Merge "Add an API to fetch the WebView thread."

6 years agoMediaSession2: Public APIs for MediaBrowser2 and MediaLibraryService2
Jaewan Kim [Wed, 24 Jan 2018 14:58:35 +0000 (23:58 +0900)]
MediaSession2: Public APIs for MediaBrowser2 and MediaLibraryService2

Test: Run MediaComponents test once
Change-Id: Icea9f7db7f13ed8354c7ce36b069f45ad7ddbfa8

6 years agoMerge "Basic workspace wireless charging animation"
TreeHugger Robot [Wed, 24 Jan 2018 17:19:29 +0000 (17:19 +0000)]
Merge "Basic workspace wireless charging animation"

6 years agoMerge "Allow unaffiliated Profile Owners to use lock task"
Jason Parks [Wed, 24 Jan 2018 17:07:17 +0000 (17:07 +0000)]
Merge "Allow unaffiliated Profile Owners to use lock task"

6 years agoMerge "Add PhysicalChannelConfig." am: c584d2772d am: 3deaafd8cd
Eric Schwarzenbach [Wed, 24 Jan 2018 17:02:09 +0000 (17:02 +0000)]
Merge "Add PhysicalChannelConfig." am: c584d2772d am: 3deaafd8cd
am: 9d3738232c

Change-Id: I707415785137603f787ff5e12035d58980a21d18

6 years agoMediaSession2: Public APIs for MediaSession2 and MediaController2
Jaewan Kim [Wed, 24 Jan 2018 10:04:39 +0000 (19:04 +0900)]
MediaSession2: Public APIs for MediaSession2 and MediaController2

Test: Run MediaComponentsTests once
Change-Id: I0373f927063ab8feb340c6d91b2adc99bbcf92a4

6 years agoMerge "Add PhysicalChannelConfig." am: c584d2772d
Eric Schwarzenbach [Wed, 24 Jan 2018 16:52:03 +0000 (16:52 +0000)]
Merge "Add PhysicalChannelConfig." am: c584d2772d
am: 3deaafd8cd

Change-Id: Id6ec6d693ec05d363b2847d0e4eee72fea24aef9

6 years agoMerge "Simplify the memory metrics atoms."
TreeHugger Robot [Wed, 24 Jan 2018 16:49:15 +0000 (16:49 +0000)]
Merge "Simplify the memory metrics atoms."

6 years agoMerge "Do not output empty metric reports."
TreeHugger Robot [Wed, 24 Jan 2018 16:44:40 +0000 (16:44 +0000)]
Merge "Do not output empty metric reports."

6 years agoMerge "Add PhysicalChannelConfig."
Eric Schwarzenbach [Wed, 24 Jan 2018 16:40:14 +0000 (16:40 +0000)]
Merge "Add PhysicalChannelConfig."
am: c584d2772d

Change-Id: I3377d0502e74e58aed9f2cba746993130a4469dd

6 years agoLog the CHANGE_WIFI_STATE App Op in WifiManager (client changes).
Peter Visontay [Wed, 18 Oct 2017 17:40:23 +0000 (18:40 +0100)]
Log the CHANGE_WIFI_STATE App Op in WifiManager (client changes).

Test: Manually tested that the op is noted. Ran opt/net/wifi/tests/wifitests/runtests.sh and base/wifi/tests/runtests.sh. Manually tested that 'idle' mode is now handled correctly.
Bug: 63907873
Change-Id: I66b20cdaab0f93700cc3fb871ae888ae0a9be32b

6 years agoMerge "MediaSession2: Define setAudioAttributes / setAudioFocusRequest"
TreeHugger Robot [Wed, 24 Jan 2018 16:23:45 +0000 (16:23 +0000)]
Merge "MediaSession2: Define setAudioAttributes / setAudioFocusRequest"

6 years agoMerge "Add PhysicalChannelConfig."
Eric Schwarzenbach [Wed, 24 Jan 2018 16:17:53 +0000 (16:17 +0000)]
Merge "Add PhysicalChannelConfig."

6 years agoMerge "Revert "Use ImageDecoder for BitmapDrawable""
TreeHugger Robot [Wed, 24 Jan 2018 15:57:44 +0000 (15:57 +0000)]
Merge "Revert "Use ImageDecoder for BitmapDrawable""

6 years agoMerge "Initial implmentation of AnimatedImageDrawables on the RenderThread."
TreeHugger Robot [Wed, 24 Jan 2018 15:45:08 +0000 (15:45 +0000)]
Merge "Initial implmentation of AnimatedImageDrawables on the RenderThread."

6 years agoMerge "Swap the order of realCallingUid and realCallingPid in startActivityInPackage"
Tony Mak [Wed, 24 Jan 2018 15:31:34 +0000 (15:31 +0000)]
Merge "Swap the order of realCallingUid and realCallingPid in startActivityInPackage"

6 years agoMerge "Fixed the case where the task was moved to the front"
Jorim Jaggi [Wed, 24 Jan 2018 15:29:59 +0000 (15:29 +0000)]
Merge "Fixed the case where the task was moved to the front"

6 years agoOutput chooser layout updates
Julia Reynolds [Tue, 23 Jan 2018 18:55:18 +0000 (13:55 -0500)]
Output chooser layout updates

- Anchor output chooser to volume buttons
- Dismiss output chooser if volume dialog becomes visible

Test: manual, runtest systemui
Fixes: 72319160
Bug: 63096355
Change-Id: Ibca7576f287655fb5c98554e67781ec53152ddef

6 years agoVolume layout updates
Julia Reynolds [Tue, 23 Jan 2018 17:37:56 +0000 (12:37 -0500)]
Volume layout updates

- Add shadow
- make the sliders to LTR  in landscape
- make all sliders horizontal in landscape
- stack volume rows in landscape

Test: manual
Bug: 63096355
Change-Id: I5452aa3b962727982d5fc103313518e9cbf2750e
Fixes: 72303358
Fixes: 72260231
Fixes: 72260096

6 years agoMerge "Display smart replies in notifications"
TreeHugger Robot [Wed, 24 Jan 2018 15:18:24 +0000 (15:18 +0000)]
Merge "Display smart replies in notifications"

6 years agoSwap the order of realCallingUid and realCallingPid in startActivityInPackage
Tony Mak [Wed, 24 Jan 2018 15:11:06 +0000 (15:11 +0000)]
Swap the order of realCallingUid and realCallingPid in startActivityInPackage

Checked ag/3483468, we are always passing pid first, let's swap the
order then.

Test: Setup work profile -> add work account

Fix: 72429434

Change-Id: I8fd05b42fa22a3e46a87b3f6a0902e0e5a797dc9

6 years agoMerge "Add broadcast when notification block state changes"
TreeHugger Robot [Wed, 24 Jan 2018 15:03:22 +0000 (15:03 +0000)]
Merge "Add broadcast when notification block state changes"

6 years agoMerge "Use stubs libs for android.test.base/runner/mock"
TreeHugger Robot [Wed, 24 Jan 2018 15:01:25 +0000 (15:01 +0000)]
Merge "Use stubs libs for android.test.base/runner/mock"

6 years agoAdd an API to fetch the WebView thread.
Gustav Sennton [Fri, 19 Jan 2018 12:11:25 +0000 (12:11 +0000)]
Add an API to fetch the WebView thread.

Some WebView APIs contain checks ensuring apps only use WebView APIs
from one single thread. The WebView Support Library should perform
similar thread checks. To do so we publish an API to get the WebView
thread, so that the support library knows which thread to check against.

Test: Ran the corresponding CTS tests.
Bug: 38220806
Change-Id: Ibab878e211d9594df6d39f99ce130e28fac7f019

6 years agoMerge "Enable MediaUpdateService on userdebug and eng builds."
TreeHugger Robot [Wed, 24 Jan 2018 14:39:23 +0000 (14:39 +0000)]
Merge "Enable MediaUpdateService on userdebug and eng builds."

6 years agoBasic workspace wireless charging animation
Beverly [Mon, 11 Dec 2017 14:20:02 +0000 (09:20 -0500)]
Basic workspace wireless charging animation

(No animation on ambient or lockscreen yet)

Test: manual (testing w/o wireless charger, set DEBUG_WIRELESS=true)
Bug: 67598445
Change-Id: Ifeef72805930187b8f78e72fd44bd7da25724e0c

6 years agoMerge "Set "results source" on RemoteInput intents sent from System UI"
TreeHugger Robot [Wed, 24 Jan 2018 14:12:28 +0000 (14:12 +0000)]
Merge "Set "results source" on RemoteInput intents sent from System UI"

6 years agoMerge "Let the transport ask for non-incremental backup."
Oscar Key [Wed, 24 Jan 2018 13:51:26 +0000 (13:51 +0000)]
Merge "Let the transport ask for non-incremental backup."

6 years agoRevert "Use ImageDecoder for BitmapDrawable"
Leon Scroggins III [Tue, 23 Jan 2018 22:17:36 +0000 (17:17 -0500)]
Revert "Use ImageDecoder for BitmapDrawable"

Bug: 72381918
Test: Covered by existing tests

This CL seems to have broken the theme tests. In addition, it changes
the behavior of a couple of cases of passing InputStreams to the
framework. Previously, the framework used BitmapFactory, which did not
close the InputStreams, but ImageDecoder does.

Planning to reland along with the fix for closing in ag/3497523 and the
fix for the theme tests.

This reverts commit 66c6d78908e0203a497c2e97398c824b2591ea19.

Change-Id: I4ac6d0f2e1e2bb0925ae71c141bfe8a0d37e6a16

6 years agoMerge "Reland: pm: Scan-as-privileged apps that share a privileged user"
Jeffrey Vander Stoep [Wed, 24 Jan 2018 13:32:34 +0000 (13:32 +0000)]
Merge "Reland: pm: Scan-as-privileged apps that share a privileged user"

6 years agoInitial implmentation of AnimatedImageDrawables on the RenderThread.
Derek Sollenberger [Mon, 22 Jan 2018 15:25:26 +0000 (10:25 -0500)]
Initial implmentation of AnimatedImageDrawables on the RenderThread.

The current implementation schedules the next frame of the images
to be decoded after the current frame completes but potentially
schedules tasks that will result in a no-op execution if a new
frame is not yet needed.

Test: HwAccelerationTest
Change-Id: I0510cb5a1b801abd651327e924deb586af0306d6

6 years agoMerge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."" am: 1f568c...
Nicolas Geoffray [Wed, 24 Jan 2018 13:02:16 +0000 (13:02 +0000)]
Merge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."" am: 1f568c14ac am: b91d1b3e3a
am: b5928a2b81  -s ours

Change-Id: Ia781d4799c9b4df316a9617055f99dbdf3e51a30

6 years agoMediaSession2: Define setAudioAttributes / setAudioFocusRequest
Insun Kang [Wed, 24 Jan 2018 13:00:01 +0000 (22:00 +0900)]
MediaSession2: Define setAudioAttributes / setAudioFocusRequest

Test: build
Change-Id: I8ed824e1f1bd536ac37647d94f88195ec7b51bdc

6 years agoMerge "Fail when there is an ASM error" am: 4152497b4b am: 05bb83c87d
Benoit Lamarche [Wed, 24 Jan 2018 12:45:48 +0000 (12:45 +0000)]
Merge "Fail when there is an ASM error" am: 4152497b4b am: 05bb83c87d
am: 5fb872e787

Change-Id: I63222e0f376184649f8634932edc6ee296418b91

6 years agoMerge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."" am: 1f568c14ac
Nicolas Geoffray [Wed, 24 Jan 2018 12:40:45 +0000 (12:40 +0000)]
Merge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."" am: 1f568c14ac
am: b91d1b3e3a

Change-Id: I8cae11d0c9e4b72bc821af2a424380adaa59847d

6 years agoMerge "Fail when there is an ASM error" am: 4152497b4b
Benoit Lamarche [Wed, 24 Jan 2018 12:36:26 +0000 (12:36 +0000)]
Merge "Fail when there is an ASM error" am: 4152497b4b
am: 05bb83c87d

Change-Id: I27be59afd9f021c2933d10b6becb0f7542162a37

6 years agoMerge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""
Nicolas Geoffray [Wed, 24 Jan 2018 12:25:10 +0000 (12:25 +0000)]
Merge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""
am: 1f568c14ac

Change-Id: I49a375508824696b3f362bce720a296d85a084aa

6 years agoMerge "Fail when there is an ASM error"
Benoit Lamarche [Wed, 24 Jan 2018 12:21:23 +0000 (12:21 +0000)]
Merge "Fail when there is an ASM error"
am: 4152497b4b

Change-Id: Ic5ca952591fa235c7e4a28d95d9b1cb1d4644f8a

6 years agoMerge "Fix cannot generate network watchlist report when database is empty"
Ricky Wai [Wed, 24 Jan 2018 12:03:07 +0000 (12:03 +0000)]
Merge "Fix cannot generate network watchlist report when database is empty"

6 years agoMerge "FRP: Explicitly throw UnsupportedOperation when FRP is not supported"
Adrian Roos [Wed, 24 Jan 2018 11:56:32 +0000 (11:56 +0000)]
Merge "FRP: Explicitly throw UnsupportedOperation when FRP is not supported"

6 years agoSet "results source" on RemoteInput intents sent from System UI
Petr Cermak [Fri, 19 Jan 2018 15:00:24 +0000 (15:00 +0000)]
Set "results source" on RemoteInput intents sent from System UI

If the input comes from RemoteInputView (the user manually typed an
inline reply), the source is set to RemoteInput.SOURCE_FREE_FORM_INPUT.
If the input comes from SmartReplyView (the user tapped on a smart reply
button), the source is set to RemoteInput.SOURCE_CHOICE.

Bug: 67765414
Test: atest RemoteInputViewTest SmartReplyViewTest
Change-Id: Icff46b903a968bd8457624b358d626b457569352

6 years agoDisplay smart replies in notifications
Petr Cermak [Thu, 18 Jan 2018 15:52:10 +0000 (15:52 +0000)]
Display smart replies in notifications

If a notification contains a RemoteInput with non-empty choices,
NotificationContentView will add a SmartReplyView to
smart_reply_container in the expanded notification layout (if present).

This feature is guarded behind
Settings.Global.ENABLE_SMART_REPLIES_IN_NOTIFICATIONS.

Screenshot: https://screenshot.googleplex.com/jEzeL2ZYLMj.png

Bug: 67765414
Test: Viewed a notification with smart replies from Android Messages
Change-Id: I24d16df086edb58f51ae63830212d68166c74f52

6 years agoMerge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""
Neil Fuller [Wed, 24 Jan 2018 11:47:10 +0000 (11:47 +0000)]
Merge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""

6 years agoMerge "Put latest MediaControlView2/VideoView2 code"
Jin Seok Park [Wed, 24 Jan 2018 11:24:17 +0000 (11:24 +0000)]
Merge "Put latest MediaControlView2/VideoView2 code"

6 years agoMerge "MediaSession2: Stop overriding MediaPlayerBase for session/controller"
Jaewan Kim [Wed, 24 Jan 2018 11:05:21 +0000 (11:05 +0000)]
Merge "MediaSession2: Stop overriding MediaPlayerBase for session/controller"

6 years agoMerge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""
Nicolas Geoffray [Wed, 24 Jan 2018 10:44:10 +0000 (10:44 +0000)]
Merge "Revert "Add getUiccSlots() and switchSlots() in TelephonyManager.""

6 years agoMerge "Add restore of Settings keys to SettingsBackupAgent.RESTORE_FROM_HIGHER_SDK_IN...
Michal Karpinski [Wed, 24 Jan 2018 10:37:27 +0000 (10:37 +0000)]
Merge "Add restore of Settings keys to SettingsBackupAgent.RESTORE_FROM_HIGHER_SDK_INT_SUPPORTED_KEYS"

6 years agoMediaSession2: Stop overriding MediaPlayerBase for session/controller
Jaewan Kim [Wed, 24 Jan 2018 04:13:53 +0000 (13:13 +0900)]
MediaSession2: Stop overriding MediaPlayerBase for session/controller

Implement AutoClosable instead

Test: Run all MediaComponents test once
Change-Id: Ibb1dac06b80230d62e17111bf2da1b2df81a164c

6 years agoMerge "VideoView2: Add API for MediaRouter intergration"
Sungsoo Lim [Wed, 24 Jan 2018 10:15:29 +0000 (10:15 +0000)]
Merge "VideoView2: Add API for MediaRouter intergration"

6 years agoRevert "Add getUiccSlots() and switchSlots() in TelephonyManager."
Neil Fuller [Wed, 24 Jan 2018 10:07:48 +0000 (10:07 +0000)]
Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."

AOSP build broken.

Bug: 71914112

This reverts commit 2f87d7b2ee5097eae4e2a62858fbe221dac857f6.

6 years agoPut latest MediaControlView2/VideoView2 code
Hyundo Moon [Wed, 24 Jan 2018 02:16:19 +0000 (11:16 +0900)]
Put latest MediaControlView2/VideoView2 code

This CL brings latest MediaControlView2/VideoView2 code from
experimental, and it does the following:
 - Fullscreen button support (ag/3490251)
 - Set prev/next listener and controlling button visibility (ag/3498244)

Test: Ran VideoViewTest app
Change-Id: I1a64a9c98dcc625b504785728673edbee7b6935d

6 years agoMerge "MediaSession2: Add MediaSession2.CommandButton"
Jaewan Kim [Wed, 24 Jan 2018 10:00:42 +0000 (10:00 +0000)]
Merge "MediaSession2: Add MediaSession2.CommandButton"

6 years agoMerge "Fail when there is an ASM error"
Benoit Lamarche [Wed, 24 Jan 2018 09:59:28 +0000 (09:59 +0000)]
Merge "Fail when there is an ASM error"

6 years agoMerge "Add TunnelInterface API and KernelResourceRecords" am: f811dff3bc am: e1aa92f1c1
Benedict Wong [Wed, 24 Jan 2018 09:54:06 +0000 (09:54 +0000)]
Merge "Add TunnelInterface API and KernelResourceRecords" am: f811dff3bc am: e1aa92f1c1
am: eacecc37e8

Change-Id: I955d5090171f08e4fa20eac5bdfe761132b87d35

6 years agoMerge "Add xfrm mark in IpSecConfig" am: 73f79ceae9 am: 4077e802ad
Benedict Wong [Wed, 24 Jan 2018 09:48:25 +0000 (09:48 +0000)]
Merge "Add xfrm mark in IpSecConfig" am: 73f79ceae9 am: 4077e802ad
am: 22734c40b4

Change-Id: Ibaee9700cc6befdf6bbdb792cb673611e571d19a

6 years agoMerge "Add getUiccSlots() and switchSlots() in TelephonyManager." am: 8fd5b7e1c3...
Holly Jiuyu Sun [Wed, 24 Jan 2018 09:42:42 +0000 (09:42 +0000)]
Merge "Add getUiccSlots() and switchSlots() in TelephonyManager." am: 8fd5b7e1c3 am: 5598f5ab23
am: 687a28d77d

Change-Id: I56abcc7731ca08ed67a5123f826bfbc9ca4f74d0

6 years agoMerge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents." am: eb9452a...
Cassie Han [Wed, 24 Jan 2018 09:37:29 +0000 (09:37 +0000)]
Merge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents." am: eb9452a08d am: 8e3dcbb5d3
am: b828fa2bfc

Change-Id: I086a958cab93dcbc47103e5d0c7d91dba5aab412

6 years agoMerge "Resolve merge conflicts of 69791b68837bf5f19654937396f7e55e2117743e to master"
Neil Fuller [Wed, 24 Jan 2018 09:19:07 +0000 (09:19 +0000)]
Merge "Resolve merge conflicts of 69791b68837bf5f19654937396f7e55e2117743e to master"

6 years agoRevert "Add getUiccSlots() and switchSlots() in TelephonyManager."
Nicolas Geoffray [Wed, 24 Jan 2018 09:11:40 +0000 (09:11 +0000)]
Revert "Add getUiccSlots() and switchSlots() in TelephonyManager."

AOSP build broken.

Bug: 71914112

This reverts commit 2f87d7b2ee5097eae4e2a62858fbe221dac857f6.

Change-Id: I53537a6da7616fe6dbbb79927b32720bbeaf1f69

6 years agoMerge "Support conditional removal of oahl from bootclasspath"
TreeHugger Robot [Wed, 24 Jan 2018 09:04:39 +0000 (09:04 +0000)]
Merge "Support conditional removal of oahl from bootclasspath"

6 years agoMerge "Add TunnelInterface API and KernelResourceRecords" am: f811dff3bc
Benedict Wong [Wed, 24 Jan 2018 09:02:56 +0000 (09:02 +0000)]
Merge "Add TunnelInterface API and KernelResourceRecords" am: f811dff3bc
am: e1aa92f1c1

Change-Id: If27d78708ce225a900ad78a82d9f323770223808

6 years agoMerge "Add TunnelInterface API and KernelResourceRecords"
Benedict Wong [Wed, 24 Jan 2018 08:55:38 +0000 (08:55 +0000)]
Merge "Add TunnelInterface API and KernelResourceRecords"
am: f811dff3bc

Change-Id: Ic8a93b2d6d8280c01808968251e6f422fa1d2340

6 years agoMerge "Move backup of @pm@ into its own state."
Oscar Key [Wed, 24 Jan 2018 08:51:43 +0000 (08:51 +0000)]
Merge "Move backup of @pm@ into its own state."

6 years agoMerge "Update work profile related strings"
TreeHugger Robot [Wed, 24 Jan 2018 08:23:22 +0000 (08:23 +0000)]
Merge "Update work profile related strings"

6 years agoMerge "Add xfrm mark in IpSecConfig" am: 73f79ceae9
Benedict Wong [Wed, 24 Jan 2018 08:19:16 +0000 (08:19 +0000)]
Merge "Add xfrm mark in IpSecConfig" am: 73f79ceae9
am: 4077e802ad

Change-Id: I03ddca0611c4e0b41edc705cdb39b415205bb14b

6 years agoMerge "Add getUiccSlots() and switchSlots() in TelephonyManager." am: 8fd5b7e1c3
Holly Jiuyu Sun [Wed, 24 Jan 2018 08:10:38 +0000 (08:10 +0000)]
Merge "Add getUiccSlots() and switchSlots() in TelephonyManager." am: 8fd5b7e1c3
am: 5598f5ab23

Change-Id: Ib79c5a2d05c09c8a36dd2e761719f37520735c00

6 years agoMerge "Add xfrm mark in IpSecConfig"
Benedict Wong [Wed, 24 Jan 2018 08:00:52 +0000 (08:00 +0000)]
Merge "Add xfrm mark in IpSecConfig"
am: 73f79ceae9

Change-Id: Idcac0878b4f74c25ef007fb7f1643fca5de80225

6 years agoMerge "Add getUiccSlots() and switchSlots() in TelephonyManager."
Holly Jiuyu Sun [Wed, 24 Jan 2018 07:48:48 +0000 (07:48 +0000)]
Merge "Add getUiccSlots() and switchSlots() in TelephonyManager."
am: 8fd5b7e1c3

Change-Id: Ia822753db39db9b383e8e987049ec4a0738ac27b

6 years agoMerge "Add new values to KeyRequestType"
Rahul Frias [Wed, 24 Jan 2018 07:36:14 +0000 (07:36 +0000)]
Merge "Add new values to KeyRequestType"

6 years agoMerge "Unhide RecoverableKeyStoreLoader API."
Dmitry Dementyev [Wed, 24 Jan 2018 07:25:15 +0000 (07:25 +0000)]
Merge "Unhide RecoverableKeyStoreLoader API."

6 years agoMerge "Add TunnelInterface API and KernelResourceRecords"
Benedict Wong [Wed, 24 Jan 2018 07:25:04 +0000 (07:25 +0000)]
Merge "Add TunnelInterface API and KernelResourceRecords"

6 years agoAdd TunnelInterface API and KernelResourceRecords
Benedict Wong [Fri, 19 Jan 2018 02:31:45 +0000 (18:31 -0800)]
Add TunnelInterface API and KernelResourceRecords

This change adds one KernelResourceRecord type (TunnelInterfaceRecord),
and adds methods for the creation of TunnelInterfaces, as well as the
application of Transforms to the given TunnelInterfaces

As part of the generation of ikeys/okeys, a ReserveKeyTracker manages a
java bitset to avoid collisions and reserve/release keys.

Bug: 63588681
Test: Compiles, CTS, unit tests all pass on AOSP_marlin
Change-Id: I9e9b6455e27073acd4491eae666aa966b3b10e0f

6 years agoMerge "Implement activity --proto --processes"
TreeHugger Robot [Wed, 24 Jan 2018 07:21:35 +0000 (07:21 +0000)]
Merge "Implement activity --proto --processes"

6 years agoAdd PhysicalChannelConfig.
Eric Schwarzenbach [Fri, 19 Jan 2018 01:15:51 +0000 (17:15 -0800)]
Add PhysicalChannelConfig.

Adds a field to PhoneStateListener to listen for changes to the
PhysicalChannelConfig list.

Bug: 72117533
Test: make
Change-Id: I353a4b90354d54948bce75968fb5fe1803efd093

6 years agoResolve merge conflicts of 69791b68837bf5f19654937396f7e55e2117743e to master
Chalard Jean [Wed, 24 Jan 2018 06:59:26 +0000 (15:59 +0900)]
Resolve merge conflicts of 69791b68837bf5f19654937396f7e55e2117743e to master

Test: this is the exact code these changes were meant to give
      without conflict had the auto-merger not squashed them
      together before it tried to merge them. It was tested on
      master in this state.

Change-Id: I5cbde17fb6016e5e6b5d0b04c8f41858d708ef4a

6 years agoMerge "Add APIs to manipulate Override APN."
TreeHugger Robot [Wed, 24 Jan 2018 06:54:17 +0000 (06:54 +0000)]
Merge "Add APIs to manipulate Override APN."

6 years agoMediaSession2: Add MediaSession2.CommandButton
Jaewan Kim [Wed, 24 Jan 2018 01:42:52 +0000 (10:42 +0900)]
MediaSession2: Add MediaSession2.CommandButton

And also adds APIs to share custom layout

Test: Run all MediaComponents tests once
Change-Id: I4d18a023d2809d5405e72a73f14ae1150dee34bc

6 years agoMerge "Add API documentation for MediaControlView2"
Jin Seok Park [Wed, 24 Jan 2018 06:35:28 +0000 (06:35 +0000)]
Merge "Add API documentation for MediaControlView2"

6 years agoUse stubs libs for android.test.base/runner/mock
Jiyong Park [Wed, 24 Jan 2018 06:30:13 +0000 (15:30 +0900)]
Use stubs libs for android.test.base/runner/mock

android.test.base/runner/mock libraries are shared libraries that are
built without SDK, but with framework interanl libraries (framework.jar,
etc). Apps or libs that are built with SDK (LOCAL_SDK_VERSION is set)
shouldn't use them, but instead the stubs version of the test framework
libraries, which are built using SDK.

This is because, the build system does not allow a module built with SDK
to depend on another module built without SDK. This has been
exceptionally allowed with warnings, but will soon be errors.

In order to prevent the expected build breakage, direct reference to the
shared libraries are all changed to the stubs libraries.

Note: no one has been using these shared libs statically. So, it is
guaranteed that they won't encounter a problem due to missing
<uses-library name="android.test.runner"/> even after this change.

Bug: 69899800
Test: m -j checkbuild
Change-Id: Ib7e2bbecdc8c9327010aa772e820e9ae84e46518

6 years agoMerge "EBS: Exempt jobs scheduled for foreground apps"
Makoto Onuki [Wed, 24 Jan 2018 06:30:10 +0000 (06:30 +0000)]
Merge "EBS: Exempt jobs scheduled for foreground apps"

6 years agoMerge "Fixing bugs in Notification proto dumping."
TreeHugger Robot [Wed, 24 Jan 2018 06:24:29 +0000 (06:24 +0000)]
Merge "Fixing bugs in Notification proto dumping."

6 years agoMerge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents." am: eb9452a08d
Cassie Han [Wed, 24 Jan 2018 06:17:42 +0000 (06:17 +0000)]
Merge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents." am: eb9452a08d
am: 8e3dcbb5d3

Change-Id: Iacd500459bb8418d41bae56131ecdac0ac6471bd

6 years agoAdd APIs to manipulate Override APN.
yuemingw [Thu, 11 Jan 2018 12:11:44 +0000 (12:11 +0000)]
Add APIs to manipulate Override APN.

Add APIs to add, update, query and remove Override APN. Add APIs to enable
Override APNs or query if Override APNs are currently enabled.

Bug: 68208301
Test: cts test in b/68208416

Change-Id: I65ebbb948d2ac4e31a73e1e761e32dc8ba1502c3

6 years agoVideoView2: Add API for MediaRouter intergration
Sungsoo Lim [Wed, 24 Jan 2018 02:36:10 +0000 (11:36 +0900)]
VideoView2: Add API for MediaRouter intergration

Test: build
Change-Id: I3d52d332f587ea8c5b1fa97de512805001e9a130

6 years agoMerge changes I3b16caad,Iaf5ea7ab,I09a94042,I69a39039,I35300309, ... am: 6568170b32
Chalard Jean [Wed, 24 Jan 2018 06:11:06 +0000 (06:11 +0000)]
Merge changes I3b16caad,Iaf5ea7ab,I09a94042,I69a39039,I35300309, ... am: 6568170b32
am: 84af3a7b2b

Change-Id: I3f2185330789a8b02cc5e05912e3f17256ba1b86

6 years agoMerge "Added STORAGE_VOLUME_ACCESS_SETTINGS intent."
TreeHugger Robot [Wed, 24 Jan 2018 06:09:21 +0000 (06:09 +0000)]
Merge "Added STORAGE_VOLUME_ACCESS_SETTINGS intent."

6 years agoMerge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents."
Cassie Han [Wed, 24 Jan 2018 06:06:59 +0000 (06:06 +0000)]
Merge "Move android.provider.Telephony.SECRET_CODE to Telephony.Intents."
am: eb9452a08d

Change-Id: Iaa4e291d0926db9ddb8123a7ec72acf1e82c4d84

6 years agoMerge changes I3b16caad,Iaf5ea7ab,I09a94042,I69a39039,I35300309, ...
Chalard Jean [Wed, 24 Jan 2018 06:03:41 +0000 (06:03 +0000)]
Merge changes I3b16caad,Iaf5ea7ab,I09a94042,I69a39039,I35300309, ...
am: 6568170b32

Change-Id: I49269ac65138be59d68561ea1c15ff2ad0339d8b

6 years agoMerge "Propagate location mode properly from SettingsProvider"
TreeHugger Robot [Wed, 24 Jan 2018 05:55:42 +0000 (05:55 +0000)]
Merge "Propagate location mode properly from SettingsProvider"

6 years agoMerge "Add xfrm mark in IpSecConfig"
Benedict Wong [Wed, 24 Jan 2018 05:53:29 +0000 (05:53 +0000)]
Merge "Add xfrm mark in IpSecConfig"

6 years agoMerge "Fix wrong use if "!UserHandle.isApp()""
TreeHugger Robot [Wed, 24 Jan 2018 05:47:30 +0000 (05:47 +0000)]
Merge "Fix wrong use if "!UserHandle.isApp()""

6 years agoMerge changes from topic "bpfStats" am: 6e03224697 am: e041f38289
Chenbo Feng [Wed, 24 Jan 2018 05:46:52 +0000 (05:46 +0000)]
Merge changes from topic "bpfStats" am: 6e03224697 am: e041f38289
am: cf4b551fb7

Change-Id: I672efa1221e17d0962ca5702330fc83d75fcac81

6 years agoMerge "Remove unused fields in ScanResult.java"
Oscar Shu [Wed, 24 Jan 2018 05:41:39 +0000 (05:41 +0000)]
Merge "Remove unused fields in ScanResult.java"

6 years agoMerge "Add cardId in EuiccCardManager API." am: a85291bfcf am: 50b8d3ef75
Holly Jiuyu Sun [Wed, 24 Jan 2018 05:39:57 +0000 (05:39 +0000)]
Merge "Add cardId in EuiccCardManager API." am: a85291bfcf am: 50b8d3ef75
am: 9d5d23b69a

Change-Id: Ie922ef52b4fb5b6ee95bb5976b16d5f54d9b43a1

6 years agoMerge changes from topic "bpfStats" am: 6e03224697
Chenbo Feng [Wed, 24 Jan 2018 05:39:54 +0000 (05:39 +0000)]
Merge changes from topic "bpfStats" am: 6e03224697
am: e041f38289

Change-Id: Ib4790159fd331858ce9f3343a44ccec66fae638c

6 years agoAdd API documentation for MediaControlView2
Jin Seok Park [Tue, 23 Jan 2018 15:52:11 +0000 (00:52 +0900)]
Add API documentation for MediaControlView2

Test: ran 'make doc-comment-check-docs' after removing @hide tag.
Change-Id: I0eb45ed92e853ec1683c54863f0fdecccd2aa6e9

6 years agoMerge "Add cardId in EuiccCardManager API." am: a85291bfcf
Holly Jiuyu Sun [Wed, 24 Jan 2018 05:33:02 +0000 (05:33 +0000)]
Merge "Add cardId in EuiccCardManager API." am: a85291bfcf
am: 50b8d3ef75

Change-Id: I7fdb6666728bfa31405d23c5880dba2c63a89e41