OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Migrate frameworks/base/lowpan/tests to androidx.test"
TreeHugger Robot [Tue, 22 Jan 2019 19:56:17 +0000 (19:56 +0000)]
Merge "Migrate frameworks/base/lowpan/tests to androidx.test"

5 years agoMerge "Switch to new CPU UID time readers"
TreeHugger Robot [Tue, 22 Jan 2019 19:53:12 +0000 (19:53 +0000)]
Merge "Switch to new CPU UID time readers"

5 years agoMerge "Log broadcast dispatch latency during BOOT_COMPLETED"
TreeHugger Robot [Tue, 22 Jan 2019 19:51:41 +0000 (19:51 +0000)]
Merge "Log broadcast dispatch latency during BOOT_COMPLETED"

5 years agoMerge "Remove libmedia2_jni from /system/lib."
TreeHugger Robot [Tue, 22 Jan 2019 19:47:17 +0000 (19:47 +0000)]
Merge "Remove libmedia2_jni from /system/lib."

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e914...
Jack Yu [Tue, 22 Jan 2019 19:45:46 +0000 (11:45 -0800)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e9147d am: c5e86971c1
am: ea5d6e1bb3

Change-Id: Iac650af7ba8ffd0d16c9718b7bf39cedd2697ccb

5 years agoMerge "Add notification location to onNotificationExpansionChanged."
TreeHugger Robot [Tue, 22 Jan 2019 19:15:01 +0000 (19:15 +0000)]
Merge "Add notification location to onNotificationExpansionChanged."

5 years agoMerge "Clear display white balance transform when disabled"
Daniel Solomon [Tue, 22 Jan 2019 18:59:29 +0000 (18:59 +0000)]
Merge "Clear display white balance transform when disabled"

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e9147d
Jack Yu [Tue, 22 Jan 2019 18:57:43 +0000 (10:57 -0800)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause" am: 3788e9147d
am: c5e86971c1

Change-Id: Ie453f40d946ec9f512bd6ee09ce37aef4813be54

5 years agoMerge "Fix layout crash & bubble anything with valid bubble metadata intent"
Mady Mellor [Tue, 22 Jan 2019 18:44:38 +0000 (18:44 +0000)]
Merge "Fix layout crash & bubble anything with valid bubble metadata intent"

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
Jack Yu [Tue, 22 Jan 2019 18:31:11 +0000 (10:31 -0800)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
am: 3788e9147d

Change-Id: I01620d1fa5bc8417ba154b76ad854fa64d6d042f

5 years agoMerge "Support for multi-package apex sessions."
TreeHugger Robot [Tue, 22 Jan 2019 18:21:07 +0000 (18:21 +0000)]
Merge "Support for multi-package apex sessions."

5 years agoMerge "Fix the xml parsing of multi-package sessions."
TreeHugger Robot [Tue, 22 Jan 2019 18:21:07 +0000 (18:21 +0000)]
Merge "Fix the xml parsing of multi-package sessions."

5 years agoMerge "Move plugin and settings logic out of KeyguardClockSwitch."
TreeHugger Robot [Tue, 22 Jan 2019 18:21:01 +0000 (18:21 +0000)]
Merge "Move plugin and settings logic out of KeyguardClockSwitch."

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
Jack Yu [Tue, 22 Jan 2019 18:18:20 +0000 (18:18 +0000)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"

5 years agoSimplify IMMS#calledFromValidUserLocked()
Yohei Yukawa [Tue, 22 Jan 2019 18:17:22 +0000 (10:17 -0800)]
Simplify IMMS#calledFromValidUserLocked()

With my previous CL [1], IMMS#calledFromValidUserLocked() now always
gets called with the same parameter.  Let's simplify it.

This is a mechanical refactoring.  There should be no behavior change.

 [1]: Ieb94ed14698ee2669adc5fb2ea0e93c7d0e09e8b
      716897ce2ee155b3bda109bc5092b142fd63c350

Bug: 34886274
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I571db5a648ddf8b35caad3d3b64549b7cc067d14

5 years agoMerge "Add ADAPTIVE_SLEEP setting"
Alex Salo [Tue, 22 Jan 2019 18:10:44 +0000 (18:10 +0000)]
Merge "Add ADAPTIVE_SLEEP setting"

5 years agoMerge "passpoint-r2: change the name for OSU_FAILURE_INVALID_SERVER_URL."
TreeHugger Robot [Tue, 22 Jan 2019 18:07:23 +0000 (18:07 +0000)]
Merge "passpoint-r2: change the name for OSU_FAILURE_INVALID_SERVER_URL."

5 years agoMerge "meminfo: Debug: Use libmeminfo to read process maps"
TreeHugger Robot [Tue, 22 Jan 2019 18:00:42 +0000 (18:00 +0000)]
Merge "meminfo: Debug: Use libmeminfo to read process maps"

5 years agoMerge "statsd: Add BatteryCycleCount atom"
TreeHugger Robot [Tue, 22 Jan 2019 17:56:55 +0000 (17:56 +0000)]
Merge "statsd: Add BatteryCycleCount atom"

5 years agoMerge "Use SystemProperties set and getBoolean for Constants property"
Amy Zhang [Tue, 22 Jan 2019 17:47:25 +0000 (17:47 +0000)]
Merge "Use SystemProperties set and getBoolean for Constants property"

5 years agoMerge "Deprecate SSLCertificateSocketFactory" am: f86156158c am: 6804819923
Tobias Thierer [Tue, 22 Jan 2019 17:32:14 +0000 (09:32 -0800)]
Merge "Deprecate SSLCertificateSocketFactory" am: f86156158c am: 6804819923
am: 37db9722a6

Change-Id: I8e716337b30fa802a5b07f8f16421ad3a499720e

5 years agoMerge "Deprecate SSLCertificateSocketFactory" am: f86156158c
Tobias Thierer [Tue, 22 Jan 2019 17:22:30 +0000 (09:22 -0800)]
Merge "Deprecate SSLCertificateSocketFactory" am: f86156158c
am: 6804819923

Change-Id: Ib92af4ccfb66dc2bf261eb474d54e913bbcd96d8

5 years agoMerge "Fix changing package installer after rollback"
TreeHugger Robot [Tue, 22 Jan 2019 17:19:24 +0000 (17:19 +0000)]
Merge "Fix changing package installer after rollback"

5 years agoRemove libmedia2_jni from /system/lib.
Dongwon Kang [Tue, 22 Jan 2019 16:56:09 +0000 (08:56 -0800)]
Remove libmedia2_jni from /system/lib.

libmedia2_jni.so was kept in /system/lib to make MediaPlayer2
work before we have native_loader change. Now, it is not needed
anymore since we use the libmedia2_jni.so in media apex.

Test: build & boot & atest MediaPlayer2Test
Bug: 112766913
Change-Id: I305bd4a4fad4b9528d22bc180ebcf3a9725840f0

5 years agoMerge "Deprecate SSLCertificateSocketFactory"
Tobias Thierer [Tue, 22 Jan 2019 17:13:20 +0000 (09:13 -0800)]
Merge "Deprecate SSLCertificateSocketFactory"
am: f86156158c

Change-Id: I30dafbd9577dbaced7712b7497ecb0e0324c75f5

5 years agoAdd notification location to onNotificationExpansionChanged.
Gustav Sennton [Tue, 22 Jan 2019 14:55:39 +0000 (14:55 +0000)]
Add notification location to onNotificationExpansionChanged.

To know from what UI location a notification was expanded we here pass
the location of the notification through
onNotificationExpansionChanged().

Bug: 120767764
Test: atest SystemUITests
Test: atest NotificationManagerServiceTest
Change-Id: I20612f5a88cf987f434392ae7a004d3ee3098998

5 years agoMerge "Add supported color transform capabilities"
Christine Franks [Tue, 22 Jan 2019 17:05:02 +0000 (17:05 +0000)]
Merge "Add supported color transform capabilities"

5 years agoMerge "Do double tap detection to wake up device while docked."
Lucas Dupin [Tue, 22 Jan 2019 17:04:27 +0000 (17:04 +0000)]
Merge "Do double tap detection to wake up device while docked."

5 years agoMerge "Deprecate SSLCertificateSocketFactory"
Tobias Thierer [Tue, 22 Jan 2019 16:57:50 +0000 (16:57 +0000)]
Merge "Deprecate SSLCertificateSocketFactory"

5 years agoMerge "Scale task snapshots to very small on low RAM."
TreeHugger Robot [Tue, 22 Jan 2019 16:56:18 +0000 (16:56 +0000)]
Merge "Scale task snapshots to very small on low RAM."

5 years agoLog broadcast dispatch latency during BOOT_COMPLETED
Ng Zhi An [Wed, 16 Jan 2019 23:35:51 +0000 (15:35 -0800)]
Log broadcast dispatch latency during BOOT_COMPLETED

From device boot until BOOT_COMPLETED, log the dispatch latency of a
broadcast, which is the duration between it being enqueued and it being
dispatched, to get an idea of how long the queue is blocked for.

Each time a broadcast is dispatched, we check mLogLatencyMetrics, which
defaults to true when the queue is initialized, and log to statsd.

When the queue is empty, we check if BOOT_COMPLETED is done. If it is,
we stop logging by setting mLogLatencyMetrics to false, since it means
that we have finished all broadcasts that
would have been blocked by BOOT_COMPLETED.

Bug: 120794810
Test: flash, reboot, use stasd_testdrive to verify logging
Change-Id: I40c14744e5247412c0a03032fd5621706758a324

5 years agoMove plugin and settings logic out of KeyguardClockSwitch.
Robert Snoeberger [Fri, 18 Jan 2019 20:37:27 +0000 (15:37 -0500)]
Move plugin and settings logic out of KeyguardClockSwitch.

This is in preparation for adding more logic related to docked state.

Bug: 122301289
Test: Used adb to switch between custom clock faces.
Change-Id: I0a13ef4e5894df1280a04c5a9df8bbed8054557b

5 years agoSupport for multi-package apex sessions.
Dario Freni [Mon, 14 Jan 2019 21:56:17 +0000 (21:56 +0000)]
Support for multi-package apex sessions.

If we have multi-package sessions, we check whether they contain APEX
packages and proceed with the pre-reboot verification of the whole
session. Session is then applied by apexd on reboot, and the state is
recovered and updated by StagingManager as soon as the sessions are
restored.

Bug: 118865310
Test: adb install-multi-package file1.apex file2.apex; verified sessions
are written correctly, restored correctly on stop/start, applied
correctly at reboot and their state is updated.
Test: atest apex_e2e_tests (to make sure we didn't regress)
Change-Id: Ia31d5badace016074d158e31c574fbad81576984

5 years agoFix the xml parsing of multi-package sessions.
Dario Freni [Mon, 21 Jan 2019 12:16:04 +0000 (12:16 +0000)]
Fix the xml parsing of multi-package sessions.

The existing code didn't restore the child sessions, since the
XmlPullParser object was advanced within the
PackageInstallerSession#readFromXml code (in order to read grant
permissions).

Slightly refactor the code to make it more self-contained and testable,
and adding a test to make sure that the most important bits of a
session, or of a group of sessions, are dumped and restored properly.

Bug: 118865310
Bug: 109941548
Test: atest FrameworksServicesTests:PackageInstallerSessionTest;
verified that install_sessions.xml is correctly written and restored in
presence of multi-group sessions.
Change-Id: I5aef61f64e7223844f11661ee068dd3c1e112611

5 years agoMerge "Migrate ICaptivePortal to stable AIDL"
Lorenzo Colitti [Tue, 22 Jan 2019 15:38:07 +0000 (15:38 +0000)]
Merge "Migrate ICaptivePortal to stable AIDL"

5 years agoMerge "Support for treating single party IMS conference as a standalone call." am...
Tyler Gunn [Tue, 22 Jan 2019 15:31:55 +0000 (07:31 -0800)]
Merge "Support for treating single party IMS conference as a standalone call." am: 89e53d81ce am: 955c9adb36
am: 4fd8e1b376

Change-Id: I7ab00c1b82858014fb3135474a64a9fa44d8283b

5 years agoMerge "Support for treating single party IMS conference as a standalone call." am...
Tyler Gunn [Tue, 22 Jan 2019 15:20:11 +0000 (07:20 -0800)]
Merge "Support for treating single party IMS conference as a standalone call." am: 89e53d81ce
am: 955c9adb36

Change-Id: I5af4c4591cd825adfeab8be56d7c60d29905f1c4

5 years agoMerge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1 am:...
Pavel Grafov [Tue, 22 Jan 2019 15:19:18 +0000 (07:19 -0800)]
Merge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1 am: 5fb1be5c0b
am: 43c0ffc1b1

Change-Id: Ied8e5a01cdf76d8da02d2dc292943e6a559cc84e

5 years agoMerge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1
Pavel Grafov [Tue, 22 Jan 2019 15:09:43 +0000 (07:09 -0800)]
Merge "Add API for VPN apps to query always-on and lockdown." am: 479c0769f1
am: 5fb1be5c0b

Change-Id: I48f3441f06af2a69776eacc5ee52463873739bdb

5 years agoMerge "Support for treating single party IMS conference as a standalone call."
Tyler Gunn [Tue, 22 Jan 2019 15:09:11 +0000 (07:09 -0800)]
Merge "Support for treating single party IMS conference as a standalone call."
am: 89e53d81ce

Change-Id: Ic9de1989c156a1dd111465c20d84bd1c7c37e69f

5 years agoMerge changes If3a6eeb3,I2a29dc60
Richard Uhler [Tue, 22 Jan 2019 15:03:44 +0000 (15:03 +0000)]
Merge changes If3a6eeb3,I2a29dc60

* changes:
  Factor out code for loading and saving rollback data.
  Store meta data for a rollback in a single file.

5 years agoMerge "Add API for VPN apps to query always-on and lockdown."
Pavel Grafov [Tue, 22 Jan 2019 15:00:53 +0000 (07:00 -0800)]
Merge "Add API for VPN apps to query always-on and lockdown."
am: 479c0769f1

Change-Id: Icb11cdd5c7384eacf1df9b7a0c42e451641f0e04

5 years agoMerge "Support for treating single party IMS conference as a standalone call."
Tyler Gunn [Tue, 22 Jan 2019 14:57:10 +0000 (14:57 +0000)]
Merge "Support for treating single party IMS conference as a standalone call."

5 years agoFix changing package installer after rollback
Zimuzo [Mon, 21 Jan 2019 18:14:20 +0000 (18:14 +0000)]
Fix changing package installer after rollback

When executing rollbacks, we now set the SessionParams installerPackageName
to the targetPackage installer instead of using the default which is the
calling package.

Test: atest RollbackTest with Ic85464583f7c6b0778d853a87670d250a42c33de in
succession works.
Bug: 112431924

Change-Id: Id115c2c0d6838d81213dfc0d186ef30e13d6f879

5 years agoMerge "Fix dpm force-network-logs"
TreeHugger Robot [Tue, 22 Jan 2019 14:45:35 +0000 (14:45 +0000)]
Merge "Fix dpm force-network-logs"

5 years agoMerge "Add API for VPN apps to query always-on and lockdown."
Pavel Grafov [Tue, 22 Jan 2019 14:43:06 +0000 (14:43 +0000)]
Merge "Add API for VPN apps to query always-on and lockdown."

5 years agoMerge "Convert @ColorLongs in native code"
Leon Scroggins [Tue, 22 Jan 2019 14:33:10 +0000 (14:33 +0000)]
Merge "Convert @ColorLongs in native code"

5 years agoMerge "ColorSpaces have native SkColorSpaces"
Leon Scroggins [Tue, 22 Jan 2019 14:32:11 +0000 (14:32 +0000)]
Merge "ColorSpaces have native SkColorSpaces"

5 years agoMerge "Expose UIDs for NetworkStack permission checks" am: 3b887bdf4a am: 29515d751b
Remi NGUYEN VAN [Tue, 22 Jan 2019 14:13:46 +0000 (06:13 -0800)]
Merge "Expose UIDs for NetworkStack permission checks" am: 3b887bdf4a am: 29515d751b
am: f10038e9ca

Change-Id: I4156471eec78511fd86a1c381d53df57b1f4ea98

5 years agoMerge "Expose UIDs for NetworkStack permission checks" am: 3b887bdf4a
Remi NGUYEN VAN [Tue, 22 Jan 2019 14:04:32 +0000 (06:04 -0800)]
Merge "Expose UIDs for NetworkStack permission checks" am: 3b887bdf4a
am: 29515d751b

Change-Id: Ia9bc41cebf048d536efa8aeea992fed3f583ba1b

5 years agoMerge "Expose UIDs for NetworkStack permission checks"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:53:20 +0000 (05:53 -0800)]
Merge "Expose UIDs for NetworkStack permission checks"
am: 3b887bdf4a

Change-Id: I893fbd359e9d5e7731e3b640b86ec9dd05b829f3

5 years agoMerge "Remove InterfaceController dependency on NMS" am: 06adb08d27 am: b6eb7e19e2
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:43:59 +0000 (05:43 -0800)]
Merge "Remove InterfaceController dependency on NMS" am: 06adb08d27 am: b6eb7e19e2
am: f012b976f9

Change-Id: I7916f77c66d928bd1b1dd5616f2a478119263f2a

5 years agoMerge "Expose UIDs for NetworkStack permission checks"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:40:57 +0000 (13:40 +0000)]
Merge "Expose UIDs for NetworkStack permission checks"

5 years agoMerge "Remove InterfaceController dependency on NMS" am: 06adb08d27
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:34:33 +0000 (05:34 -0800)]
Merge "Remove InterfaceController dependency on NMS" am: 06adb08d27
am: b6eb7e19e2

