OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Remove NetworkParcelable" am: 205886d28f
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:55:26 +0000 (18:55 -0700)]
Merge "Remove NetworkParcelable" am: 205886d28f
am: 7201f61c57

Change-Id: Ice0f04749d2b7c2863ad18c29f5967649127ee0e

5 years agoMerge "Remove aidl wrappers for framework parcelables" am: 1a1396070e
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:50:17 +0000 (18:50 -0700)]
Merge "Remove aidl wrappers for framework parcelables" am: 1a1396070e
am: 7cf43a2f53

Change-Id: I41a07768ec8d9af2b7f16d86ee074c206b153b0c

5 years agoMerge "Remove NetworkParcelable"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:44:58 +0000 (18:44 -0700)]
Merge "Remove NetworkParcelable"
am: 205886d28f

Change-Id: I8dc6d665a33d19ecad2bd5f611c2b68e08d53b97

5 years agoMerge "Remove aidl wrappers for framework parcelables"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:41:05 +0000 (18:41 -0700)]
Merge "Remove aidl wrappers for framework parcelables"
am: 1a1396070e

Change-Id: Ib69a20153754018c951f504b5f14e91074526144

5 years agoMerge "Remove NetworkParcelable"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:25 +0000 (01:30 +0000)]
Merge "Remove NetworkParcelable"

5 years agoMerge "Remove aidl wrappers for framework parcelables"
Remi NGUYEN VAN [Mon, 18 Mar 2019 01:30:01 +0000 (01:30 +0000)]
Merge "Remove aidl wrappers for framework parcelables"

5 years agoMerge "revent NFE in SystemUI when parsing invalid int (2)" am: a5f53a59c7
Evan Laird [Sat, 16 Mar 2019 16:09:09 +0000 (09:09 -0700)]
Merge "revent NFE in SystemUI when parsing invalid int (2)" am: a5f53a59c7
am: fd19257a76

Change-Id: Ib0796abe20485873dec2772f57dbd8cedd255dfa

5 years agoMerge "revent NFE in SystemUI when parsing invalid int (2)"
Evan Laird [Sat, 16 Mar 2019 15:52:16 +0000 (08:52 -0700)]
Merge "revent NFE in SystemUI when parsing invalid int (2)"
am: a5f53a59c7

Change-Id: I1b0b6e8c7c01cf02426d1cbeec9196b285d6283a

5 years agoMerge "revent NFE in SystemUI when parsing invalid int (2)"
Evan Laird [Sat, 16 Mar 2019 15:43:04 +0000 (15:43 +0000)]
Merge "revent NFE in SystemUI when parsing invalid int (2)"

5 years agoMerge "CallRedirectionService API review" am: 1276a178fd
sqian [Sat, 16 Mar 2019 03:07:25 +0000 (20:07 -0700)]
Merge "CallRedirectionService API review" am: 1276a178fd
am: de633a49f1

Change-Id: Iedac1e363872fc390df007d5b4e977c03e725bdf

5 years agoMerge "ParcelFileDescriptor: improve javadoc." am: c4e2b24d87
Josh Gao [Sat, 16 Mar 2019 03:02:34 +0000 (20:02 -0700)]
Merge "ParcelFileDescriptor: improve javadoc." am: c4e2b24d87
am: bc7222d46d

Change-Id: I4a6d999b503985a84f44ad487bb36a505d80de6a

5 years agoMerge "CallRedirectionService API review"
sqian [Sat, 16 Mar 2019 02:56:23 +0000 (19:56 -0700)]
Merge "CallRedirectionService API review"
am: 1276a178fd

Change-Id: I4509bfabae430b97ee82c2939b9099dc5767f44a

5 years agoMerge "ParcelFileDescriptor: improve javadoc."
Josh Gao [Sat, 16 Mar 2019 02:52:34 +0000 (19:52 -0700)]
Merge "ParcelFileDescriptor: improve javadoc."
am: c4e2b24d87

Change-Id: Ic01db5d3f9c7527f2458aa4cf10bd2c43d685bed

5 years agoMerge "CallRedirectionService API review"
Treehugger Robot [Sat, 16 Mar 2019 02:42:29 +0000 (02:42 +0000)]
Merge "CallRedirectionService API review"

5 years agoMerge "ParcelFileDescriptor: improve javadoc."
Treehugger Robot [Sat, 16 Mar 2019 02:36:30 +0000 (02:36 +0000)]
Merge "ParcelFileDescriptor: improve javadoc."

