OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf
Jack Yu [Wed, 10 Jan 2018 19:50:34 +0000 (19:50 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am: 5e90553bcf
am: 18bd9922fb

Change-Id: Ic5802a6f39715f042d18bb25dd3481c4c79b508f

6 years agoMerge "Revamp USB tethering startup flow." am: 90fddefd5e
Jerry Zhang [Wed, 10 Jan 2018 19:36:53 +0000 (19:36 +0000)]
Merge "Revamp USB tethering startup flow." am: 90fddefd5e
am: 375c0a55d8

Change-Id: Ied9a69a24126aab0aae131816fb6bf605e704554

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
Jack Yu [Wed, 10 Jan 2018 19:34:50 +0000 (19:34 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
am: 5e90553bcf

Change-Id: I777781ddf78e08373c1e5d4989374847b03800cd

6 years agoMerge "Don't wait for Bluetooth when shutting down" am: d9b3322e88
Myles Watson [Wed, 10 Jan 2018 19:32:21 +0000 (19:32 +0000)]
Merge "Don't wait for Bluetooth when shutting down" am: d9b3322e88
am: 9ae00d9d9a

Change-Id: I005548cc409547cc6bdb7182c6d9ea52b4a4a46d

6 years agoMerge "Revamp USB tethering startup flow."
Jerry Zhang [Wed, 10 Jan 2018 19:26:48 +0000 (19:26 +0000)]
Merge "Revamp USB tethering startup flow."
am: 90fddefd5e

Change-Id: Ica932756d19c7ac874ae822c9785e856dcf81db3

6 years agoMerge "Don't wait for Bluetooth when shutting down"
Myles Watson [Wed, 10 Jan 2018 19:22:23 +0000 (19:22 +0000)]
Merge "Don't wait for Bluetooth when shutting down"
am: d9b3322e88

Change-Id: I31142d6ac6b04d2cfb7fcfc721d251a956c81c11

6 years agoMerge "Added Cell identity for TD-SCDMA and a base class CellIdentity"
Jack Yu [Wed, 10 Jan 2018 18:39:53 +0000 (18:39 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity"

6 years agoMerge "Revamp USB tethering startup flow."
Jerry Zhang [Wed, 10 Jan 2018 18:38:44 +0000 (18:38 +0000)]
Merge "Revamp USB tethering startup flow."

6 years agoRevamp USB tethering startup flow.
Jerry Zhang [Wed, 20 Dec 2017 22:26:39 +0000 (14:26 -0800)]
Revamp USB tethering startup flow.

Modify usb tethering flow to no longer require
mUsbTetherRequested. The new simplified flow is:

1. Usb rndis function is set through UsbManager
2. Usb is configured with rndis enabled
3. We tether the USB interface
4. Usb is disconnected
5. We untether the USB interface

This allows USB tethering to be enabled through
either UsbManager or ConnectivityManager and aligns
the flow to be similar to other usb function services
such as MTP.

Bug: 62876645
Test: Enable and disable tethering through connectivity and with `svc
usb setFunction rndis`

Change-Id: Ica4203a499db177999302e099e28948b06ef2298

6 years agoMerge "Don't wait for Bluetooth when shutting down"
Treehugger Robot [Wed, 10 Jan 2018 18:19:03 +0000 (18:19 +0000)]
Merge "Don't wait for Bluetooth when shutting down"

6 years agoDon't wait for Bluetooth when shutting down
Myles Watson [Sat, 6 Jan 2018 00:12:54 +0000 (16:12 -0800)]
Don't wait for Bluetooth when shutting down

Bluetooth doesn't need to be shut down cleanly; shutting it down just
slows down the shutdown process.

Change-Id: I91fc9b26930a392f0c4462c76626a966051aea7b
Merged-In: Ic2ed89dd618806adc6646066ab0956dea4a94d8e
Bug: 70855323
Test: Boot, shut down, boot, shut down.

6 years agoMerge "Add precise disconnect cause in DisconnectCause" am: 8098078edf
Jordan Liu [Wed, 10 Jan 2018 17:23:05 +0000 (17:23 +0000)]
Merge "Add precise disconnect cause in DisconnectCause" am: 8098078edf
am: e77087994d

Change-Id: I1aae0435aa09faaeae396242fcd01cd6c7480527

6 years agoMerge "Add precise disconnect cause in DisconnectCause"
Jordan Liu [Wed, 10 Jan 2018 17:15:17 +0000 (17:15 +0000)]
Merge "Add precise disconnect cause in DisconnectCause"
am: 8098078edf

Change-Id: Idac4f27406b359bf51ae33f483d651e9e8316504

6 years agoMerge "Add precise disconnect cause in DisconnectCause"
Jordan Liu [Wed, 10 Jan 2018 17:06:14 +0000 (17:06 +0000)]
Merge "Add precise disconnect cause in DisconnectCause"

6 years agoAdded Cell identity for TD-SCDMA and a base class CellIdentity
Jack Yu [Thu, 28 Dec 2017 22:41:12 +0000 (14:41 -0800)]
Added Cell identity for TD-SCDMA and a base class CellIdentity

Added CellIdentityTdscdma for TDS-CDMA cell identity. Also added
a base class for existing CellIdentityXxx so that the network
service can return specific RAT cell identity through the
network service callback API which takes generic cell identity
as the parameter.

This is the preliminary change for IWLAN refactoring since cell
identity is part of the CS/PS network registration.

bug: 64132030
Test: Unit tests
Change-Id: I3ca405d687667b6c43e782339edec26a6f6edfc9

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:49:06 +0000 (05:49 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo." am: b01bd54b11
am: 6a5dc32ac3

Change-Id: I3d6df6f2bce5b6e19ce0ef2c13adc39fa1b9a862

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo."
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:35:48 +0000 (05:35 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo."
am: b01bd54b11

Change-Id: I98c726fc7d6fb91e16234773fe6423b7e111126e

6 years agoMerge "Merge EuiccProfile into EuiccProfileInfo."
Holly Jiuyu Sun [Wed, 10 Jan 2018 05:21:35 +0000 (05:21 +0000)]
Merge "Merge EuiccProfile into EuiccProfileInfo."

6 years agoMerge "Check null before calling clone()" am: e1bdd513d0
yinxu [Wed, 10 Jan 2018 03:28:45 +0000 (03:28 +0000)]
Merge "Check null before calling clone()" am: e1bdd513d0
am: 1c60aa03fc

Change-Id: Ie06c696c8805e188d1af3121c66f3180a9845c16

6 years agoMerge "Check null before calling clone()"
yinxu [Wed, 10 Jan 2018 03:18:37 +0000 (03:18 +0000)]
Merge "Check null before calling clone()"
am: e1bdd513d0

Change-Id: Ifabe6352c950f9d6ead4cbdd4345ef1fb20f065d

6 years agoMerge "Check null before calling clone()"
Treehugger Robot [Wed, 10 Jan 2018 03:07:26 +0000 (03:07 +0000)]
Merge "Check null before calling clone()"

6 years agoMerge "Exposed CDMA SID/NID get APIs" am: 0cb936a855
Jack Yu [Wed, 10 Jan 2018 02:39:54 +0000 (02:39 +0000)]
Merge "Exposed CDMA SID/NID get APIs" am: 0cb936a855
am: 46ffa48122

Change-Id: I4693b44d59a312def9f26ad54badd5533cd36dfd

6 years agoMerge "Exposed CDMA SID/NID get APIs"
Jack Yu [Wed, 10 Jan 2018 02:33:16 +0000 (02:33 +0000)]
Merge "Exposed CDMA SID/NID get APIs"
am: 0cb936a855

Change-Id: Iec76a777a126a10c012363247acb4b6a3516c008

6 years agoMerge "Exposed CDMA SID/NID get APIs"
Treehugger Robot [Wed, 10 Jan 2018 02:19:20 +0000 (02:19 +0000)]
Merge "Exposed CDMA SID/NID get APIs"

6 years agoMerge "Remove obsolete workaround." am: f448371208
Elliott Hughes [Wed, 10 Jan 2018 01:46:14 +0000 (01:46 +0000)]
Merge "Remove obsolete workaround." am: f448371208
am: 365604c300

Change-Id: Ia153c371b8833b926b3e643bf265e67a438dfd91

6 years agoMerge "Remove obsolete workaround."
Elliott Hughes [Wed, 10 Jan 2018 01:35:34 +0000 (01:35 +0000)]
Merge "Remove obsolete workaround."
am: f448371208

Change-Id: I2bd057c12b9915b9e45b206b9839d1a57b296f26

6 years agoMerge "Remove obsolete workaround."
Treehugger Robot [Wed, 10 Jan 2018 01:24:41 +0000 (01:24 +0000)]
Merge "Remove obsolete workaround."

6 years agoMerge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask...
Cassie Han [Wed, 10 Jan 2018 01:20:42 +0000 (01:20 +0000)]
Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually." am: 72acefa6d8
am: b51df90f28

Change-Id: I7045d6b684351e3545d24a52d16cb53d85483f20

6 years agoMerge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask...
Cassie Han [Wed, 10 Jan 2018 01:08:55 +0000 (01:08 +0000)]
Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually."
am: 72acefa6d8

Change-Id: I25ad45c52cdcb9b4bf3d21f4f3b71c68e8ace362

6 years agoMerge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask...
Cassie Han [Wed, 10 Jan 2018 00:55:32 +0000 (00:55 +0000)]
Merge "Expose a new public column network_type_bitmask and deprecate bearer_bitmask gradually."

6 years agoCheck null before calling clone()
yinxu [Wed, 10 Jan 2018 00:27:10 +0000 (16:27 -0800)]
Check null before calling clone()

Bug: 67748005
Test: Basic telephony sanity

Change-Id: Ia46a82823b2d3c2bf3a6cb77a6fe191a7f7cb5d0

6 years agoMerge "HFP: Add isInbandRingingEnabled() API (1/4)" am: b1065d6995
Jack He [Wed, 10 Jan 2018 00:26:33 +0000 (00:26 +0000)]
Merge "HFP: Add isInbandRingingEnabled() API (1/4)" am: b1065d6995
am: 8dbfc24e5f

Change-Id: I52fce02e6a0169dff418f4dae89ae54de7fd952d

6 years agoMerge "HFP: Add isInbandRingingEnabled() API (1/4)"
Jack He [Wed, 10 Jan 2018 00:18:15 +0000 (00:18 +0000)]
Merge "HFP: Add isInbandRingingEnabled() API (1/4)"
am: b1065d6995

Change-Id: Ia3112caa3971406cb0ef44cc25c19865a0b6ddf1

6 years agoMerge "HFP: Add isInbandRingingEnabled() API (1/4)"
Treehugger Robot [Wed, 10 Jan 2018 00:07:11 +0000 (00:07 +0000)]
Merge "HFP: Add isInbandRingingEnabled() API (1/4)"

6 years agoMerge "Add isMobileDataEnabled in TelephonyManager." am: ed7eead23b
Malcolm Chen [Wed, 10 Jan 2018 00:06:27 +0000 (00:06 +0000)]
Merge "Add isMobileDataEnabled in TelephonyManager." am: ed7eead23b
am: 6b943d5deb

Change-Id: I132cc6d3de77f20717a40884683fb0c81fbb7083

6 years agoMerged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of...
Kevin Hufnagle [Tue, 9 Jan 2018 23:59:29 +0000 (23:59 +0000)]
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of binding and connecting to services. am: d195a9972b am: 800e061359
am: 0630348fa5

Change-Id: I0ccaa18cf5a9e84c5f015cf4b97b74a249348c93

6 years agoMerge "Add isMobileDataEnabled in TelephonyManager."
Malcolm Chen [Tue, 9 Jan 2018 23:55:47 +0000 (23:55 +0000)]
Merge "Add isMobileDataEnabled in TelephonyManager."
am: ed7eead23b

Change-Id: I851529bc4b5507ffa04c07a840aeba6eb3c7f94b

6 years agoMerged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of...
Kevin Hufnagle [Tue, 9 Jan 2018 23:51:10 +0000 (23:51 +0000)]
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of binding and connecting to services. am: d195a9972b
am: 800e061359

Change-Id: I3854641ab4f80f4bbeae9acd67522fcd8b8484c0

6 years agoMerge "Add isMobileDataEnabled in TelephonyManager."
Treehugger Robot [Tue, 9 Jan 2018 23:46:55 +0000 (23:46 +0000)]
Merge "Add isMobileDataEnabled in TelephonyManager."

6 years agoMerged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of...
Kevin Hufnagle [Tue, 9 Jan 2018 23:44:04 +0000 (23:44 +0000)]
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e docs: Revised descriptions of binding and connecting to services.
am: d195a9972b

Change-Id: I7a59a3b8c18492961aea7f480276a401ab8bb6ae

6 years agoHFP: Add isInbandRingingEnabled() API (1/4)
Jack He [Sat, 6 Jan 2018 01:17:06 +0000 (17:17 -0800)]
HFP: Add isInbandRingingEnabled() API (1/4)

* Use BluetoothHeadset.isInbandRingingEnabled() API to check whether
  in-band ringing is currently enabled in the system when deciding on
  audio routes for ringtone
* Add this as a hidden internal API for system components

Bug: 71646213
Test: make, toggle in-band ringing from Development Settings and observe
      whether Telecom service tries to open SCO when there is an
      incoming call

Change-Id: I1ef0dd2b54ace7649ddd1f043f0ef5847743a5c4

6 years agoMerge "Add connection serivce focus api interface" am: 2f37060ee0
Pengquan Meng [Tue, 9 Jan 2018 23:13:15 +0000 (23:13 +0000)]
Merge "Add connection serivce focus api interface" am: 2f37060ee0
am: ed673edbf0

Change-Id: I581b75dcaf63f73150faac9d34e78ccd267eb1cd

6 years agoMerge EuiccProfile into EuiccProfileInfo.
Holly Jiuyu Sun [Thu, 7 Dec 2017 23:35:49 +0000 (15:35 -0800)]
Merge EuiccProfile into EuiccProfileInfo.

After EuiccCard is moved to the platform, it can depend on
EuiccProfileInfo directly.

Bug: 70292228
Test: unit test
Change-Id: Ibe2c61ce9c4d2c99bac1cd9df8bb62414c46feee

6 years agoMerge "Add connection serivce focus api interface"
Pengquan Meng [Tue, 9 Jan 2018 23:06:10 +0000 (23:06 +0000)]
Merge "Add connection serivce focus api interface"
am: 2f37060ee0

Change-Id: I0797828f9d8edee95b1b8ce8c838c766f5775f97

6 years agoMerge "Add connection serivce focus api interface"
Treehugger Robot [Tue, 9 Jan 2018 22:54:42 +0000 (22:54 +0000)]
Merge "Add connection serivce focus api interface"

6 years agoRemove obsolete workaround.
Elliott Hughes [Tue, 9 Jan 2018 22:44:10 +0000 (14:44 -0800)]
Remove obsolete workaround.

Bug: http://b/24465209
Test: manually ran the app.
Change-Id: Id64e92875417e62ae225c3369cf6bf58048dcc97

6 years agoMerge "BluetoothProfile: Add Object Push Profile (OPP)" am: 37275780c0
Myles Watson [Tue, 9 Jan 2018 22:26:57 +0000 (22:26 +0000)]
Merge "BluetoothProfile: Add Object Push Profile (OPP)" am: 37275780c0
am: 152b4f28b0

Change-Id: I765260e8358d6c7f34a72b5f3ef4601579aebf03

6 years agoMerge "BluetoothProfile: Add Object Push Profile (OPP)"
Myles Watson [Tue, 9 Jan 2018 22:19:53 +0000 (22:19 +0000)]
Merge "BluetoothProfile: Add Object Push Profile (OPP)"
am: 37275780c0

Change-Id: Ie3c40bcfd0f0eee0f8fe1ed8cac680f2c139de0f

6 years agoMerge "BluetoothProfile: Add Object Push Profile (OPP)"
Treehugger Robot [Tue, 9 Jan 2018 22:10:01 +0000 (22:10 +0000)]
Merge "BluetoothProfile: Add Object Push Profile (OPP)"

6 years agoMerge "Move zygote's seccomp setup to post-fork" am: 5d33c10a96
Victor Hsieh [Tue, 9 Jan 2018 21:58:58 +0000 (21:58 +0000)]
Merge "Move zygote's seccomp setup to post-fork" am: 5d33c10a96
am: b629f9e12c

Change-Id: I7d4c6b22c70955a9f594b0e55149a203df56f6fc

6 years agoMerge "Move zygote's seccomp setup to post-fork"
Victor Hsieh [Tue, 9 Jan 2018 21:51:57 +0000 (21:51 +0000)]
Merge "Move zygote's seccomp setup to post-fork"
am: 5d33c10a96

Change-Id: I1baf09c5b8924e070b473725548faf8a5b48a623

6 years agoMerge "Move zygote's seccomp setup to post-fork"
Treehugger Robot [Tue, 9 Jan 2018 21:41:19 +0000 (21:41 +0000)]
Merge "Move zygote's seccomp setup to post-fork"

6 years agodocs: Adding file to support staging reference docs
Andrew Solovay [Tue, 9 Jan 2018 21:35:52 +0000 (21:35 +0000)]
docs: Adding file to support staging reference docs
am: c40eccd9ad

Change-Id: I1fd3ee5b710619db76e8c488e1bfaf00950e0b05

6 years agoMerge "Fix sync initialization on secondary users" am: 99f99a52e7
Makoto Onuki [Tue, 9 Jan 2018 21:13:15 +0000 (21:13 +0000)]
Merge "Fix sync initialization on secondary users" am: 99f99a52e7
am: ad4c0c4add

Change-Id: I6f991fc7e2186253852cabf55ea95a6a0fbeb6da

6 years agoMerge "Fix sync initialization on secondary users"
Makoto Onuki [Tue, 9 Jan 2018 21:06:07 +0000 (21:06 +0000)]
Merge "Fix sync initialization on secondary users"
am: 99f99a52e7

Change-Id: I29f9430a6a3fb8c8a77621f68b0af37b94e3be21

6 years agoMerge "Fix sync initialization on secondary users"
Treehugger Robot [Tue, 9 Jan 2018 20:56:47 +0000 (20:56 +0000)]
Merge "Fix sync initialization on secondary users"

6 years agoMerge "Fix ResolverActivity don't show items" am: e251bb72ed
gaochong [Tue, 9 Jan 2018 20:47:22 +0000 (20:47 +0000)]
Merge "Fix ResolverActivity don't show items" am: e251bb72ed
am: 7fd3a8d08b

Change-Id: Ia76b696bcd1ec5763ec3da41fae4c8c2bce9b820

6 years agoMerge "Fix ResolverActivity don't show items"
gaochong [Tue, 9 Jan 2018 20:39:35 +0000 (20:39 +0000)]
Merge "Fix ResolverActivity don't show items"
am: e251bb72ed

Change-Id: Id4877102db82616c5ad1c6e929721fbddb92b129

6 years agoMerge "Fix ResolverActivity don't show items"
Treehugger Robot [Tue, 9 Jan 2018 20:30:29 +0000 (20:30 +0000)]
Merge "Fix ResolverActivity don't show items"

6 years agoExposed CDMA SID/NID get APIs
Jack Yu [Tue, 2 Jan 2018 23:51:34 +0000 (15:51 -0800)]
Exposed CDMA SID/NID get APIs

Made two existing hidden APIs getSystemId() and getNetworkId()
into public APIs.

Test: Telephony sanity tests
bug: 32718590
Change-Id: I436bd2699f8f805def753878d93e7dbf524e5f44

6 years agoMerged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
Kevin Hufnagle [Thu, 29 Jun 2017 22:58:48 +0000 (15:58 -0700)]
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
docs: Revised descriptions of binding and connecting to services.

Clarified that Context.bindService() returning true only indicates
that the system has found a service to bind to the client and that
ServiceConnection.onServiceConnected() might not be called if the
service encounters an error, such as crashing during startup.

Test: make ds-docs

Bug: 63118511
Change-Id: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e

6 years agoMove zygote's seccomp setup to post-fork
Victor Hsieh [Wed, 20 Dec 2017 17:51:51 +0000 (09:51 -0800)]
Move zygote's seccomp setup to post-fork

Before this change, seccomp filter setup is as early as in zygote's main
function.  To make it possible to split app and system server's filter,
this postpone the setup to after fork.  It also starts to call app
specific and system server specific setup function.

In terms of performance since this happens at fork, the measure shows
the overhead is negligible.  Assuming 130 instruction in the BPF, on
walleye, even when running on little core with fixed low frequency, each
setup took about 60.9us on average.  When it runs on big core with
higher frequency, it took about 39.3us.

Test: (cts) -m CtsSecurityTestCases -t android.security.cts.SeccompTest
Bug: 63944145

Change-Id: I748735b478405098beac1e200d911c13ea60e380
Merged-In: I748735b478405098beac1e200d911c13ea60e380

6 years agoMerge "Remove hashing for PII in Telecom Logging" am: e77808d936
Brad Ebinger [Tue, 9 Jan 2018 19:55:12 +0000 (19:55 +0000)]
Merge "Remove hashing for PII in Telecom Logging" am: e77808d936
am: 388aca53f1

Change-Id: I6e6ab2560ef73816dad5eff2b40f632fbdcefe33

6 years agoMerge "Add validation to IpSecConfig algorithm setters" am: a954f20f46
Benedict Wong [Tue, 9 Jan 2018 19:51:19 +0000 (19:51 +0000)]
Merge "Add validation to IpSecConfig algorithm setters" am: a954f20f46
am: c93df5ca1c

Change-Id: I45289bc8e8b93f7eb912a76a10b951b1a615338a

6 years agoMerge "Add patb to owners" am: a2525e506d
Todd Kennedy [Tue, 9 Jan 2018 19:47:27 +0000 (19:47 +0000)]
Merge "Add patb to owners" am: a2525e506d
am: d14b30205c

Change-Id: Idc8607b6a377a560a1a713de8153068ab25594ea

6 years agoMerge "Rename RadioNetworkConstants to NetworkConstants." am: 289b3fbca8
Malcolm Chen [Tue, 9 Jan 2018 19:43:02 +0000 (19:43 +0000)]
Merge "Rename RadioNetworkConstants to NetworkConstants." am: 289b3fbca8
am: 4d2ffac581

Change-Id: I349cd20ecbcb801a1e93d4a215d65df432f5df69

6 years agoMerge "Only count uncleared ProxyMap refs when deciding to crash" am: 90027eb1c2
Hans Boehm [Tue, 9 Jan 2018 19:38:55 +0000 (19:38 +0000)]
Merge "Only count uncleared ProxyMap refs when deciding to crash" am: 90027eb1c2
am: c9e7c10afb

Change-Id: I70169c5eeb5dbdaa751ea7b9369feb3663d79952

6 years agoMerge "Don't wait for NFC when shutting down." am: 5d286326b1
Ruchi Kandoi [Tue, 9 Jan 2018 19:35:09 +0000 (19:35 +0000)]
Merge "Don't wait for NFC when shutting down." am: 5d286326b1
am: a9d1e2a922

Change-Id: Idcc78ffebaa359110b85fbda8569c7dd71b3ec68

6 years agoMerge "Remove hashing for PII in Telecom Logging"
Brad Ebinger [Tue, 9 Jan 2018 19:26:18 +0000 (19:26 +0000)]
Merge "Remove hashing for PII in Telecom Logging"
am: e77808d936

Change-Id: Ib3e5180536ded4094c65476f5d5203f6c094f204

6 years agoMerge "Remove hashing for PII in Telecom Logging"
Brad Ebinger [Tue, 9 Jan 2018 19:18:42 +0000 (19:18 +0000)]
Merge "Remove hashing for PII in Telecom Logging"

6 years agoAdd connection serivce focus api interface
Pengquan Meng [Wed, 22 Nov 2017 02:01:13 +0000 (18:01 -0800)]
Add connection serivce focus api interface

This add new api interface to ConnectionService to support the
connection service focus api.

Bug: 69651192
Test: manually

Change-Id: Iea49d95b086d32a0ebaf8e9f34fe4556953a0fd5
Merged-In: Iea49d95b086d32a0ebaf8e9f34fe4556953a0fd5

6 years agoMerge "Add validation to IpSecConfig algorithm setters"
Benedict Wong [Tue, 9 Jan 2018 18:31:14 +0000 (18:31 +0000)]
Merge "Add validation to IpSecConfig algorithm setters"
am: a954f20f46

Change-Id: I7d241a4348fd1339ff7475ee9301c7fe6c7453c0

6 years agoMerge "Add validation to IpSecConfig algorithm setters"
Benedict Wong [Tue, 9 Jan 2018 18:18:28 +0000 (18:18 +0000)]
Merge "Add validation to IpSecConfig algorithm setters"

6 years agoMerge "Add patb to owners"
Todd Kennedy [Tue, 9 Jan 2018 17:31:44 +0000 (17:31 +0000)]
Merge "Add patb to owners"
am: a2525e506d

Change-Id: Iae9eaea2fee3253155c957a000ca7eeb80474503

6 years agoMerge "Add patb to owners"
Todd Kennedy [Tue, 9 Jan 2018 17:21:12 +0000 (17:21 +0000)]
Merge "Add patb to owners"

6 years agoAdd patb to owners
Todd Kennedy [Tue, 9 Jan 2018 17:19:15 +0000 (09:19 -0800)]
Add patb to owners

Test: None
Change-Id: I70429cd02fac901efd16e47e6566358c78ae0e23

6 years agoMerge "Rename RadioNetworkConstants to NetworkConstants."
Malcolm Chen [Tue, 9 Jan 2018 07:11:43 +0000 (07:11 +0000)]
Merge "Rename RadioNetworkConstants to NetworkConstants."
am: 289b3fbca8

Change-Id: Ic7d966c3e7ce1b8adc9ca3acd461d6e65df2cffe

6 years agoMerge "Rename RadioNetworkConstants to NetworkConstants."
Treehugger Robot [Tue, 9 Jan 2018 07:04:01 +0000 (07:04 +0000)]
Merge "Rename RadioNetworkConstants to NetworkConstants."

6 years agoFix ResolverActivity don't show items
gaochong [Tue, 9 Jan 2018 06:02:23 +0000 (14:02 +0800)]
Fix ResolverActivity don't show items

ResolverActivity sort the list resolved intent with AsyncTask.
The method sort hold CountDownLatch to wait the time-consuming
operation. In some case, the operation doesn't end and the
CountDownLatch can't be released.The default excutor of AsyncTask
is serial. There should release CountDownLatch in destroy()
to avoid this case.

Change-Id: Ie10126f735d9f511dfe086c21f3f5ffaeb831086
Signed-off-by: gaochong <gaochong@xiaomi.com>
Test: manual - repeatedly test ResolverActivity show correctly
Bug: 71730061

6 years agoMerge "Only count uncleared ProxyMap refs when deciding to crash"
Hans Boehm [Tue, 9 Jan 2018 04:46:32 +0000 (04:46 +0000)]
Merge "Only count uncleared ProxyMap refs when deciding to crash"
am: 90027eb1c2

Change-Id: I56471aa9ac0b93e3280b48fed3b29ad2b743cf39

6 years agoMerge "Only count uncleared ProxyMap refs when deciding to crash"
Hans Boehm [Tue, 9 Jan 2018 04:35:31 +0000 (04:35 +0000)]
Merge "Only count uncleared ProxyMap refs when deciding to crash"

6 years agoAdd isMobileDataEnabled in TelephonyManager.
Malcolm Chen [Tue, 28 Nov 2017 23:57:14 +0000 (15:57 -0800)]
Add isMobileDataEnabled in TelephonyManager.

Added a new hidden API isMobileDataEnabled in TelephonyManager.
Rename related APIs to isUserMobileDataEnabled,
isUserMobileDataEnabled and setUserMobileDataEnabled to better
clarify their functionality.

Bug: 69814555
Test: build
Change-Id: I2f186f1e7550cafbe4ee3a5af293c39274cbfeaa
Merged-In: I2f186f1e7550cafbe4ee3a5af293c39274cbfeaa

6 years agoBluetoothProfile: Add Object Push Profile (OPP)
Myles Watson [Fri, 5 Jan 2018 21:54:34 +0000 (13:54 -0800)]
BluetoothProfile: Add Object Push Profile (OPP)

Test: toggle Bluetooth
Change-Id: I5aec940ba3d6c6364c2de667426d98d0b3cea0c6

6 years agoMerge "Don't wait for NFC when shutting down."
Ruchi Kandoi [Tue, 9 Jan 2018 00:01:09 +0000 (00:01 +0000)]
Merge "Don't wait for NFC when shutting down."
am: 5d286326b1

Change-Id: Ie1a26e5b7905fc7b1a6dbe0e1ee8f80c1030d1cc

6 years agodocs: Adding file to support staging reference docs
Andrew Solovay [Mon, 8 Jan 2018 23:57:29 +0000 (15:57 -0800)]
docs: Adding file to support staging reference docs

We use the devsite tool to stage reference docs for review (to
go/dac-stage). That tool is currently broken, because it's expecting
to find a _reference-head-tags.html file which currently exists in
Piper but not in Gerrit. Copying that file into Gerrit lets us
build the Javadocs and stage them. (Files in p/f/b/docs don't
generally affect anything outside of the doc builds.)

Tested by building docs and staging Adapter.html to:
go/dac-stage/reference/android/widget/Adapter.html

Test: make ds-docs
Bug: 71717397
Change-Id: I05430f2d9f23e62b4423b2d6f304c4be1c43b880

6 years agoMerge "Don't wait for NFC when shutting down."
Treehugger Robot [Mon, 8 Jan 2018 23:49:06 +0000 (23:49 +0000)]
Merge "Don't wait for NFC when shutting down."

6 years agoDon't wait for NFC when shutting down.
Ruchi Kandoi [Wed, 18 Oct 2017 20:06:40 +0000 (13:06 -0700)]
Don't wait for NFC when shutting down.

NFC doesn't store any state before powering off, and hence it is okay to
not wait for it while shutting down.

Bug: 65761561
Test: Boot and shutdown
Change-Id: Ic8243bdb9c6d12daf6cff5784046286bfa8f4d53
(cherry picked from commit 20bc30f4cedff1043c4c665cfe68f7d7fd16a801)
Merged-In: Ic8243bdb9c6d12daf6cff5784046286bfa8f4d53

6 years agoOnly count uncleared ProxyMap refs when deciding to crash
Hans Boehm [Wed, 3 Jan 2018 01:36:27 +0000 (17:36 -0800)]
Only count uncleared ProxyMap refs when deciding to crash

Add a method to compute the size of a ProxyMap without cleared
references. Use it in the crash decision. Report both counts, as
well as the count after a forced GC before actually crashing.

Rename the histogram generating function after a small refactoring
to make that easier.

When we crash, we now generate a message like the following
(generated here with reduced thresholds):

01-03 01:40:52.273  4793  4947 E JavaBinder: java.lang.AssertionError:
Binder ProxyMap has too many entries: 277 (total), 275 (uncleared),
257 (after GC). BinderProxy leak?

after the histogram. Unfortunately, the intervening GC may take some
time, and other intervening messages may sneak into the log between
them.

Experiments so far suggest that none of this greatly affects the
decision when to die. But this eliminates uncertainty as to whether
there was really a problem.

Bug: 71353150

Test: Tested with reduced thresholds, and then booted AOSP.
Change-Id: I53f24bae23eedcdb78a1c32296c65692b7bb2c42

6 years agoMerge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config...
Cassie Han [Mon, 8 Jan 2018 21:28:02 +0000 (21:28 +0000)]
Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config." am: 9c1279d2ae
am: 28dd9dfeb5

Change-Id: I9b8a48709850b545b806fb605d1d94e9cdefe1d0

6 years agoMerge "Add a Java FindAddress implentation." am: 9ea410a6f8
Toby Sargeant [Mon, 8 Jan 2018 21:23:45 +0000 (21:23 +0000)]
Merge "Add a Java FindAddress implentation." am: 9ea410a6f8
am: da4e3b68fb

Change-Id: I7b2448fcb2edb4bc9000fd5e55f7295e6c6ff676

6 years agoMerge "Remove obsolete aidl list" am: abac8f7a86
Colin Cross [Mon, 8 Jan 2018 21:20:44 +0000 (21:20 +0000)]
Merge "Remove obsolete aidl list" am: abac8f7a86
am: 6b8fff4eb5

Change-Id: If5a5bf062a0fa586349763da9654b698dae0b30d

6 years agoMerge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annot...
Jack He [Mon, 8 Jan 2018 21:13:52 +0000 (21:13 +0000)]
Merge changes from topics "bt-hfp-add-set-active-device-method", "bt-system-api-annotations" am: 25259faa27
am: d16d93361b

Change-Id: I525cbc81c450afafd3fcedaf7b1b5e4b17a4162a

6 years agoMerge "Move to libc++ from stlport." am: c6dd5f9037
Dan Albert [Mon, 8 Jan 2018 21:09:59 +0000 (21:09 +0000)]
Merge "Move to libc++ from stlport." am: c6dd5f9037
am: 81da46f982

Change-Id: I3c7f169097ef1c4d17263893a18ad21b9dae7d49

6 years agoMerge "Add virtual dtor for virtual classes" am: 27f61a94d6
Yi Kong [Mon, 8 Jan 2018 21:07:09 +0000 (21:07 +0000)]
Merge "Add virtual dtor for virtual classes" am: 27f61a94d6
am: 2d7813a4a7

Change-Id: I8787ff83ec93f5a8ae2e08e1af573d13750d9aa5

6 years agoMerge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079
Pavlin Radoslavov [Mon, 8 Jan 2018 21:02:01 +0000 (21:02 +0000)]
Merge "Added internal API to get/set the A2DP Active Device" am: 6efee9c079
am: e3428dae04

Change-Id: If220447db71398cc305eb7a702896e21959110c8

6 years agoMerge "Generic Mutable class for HIDL code." am: 0f05ce94c3
Steven Moreland [Mon, 8 Jan 2018 20:25:30 +0000 (20:25 +0000)]
Merge "Generic Mutable class for HIDL code." am: 0f05ce94c3
am: a4ac12c3ac

Change-Id: I1914e805b15064b40b963840eddf87a0bbd41169

6 years agoMerge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643
Jack He [Mon, 8 Jan 2018 20:20:19 +0000 (20:20 +0000)]
Merge "Bluetooth: Remove strings for enabling inband ringing" am: 02a0397643
am: 37f987d7ee

Change-Id: I2d5a62b3eb22bd10c350495726307674107778b4

6 years agoMerge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73
nharold [Mon, 8 Jan 2018 20:16:08 +0000 (20:16 +0000)]
Merge changes from topic "ipsec-resource-id-cleanup" am: 2b36299c73
am: d7319df4d0

Change-Id: If6ab575e2f30fc70d73e6f8787c87f3c7a2ab09d

6 years agoMerge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config."
Cassie Han [Mon, 8 Jan 2018 17:32:39 +0000 (17:32 +0000)]
Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config."
am: 9c1279d2ae

Change-Id: I2c5c351cbe01bd5bd66d15a382ff6df5bede8c6a

6 years agoMerge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config."
Cassie Han [Mon, 8 Jan 2018 17:25:26 +0000 (17:25 +0000)]
Merge "Migrate flag config_telephony_use_own_number_for_voicemail to Carrier Config."