Change-Id: I432d8f625057a3e3e35e12910fc48319c723295e

5 years agoMerge changes Ieef54d84,Ica3e88c2 am: 491f53523a am: 8e4ce11318
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:32:01 +0000 (05:32 -0800)]
Merge changes Ieef54d84,Ica3e88c2 am: 491f53523a am: 8e4ce11318
am: c904972acd

Change-Id: Idcc18b95951c566335431a493ed7b9d49477a4c0

5 years agoMerge "Remove InterfaceController dependency on NMS"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:25:12 +0000 (05:25 -0800)]
Merge "Remove InterfaceController dependency on NMS"
am: 06adb08d27

Change-Id: I24c129d143f49434c126855dd90f7a0436d00ca5

5 years agoMerge changes Ieef54d84,Ica3e88c2 am: 491f53523a
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:22:30 +0000 (05:22 -0800)]
Merge changes Ieef54d84,Ica3e88c2 am: 491f53523a
am: 8e4ce11318

Change-Id: I33fc6ee4cf47676dc2a4a9369dd3fc053dba34ec

5 years agoMerge changes Ieef54d84,Ica3e88c2
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:14:58 +0000 (05:14 -0800)]
Merge changes Ieef54d84,Ica3e88c2
am: 491f53523a

Change-Id: Ia60c1dd733a8de0e777dce78cde67738f6d466bd