5 years agoMerge "Cleanup unsupported appusage in Telecom apis." am: 90723afa47
Tyler Gunn [Sat, 16 Mar 2019 00:09:27 +0000 (17:09 -0700)]
Merge "Cleanup unsupported appusage in Telecom apis." am: 90723afa47
am: 545bace60f

Change-Id: If429c8987bdda6ade37364cc116ff0fcd01315a2

5 years agoMerge "Cleanup unsupported appusage in Telecom apis."
Tyler Gunn [Fri, 15 Mar 2019 23:51:04 +0000 (16:51 -0700)]
Merge "Cleanup unsupported appusage in Telecom apis."
am: 90723afa47

Change-Id: If983c7a0351138fcfb35d9060b0c17c7b9e2c69f

5 years agoMerge "Moved transport to IntDef" am: b7463a63d1
Jack Yu [Fri, 15 Mar 2019 23:40:23 +0000 (16:40 -0700)]
Merge "Moved transport to IntDef" am: b7463a63d1
am: f713c1ff26

Change-Id: I9a68e86efd37018db87dfb09af58fba8b99c3b15

5 years agoMerge "Cleanup unsupported appusage in Telecom apis."
Tyler Gunn [Fri, 15 Mar 2019 23:36:21 +0000 (23:36 +0000)]
Merge "Cleanup unsupported appusage in Telecom apis."

5 years agoMerge "Moved transport to IntDef"
Jack Yu [Fri, 15 Mar 2019 23:31:06 +0000 (16:31 -0700)]
Merge "Moved transport to IntDef"
am: b7463a63d1

Change-Id: I80d2bf5b3d195d4b05135006418ba4b638271f4f

5 years agoMerge "Moved transport to IntDef"
Treehugger Robot [Fri, 15 Mar 2019 23:21:29 +0000 (23:21 +0000)]
Merge "Moved transport to IntDef"

5 years agoMerge "Convert Android.mk file to Android.bp" am: 504a33a64e
Sasha Smundak [Fri, 15 Mar 2019 23:16:01 +0000 (16:16 -0700)]
Merge "Convert Android.mk file to Android.bp" am: 504a33a64e
am: c35c355dbb

Change-Id: I07ed85ddb9d9da89f09c2d403ef1edec6912307f

5 years agoMerge "[API feedback] api fixed for getSlotMapping" am: 9931252c3f
Pengquan Meng [Fri, 15 Mar 2019 23:08:01 +0000 (16:08 -0700)]
Merge "[API feedback] api fixed for getSlotMapping" am: 9931252c3f
am: 58fed7fac6

Change-Id: I858a9014859f6c44862165cc7a970bdc20176fe4

5 years agoMerge "Convert Android.mk file to Android.bp"
Sasha Smundak [Fri, 15 Mar 2019 23:02:49 +0000 (16:02 -0700)]
Merge "Convert Android.mk file to Android.bp"
am: 504a33a64e

Change-Id: I464c162ef26998c2c1c968e9da36b35fa36eabb1

5 years agoMerge "[API feedback] api fixed for getSlotMapping"
Pengquan Meng [Fri, 15 Mar 2019 22:58:45 +0000 (15:58 -0700)]
Merge "[API feedback] api fixed for getSlotMapping"
am: 9931252c3f

