OSDN Git Service

android-x86/frameworks-base.git
5 years agoUse toArray(T[]) instead of toArray().
Garfield Tan [Sat, 13 Oct 2018 00:45:50 +0000 (17:45 -0700)]
Use toArray(T[]) instead of toArray().

toArray() always creates Object array, which can't be cast to array type
of specific types.

Bug: None
Test: Package can be installed and uninstalled correctly with a package
list.

Change-Id: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc
Merged-In: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc

5 years agoMerge "Add "close" socket option for immediately close socket after finish check...
Treehugger Robot [Thu, 14 Feb 2019 04:55:21 +0000 (04:55 +0000)]
Merge "Add "close" socket option for immediately close socket after finish check captive portal."

5 years agoMerge "Fix flaky testNattSocketKeepalives"
Remi NGUYEN VAN [Thu, 14 Feb 2019 03:29:00 +0000 (03:29 +0000)]
Merge "Fix flaky testNattSocketKeepalives"

5 years agoFix flaky testNattSocketKeepalives
Remi NGUYEN VAN [Fri, 8 Feb 2019 08:10:50 +0000 (17:10 +0900)]
Fix flaky testNattSocketKeepalives

The test did not wait for the WifiNetworkAgent to disconnect, and there
are reports of flakes where it is still connected in
connectKeepaliveNetwork.

Test: atest FrameworksNetTests
Bug: 124319553
Change-Id: I85968806885c8853ec4f4dbea356366c1af0ea1c

5 years agoMerge "Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId"
Shuo Qian [Thu, 14 Feb 2019 02:59:09 +0000 (02:59 +0000)]
Merge "Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId"

5 years agoMerge "Add build rule of data stall proto"
Chiachang Wang [Thu, 14 Feb 2019 02:57:38 +0000 (02:57 +0000)]
Merge "Add build rule of data stall proto"

5 years agoAdd build rule of data stall proto
Chiachang Wang [Thu, 14 Feb 2019 02:55:03 +0000 (10:55 +0800)]
Add build rule of data stall proto

Bug: 121185319
Bug: 120452078
Test: Build and test against data stall code
Change-Id: I3b243ab947464a431ef205c5f2f30edc883e2963

5 years agoAdd "close" socket option for immediately close socket after finish check captive...
Hongshik [Fri, 11 Jan 2019 18:09:34 +0000 (03:09 +0900)]
Add "close" socket option for immediately close socket after finish check captive portal.

Unexpected packets are observed after captive portal check. Due to the packets, modem can't fall-back to idle state (modem remained as active state).
It makes unnecessary power consumtion.
To prevent it, "close" option is added in sendHttpProbe()

Test: check socket close.
Change-Id: I5b6987071ad915081846504adbb209eb371fd1c3

5 years agoMerge "Clear all lingering notifications when network is disconnected"
Lucas Lin [Thu, 14 Feb 2019 01:40:47 +0000 (01:40 +0000)]
Merge "Clear all lingering notifications when network is disconnected"

5 years agoMerge "Enable DOM storage API for CaptivePortalLoginActivity"
Treehugger Robot [Thu, 14 Feb 2019 01:19:50 +0000 (01:19 +0000)]
Merge "Enable DOM storage API for CaptivePortalLoginActivity"

5 years agoCall e.rethrowFromSystemServer() to exception of setDefaultSmsSubId
sqian [Wed, 13 Feb 2019 22:41:44 +0000 (14:41 -0800)]
Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId

Test: Treehugger
Bug: 123927534
Change-Id: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
Merged-In: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
(cherry picked from commit 04e94fcb0a41a50dce82f20a603b71614c3f5ed0)

5 years agoMerge "Add UNINITIALIZED and rename INVALID"
Jordan Liu [Thu, 14 Feb 2019 00:14:11 +0000 (00:14 +0000)]
Merge "Add UNINITIALIZED and rename INVALID"

5 years agoMerge "Implement more location checks"
Hall Liu [Wed, 13 Feb 2019 23:21:43 +0000 (23:21 +0000)]
Merge "Implement more location checks"