5 years agoMerge "Remove InterfaceController dependency on NMS"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:14:06 +0000 (13:14 +0000)]
Merge "Remove InterfaceController dependency on NMS"

5 years agoMerge "Merge "Add SystemApi utility for raw sockets." am: 91c81c13b6 am: 510d2f82ad...
Android Build Merger (Role) [Tue, 22 Jan 2019 13:12:10 +0000 (13:12 +0000)]
Merge "Merge "Add SystemApi utility for raw sockets." am: 91c81c13b6 am: 510d2f82ad am: 4593e07944"

5 years agoMerge "Add SystemApi utility for raw sockets." am: 91c81c13b6 am: 510d2f82ad
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:11:38 +0000 (05:11 -0800)]
Merge "Add SystemApi utility for raw sockets." am: 91c81c13b6 am: 510d2f82ad
am: 4593e07944

Change-Id: I84effb70b0bbea0e57d5982105fc304080e504ac

5 years agoMerge "Define Nfc statistic data atoms"
TreeHugger Robot [Tue, 22 Jan 2019 13:11:18 +0000 (13:11 +0000)]
Merge "Define Nfc statistic data atoms"

5 years agoMerge "Add SystemApi utility for raw sockets." am: 91c81c13b6
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:02:22 +0000 (05:02 -0800)]
Merge "Add SystemApi utility for raw sockets." am: 91c81c13b6
am: 510d2f82ad