Change-Id: I68489daa92188232f3d1489226f71c14d5b2b14d

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Fri, 15 Mar 2019 22:49:30 +0000 (22:49 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoMerge "[API feedback] api fixed for getSlotMapping"
Pengquan Meng [Fri, 15 Mar 2019 22:38:46 +0000 (22:38 +0000)]
Merge "[API feedback] api fixed for getSlotMapping"

5 years agoMerge changes from topic "Porting-ONSAPIChanges" am: 31c7607ee6
Sooraj Sasindran [Fri, 15 Mar 2019 20:18:47 +0000 (13:18 -0700)]
Merge changes from topic "Porting-ONSAPIChanges" am: 31c7607ee6
am: f6b0d994a7

Change-Id: Idf128d17a2fac096ca5e28000648638c1d70fff2

5 years agoProvide network bands in AvailableNetworkInfo am: c9948da02a
Sooraj Sasindran [Fri, 15 Mar 2019 20:13:26 +0000 (13:13 -0700)]
Provide network bands in AvailableNetworkInfo am: c9948da02a
am: 3e08825d4c

Change-Id: Ibdfb3a26f2aea6d4c53a157b9045a9f3dca09176

5 years agoCallRedirectionService API review
sqian [Thu, 14 Mar 2019 20:41:33 +0000 (13:41 -0700)]
CallRedirectionService API review

Bug: 126699669
Test: Treehugger
Change-Id: I56944f6d487660ed447d081b6dfd2cb625087869

5 years agoMerge changes from topic "Porting-ONSAPIChanges"
Sooraj Sasindran [Fri, 15 Mar 2019 19:53:18 +0000 (12:53 -0700)]
Merge changes from topic "Porting-ONSAPIChanges"
am: 31c7607ee6

Change-Id: Ibca8c0202ff702be57f128b0cc24a8679d0a8083

5 years agoProvide network bands in AvailableNetworkInfo
Sooraj Sasindran [Fri, 15 Mar 2019 19:46:05 +0000 (12:46 -0700)]
Provide network bands in AvailableNetworkInfo
am: c9948da02a

Change-Id: Ib7ba8c29f8e8ed7237b5afcccf9d1694596f1263

5 years agoMerge changes from topic "Porting-ONSAPIChanges"
Sooraj Sasindran [Fri, 15 Mar 2019 19:31:55 +0000 (19:31 +0000)]
Merge changes from topic "Porting-ONSAPIChanges"

* changes:
  Should not turn on validation for data
  Provide network bands in AvailableNetworkInfo

5 years agoMerge "Update feature flag mapping owners" am: 16eab7c16d
Fan Zhang [Fri, 15 Mar 2019 19:31:45 +0000 (12:31 -0700)]
Merge "Update feature flag mapping owners" am: 16eab7c16d
am: 6d52af0b55

Change-Id: Id0249ae47337c5dca7c60cab580f4e1be4159486

5 years agoMerge "Update feature flag mapping owners"
Fan Zhang [Fri, 15 Mar 2019 19:22:29 +0000 (12:22 -0700)]
Merge "Update feature flag mapping owners"
am: 16eab7c16d

Change-Id: I2b51778fc7ed71066d95968bfef6053659945e8c

5 years agoMerge "Update feature flag mapping owners"
Fan Zhang [Fri, 15 Mar 2019 19:12:37 +0000 (19:12 +0000)]
Merge "Update feature flag mapping owners"

5 years agoRemove NetworkParcelable
Remi NGUYEN VAN [Thu, 14 Mar 2019 17:25:09 +0000 (02:25 +0900)]
Remove NetworkParcelable

With the @JavaOnlyStableParcelable annotation, Network can now be used
as-is as a framework parcelable.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126477266
Change-Id: I5d9695a31b3ac48d10edcf08ccd0c34375353b79

5 years agoRemove aidl wrappers for framework parcelables
Remi NGUYEN VAN [Wed, 13 Mar 2019 23:09:58 +0000 (08:09 +0900)]
Remove aidl wrappers for framework parcelables

The new @JavaOnlyStableParcelable annotation allows using the framework
parcelables directly, which removes a lot of boilerplate.

Includes new copy constructors for IpPrefix and LinkAddress so they can
be copied easily as-is into parcelables.

Test: atest FrameworksNetTests
Test: booted, WiFi works
Bug: 126477266

Change-Id: Icac8afe498d0b5ebf9a0d0b9eceb14d64a29b381

5 years agoMerge "Integrate testNetworkService and Manager with Connectivity stack" am: b86c3255fd
Benedict Wong [Fri, 15 Mar 2019 17:59:21 +0000 (10:59 -0700)]
Merge "Integrate testNetworkService and Manager with Connectivity stack" am: b86c3255fd
am: 016ac0a953

Change-Id: If9efbc3e0b3f0949286a2a5ad8226009ebbcfc07

5 years agoMerge "Integrate testNetworkService and Manager with Connectivity stack"
Benedict Wong [Fri, 15 Mar 2019 17:50:06 +0000 (10:50 -0700)]
Merge "Integrate testNetworkService and Manager with Connectivity stack"
am: b86c3255fd

Change-Id: I571e583d896841c814efe58b8c0875fa9cd3873c

5 years agoMerge "Integrate testNetworkService and Manager with Connectivity stack"
Benedict Wong [Fri, 15 Mar 2019 17:41:02 +0000 (17:41 +0000)]
Merge "Integrate testNetworkService and Manager with Connectivity stack"

5 years agoMerge "Fix ServiceState.hashCode() bug." am: 466ff7b990
Cody Kesting [Fri, 15 Mar 2019 16:25:22 +0000 (09:25 -0700)]
Merge "Fix ServiceState.hashCode() bug." am: 466ff7b990
am: 842fd65fe4

Change-Id: I968a368b97d74bb8f228df38cb8c0700ccb9b4b4

5 years agoMerge "Fix ServiceState.hashCode() bug."
Cody Kesting [Fri, 15 Mar 2019 16:11:09 +0000 (09:11 -0700)]
Merge "Fix ServiceState.hashCode() bug."
am: 466ff7b990

Change-Id: I9705b0857ecc5f9a809e7e640fbc35151d244211

5 years agoMerge "Fix ServiceState.hashCode() bug."
Cody Kesting [Fri, 15 Mar 2019 15:46:30 +0000 (15:46 +0000)]
Merge "Fix ServiceState.hashCode() bug."

5 years agoFix ServiceState.hashCode() bug.
Cody Kesting [Thu, 14 Mar 2019 17:35:23 +0000 (10:35 -0700)]
Fix ServiceState.hashCode() bug.

ServiceState currently overrides hashCode() incorrectly. It hashes an
Array field without using Arrays.hashCode(), meaning that the default
Object.hashCode() implementation is used (which is based on the address
of the Array field). This allows equivalent ServiceState instances to
produce different hashes.

Bug: 128609620
Test: atest CtsTelephonyTestCases:ServiceStateTest
Change-Id: I40a7d0b7ebab6d2a1be47ea63a6d223c4c13700b

5 years agoMerge "Bugreport Manager service clear binder identity" am: 1f6b8f50c1
Abhijeet Kaur [Fri, 15 Mar 2019 14:35:12 +0000 (07:35 -0700)]
Merge "Bugreport Manager service clear binder identity" am: 1f6b8f50c1
am: 32538e15a3

Change-Id: I50615918e195f60790ff6f9cadf2cfc063a682f8

5 years agoMerge "Bugreport Manager service clear binder identity"
Abhijeet Kaur [Fri, 15 Mar 2019 14:26:06 +0000 (07:26 -0700)]
Merge "Bugreport Manager service clear binder identity"
am: 1f6b8f50c1

Change-Id: Idc5d92ca9be7d20f57dcd6a376b96ed12cc382fc

5 years agoMerge "Bugreport Manager service clear binder identity"
Treehugger Robot [Fri, 15 Mar 2019 14:13:43 +0000 (14:13 +0000)]
Merge "Bugreport Manager service clear binder identity"

5 years agoMerge changes I39e84219,I8d0e12cb am: cae221acac
Nandana Dutt [Fri, 15 Mar 2019 10:47:20 +0000 (03:47 -0700)]
Merge changes I39e84219,I8d0e12cb am: cae221acac
am: 20324711c0

Change-Id: I6d345de879380cd2797008efa79e3befa978f136

5 years agoMerge changes I39e84219,I8d0e12cb
Nandana Dutt [Fri, 15 Mar 2019 10:39:51 +0000 (03:39 -0700)]
Merge changes I39e84219,I8d0e12cb
am: cae221acac

Change-Id: I5fe14b5b25a1b22e184aa02e658c81d9d0238541

5 years agoMerge changes I39e84219,I8d0e12cb
Treehugger Robot [Fri, 15 Mar 2019 10:28:06 +0000 (10:28 +0000)]
Merge changes I39e84219,I8d0e12cb

* changes:
  Bugreporting API: Take ownership of fds.
  Don't manage dumpstate lifecycle from system server

5 years agorevent NFE in SystemUI when parsing invalid int (2)
Henrik Baard [Thu, 14 Mar 2019 11:23:04 +0000 (12:23 +0100)]
revent NFE in SystemUI when parsing invalid int (2)

A user can change various tunable settings setting via adb.

If the value set is not an integer, SystemUI will end up in an exception
loop.

Test: No crash when running:
      adb exec-out settings put secure sysui_qs_move_whole_rows a
      adb exec-out settings put secure qs_show_brightness a
      adb exec-out settings put secure clock_seconds a
      adb exec-out settings put secure sysui_volume_down_silent a
      adb exec-out settings put secure sysui_volume_up_silent a
      adb exec-out settings put secure sysui_do_not_disturb a
Change-Id: If9c565cbdd44db25ba7fce381c98aa0ab735bfc4

5 years agoMerge "[KA02.5] Use binder thread and executor to invoke callback" am: f9ae70a41c
Junyu Lai [Fri, 15 Mar 2019 08:10:46 +0000 (01:10 -0700)]
Merge "[KA02.5] Use binder thread and executor to invoke callback" am: f9ae70a41c
am: 1ed9d716fc

Change-Id: I259ff770ce491d9dec5d136202bebf08e6de58e2

5 years agoMerge "[KA02.5] Use binder thread and executor to invoke callback"
Junyu Lai [Fri, 15 Mar 2019 07:53:55 +0000 (00:53 -0700)]
Merge "[KA02.5] Use binder thread and executor to invoke callback"
am: f9ae70a41c

Change-Id: I892d4f4dc786aa42dcbe565f345e9a731f318c8a

5 years agoMerge "[KA02.5] Use binder thread and executor to invoke callback"
Junyu Lai [Fri, 15 Mar 2019 07:35:27 +0000 (07:35 +0000)]
Merge "[KA02.5] Use binder thread and executor to invoke callback"

5 years agoMerge "Remove SMSDispatcher.sendData() from greylist as it's params changed" am:...
Amit Mahajan [Fri, 15 Mar 2019 04:11:52 +0000 (21:11 -0700)]
Merge "Remove SMSDispatcher.sendData() from greylist as it's params changed" am: fe86a00845
am: c911bc365e

Change-Id: Ia8a438259b450a1302f6d57e398dc9c99d69e1d8

5 years agoMerge "Initialize the NetworkStack before WiFi" am: 6d0186de88
Remi NGUYEN VAN [Fri, 15 Mar 2019 03:58:16 +0000 (20:58 -0700)]
Merge "Initialize the NetworkStack before WiFi" am: 6d0186de88
am: b07d868c53

Change-Id: I65ed1eb721d194c34fc475b461b28386eee206e0

5 years agoMerge "Remove SMSDispatcher.sendData() from greylist as it's params changed"
Amit Mahajan [Fri, 15 Mar 2019 03:51:50 +0000 (20:51 -0700)]
Merge "Remove SMSDispatcher.sendData() from greylist as it's params changed"
am: fe86a00845

Change-Id: If66d5c144751d213c7054c966af6327c45e51aa2

5 years agoMerge "Initialize the NetworkStack before WiFi"
Remi NGUYEN VAN [Fri, 15 Mar 2019 03:46:49 +0000 (20:46 -0700)]
Merge "Initialize the NetworkStack before WiFi"
am: 6d0186de88

Change-Id: If852f57a4164d1422605c3477d036cc953179620

5 years agoMerge "Remove SMSDispatcher.sendData() from greylist as it's params changed"
Treehugger Robot [Fri, 15 Mar 2019 03:42:09 +0000 (03:42 +0000)]
Merge "Remove SMSDispatcher.sendData() from greylist as it's params changed"

5 years agoMoved transport to IntDef
Jack Yu [Thu, 14 Mar 2019 22:42:09 +0000 (15:42 -0700)]
Moved transport to IntDef

Moved out from the sub class per API review feedback.

Test: Build
Bug: 128607082
Merged-In: I1b513bcaaa0ebf47c14593d962579ed48a7c6db0
Change-Id: I1b513bcaaa0ebf47c14593d962579ed48a7c6db0

5 years agoMerge "Initialize the NetworkStack before WiFi"
Treehugger Robot [Fri, 15 Mar 2019 03:26:34 +0000 (03:26 +0000)]
Merge "Initialize the NetworkStack before WiFi"

5 years agoMerge "API review: Telecom outgoing call Call redirection API" am: bac4d5b257
sqian [Fri, 15 Mar 2019 02:34:59 +0000 (19:34 -0700)]
Merge "API review: Telecom outgoing call Call redirection API" am: bac4d5b257
am: bcd431fd2f

Change-Id: Ib8f4bd78be6f47a489278359bb2838e6d1a4bbe6

5 years agoMerge "API review: Telecom outgoing call Call redirection API"
sqian [Fri, 15 Mar 2019 02:24:32 +0000 (19:24 -0700)]
Merge "API review: Telecom outgoing call Call redirection API"
am: bac4d5b257

Change-Id: Ia2b1be5f130c673bb691d9b54c7d9498ccd9472b

5 years agoMerge "API review: Telecom outgoing call Call redirection API"
Treehugger Robot [Fri, 15 Mar 2019 02:07:46 +0000 (02:07 +0000)]
Merge "API review: Telecom outgoing call Call redirection API"

5 years agoMerge "Rename some failed causes" am: f6382802ef
Paul Hu [Fri, 15 Mar 2019 01:06:24 +0000 (18:06 -0700)]
Merge "Rename some failed causes" am: f6382802ef
am: 4a862a637a

Change-Id: I0b9b904da6749028a6c8441550583a15a7acde4e

5 years agoMerge "Rename some failed causes"
Paul Hu [Fri, 15 Mar 2019 00:56:12 +0000 (17:56 -0700)]
Merge "Rename some failed causes"
am: f6382802ef

Change-Id: I01b6d267c4b2cbf23d6cdc2dea770f5da99fa155

5 years agoMerge "Rename some failed causes"
Paul Hu [Fri, 15 Mar 2019 00:43:42 +0000 (00:43 +0000)]
Merge "Rename some failed causes"

5 years agoUpdate feature flag mapping owners
Fan Zhang [Thu, 14 Mar 2019 23:25:38 +0000 (16:25 -0700)]
Update feature flag mapping owners

Test: rebuild

Change-Id: I288e039ffaf88ce271ba17bcc26f0e038314b354

5 years agoInitialize the NetworkStack before WiFi
Remi NGUYEN VAN [Thu, 14 Mar 2019 23:21:27 +0000 (08:21 +0900)]
Initialize the NetworkStack before WiFi

The NetworkStack needs to be marked as start requested before any client
can use it from the system server, so it knows to queue requests until
it actually comes up.

This fixes a bug introduced in commit:
I93315ad31925bd436e21d1eabb21d5967e6aae60
where a client trying to use the network stack in the system server
before ActivityManager.systemReady() could block and eventually timeout,
resulting in a null INetworkStackConnector.

Test: booted, WiFi working
Bug: 128620654

Change-Id: Ieca2657373eba78195b387fb266fa0424fce8ada

5 years agoMerge "Avoid IllegalArgumentException when bluetooth is disabled" am: 2a1bdd2429
Deqiang Chen [Thu, 14 Mar 2019 22:53:21 +0000 (15:53 -0700)]
Merge "Avoid IllegalArgumentException when bluetooth is disabled" am: 2a1bdd2429
am: 787e52045f

Change-Id: I3f55d6e7b56170ee4cafaf60e7ef8b908080c182

5 years agoMerge "Avoid IllegalArgumentException when bluetooth is disabled"
Deqiang Chen [Thu, 14 Mar 2019 22:41:33 +0000 (15:41 -0700)]
Merge "Avoid IllegalArgumentException when bluetooth is disabled"
am: 2a1bdd2429

Change-Id: I536b4ca701bed102c5c2914a6dbfa2393a646c6d

5 years agoMerge "Explain the difference of isValid, isActive, isUsable" am: 9c649215f6
Shuo Qian [Thu, 14 Mar 2019 22:30:10 +0000 (15:30 -0700)]
Merge "Explain the difference of isValid, isActive, isUsable" am: 9c649215f6
am: 614f1e0bba

Change-Id: Ia4f968479973a9fb5f1ccdf78145d7fc2429ef0a

5 years agoMerge "Avoid IllegalArgumentException when bluetooth is disabled"
Deqiang Chen [Thu, 14 Mar 2019 22:23:18 +0000 (22:23 +0000)]
Merge "Avoid IllegalArgumentException when bluetooth is disabled"

5 years agoMerge "Explain the difference of isValid, isActive, isUsable"
Shuo Qian [Thu, 14 Mar 2019 22:20:03 +0000 (15:20 -0700)]
Merge "Explain the difference of isValid, isActive, isUsable"
am: 9c649215f6

Change-Id: I8146a074fa87747e91a22da4a4bfb696dcc7deef

5 years agoMerge "Explain the difference of isValid, isActive, isUsable"
Shuo Qian [Thu, 14 Mar 2019 22:05:46 +0000 (22:05 +0000)]
Merge "Explain the difference of isValid, isActive, isUsable"

5 years agoRemove SMSDispatcher.sendData() from greylist as it's params changed
Amit Mahajan [Wed, 13 Mar 2019 22:36:33 +0000 (15:36 -0700)]
Remove SMSDispatcher.sendData() from greylist as it's params changed

Test: none
Bug: 120403639
Merged-in: Ib70dd739d8067ca2e37f0dbc6c48a2d625935a4b
Change-Id: I0218764fc02d3f6b9f12b3480aba9742a52b8413

5 years agoBugreport Manager service clear binder identity
Abhijeet Kaur [Thu, 28 Feb 2019 11:50:27 +0000 (11:50 +0000)]
Bugreport Manager service clear binder identity

Binder identity of the caller needs to be cleared before making a call
to ensureIsPrimaryUser() and is later restored for the rest of the code
to execute.

Test: Builds
Change-Id: Ida781b633efbea57a9442fb9a8a5f823f9acbe8b
Merged-In: Ida781b633efbea57a9442fb9a8a5f823f9acbe8b
(cherry picked from commit 99766179567464860585feeb669eb01619598a50)

5 years agoExplain the difference of isValid, isActive, isUsable
sqian [Tue, 30 Oct 2018 20:55:23 +0000 (13:55 -0700)]
Explain the difference of isValid, isActive, isUsable

Bug: 118675257
Test: compile
Change-Id: Ibec1bf7929991ca0e2910684f5216ab8372d4e95

5 years agoMerge "Add MANAGE_TEST_NETWORKS permission as @hide" am: 96f51fd970
Benedict Wong [Thu, 14 Mar 2019 18:15:14 +0000 (11:15 -0700)]
Merge "Add MANAGE_TEST_NETWORKS permission as @hide" am: 96f51fd970
am: 7a66b02e62

Change-Id: I1999d3c8c517f3f1369005b986f18105ef793dab

5 years agoMerge "Add MANAGE_TEST_NETWORKS permission as @hide"
Benedict Wong [Thu, 14 Mar 2019 17:59:14 +0000 (10:59 -0700)]
Merge "Add MANAGE_TEST_NETWORKS permission as @hide"
am: 96f51fd970

Change-Id: Ia5e9f3e7ba7024151d0f4fa595bf66daaa0fc948

5 years agoMerge "Add MANAGE_TEST_NETWORKS permission as @hide"
Benedict Wong [Thu, 14 Mar 2019 17:39:21 +0000 (17:39 +0000)]
Merge "Add MANAGE_TEST_NETWORKS permission as @hide"

5 years agoBugreporting API: Take ownership of fds.
Nandana Dutt [Wed, 13 Mar 2019 16:42:17 +0000 (16:42 +0000)]
Bugreporting API: Take ownership of fds.

BUG: 126434607
FIXES: 127649051
Test: manual
Change-Id: I39e8421925c53061b6bc2954dffe3bccb7b3314d

5 years ago[KA02.5] Use binder thread and executor to invoke callback
junyulai [Wed, 16 Jan 2019 12:23:34 +0000 (20:23 +0800)]
[KA02.5] Use binder thread and executor to invoke callback

Currently, client side of keepalive event handling rely on a
newly created thread, looper, messenger and handler per object.

However, by creating oneway AIDL interface with the executor,
the callbacks can be invoked on the binder thread with user
specified context, which not only greatly simplify the design
but also reduce the cost of current thread modeling.

Bug: 114151147
Bug: 123969871
Test: 1. atest FrameworksNetTests --generate-new-metric 10
      2. atest-deflake.sh

Change-Id: I27504074cd28d5b5eb94a7ec0e97ebaaaaa1ae3d

5 years agoMerge "Add a whitelist to control packages that can use Bugreporting API" am: 17492d0691
Nikita Ioffe [Thu, 14 Mar 2019 10:34:30 +0000 (03:34 -0700)]
Merge "Add a whitelist to control packages that can use Bugreporting API" am: 17492d0691
am: e54c0344de

Change-Id: I8545743ebce6206b2b8d747eb252a31282bc86cf

5 years agoMerge "Add a whitelist to control packages that can use Bugreporting API"
Nikita Ioffe [Thu, 14 Mar 2019 10:23:08 +0000 (03:23 -0700)]
Merge "Add a whitelist to control packages that can use Bugreporting API"
am: 17492d0691

Change-Id: If224c6522c89c53cb1d5e72a55d5aa051a4e0d02

5 years agoMerge "Add a whitelist to control packages that can use Bugreporting API"
Treehugger Robot [Thu, 14 Mar 2019 10:13:32 +0000 (10:13 +0000)]
Merge "Add a whitelist to control packages that can use Bugreporting API"

5 years agoAPI review: Telecom outgoing call Call redirection API
sqian [Wed, 13 Mar 2019 18:56:18 +0000 (11:56 -0700)]
API review: Telecom outgoing call Call redirection API

Bug: 126360354
Test: Treehugger
Change-Id: Id5b0b4aecb33ba4dc9629cc6bd2bb8836aedc653

5 years agoMerge "fix the issue that setPreferredNW send wrong RAT to HAL" am: 4837dbe536
Chen Xu [Thu, 14 Mar 2019 01:13:58 +0000 (18:13 -0700)]
Merge "fix the issue that setPreferredNW send wrong RAT to HAL" am: 4837dbe536
am: 3a720c6739

Change-Id: I2245e9a0fd7afac8835dbf1ead499153efa39e36

5 years agoMerge "fix the issue that setPreferredNW send wrong RAT to HAL"
Chen Xu [Thu, 14 Mar 2019 01:04:44 +0000 (18:04 -0700)]
Merge "fix the issue that setPreferredNW send wrong RAT to HAL"
am: 4837dbe536

Change-Id: I33e98b0f4ac9b0d7130b9e6b25fec5b76409e021

5 years agoMerge "fix the issue that setPreferredNW send wrong RAT to HAL"
Chen Xu [Thu, 14 Mar 2019 00:47:07 +0000 (00:47 +0000)]
Merge "fix the issue that setPreferredNW send wrong RAT to HAL"

5 years agoChange target SDK to '28'
Todd Kennedy [Wed, 13 Mar 2019 23:49:14 +0000 (16:49 -0700)]
Change target SDK to '28'
am: b0103b5ebb

Change-Id: If4e9acb9fef17a38013d532196a06091446f5bb2

5 years agoShould not turn on validation for data
Sooraj Sasindran [Thu, 28 Feb 2019 22:46:14 +0000 (14:46 -0800)]
Should not turn on validation for data

Should not turn on validation for data switch every time.
Provide result as a callback

Test: verified manually
Bug: 126264455
Merged-In: I5df2311d91fdab34563148b4466163696e52faf9
Change-Id: I5df2311d91fdab34563148b4466163696e52faf9

5 years agoMerge "Add me to owners for batterystats." am: 274ce2d831
Joe Onorato [Wed, 13 Mar 2019 22:14:10 +0000 (15:14 -0700)]
Merge "Add me to owners for batterystats." am: 274ce2d831
am: b5c0c5b1e8

Change-Id: Ifc47542faa17acc3da46826da0da09c981fc5066

5 years agoMerge "Should return the number of supported SIM cards" am: 09a4ee1988
Iris Chang [Wed, 13 Mar 2019 22:08:01 +0000 (15:08 -0700)]
Merge "Should return the number of supported SIM cards" am: 09a4ee1988
am: 52688c33ee

Change-Id: I122d3f77a55ae27005531bfe490ad35213892b4f

5 years agoMerge "Add me to owners for batterystats."
Joe Onorato [Wed, 13 Mar 2019 22:01:44 +0000 (15:01 -0700)]
Merge "Add me to owners for batterystats."
am: 274ce2d831

Change-Id: I778b676a418817917421fc0794793131e5fd5d3f

5 years agoMerge "Should return the number of supported SIM cards"
Iris Chang [Wed, 13 Mar 2019 21:57:06 +0000 (14:57 -0700)]
Merge "Should return the number of supported SIM cards"
am: 09a4ee1988

Change-Id: Ia8d237fa510ca47c4fcd04a7d28812612e01d248

5 years agoMerge "Fix issues associated with hold failure" am: df6e5604f3
Hall Liu [Wed, 13 Mar 2019 21:45:42 +0000 (14:45 -0700)]
Merge "Fix issues associated with hold failure" am: df6e5604f3
am: 9fefce6df5

Change-Id: Ib736c4b26fac7262727873cdccd510927226f8f9

5 years agoMerge "Add me to owners for batterystats."
Treehugger Robot [Wed, 13 Mar 2019 21:45:28 +0000 (21:45 +0000)]
Merge "Add me to owners for batterystats."

5 years agoProvide network bands in AvailableNetworkInfo
Sooraj Sasindran [Thu, 7 Mar 2019 23:52:59 +0000 (15:52 -0800)]
Provide network bands in AvailableNetworkInfo

Provide network bands in AvailableNetworkInfo

Test: verified using CTS and make
Bug: 123292899
Merged-In: I0d0a180eb4da3edf50a94ba621505ad95c7a262c
Change-Id: I0d0a180eb4da3edf50a94ba621505ad95c7a262c