5 years agoMerge "Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"
Treehugger Robot [Wed, 13 Feb 2019 22:26:10 +0000 (22:26 +0000)]
Merge "Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"

5 years agoMerge "Add getSlotsMapping to TelephonyManager"
Pengquan Meng [Wed, 13 Feb 2019 22:23:16 +0000 (22:23 +0000)]
Merge "Add getSlotsMapping to TelephonyManager"

5 years agoManually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master
Hui Yu [Wed, 13 Feb 2019 20:29:38 +0000 (12:29 -0800)]
Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master

Bug: None.
Test: NA.
Change-Id: I04ebbaa3c2f939b139f0b8b6f25777383fd42375
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2

5 years agoMerge "Revert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6...
Hui Yu [Wed, 13 Feb 2019 20:23:03 +0000 (20:23 +0000)]
Merge "Revert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master""

5 years agoRevert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a...
Hui Yu [Wed, 13 Feb 2019 20:10:27 +0000 (20:10 +0000)]
Revert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"

This reverts commit a738111eeea622a25cb50ed7bcae5cbf0218b137.

Reason for revert: mistakenly used "RESTRICT AUTOMERGE" on the title.

Change-Id: I7ec9917887763912114405ba89eb5f0fac328d97

5 years agoMerge "Update documentation for SubscriptionManager listener"
Jordan Liu [Wed, 13 Feb 2019 19:26:58 +0000 (19:26 +0000)]
Merge "Update documentation for SubscriptionManager listener"

5 years agoMerge "Improved wipe reason information for RecoverySystem"
Tianjie Xu [Wed, 13 Feb 2019 19:18:01 +0000 (19:18 +0000)]
Merge "Improved wipe reason information for RecoverySystem"

5 years agoImplement more location checks
Hall Liu [Tue, 27 Nov 2018 22:36:51 +0000 (14:36 -0800)]
Implement more location checks

Make the following modifications to APIs and required permissions.
Move the following APIs from checking coarse permission to fine
permission (except for apps targeting pre-Q):
TelephonyManager.getCellLocation()
(deprecated) TelephonyManager.getNeighboringCellInfo()
TelephonyManager.getAllCellInfo()
TelephonyManager.requestCellInfoUpdate()
PhoneStateListener#onCellLocationChanged
PhoneStateListener#onCellInfoChanged

Start checking for fine permission on the following APIs:
(Note -- these will only be logged, not denied until a future CL)
TelephonyManager.requestNetworkScan()
TelephonyScanManager.requestNetworkScan()
NetworkScanCallback#onResults

Start checking for coarse permission on the following APIs:
(Note -- these will only be logged, not denied until a future CL)
TelephonyManager#getAvailableNetworks
TelephonyManager#getServiceStateForSubscriber and #getServiceState
PhoneStateListener#onServiceStateChanged

Bug: 116258458
Test: manual via testapps
Change-Id: I45326ddacbcf538da50ca544d67eed12cf0c0861

5 years agoMerge "Add missing UARFCN Getter to CellIdentityTdscdma"
Nathan Harold [Wed, 13 Feb 2019 18:17:36 +0000 (18:17 +0000)]
Merge "Add missing UARFCN Getter to CellIdentityTdscdma"

5 years agoMerge "Revert "Enable static overlay for SettingsLib resources""
Fan Zhang [Wed, 13 Feb 2019 18:04:09 +0000 (18:04 +0000)]
Merge "Revert "Enable static overlay for SettingsLib resources""

5 years agoRevert "Enable static overlay for SettingsLib resources"
Fan Zhang [Wed, 13 Feb 2019 18:00:16 +0000 (18:00 +0000)]
Revert "Enable static overlay for SettingsLib resources"

This reverts commit 6828b0f191e49859345d81694282e1dcda599462.

Fixes: 124370422

Reason for revert: b/124370422

Error:

The following topic from AOSP:

https://android-review.googlesource.com/q/topic:%22116821732%22+(status:open%20OR%20status:merged)

Has broken several builds (test_suites_x86_64, build_test, docs) with the following error:

FAILED:
build/make/core/aapt2.mk:33: error: overriding commands for target `out/target/common/obj/APPS/SetupWraith_intermediates/flat-res/frameworks/base/packages/SettingsLib/res/color_batterymeter_bolt_color.xml.flat', previously defined at build/make/core/aapt2.mk:33
05:05:47 ckati failed with: exit status 1
make: *** [run_soong_ui] Error 1
Return Code: 2

Change-Id: I9b980c512eb354f87470bcefe1df095fc5c9a807

5 years agoAdd UNINITIALIZED and rename INVALID
Jordan Liu [Fri, 1 Feb 2019 22:15:05 +0000 (14:15 -0800)]
Add UNINITIALIZED and rename INVALID

UNINITIALIZED_CARD_ID is for before the card ID is ready.
INVALID_CARD_ID is renamed to UNSUPPORTED_CARD_ID and it is used if the
card ID is known to be unsupported.

Bug: 122978614
Test: atest UiccControllerTest
Change-Id: Ia2315d9b38ef35b30d9b96b6436c08fa4404e4df
Merged-In: Ia2315d9b38ef35b30d9b96b6436c08fa4404e4df

5 years agoMerge "Modem power monitor"
Blake Kragten [Wed, 13 Feb 2019 17:21:30 +0000 (17:21 +0000)]
Merge "Modem power monitor"

5 years agoModem power monitor
Blake Kragten [Tue, 12 Feb 2019 19:16:49 +0000 (11:16 -0800)]
Modem power monitor

This is an AOSP carry over for the frameworks base CL. This change is needed here to allow telephony changes to be added to AOSP with no issues.

Adding monitored power rail as a new cellular battery stats component. This will be used to better determine actual power usage of the modem rather than relying on battery reduction rates.

If the device does not support rail power monitoring then this value
will always remain at 0.

Test: adb shell dumpsys activity service TelephonyDebugService --metrics
Results Examples:
Energy consumed by modem (mAh): 2.41

Change-Id: If85af2f2e1b255661e189c5375ecc5825be84c58

5 years agoMerge "Use filegroup name not contents in $(location ...)"
Paul Duffin [Wed, 13 Feb 2019 10:12:46 +0000 (10:12 +0000)]
Merge "Use filegroup name not contents in $(location ...)"

5 years agoMerge "Adjust AsyncTask.THREAD_POOL_EXECUTOR config"
Hans Boehm [Wed, 13 Feb 2019 05:14:43 +0000 (05:14 +0000)]
Merge "Adjust AsyncTask.THREAD_POOL_EXECUTOR config"

5 years agoMerge "Added backwards compatibility support for data reg"
Treehugger Robot [Wed, 13 Feb 2019 03:55:47 +0000 (03:55 +0000)]
Merge "Added backwards compatibility support for data reg"

5 years agoClear all lingering notifications when network is disconnected
lucaslin [Tue, 12 Feb 2019 07:30:13 +0000 (15:30 +0800)]
Clear all lingering notifications when network is disconnected

In aosp/861571, it tried to refine the design to prevent the
lingering notification is cleared unexpectedly. However, all
notifications should be cleared when network is disconnected.
Refine the design by clearing all lingering notifications when
network is disconnected.

Bug: 123488640
Bug: 123537643
Test: 1.Build pass
      2.atest FrameworksNetTests
      3.Connect to a hotspot which doesn't have internet,
      after getting "NO_INTERNET" notification, disconnect
      the wifi and check if "NO_INTERNET" notification will
      be cleared or not.
Change-Id: Iac45ec186cf81915c318dba37f43136609d579f6

5 years agoMerge "Support multi-SIM entitlement check"
Mark Chien [Wed, 13 Feb 2019 02:29:01 +0000 (02:29 +0000)]
Merge "Support multi-SIM entitlement check"

5 years agoMerge changes from topic "cut_dependency"
Treehugger Robot [Wed, 13 Feb 2019 02:17:35 +0000 (02:17 +0000)]
Merge changes from topic "cut_dependency"

* changes:
  Revert "Delay start of bootanimation until after the Runtime APEX is mounted."
  Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge

5 years agoImproved wipe reason information for RecoverySystem
Yutaro Maruyama [Fri, 30 Mar 2018 04:36:37 +0000 (12:36 +0800)]
Improved wipe reason information for RecoverySystem

More information will be useful to investigate unintentional wipe
for users. Added timestamp information into reason text.

Bug: 120586954
Change-Id: I26dd4eff815d736bf34e944be6843cbb80515ca9

5 years agoMerge "Add DynamicAndroidClient"
Po-Chien Hsueh [Wed, 13 Feb 2019 01:20:26 +0000 (01:20 +0000)]
Merge "Add DynamicAndroidClient"

5 years agoMerge "Include /apex/com.android.runtime for native library in app classloader"
vichang [Wed, 13 Feb 2019 00:58:37 +0000 (00:58 +0000)]
Merge "Include /apex/com.android.runtime for native library in app classloader"

5 years agoAdd getSlotsMapping to TelephonyManager
Pengquan Meng [Wed, 23 Jan 2019 04:06:03 +0000 (20:06 -0800)]
Add getSlotsMapping to TelephonyManager

Bug: 123101769
Test: build
Merged-In: I416d741947b1a15e66ebf71b8104c4b2ec95e310
Change-Id: I416d741947b1a15e66ebf71b8104c4b2ec95e310
(cherry picked from commit 83e7b920deec8d163c3ddd9c56343ce8bcea0a9e)

5 years agoMerge "Enable static overlay for SettingsLib resources"
Fan Zhang [Wed, 13 Feb 2019 00:12:08 +0000 (00:12 +0000)]
Merge "Enable static overlay for SettingsLib resources"

5 years agoMerge "Check NetworkStack UID and perms before binding"
Remi NGUYEN VAN [Wed, 13 Feb 2019 00:10:18 +0000 (00:10 +0000)]
Merge "Check NetworkStack UID and perms before binding"

5 years agoMerge "Telephony: Add 7bit Ascii support for long message"
Brad Ebinger [Tue, 12 Feb 2019 23:55:32 +0000 (23:55 +0000)]
Merge "Telephony: Add 7bit Ascii support for long message"

5 years agoAdjust AsyncTask.THREAD_POOL_EXECUTOR config
Hans Boehm [Sat, 2 Feb 2019 01:52:40 +0000 (17:52 -0800)]
Adjust AsyncTask.THREAD_POOL_EXECUTOR config

Remove the queue, reduce core pool size but no longer let it time out.

Reduce the timeout for additional threads.

If necessary, use a special executor, with an unbounded queue, to run
overflow tasks.

Bug: 123762797
Test: AOSP boots, also with MAXIMUM_POOL_SIZE = 1.
Change-Id: I4bc9593a044d1773ff1878684e2397a7c2a9a87a

5 years agoMerge "Address API feedbacks for networktypebitmask"
Chen Xu [Tue, 12 Feb 2019 23:27:36 +0000 (23:27 +0000)]
Merge "Address API feedbacks for networktypebitmask"

5 years agoMerge "Add NR Cell Identity to CellIdentityNr"
Nathan Harold [Tue, 12 Feb 2019 23:18:15 +0000 (23:18 +0000)]
Merge "Add NR Cell Identity to CellIdentityNr"

5 years agoMerge "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a...
Treehugger Robot [Tue, 12 Feb 2019 22:48:41 +0000 (22:48 +0000)]
Merge "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"

5 years agoAdded backwards compatibility support for data reg
Jack Yu [Thu, 31 Jan 2019 21:30:05 +0000 (13:30 -0800)]
Added backwards compatibility support for data reg

Test: Manual
Bug: Bug: 73659459
Change-Id: Ib254f5bf77cbc429826a58f55babbb971db61175

5 years agoAdd missing UARFCN Getter to CellIdentityTdscdma
Nathan Harold [Tue, 12 Feb 2019 18:20:46 +0000 (10:20 -0800)]
Add missing UARFCN Getter to CellIdentityTdscdma

Add a method to get the UARFCN for CellIdentityTdscdma.
There is an equivalent method in all the other classes,
so this is simply correcting an oversight.

Bug: 123957505
Test: atest CellIdentityTdscdmaTest
Change-Id: I743d90b4532b86edb34d267ae55eca73de2a0086

5 years agoAdd NR Cell Identity to CellIdentityNr
Nathan Harold [Sat, 9 Feb 2019 01:34:43 +0000 (17:34 -0800)]
Add NR Cell Identity to CellIdentityNr

Add the NCI to CellIdentityNr.

Bug: 124126359
Test: atest CellIdentityNrTest
Change-Id: I628048c61d3d6b6e2439357e8233c483a3c0d1d4

5 years agoMerge "Mark FrameMetricsObserver::notify() as pure virtual"
Treehugger Robot [Tue, 12 Feb 2019 19:31:18 +0000 (19:31 +0000)]
Merge "Mark FrameMetricsObserver::notify() as pure virtual"

5 years agoRESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp...
Hui Yu [Fri, 8 Feb 2019 23:28:45 +0000 (15:28 -0800)]
RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master

To pick up statsd atom ProcessStartTime.

Bug: None.
Test: NA.
Change-Id: If6b99c0b6b501036ffde1e9a45194a039a8d7c73
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2

5 years agoAddress API feedbacks for networktypebitmask
chen xu [Mon, 28 Jan 2019 03:41:40 +0000 (19:41 -0800)]
Address API feedbacks for networktypebitmask

1. change networktypebitmask from int to long
2. right shift definition by 1 for each bitmask, in consistent with
NW bitmask used in APN settings
3. add missing definition for IWLAN

Bug: 119118373
Test: atest CtsTelephonyTestCases:TelephonyManagerTest#testGetRadioAccessFamily
Change-Id: Idf0f88225c20fc0ed10ae4fccb705f988a3bec60
(cherry picked from commit 75b486e4c820e4d51c258fea43f959c92d797725)
Merged-in: Idf0f88225c20fc0ed10ae4fccb705f988a3bec60

5 years agoMerge "Schematize ADB system properties"
Treehugger Robot [Tue, 12 Feb 2019 18:35:23 +0000 (18:35 +0000)]
Merge "Schematize ADB system properties"

5 years agoUpdate documentation for SubscriptionManager listener
Jordan Liu [Tue, 12 Feb 2019 18:29:24 +0000 (10:29 -0800)]
Update documentation for SubscriptionManager listener

This will match the documentation in TM.listen() and PhoneStateListener.

Bug: 124204168
Test: no behavior change
Change-Id: Ifde6382e4b6947417a89032805499c48288f8438

5 years agoMerge "Remove duplicate networkstack-aidl-interfaces-java"
Steven Moreland [Tue, 12 Feb 2019 18:29:24 +0000 (18:29 +0000)]
Merge "Remove duplicate networkstack-aidl-interfaces-java"

5 years agoMerge "Remove ParcelFileDescriptor.aidl"
Steven Moreland [Tue, 12 Feb 2019 17:51:35 +0000 (17:51 +0000)]
Merge "Remove ParcelFileDescriptor.aidl"

5 years agoMerge "Remove unused build variable framework_docs_args"
Treehugger Robot [Tue, 12 Feb 2019 17:32:40 +0000 (17:32 +0000)]
Merge "Remove unused build variable framework_docs_args"

5 years agoMerge "Removed unused variables in cat service"
Jack Yu [Tue, 12 Feb 2019 16:52:48 +0000 (16:52 +0000)]
Merge "Removed unused variables in cat service"

5 years agoInclude /apex/com.android.runtime for native library in app classloader
Victor Chang [Thu, 7 Feb 2019 15:20:25 +0000 (15:20 +0000)]
Include /apex/com.android.runtime for native library in app classloader

Bug: 123702996
Test: Manual test. After moving libicuuc.so into the apex path,
  call System.loadLibrary("icuuc") in test app
Test: CtsJniTestCases pass after moving libicuuc into apex and applied
CTS patch here. http://r.android.com/898053

Change-Id: Ic9049c1595b4ea029ec65649c3f3283672744569

5 years agoUse filegroup name not contents in $(location ...)
Paul Duffin [Mon, 11 Feb 2019 15:40:28 +0000 (15:40 +0000)]
Use filegroup name not contents in $(location ...)

Bug: 124218911
Test: make checkbuild
Change-Id: I0427ed4c73e4cf06f09b520a886ccf6ed0d150b2

5 years agoRemove unused build variable framework_docs_args
Paul Duffin [Tue, 12 Feb 2019 12:37:20 +0000 (12:37 +0000)]
Remove unused build variable framework_docs_args

Bug: 124218911
Test: make checkbuild
Change-Id: I39c73bc8bee3824161e91967ec187ce60e838b48

5 years agoRevert "Delay start of bootanimation until after the Runtime APEX is mounted."
Jiyong Park [Mon, 28 Jan 2019 15:44:19 +0000 (00:44 +0900)]
Revert "Delay start of bootanimation until after the Runtime APEX is mounted."

This reverts commit d848183572d7c347937b871e9d341e0938d8764b.

Reason: the static deps to libnativeloader and libnativebridge no longer
exist

Bug: 123403798
Test: Device boots to the UI
Test: bootanimation is shown from the very beginning

Change-Id: I1a3f214b1d9a19520998c7d1f2d288465a831892

5 years agoCut the static deps from libandroid_runtime to libnativeloader and libnativebridge
Jiyong Park [Mon, 28 Jan 2019 15:39:04 +0000 (00:39 +0900)]
Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge

The dependencies are replaced with *_lazy libraries which dynamically
load and links to the real libraries at runtime using dlopen and dlsym.

This allows libandroid_runtime to be used by early processes that are executed
before the activation of the runtime APEX where libnativeloader and
libnativebridge are provided.

Bug: 123403798
Test: m
Test: device boots to the UI
Change-Id: I89a11bd0e9bef77db5da6d80840728b9a6f2a528

5 years agoMerge "Add getOrCreateCanonicalAddressId"
Leland Miller [Tue, 12 Feb 2019 08:54:04 +0000 (08:54 +0000)]
Merge "Add getOrCreateCanonicalAddressId"

5 years agoSupport multi-SIM entitlement check
markchien [Tue, 8 Jan 2019 15:52:21 +0000 (23:52 +0800)]
Support multi-SIM entitlement check

1. Trigger entitlement recheck when perferred SIM switch.
2. Get resources from preferred SIM's subId to build
   TetheringConfiguration.

Bug: 120069528
Bug: 122108346
Test: -atest FrameworksNetTests
      -build, flash, booted
      -manual hotspot hotspot with DSDS switch

Change-Id: Icbfa8e84d675c95c0c5563087490ca8e36d91b73
Merged-in: Icbfa8e84d675c95c0c5563087490ca8e36d91b73

5 years agoMerge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"
Remi NGUYEN VAN [Tue, 12 Feb 2019 04:47:43 +0000 (04:47 +0000)]
Merge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"

5 years agoMerge "Remove hard-coded NetworkStack package name"
Remi NGUYEN VAN [Tue, 12 Feb 2019 03:58:09 +0000 (03:58 +0000)]
Merge "Remove hard-coded NetworkStack package name"

5 years agoMerge "Grant Shell ability to clear instant app"
Treehugger Robot [Tue, 12 Feb 2019 03:42:40 +0000 (03:42 +0000)]
Merge "Grant Shell ability to clear instant app"

5 years agoMerge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"
Treehugger Robot [Tue, 12 Feb 2019 03:36:58 +0000 (03:36 +0000)]
Merge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"

5 years agoMerge "Add get/set PreferredNetworkTypeBitmap"
Pengquan Meng [Tue, 12 Feb 2019 03:08:57 +0000 (03:08 +0000)]
Merge "Add get/set PreferredNetworkTypeBitmap"

5 years agoSchematize ADB system properties
Kiyoung Kim [Thu, 27 Dec 2018 05:29:54 +0000 (14:29 +0900)]
Schematize ADB system properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I654c0e1f234d097a66f79ba8c019b8bebc794816
Merged-In: I654c0e1f234d097a66f79ba8c019b8bebc794816

5 years agoRemove ParcelFileDescriptor.aidl
Steven Moreland [Tue, 12 Feb 2019 02:54:09 +0000 (18:54 -0800)]
Remove ParcelFileDescriptor.aidl

This is now a built-in type in AIDL.

Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0

5 years agoMerge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Tue, 12 Feb 2019 01:24:44 +0000 (01:24 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoRemove duplicate networkstack-aidl-interfaces-java
Steven Moreland [Tue, 12 Feb 2019 01:11:54 +0000 (17:11 -0800)]
Remove duplicate networkstack-aidl-interfaces-java

Bug: N/A
Test: N/A
Change-Id: Id34a25e54f742d20e7d451e88d2712c9ed9cdd05

5 years agoMerge "Make isRebootRequiredForModemConfigChange SystemApi"
Nazanin Bakhshi [Tue, 12 Feb 2019 00:37:43 +0000 (00:37 +0000)]
Merge "Make isRebootRequiredForModemConfigChange SystemApi"

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Tue, 12 Feb 2019 00:33:34 +0000 (00:33 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoMerge "Check PBAP Server before disconnecting"
Joseph Pirozzo [Tue, 12 Feb 2019 00:29:30 +0000 (00:29 +0000)]
Merge "Check PBAP Server before disconnecting"

5 years agoMerge "Add owners for accessibility"
Treehugger Robot [Tue, 12 Feb 2019 00:07:59 +0000 (00:07 +0000)]
Merge "Add owners for accessibility"

5 years agoMerge "Clarify PhoneStateListener documentation"
Jordan Liu [Mon, 11 Feb 2019 23:57:49 +0000 (23:57 +0000)]
Merge "Clarify PhoneStateListener documentation"

5 years agoMerge "Add API to check if a SIM card matches carrier restrictions."
Michele Berionne [Mon, 11 Feb 2019 23:47:25 +0000 (23:47 +0000)]
Merge "Add API to check if a SIM card matches carrier restrictions."

5 years agoMerge changes from topics "118348832", "120945564"
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 23:19:17 +0000 (23:19 +0000)]
Merge changes from topics "118348832", "120945564"

* changes:
  Adding validationBeforeSwitchSupported in phoneCapability.
  Add API to handle user's subscription selection changes.

5 years agoConvert Android.mk file to Android.bp
Sasha Smundak [Mon, 11 Feb 2019 22:41:25 +0000 (14:41 -0800)]
Convert Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I52416790e1e4493dd4fe57404095351b8d37ea22

5 years agoConvert Android.mk file to Android.bp
Sasha Smundak [Mon, 11 Feb 2019 22:29:27 +0000 (14:29 -0800)]
Convert Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d

5 years agoMerge "Unhide RcsMessageStore APIs"
Sahin Caliskan [Mon, 11 Feb 2019 22:25:16 +0000 (22:25 +0000)]
Merge "Unhide RcsMessageStore APIs"

5 years agoMerge "Adding READ_PRECISE_CALL_STATE permission in phone app."
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 22:18:41 +0000 (22:18 +0000)]
Merge "Adding READ_PRECISE_CALL_STATE permission in phone app."

5 years agoRemoved unused variables in cat service
Jack Yu [Mon, 11 Feb 2019 21:48:58 +0000 (13:48 -0800)]
Removed unused variables in cat service

Test: build
Change-Id: I62448494ffddbf2a578302873c8758321766e3d7

5 years agoClarify PhoneStateListener documentation
Jordan Liu [Mon, 11 Feb 2019 19:36:49 +0000 (11:36 -0800)]
Clarify PhoneStateListener documentation

onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.

Fixes: 124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee

5 years agoMake isRebootRequiredForModemConfigChange SystemApi
Nazanin Bakhshi [Fri, 8 Feb 2019 20:45:31 +0000 (12:45 -0800)]
Make isRebootRequiredForModemConfigChange SystemApi

Bug: 124074656
Test: build
Change-Id: I32c6b0786d32b05d690cea862e977e6a2b756c90

5 years agoCheck PBAP Server before disconnecting
Joseph Pirozzo [Thu, 31 Jan 2019 18:58:22 +0000 (10:58 -0800)]
Check PBAP Server before disconnecting

Update disconnect logic to ensure that the proxy to the PBAP server
exists before issueing disconnect.  This brings the code in line with
several of the connect calls.

Bug: 123700890
Test: Disable PBAP server from config, and disconnect a paired device.
Change-Id: Ie14feb5c0fb70f1ed68ba21bc12b4d3349933cc6

5 years agoAdd getOrCreateCanonicalAddressId
Leland Miller [Fri, 25 Jan 2019 00:09:10 +0000 (16:09 -0800)]
Add getOrCreateCanonicalAddressId

This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.

Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0

5 years agoUnhide RcsMessageStore APIs
Sahin Caliskan [Thu, 7 Feb 2019 22:46:21 +0000 (14:46 -0800)]
Unhide RcsMessageStore APIs

This change unhides the RcsMessageStore APIs

Test: Existing tests pass. Repo upload didn't complain about anything
API related

Bug:109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc

5 years agoMerge "Deprecate ref... methods in MethodHandleInfo"
Paul Duffin [Mon, 11 Feb 2019 15:25:55 +0000 (15:25 +0000)]
Merge "Deprecate ref... methods in MethodHandleInfo"

5 years agoMerge "Fix regression in Dalvik:HEAP_TOTAL"
Andrei-Valentin Onea [Mon, 11 Feb 2019 11:26:46 +0000 (11:26 +0000)]
Merge "Fix regression in Dalvik:HEAP_TOTAL"

5 years agoAdd DynamicAndroidClient
Howard Chen [Thu, 3 Jan 2019 10:13:40 +0000 (18:13 +0800)]
Add DynamicAndroidClient

DynamicAndroidClient is the SystemApi to invoke DynamicAndroid
installation service. It also provides a listener for status update.

Bug: 122440941
Test: Compile and run on internal target
Change-Id: I1ea5e861ecaca1647b445eac57ed15a144be68e8
Merged-In: I1ea5e861ecaca1647b445eac57ed15a144be68e8

5 years agoMerge "Added handover support in the factory"
Jack Yu [Sat, 9 Feb 2019 20:22:03 +0000 (20:22 +0000)]
Merge "Added handover support in the factory"

5 years agoAdded handover support in the factory
Jack Yu [Fri, 8 Feb 2019 18:03:36 +0000 (10:03 -0800)]
Added handover support in the factory

Test: Manual
Bug: 73659459
Merged-In: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
Change-Id: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
(cherry picked from commit 5f1186eca98a1c5b0de29b1e69a400f8c42e84f0)

5 years agoMerge "Atom: add more information to BluetootSocketConnectionStateChanged"
Treehugger Robot [Sat, 9 Feb 2019 04:09:45 +0000 (04:09 +0000)]
Merge "Atom: add more information to BluetootSocketConnectionStateChanged"

5 years agoMerge "WebView: propose myself as OWNER"
Treehugger Robot [Sat, 9 Feb 2019 01:59:29 +0000 (01:59 +0000)]
Merge "WebView: propose myself as OWNER"

5 years agoUnzip offline-sdk-docs for m offline-sdk-docs or m docs
Colin Cross [Fri, 8 Feb 2019 19:33:33 +0000 (11:33 -0800)]
Unzip offline-sdk-docs for m offline-sdk-docs or m docs

offline-sdk-docs is the most useful target for local developers
verifying documentation changes.  Unzip offline-sdk-docs.zip
into out/target/common/docs/offline-sdk/ whenever the offline-sdk-docs
or docs targets are built.

Fixes: 124115897
Test: m offline-sdk-docs
Change-Id: I92ce65742e7475cc64a688f2b1893c96ecfd2a52

5 years agoDeprecate ref... methods in MethodHandleInfo
Paul Duffin [Fri, 8 Feb 2019 14:59:46 +0000 (14:59 +0000)]
Deprecate ref... methods in MethodHandleInfo

These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.

Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d

5 years agoMerge "Disable view compiler for protected storage"
Mathieu Chartier [Fri, 8 Feb 2019 13:34:08 +0000 (13:34 +0000)]
Merge "Disable view compiler for protected storage"