Change-Id: I2252fbfb4a793b33193037003823af68a56ae760

5 years agoMerge changes Ieef54d84,Ica3e88c2
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:00:10 +0000 (13:00 +0000)]
Merge changes Ieef54d84,Ica3e88c2

* changes:
  Remove NetworkStack dependencies on hidden members
  Expose ServiceSpecificException as @SystemApi.

5 years agoMerge "Add SystemApi utility for raw sockets."
Remi NGUYEN VAN [Tue, 22 Jan 2019 12:53:05 +0000 (04:53 -0800)]
Merge "Add SystemApi utility for raw sockets."
am: 91c81c13b6

Change-Id: I91392d479ca24cfcc114ca6f9cf349c833f5f9c5

5 years agoMerge "Unhide MediaSessionManager APIs"
Jin Seok Park [Tue, 22 Jan 2019 12:41:53 +0000 (12:41 +0000)]
Merge "Unhide MediaSessionManager APIs"

5 years agoMerge "Add SystemApi utility for raw sockets."
Remi NGUYEN VAN [Tue, 22 Jan 2019 12:38:33 +0000 (12:38 +0000)]
Merge "Add SystemApi utility for raw sockets."

5 years agoDo double tap detection to wake up device while docked.
lpeter [Fri, 18 Jan 2019 08:53:07 +0000 (16:53 +0800)]
Do double tap detection to wake up device while docked.

In order to keep the same action to wake up device when docked, it
should enable double tap sensor even though the setting is off.

The miss-touch can be ignored when docked.

Bug: 123057133
Test: atest SystemUITests
Change-Id: I67dec8b3ae51f46c50570eaec0250c1aa1dc8bb9

5 years agoFix dpm force-network-logs
Rubin Xu [Tue, 22 Jan 2019 12:17:44 +0000 (12:17 +0000)]
Fix dpm force-network-logs

A new permission check in AlarmManager means that we need to clear caller
identity before calling into mNetworkLogger.forceBatchFinalization to
force network logs.

Bug: 123028500
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation
Change-Id: I62a9473fa4ec5493a3db4fdad3469e46737fadc0

5 years agoMigrate ICaptivePortal to stable AIDL
Remi NGUYEN VAN [Mon, 21 Jan 2019 14:36:53 +0000 (23:36 +0900)]
Migrate ICaptivePortal to stable AIDL

Also add required API for the captive portal app to stop using hidden
members.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: I62b457e709fa199822bb8f80b0eab990be4ded93

5 years agoMerge "Deprecate JapaneseCalendar.CURRENT_ERA" am: 0f5893ee60 am: 7f9c43a01e
vichang [Tue, 22 Jan 2019 12:13:20 +0000 (04:13 -0800)]
Merge "Deprecate JapaneseCalendar.CURRENT_ERA" am: 0f5893ee60 am: 7f9c43a01e
am: d4a58e4a9a

Change-Id: Ia07beec9ff556378d72fe94881d5ff579e400cbf

5 years agoMerge "Introduce new window insets launch flag"
Jorim Jaggi [Tue, 22 Jan 2019 11:56:44 +0000 (11:56 +0000)]
Merge "Introduce new window insets launch flag"

5 years agoMerge "Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b...
Android Build Merger (Role) [Tue, 22 Jan 2019 11:54:58 +0000 (11:54 +0000)]
Merge "Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b am: 563c545187 am: 4293455fd1"

5 years agoMerge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b am: 563c545187
Remi NGUYEN VAN [Tue, 22 Jan 2019 11:54:23 +0000 (03:54 -0800)]
Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b am: 563c545187
am: 4293455fd1

Change-Id: I7e5a733b5c581679c0e50015205d9b8a3a2e8df2

5 years agoMerge "[wv] Make WebViewRenderer ctor @SystemApi"
Toby Sargeant [Tue, 22 Jan 2019 11:52:02 +0000 (11:52 +0000)]
Merge "[wv] Make WebViewRenderer ctor @SystemApi"

5 years agoMerge "Add support for enabling backup in work profile in DevicePolicyManager."
Stefano Tommasini [Tue, 22 Jan 2019 11:48:28 +0000 (11:48 +0000)]
Merge "Add support for enabling backup in work profile in DevicePolicyManager."

5 years agoMerge "apilint: correctly parse enum_constant" am: d8b953078e am: 26ccde4b80
Adrian Roos [Tue, 22 Jan 2019 11:47:01 +0000 (03:47 -0800)]
Merge "apilint: correctly parse enum_constant" am: d8b953078e am: 26ccde4b80
am: 0681b26d67

Change-Id: I05c4843fa8311e187f738c3602364c62f71e6f23

5 years agoExpose UIDs for NetworkStack permission checks
Remi NGUYEN VAN [Sun, 20 Jan 2019 03:23:32 +0000 (12:23 +0900)]
Expose UIDs for NetworkStack permission checks

The UIDs are unlikely to change and added as public API.

Test: m
Bug: 112869080
Change-Id: I5477093a4c8593dd9ada7587b86c65352e628c34

5 years ago[automerger skipped] Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923...
Adrian Roos [Tue, 22 Jan 2019 11:40:20 +0000 (03:40 -0800)]
[automerger skipped] Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ... am: 137f8f2e5a am: d7e7397eaa
am: 4678ef6b22 -s ours
am skip reason: SHA1 4678ef6b22 skipped by user roosa

Change-Id: Ie6219f0085793da67038a4e404d5f71890395990

5 years agoMerge "Deprecate JapaneseCalendar.CURRENT_ERA" am: 0f5893ee60
vichang [Tue, 22 Jan 2019 11:33:15 +0000 (03:33 -0800)]
Merge "Deprecate JapaneseCalendar.CURRENT_ERA" am: 0f5893ee60
am: 7f9c43a01e

Change-Id: Idb56be376c9b9e14f587ac3078d9356ca661c708

5 years agoMerge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b
Remi NGUYEN VAN [Tue, 22 Jan 2019 11:27:36 +0000 (03:27 -0800)]
Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b
am: 563c545187

Change-Id: Ic15474fe0b7da8062114367ec4f692e30e73d549

5 years agoRemove InterfaceController dependency on NMS
Remi NGUYEN VAN [Tue, 22 Jan 2019 07:13:57 +0000 (16:13 +0900)]
Remove InterfaceController dependency on NMS

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: Ib3773068b087f58f4ac3394291cda132b00b2dcc

5 years agoMerge "apilint: correctly parse enum_constant" am: d8b953078e
Adrian Roos [Tue, 22 Jan 2019 11:19:04 +0000 (03:19 -0800)]
Merge "apilint: correctly parse enum_constant" am: d8b953078e
am: 26ccde4b80

Change-Id: I36cc62620029d7a4387705fad441be24f5532673

5 years agoMerge "Deprecate JapaneseCalendar.CURRENT_ERA"
vichang [Tue, 22 Jan 2019 11:19:03 +0000 (03:19 -0800)]
Merge "Deprecate JapaneseCalendar.CURRENT_ERA"
am: 0f5893ee60

Change-Id: I29548ec04dd5a37d5a672430002b380ff56667d9

5 years agoMerge "Add LinkProps and NetworkCaps methods to SystemApi"
Remi NGUYEN VAN [Tue, 22 Jan 2019 11:14:19 +0000 (03:14 -0800)]
Merge "Add LinkProps and NetworkCaps methods to SystemApi"
am: 4bde11491b

Change-Id: I7ba317e49a6ad7a7413d9ff4e312aed0b700e695

5 years agoMerge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ... am: 137f8f2e5a
Adrian Roos [Tue, 22 Jan 2019 11:10:43 +0000 (03:10 -0800)]
Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ... am: 137f8f2e5a
am: d7e7397eaa

Change-Id: I470391352b9e555c28f5bbf0bf6e8309ee3c945e

5 years agoMerge "apilint: correctly parse enum_constant"
Adrian Roos [Tue, 22 Jan 2019 11:07:22 +0000 (03:07 -0800)]
Merge "apilint: correctly parse enum_constant"
am: d8b953078e

Change-Id: I633edc113833f49a4d96fafe4dfa1d9a1b49c357

5 years agoMerge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...
Adrian Roos [Tue, 22 Jan 2019 11:03:20 +0000 (03:03 -0800)]
Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...
am: 137f8f2e5a

Change-Id: Ic44c73e0c96b9beed999319996b36ba1c9b0efb0

5 years agoMerge "Deprecate JapaneseCalendar.CURRENT_ERA"
vichang [Tue, 22 Jan 2019 10:59:41 +0000 (10:59 +0000)]
Merge "Deprecate JapaneseCalendar.CURRENT_ERA"

5 years agoMerge "Add LinkProps and NetworkCaps methods to SystemApi"
Remi NGUYEN VAN [Tue, 22 Jan 2019 10:56:51 +0000 (10:56 +0000)]
Merge "Add LinkProps and NetworkCaps methods to SystemApi"

5 years agoMerge "apilint: correctly parse enum_constant"
Adrian Roos [Tue, 22 Jan 2019 10:45:03 +0000 (10:45 +0000)]
Merge "apilint: correctly parse enum_constant"

5 years agoMerge "Make Trampoline support multi-user backup."
Stefano Tommasini [Tue, 22 Jan 2019 10:44:49 +0000 (10:44 +0000)]
Merge "Make Trampoline support multi-user backup."

5 years agoapilint: correctly parse enum_constant
Adrian Roos [Mon, 21 Jan 2019 14:43:15 +0000 (15:43 +0100)]
apilint: correctly parse enum_constant

Change-Id: I1a243caa3a01837ff989d21926478f20d70372ae
Fixes: 120132045
Test: python apilint_test.py
(cherry picked from commit 373df11baab1fbbd9f6986e38a1a929abc901d63)

5 years agoMerge "apilint: correctly parse enum_constant"
Adrian Roos [Tue, 22 Jan 2019 10:41:53 +0000 (10:41 +0000)]
Merge "apilint: correctly parse enum_constant"

5 years agoMerge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...
Adrian Roos [Tue, 22 Jan 2019 10:41:10 +0000 (10:41 +0000)]
Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...

* changes:
  ApiLint: Add operator keyword and property parsing
  ApiLint: Add Kotlin-style type support
  ApiLint: Performance improvements for verification
  ApiLint: Performance improvements for 2.0 signature format parsing
  ApiLint: Allow parsing 2.0 API signature files
  apilint: Fix API lint issues 2/2
  apilint: Fix API lint issues
  API Lint: Add support for base current.txt
  Guide towards Context.createPackageContextAsUser().
  Moar lint rulez!
  Update lint rules for graphics/text package layering
  Handle new current.txt format.
  Extend lint script to emit API statistics.

5 years agoMerge "Suppress injected launcher activity for apps that are vouched"
Ricky Wai [Tue, 22 Jan 2019 10:37:03 +0000 (10:37 +0000)]
Merge "Suppress injected launcher activity for apps that are vouched"

5 years agoApiLint: Add operator keyword and property parsing
Adrian Roos [Mon, 14 Jan 2019 14:44:15 +0000 (15:44 +0100)]
ApiLint: Add operator keyword and property parsing

Also fix up some issues with expression parsing, type use annotations, etc.

Test: python tools/apilint/apilint_test.py
Change-Id: I38145a51470ce6c3e5813a546d681489fd87fc19
(cherry picked from commit 403c8e35d8e7cc0f81a0a2c42d038c47e1b2703f)

5 years agoApiLint: Add Kotlin-style type support
Adrian Roos [Sat, 5 Jan 2019 21:04:55 +0000 (22:04 +0100)]
ApiLint: Add Kotlin-style type support

Test: tools/apilint/apilint_sha.sh HEAD && python tools/apilint/apilint_test.py
Change-Id: Iac1fdabcbeffe57c8288d73b2359e8ce0b2bc3eb
(cherry picked from commit 7884d6b9090c586ac0d72abe0e6efab191a143a7)

5 years agoApiLint: Performance improvements for verification
Adrian Roos [Sat, 5 Jan 2019 19:09:38 +0000 (20:09 +0100)]
ApiLint: Performance improvements for verification

Test: tools/apilint/apilint_sha.sh HEAD
Test: python tools/apilint/apilint_test.py
Change-Id: I90f18181cd0d3c43f176d7c9d1b198f6f5172390
(cherry picked from commit 7f8886a9933abbb6f1fdd97d920185b80d439339)

5 years agoApiLint: Performance improvements for 2.0 signature format parsing
Adrian Roos [Fri, 4 Jan 2019 19:10:06 +0000 (20:10 +0100)]
ApiLint: Performance improvements for 2.0 signature format parsing

Test: tools/apilint/apilint_sha.sh HEAD
Test: python tools/apilint/apilint_test.py
Change-Id: I76b979dd81702afce6468ac377230e589a25e08f
(cherry picked from commit a30d062775da3812589a6ce3e49be9d697ef0d6d)