OSDN Git Service

android-x86/frameworks-base.git
7 years agoSFR sims should treat Spain as roaming
Torbjorn Eklund [Mon, 30 Jan 2017 18:19:48 +0000 (18:19 +0000)]
SFR sims should treat Spain as roaming
am: 05bd58fc4f

Change-Id: I866f78cc6bb42e51ff16e2994950c1fcc9922726

7 years agoMerge "Bluetooth: add getDiscoveryEndMillis() call" am: 1785fc4eea am: 7f8d8638eb
Marie Janssen [Mon, 30 Jan 2017 18:01:51 +0000 (18:01 +0000)]
Merge "Bluetooth: add getDiscoveryEndMillis() call" am: 1785fc4eea am: 7f8d8638eb
am: ca312c1cd3

Change-Id: I4cf745b758b696c4da3ebb1cb5843d929b634fae

7 years agoMerge "Bluetooth: add getDiscoveryEndMillis() call" am: 1785fc4eea
Marie Janssen [Mon, 30 Jan 2017 17:57:02 +0000 (17:57 +0000)]
Merge "Bluetooth: add getDiscoveryEndMillis() call" am: 1785fc4eea
am: 7f8d8638eb

Change-Id: I6f02c4ddc0fe56cda5af2dcf2f5193ba13522792

7 years agoMerge "Bluetooth: add getDiscoveryEndMillis() call"
Marie Janssen [Mon, 30 Jan 2017 17:51:37 +0000 (17:51 +0000)]
Merge "Bluetooth: add getDiscoveryEndMillis() call"
am: 1785fc4eea

Change-Id: Iecb0aaeae57b473c8679c492717fd7c6daad82ac

7 years agoMerge "Bluetooth: add getDiscoveryEndMillis() call"
Marie Janssen [Mon, 30 Jan 2017 17:46:17 +0000 (17:46 +0000)]
Merge "Bluetooth: add getDiscoveryEndMillis() call"

7 years agoMerge "Do not call RecoverySystem with DPMS lock held" into nyc-mr2-dev
Makoto Onuki [Mon, 30 Jan 2017 17:23:21 +0000 (17:23 +0000)]
Merge "Do not call RecoverySystem with DPMS lock held" into nyc-mr2-dev
am: 85ecba4423

Change-Id: Ia7b80ed106af9a1aa065230ab4bdae92ef0cba82

7 years agoDo not call RecoverySystem with DPMS lock held
Makoto Onuki [Mon, 30 Jan 2017 17:23:14 +0000 (17:23 +0000)]
Do not call RecoverySystem with DPMS lock held
am: efdec8f568

Change-Id: I380328d5ad72962f2f6ec14904e9349836b0bcfd

7 years agoMerge "Do not call RecoverySystem with DPMS lock held" into nyc-mr2-dev
Makoto Onuki [Mon, 30 Jan 2017 17:17:59 +0000 (17:17 +0000)]
Merge "Do not call RecoverySystem with DPMS lock held" into nyc-mr2-dev

7 years agoSFR sims should treat Spain as roaming
Torbjorn Eklund [Wed, 18 Jan 2017 10:46:46 +0000 (19:46 +0900)]
SFR sims should treat Spain as roaming

Since there are unnecessary "config_operatorConsideredNonRoaming" values
in the following file, UE mistakenly recognizes all Spain network as
non-roaming when SFR sim is inserted. Fix the issue by removing the
values.
 - core/res/res/values-mcc208-mnc10/config.xml

Bug: 34369673
Bug: 33902721
Change-Id: I7353e260ec7d3d298346a48c74b7b71bb75b14de

7 years agoMerge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959 am: 27ffe754a4
Nicolas Geoffray [Mon, 30 Jan 2017 15:26:29 +0000 (15:26 +0000)]
Merge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959 am: 27ffe754a4
am: 1852c380e0

Change-Id: I8fcc8b0329269a0b21057f973b3a7dc5d8d80284

7 years agoMerge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959
Nicolas Geoffray [Mon, 30 Jan 2017 15:21:17 +0000 (15:21 +0000)]
Merge "Introduce DEBUG_JAVA_DEBUGGABLE." am: 4df43ad959
am: 27ffe754a4

Change-Id: I24d3eed3d6172fdff79a74945ecadea7b0d76590

7 years agoMerge "Introduce DEBUG_JAVA_DEBUGGABLE."
Nicolas Geoffray [Mon, 30 Jan 2017 15:15:10 +0000 (15:15 +0000)]
Merge "Introduce DEBUG_JAVA_DEBUGGABLE."
am: 4df43ad959

Change-Id: Iebecb5b77d07bf91820044eda8923b2b30ebfe60

7 years agoMerge "Introduce DEBUG_JAVA_DEBUGGABLE."
Nicolas Geoffray [Mon, 30 Jan 2017 15:09:44 +0000 (15:09 +0000)]
Merge "Introduce DEBUG_JAVA_DEBUGGABLE."

7 years agoMerge "KeySetManagerService: prevent NPE" am: c66327149a am: 51ad0f67d2
Thecrazyskull [Sun, 29 Jan 2017 17:30:47 +0000 (17:30 +0000)]
Merge "KeySetManagerService: prevent NPE" am: c66327149a am: 51ad0f67d2
am: 7adb348796

Change-Id: Icc4d2d025c03cc71557e359bf8f4f230d38ef595

7 years agoMerge "KeySetManagerService: prevent NPE" am: c66327149a
Thecrazyskull [Sun, 29 Jan 2017 17:26:47 +0000 (17:26 +0000)]
Merge "KeySetManagerService: prevent NPE" am: c66327149a
am: 51ad0f67d2

Change-Id: I72d62e1d1f3d2b6db616762e724c1608a1e487c8

7 years agoMerge "KeySetManagerService: prevent NPE"
Thecrazyskull [Sun, 29 Jan 2017 17:22:13 +0000 (17:22 +0000)]
Merge "KeySetManagerService: prevent NPE"
am: c66327149a

Change-Id: I09d6fb3e2644ab9330b10bd67c44e61a204e589b

7 years agoMerge "KeySetManagerService: prevent NPE"
Treehugger Robot [Sun, 29 Jan 2017 17:14:36 +0000 (17:14 +0000)]
Merge "KeySetManagerService: prevent NPE"

7 years agoBluetooth: add getDiscoveryEndMillis() call
Marie Janssen [Tue, 24 Jan 2017 22:09:59 +0000 (14:09 -0800)]
Bluetooth: add getDiscoveryEndMillis() call

Method to tell when the adapter finished (or will finish) being in
discovery mode.

Test: compiles and still can scan
Bug: 34395439
Change-Id: I41b48c2b934c0a1d5e1727cec08f3f762e3cb309

7 years agoMerge changes from topic 'enterprise-client-chain' am: c71b5dab72 am: fc5430a39c
Paul Stewart [Sat, 28 Jan 2017 02:06:10 +0000 (02:06 +0000)]
Merge changes from topic 'enterprise-client-chain' am: c71b5dab72 am: fc5430a39c
am: a377b026f6

Change-Id: I80d26378aa4e82aec5a79054ad59f3385ac0e8d0

7 years agoTest passing null cert/keys to WifiEnterpriseConfig am: 88b3c589ad am: cb79016b16
Paul Stewart [Sat, 28 Jan 2017 02:01:40 +0000 (02:01 +0000)]
Test passing null cert/keys to WifiEnterpriseConfig am: 88b3c589ad am: cb79016b16
am: 3bac61ac86

Change-Id: I5c8af5dcd505002d815886f4a1ea30496411a35f

7 years agoAccount for null client certificate am: 1ca57a1d10 am: 4ad314b463
Paul Stewart [Sat, 28 Jan 2017 02:00:50 +0000 (02:00 +0000)]
Account for null client certificate am: 1ca57a1d10 am: 4ad314b463
am: 25eff7731a

Change-Id: I2bd868e534ca1a5960ac9855bd40a91f705b9772

7 years agoAdd a client chain to WifiEnterpriseConfig am: 291ddaef78 am: cd463ff269
Paul Stewart [Sat, 28 Jan 2017 01:59:40 +0000 (01:59 +0000)]
Add a client chain to WifiEnterpriseConfig am: 291ddaef78 am: cd463ff269
am: 80b5793645

Change-Id: I11310cfd06db4357ec1ee94139ebdb2e2f40f771

7 years agoMerge changes from topic 'enterprise-client-chain' am: c71b5dab72
Paul Stewart [Sat, 28 Jan 2017 01:59:39 +0000 (01:59 +0000)]
Merge changes from topic 'enterprise-client-chain' am: c71b5dab72
am: fc5430a39c

Change-Id: I2850cbafd7800284d259e04e2889af68d3272ab5

7 years agoTest passing null cert/keys to WifiEnterpriseConfig am: 88b3c589ad
Paul Stewart [Sat, 28 Jan 2017 01:54:47 +0000 (01:54 +0000)]
Test passing null cert/keys to WifiEnterpriseConfig am: 88b3c589ad
am: cb79016b16

Change-Id: Ib96c9b9034d5fd6fb0477ca274e4cbce86677d0e

7 years agoAccount for null client certificate am: 1ca57a1d10
Paul Stewart [Sat, 28 Jan 2017 01:53:52 +0000 (01:53 +0000)]
Account for null client certificate am: 1ca57a1d10
am: 4ad314b463

Change-Id: I50138c766a4ca1f697bbe4c2285bc0bc8c2985f4

7 years agoAdd a client chain to WifiEnterpriseConfig am: 291ddaef78
Paul Stewart [Sat, 28 Jan 2017 01:52:43 +0000 (01:52 +0000)]
Add a client chain to WifiEnterpriseConfig am: 291ddaef78
am: cd463ff269

Change-Id: I3625766bb97cf2bf4ab8a6a0d518c2b876069e23

7 years agoMerge changes from topic 'enterprise-client-chain'
Paul Stewart [Sat, 28 Jan 2017 01:52:41 +0000 (01:52 +0000)]
Merge changes from topic 'enterprise-client-chain'
am: c71b5dab72

Change-Id: Icfae9ac89759cd4d18f63dd2da17587bb7fdf96d

7 years agoTest passing null cert/keys to WifiEnterpriseConfig
Paul Stewart [Sat, 28 Jan 2017 01:46:52 +0000 (01:46 +0000)]
Test passing null cert/keys to WifiEnterpriseConfig
am: 88b3c589ad

Change-Id: Ia92c2ad4b7562250aa69d3e8dbb3b8d8607d4136

7 years agoAccount for null client certificate
Paul Stewart [Sat, 28 Jan 2017 01:45:53 +0000 (01:45 +0000)]
Account for null client certificate
am: 1ca57a1d10

Change-Id: Id999634bb25a379a5cfdb47412323d2cc6d0cd30

7 years agoAdd a client chain to WifiEnterpriseConfig
Paul Stewart [Sat, 28 Jan 2017 01:45:05 +0000 (01:45 +0000)]
Add a client chain to WifiEnterpriseConfig
am: 291ddaef78

Change-Id: Ic8451631732bd3bfce7ff08f9f37b18745cda357

7 years agoMerge changes from topic 'enterprise-client-chain'
Treehugger Robot [Sat, 28 Jan 2017 01:38:30 +0000 (01:38 +0000)]
Merge changes from topic 'enterprise-client-chain'

* changes:
  Test passing null cert/keys to WifiEnterpriseConfig
  Account for null client certificate
  Add a client chain to WifiEnterpriseConfig

7 years agoMerge "Adds @hide ImsResolver API and device overlays (2/3)" am: d063843549 am: b5f25...
Brad Ebinger [Fri, 27 Jan 2017 23:13:36 +0000 (23:13 +0000)]
Merge "Adds @hide ImsResolver API and device overlays (2/3)" am: d063843549 am: b5f2519abc
am: 18140a6784

Change-Id: I1c29dcbdd4f1f1f97bf2e3eb3a1f0bdc83613676

7 years agoMerge "Adds @hide ImsResolver API and device overlays (2/3)" am: d063843549
Brad Ebinger [Fri, 27 Jan 2017 23:08:31 +0000 (23:08 +0000)]
Merge "Adds @hide ImsResolver API and device overlays (2/3)" am: d063843549
am: b5f2519abc

Change-Id: I54c577f6c4bd68f6328572651315e056270ee807

7 years agoMerge "Fix a bunch of repeated reads of a ro.* property" am: 4265991701 am: e4c2e8f303
John Reck [Fri, 27 Jan 2017 23:05:52 +0000 (23:05 +0000)]
Merge "Fix a bunch of repeated reads of a ro.* property" am: 4265991701 am: e4c2e8f303
am: 3c2837e77e

Change-Id: Idbcb9dfeac57036d3621474ee65ba967cc7bc499

7 years agoMerge "Adds @hide ImsResolver API and device overlays (2/3)"
Brad Ebinger [Fri, 27 Jan 2017 23:03:47 +0000 (23:03 +0000)]
Merge "Adds @hide ImsResolver API and device overlays (2/3)"
am: d063843549

Change-Id: I82a38c0cb2b7b229b96f0a617f8b7c921eb6d3a9

7 years agoMerge "Fix a bunch of repeated reads of a ro.* property" am: 4265991701
John Reck [Fri, 27 Jan 2017 23:02:41 +0000 (23:02 +0000)]
Merge "Fix a bunch of repeated reads of a ro.* property" am: 4265991701
am: e4c2e8f303

Change-Id: Id6af451556fde8eefac8076735e625911f8bf272

7 years agoMerge "Fix a bunch of repeated reads of a ro.* property"
John Reck [Fri, 27 Jan 2017 22:57:29 +0000 (22:57 +0000)]
Merge "Fix a bunch of repeated reads of a ro.* property"
am: 4265991701

Change-Id: I996fbd1002ef788a768b575ab6d2177dc9ab5af1

7 years agoMerge "Adds @hide ImsResolver API and device overlays (2/3)"
Treehugger Robot [Fri, 27 Jan 2017 22:55:15 +0000 (22:55 +0000)]
Merge "Adds @hide ImsResolver API and device overlays (2/3)"

7 years agoMerge "Fix a bunch of repeated reads of a ro.* property"
Treehugger Robot [Fri, 27 Jan 2017 22:49:03 +0000 (22:49 +0000)]
Merge "Fix a bunch of repeated reads of a ro.* property"

7 years agoDo not call RecoverySystem with DPMS lock held
Makoto Onuki [Wed, 4 Jan 2017 22:36:59 +0000 (14:36 -0800)]
Do not call RecoverySystem with DPMS lock held

Note DPM.wipeData() on a secondary user is now blocking, just like
it's been always blocking on the primary user.

Test: Manually tested wipeData() with ApiDemos, both on 1) the primary user,
2) a secondary user and 3) work profile.

Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests

Bug 30681079

Change-Id: Ia832bed0f22396998d6307ab46e262dae9463838
Merged-in: Ib97a92a6af87a5589d2643b9ae0522395735e1a5

7 years agoMerge "Handles #9 as Dial number" am: 3b24c6e1a2 am: 4710c36e8d
koji.x.shigehara [Fri, 27 Jan 2017 21:46:21 +0000 (21:46 +0000)]
Merge "Handles #9 as Dial number" am: 3b24c6e1a2 am: 4710c36e8d
am: 679ef0013e

Change-Id: I8697aa07662c7f00f0f5b678f63a1f44a39c08fb

7 years agoMerge "Handles #9 as Dial number" am: 3b24c6e1a2
koji.x.shigehara [Fri, 27 Jan 2017 21:42:28 +0000 (21:42 +0000)]
Merge "Handles #9 as Dial number" am: 3b24c6e1a2
am: 4710c36e8d

Change-Id: I2ea8c5bbd06b0b58609f27039a5fef0d9b37cb9e

7 years agoMerge "Handles #9 as Dial number"
koji.x.shigehara [Fri, 27 Jan 2017 21:38:26 +0000 (21:38 +0000)]
Merge "Handles #9 as Dial number"
am: 3b24c6e1a2

Change-Id: I71b8c65b0dc1fd813f2f962074db217df429c8ef

7 years agoMerge "Handles #9 as Dial number"
Treehugger Robot [Fri, 27 Jan 2017 21:30:42 +0000 (21:30 +0000)]
Merge "Handles #9 as Dial number"

7 years agoDO NOT MERGE - Fixed the logic for tethering provisioning re-evaluation
Jack Yu [Mon, 16 Jan 2017 18:49:55 +0000 (10:49 -0800)]
DO NOT MERGE - Fixed the logic for tethering provisioning re-evaluation

Previously we only re-evaluate provisioning for SIM swap case
The new logic covers both SIM swap case
(ABSENT->NOT_READY->UNKNOWN->READY->LOADED) and modem reset
case (NOT_READY->READY->LOADED)

Test: Manual
bug: 33815946

Merged-In: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8

7 years agoAdds @hide ImsResolver API and device overlays (2/3)
Brad Ebinger [Tue, 24 Jan 2017 00:20:33 +0000 (16:20 -0800)]
Adds @hide ImsResolver API and device overlays (2/3)

- Adds config_ims_package device overlay, which specifies the default
package name to bind to.
- Adds config_dynamic_bind_ims device overlay, which determines
whether or not the new dynamic binding system is used.
- Adds @hide TelephonyManager API to interface with the ImsResolver

Test: Manual
Merged-In: I82a41da00e6da34629a40db431f13b968dfafe2e
Change-Id: I82a41da00e6da34629a40db431f13b968dfafe2e

7 years agoMerge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev
Jack Yu [Fri, 27 Jan 2017 21:07:09 +0000 (21:07 +0000)]
Merge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev
am: d9ab9df05b

Change-Id: I282418ddb3043e12c48edf23933d1bea4c35c3e0

7 years agoFixed the logic for tethering provisioning re-evaluation
Jack Yu [Fri, 27 Jan 2017 21:07:00 +0000 (21:07 +0000)]
Fixed the logic for tethering provisioning re-evaluation
am: 3294256ba5  -s ours

Change-Id: I153971fb47656ac122f786ed2f86f6302abe48e7

7 years agoTest passing null cert/keys to WifiEnterpriseConfig
Paul Stewart [Fri, 27 Jan 2017 20:03:47 +0000 (12:03 -0800)]
Test passing null cert/keys to WifiEnterpriseConfig

Ensure that null certificates and keys don't crash.

Bug: 34765004
Test: This is a test
Change-Id: I439b4f985c1b88ad4a9b58ee6f4eb4f90bd81246

7 years agoAccount for null client certificate
Paul Stewart [Fri, 27 Jan 2017 17:37:17 +0000 (09:37 -0800)]
Account for null client certificate

If a null certificate is passed to setClientKeyEntry() we should
not pass a non-null array with a single null element to the
setClientKeyEntryWithCertificateChain helper method.  Instead we
should pass a null array.

Cherry-pick of 410a3498ac28dccf69212d94a533040893c7ce0c

Bug: 34765004
Test: cts-tradefed run cts -d --module CtsNetTestCases --test android.net.wifi.cts.WifiEnterpriseConfigTest
Change-Id: I02793b4b29bc7325f98833c58bf652ba68353827

7 years agoMerge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8...
Tomasz Wasilczyk [Fri, 27 Jan 2017 20:43:24 +0000 (20:43 +0000)]
Merge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b am: e163e7b943
am: bb15b50ffc

Change-Id: I09c0c21f69efb739d73f247e76c3b378a0e5c7d6

7 years agoMerge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b
Tomasz Wasilczyk [Fri, 27 Jan 2017 20:38:55 +0000 (20:38 +0000)]
Merge "Use the new radio_metadata wrapper for safer memory management." am: a9ed0b1c8b
am: e163e7b943

Change-Id: I61a101f50ef6ea56b0ed9b9b1b7ec4b0516220ab

7 years agoMerge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 20:36:29 +0000 (20:36 +0000)]
Merge "Fixed the logic for tethering provisioning re-evaluation" into nyc-mr2-dev

7 years agoMerge "Use the new radio_metadata wrapper for safer memory management."
Tomasz Wasilczyk [Fri, 27 Jan 2017 20:32:52 +0000 (20:32 +0000)]
Merge "Use the new radio_metadata wrapper for safer memory management."
am: a9ed0b1c8b

Change-Id: I7f5391cced1db62be2d9b88823d88d2d77f8b065

7 years agoMerge "Use the new radio_metadata wrapper for safer memory management."
Tomasz Wasilczyk [Fri, 27 Jan 2017 20:26:06 +0000 (20:26 +0000)]
Merge "Use the new radio_metadata wrapper for safer memory management."

7 years agoMerge "Switch to listening for all network changes." am: 085ffa76fa am: 46f8abd229
Erik Kline [Fri, 27 Jan 2017 19:33:16 +0000 (19:33 +0000)]
Merge "Switch to listening for all network changes." am: 085ffa76fa am: 46f8abd229
am: 118c0c9e7d

Change-Id: I82ac34a2f846f4ebe164e4190716559186204934

7 years agoMerge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am...
Shukang Zhou [Fri, 27 Jan 2017 19:32:24 +0000 (19:32 +0000)]
Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b am: b0f03a64ea
am: 221e58fe95  -s ours

Change-Id: I3e70c3a349fd4ce05e88b84e2b987bbf26cadeba

7 years agoIntroduce DEBUG_JAVA_DEBUGGABLE.
Nicolas Geoffray [Tue, 20 Dec 2016 14:05:05 +0000 (14:05 +0000)]
Introduce DEBUG_JAVA_DEBUGGABLE.

For notifying ART it will run a debuggable app.

Also rename ENABLE_DEBUGGER to ENABLE_JDWP.

Test: builds and runs
bug: 28769520
Change-Id: Ic096a176edfd5bf0bbe92b8367fbaa687a07d284

7 years agoMerge "Switch to listening for all network changes." am: 085ffa76fa
Erik Kline [Fri, 27 Jan 2017 19:20:19 +0000 (19:20 +0000)]
Merge "Switch to listening for all network changes." am: 085ffa76fa
am: 46f8abd229

Change-Id: I28ad47a86ea534c5b675a530ffbaac415fd60b25

7 years agoMerge "Switch to listening for all network changes."
Erik Kline [Fri, 27 Jan 2017 19:14:39 +0000 (19:14 +0000)]
Merge "Switch to listening for all network changes."
am: 085ffa76fa

Change-Id: I87157788c5c2dc1015f9518c1c443256cfd30bae

7 years agoMerge "Switch to listening for all network changes."
Treehugger Robot [Fri, 27 Jan 2017 19:07:06 +0000 (19:07 +0000)]
Merge "Switch to listening for all network changes."

7 years agoFix a bunch of repeated reads of a ro.* property
John Reck [Tue, 20 Sep 2016 21:24:21 +0000 (14:24 -0700)]
Fix a bunch of repeated reads of a ro.* property

SystemProperties.get() is not particularly fast,
especially if a string is returned. Since ro.* values
are unable to be changed, there's no need to
continously re-query them. Cache the value at
static init time to trivially fix this.

Test: refactoring CL.
Change-Id: Iccb021d3cb2ba3a4a1d0048ddec6811bb7409eec
(cherry picked from commit aa67f684ff43c81e3280c846245ec6ebe907787e)

7 years agoMerge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am...
Shukang Zhou [Fri, 27 Jan 2017 19:01:44 +0000 (19:01 +0000)]
Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." am: e924640c4b
am: b0f03a64ea

Change-Id: I35fa80e43cd4f6af76099848714f838f217b7989

7 years agoMerge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling."
Shukang Zhou [Fri, 27 Jan 2017 18:57:12 +0000 (18:57 +0000)]
Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling."
am: e924640c4b

Change-Id: I7e56dd815f5ac72b27ac6e2e2ca7614eaa648db1

7 years agoMerge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling."
Treehugger Robot [Fri, 27 Jan 2017 18:49:43 +0000 (18:49 +0000)]
Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling."

7 years agoAdd a client chain to WifiEnterpriseConfig
Paul Stewart [Wed, 25 Jan 2017 03:36:05 +0000 (19:36 -0800)]
Add a client chain to WifiEnterpriseConfig

Add a list of supporting certificates to be presented in the process
of presenting client credentials.

Cherry-pick of e3511767169357a1409119b5666c62d50e005583

Bug: 34688653
Test: Compile, unit tests
Change-Id: I6afd8baf67312e8ddaaeefd26f30dacc51aa33bb

7 years agoUse the new radio_metadata wrapper for safer memory management.
Tomasz Wasilczyk [Mon, 23 Jan 2017 22:36:47 +0000 (14:36 -0800)]
Use the new radio_metadata wrapper for safer memory management.

Bug: b/34054813
Test: VTS, manual - both done in internal branch
Change-Id: I5f4962f86b7732e14c2584a562e9737c92310697

7 years agoFixed the logic for tethering provisioning re-evaluation
Jack Yu [Mon, 16 Jan 2017 18:49:55 +0000 (10:49 -0800)]
Fixed the logic for tethering provisioning re-evaluation

Previously we only re-evaluate provisioning for SIM swap case
The new logic covers both SIM swap case
(ABSENT->NOT_READY->UNKNOWN->READY->LOADED) and modem reset
case (NOT_READY->READY->LOADED)

Test: Manual
bug: 33815946

Merged-In: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8

7 years agoMerge "Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am...
Android Build Merger (Role) [Fri, 27 Jan 2017 17:00:33 +0000 (17:00 +0000)]
Merge "Add hidden API for whether permission review mode is on. am: 7b89a7b1f7 am: 90e9bbc814" into nyc-mr2-dev-plus-aosp

7 years agoAdd hidden API for whether permission review mode is on. am: 7b89a7b1f7
Paul Navin [Fri, 27 Jan 2017 16:59:34 +0000 (16:59 +0000)]
Add hidden API for whether permission review mode is on. am: 7b89a7b1f7
am: 90e9bbc814

Change-Id: Ic52f409f1225c85340e71909a8adb3b9c4d66edf

7 years agoAdd hidden API for whether permission review mode is on. am: 7b89a7b1f7
Paul Navin [Fri, 27 Jan 2017 16:59:33 +0000 (16:59 +0000)]
Add hidden API for whether permission review mode is on. am: 7b89a7b1f7
am: 7c230c6f3c

Change-Id: I89c9a580a96d0f69ed30cad9ec2e4f9c215a403b

7 years agoAdd hidden API for whether permission review mode is on.
Paul Navin [Fri, 27 Jan 2017 16:55:03 +0000 (16:55 +0000)]
Add hidden API for whether permission review mode is on.
am: 7b89a7b1f7

Change-Id: I925b6de9f79850dcc816a73357d1d589eeac6333

7 years agoAdd hidden API for whether permission review mode is on.
Paul Navin [Fri, 27 Jan 2017 16:54:58 +0000 (16:54 +0000)]
Add hidden API for whether permission review mode is on.
am: 7b89a7b1f7

Change-Id: Ic7f4d30bd689bf5677600552030a3e696b16dfbb

7 years agoMerge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
Jason Monk [Fri, 27 Jan 2017 15:15:01 +0000 (15:15 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
am: 76812ac8ac

Change-Id: I05998104c4d19d35cf8eba6b2a4aa1b35dfb600a

7 years agoAdd separate roaming icon for status bar + QS
Jason Monk [Fri, 27 Jan 2017 15:14:53 +0000 (15:14 +0000)]
Add separate roaming icon for status bar + QS
am: f62e889394

Change-Id: I065c6420e0ed379f44d7789e77590e5a39c2a5ec

7 years agoMerge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev
Jason Monk [Fri, 27 Jan 2017 15:08:03 +0000 (15:08 +0000)]
Merge "Add separate roaming icon for status bar + QS" into nyc-mr2-dev

7 years agoMerge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203 am: 8fea8e5bbd
Lorenzo Colitti [Fri, 27 Jan 2017 10:00:06 +0000 (10:00 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203 am: 8fea8e5bbd
am: c620e64f61

Change-Id: Iaa1ab50a323133cadfa4f39440fce982cde8d1fe

7 years agoMerge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203
Lorenzo Colitti [Fri, 27 Jan 2017 09:55:39 +0000 (09:55 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests" am: b8bbd30203
am: 8fea8e5bbd

Change-Id: I66f2c2174c2895224724245c1b3d815da1678955

7 years agoMerge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b am...
Lorenzo Colitti [Fri, 27 Jan 2017 09:55:36 +0000 (09:55 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b am: 0c659d2065
am: f8cff961c8

Change-Id: I1d3707b4bc2ae00ca0fad1c3ec7e6ca859fcdd16

7 years agoMerge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b
Lorenzo Colitti [Fri, 27 Jan 2017 09:51:39 +0000 (09:51 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test." am: be80577f5b
am: 0c659d2065

Change-Id: I7fbf2cb2c9778f5c961335c5b9fd5a138ec140db

7 years agoMerge "ConnectivityServiceTest: fix flaky tests"
Lorenzo Colitti [Fri, 27 Jan 2017 09:51:32 +0000 (09:51 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests"
am: b8bbd30203

Change-Id: I0577f6b48de8a95e7d12e58a672fb0374ced9403

7 years agoMerge "ConnectivityServiceTest: remove flaky waitForIdle test."
Lorenzo Colitti [Fri, 27 Jan 2017 09:47:05 +0000 (09:47 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test."
am: be80577f5b

Change-Id: I444746af6adc7be4a3f69243379f65aadf29ea19

7 years agoMerge "ConnectivityServiceTest: fix flaky tests"
Lorenzo Colitti [Fri, 27 Jan 2017 09:40:46 +0000 (09:40 +0000)]
Merge "ConnectivityServiceTest: fix flaky tests"

7 years agoMerge "ConnectivityServiceTest: remove flaky waitForIdle test."
Lorenzo Colitti [Fri, 27 Jan 2017 09:38:51 +0000 (09:38 +0000)]
Merge "ConnectivityServiceTest: remove flaky waitForIdle test."

7 years agoMerge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master am...
Lorenzo Colitti [Fri, 27 Jan 2017 07:37:02 +0000 (07:37 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master am: 277bd4235e
am: 22cd53384c

Change-Id: I03bdbb9fc8ceb6a7180b93c29b1d63b4fd471820

7 years agoMerge commit '88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp
Hugo Benichi [Fri, 27 Jan 2017 07:29:59 +0000 (07:29 +0000)]
Merge commit '88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp
am: 6a688ca1ad  -s ours

Change-Id: Icf4cf5e8e95b9de4b313f826a40c1df81c02aa8a

7 years agoMerge commit '48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp
Stephen Chen [Fri, 27 Jan 2017 07:29:07 +0000 (07:29 +0000)]
Merge commit '48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp
am: 7bc2aebd53

Change-Id: I3de8f91b1c9d0160ec58be8347502769580e0159

7 years agoMerge commit 'a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp
Hugo Benichi [Fri, 27 Jan 2017 07:28:06 +0000 (07:28 +0000)]
Merge commit 'a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp
am: 53095bb5bd  -s ours

Change-Id: Ie2f8c1e18acf57238fe4816812562ecd1644cf51

7 years agoMerge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master
Lorenzo Colitti [Fri, 27 Jan 2017 07:26:28 +0000 (07:26 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master
am: 277bd4235e

Change-Id: I02efb8229026eb6ddfbf10bf72645dea10a4215f

7 years agoMerge commit '88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp
The Android Automerger [Fri, 27 Jan 2017 06:39:52 +0000 (06:39 +0000)]
Merge commit '88932754ffdcbffb3cb43e03991e5eb598c10458' into nyc-mr1-dev-plus-aosp

* commit '88932754ffdcbffb3cb43e03991e5eb598c10458':
  Captive portals: login activity probes like NetworkMonitor
  Logging improvements in CaptivePortalLoginActivity
  Captive portal systel log improvements
  Fix flaky IpPrefixTest.
  Removing bogus file added by mistake
  frameworks-test: adding missing @SmallTest
  Netd events: record connect() success/errno
  Add missing dependency.
  Show notification for always-on app VPN

7 years agoMerge commit '48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp
The Android Automerger [Fri, 27 Jan 2017 06:39:41 +0000 (06:39 +0000)]
Merge commit '48a1136c8b3000c651e8bcd86325acd1dce6e4ec' into nyc-mr1-dev-plus-aosp

* commit '48a1136c8b3000c651e8bcd86325acd1dce6e4ec':
  Implement metered tracking for NetworkStats summary queries.

7 years agoMerge commit 'a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp
The Android Automerger [Fri, 27 Jan 2017 06:39:05 +0000 (06:39 +0000)]
Merge commit 'a19056c35d16ddb5a6c1d3343729701b8939f1e1' into nyc-mr1-dev-plus-aosp

* commit 'a19056c35d16ddb5a6c1d3343729701b8939f1e1': (35 commits)
  NetworkMonitor: send one DNS probe per web probe
  NetworkMonitor metrics: add first validation information
  APF: also drop any ICMPv6 RSs
  ConnectivityServiceTest: fix testAvoidBadWifiSettings
  Fix ConnectivityServiceTest testRequestBenchmark
  Switch over to new "time.android.com" NTP pool.
  Define API for metering network stats buckets.
  Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
  Use @Ignore to explicitly disable a @Test method.
  Fixed NetworkStatsServiceTest and converted it to JUnit4.
  VPN network stat accounting changes.
  ConnectivityThread: use lazy holder idiom
  ConnectivityManager: use ConnectivityThread looper
  ConnectivityManager: a simpler CallbackHandler
  Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
  Add a null check for the OnStartTetheringCallback.
  TokenBucket for rate-limiting and throttling
  IpConnectivityMetrics reads buffer size in settings
  CaptivePortalLogin: set mixed content policy to compatibility.
  Add IP conn metrics to dumpsys and bug reports
  ...

7 years agoHandles #9 as Dial number
koji.x.shigehara [Fri, 20 Nov 2015 10:42:53 +0000 (19:42 +0900)]
Handles #9 as Dial number

Adding #9 as a country-specific exception of MMI codes so that
we can treat it as Dial number. This config change is necessary
to fulfill carrier's requirement.

Test: manual - check dialing #9
Bug: 34755732
Change-Id: I485e48cf30610ff012f84d43935454e693b0d94d

7 years agoAdd hidden API for whether permission review mode is on.
Paul Navin [Thu, 26 Jan 2017 23:56:08 +0000 (23:56 +0000)]
Add hidden API for whether permission review mode is on.

BUG: 34240393
Change-Id: I68e55767a7da1d457a6cedd210aac9e339fb996c

7 years agoMerge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
Daniel Nishi [Fri, 27 Jan 2017 00:43:02 +0000 (00:43 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
am: 56d29925ac

Change-Id: Ibb4ae749d9eaa0cc10f2ebb721c2b94fa13cac38

7 years agoAdd a flag to enable/disable the diskstats logging service.
Daniel Nishi [Fri, 27 Jan 2017 00:42:54 +0000 (00:42 +0000)]
Add a flag to enable/disable the diskstats logging service.
am: 88e45dcd1f

Change-Id: Ie822eea68dc0a02c8fad1a838ff9bf23f738106f

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Fri, 27 Jan 2017 00:38:24 +0000 (00:38 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 6470caa2e2  -s ours

Change-Id: I6cea2b032629810b13efba6e2efb18ba2e1e7b0f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 27 Jan 2017 00:38:20 +0000 (00:38 +0000)]
Import translations. DO NOT MERGE
am: 951b1616fc  -s ours

Change-Id: Id69967bfaa808912b8d31bffabdc0d414454961c

7 years agoMerge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev
Daniel Nishi [Fri, 27 Jan 2017 00:35:22 +0000 (00:35 +0000)]
Merge "Add a flag to enable/disable the diskstats logging service." into nyc-mr2-dev

7 years agoMerge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master
Lorenzo Colitti [Fri, 27 Jan 2017 00:34:13 +0000 (00:34 +0000)]
Merge changes from topic 'net-sync-aosp-with-stage-aosp' into stage-aosp-master

* changes:
  Captive portals: login activity probes like NetworkMonitor
  Logging improvements in CaptivePortalLoginActivity
  Captive portal systel log improvements
  Fix flaky IpPrefixTest.
  Removing bogus file added by mistake
  frameworks-test: adding missing @SmallTest
  Netd events: record connect() success/errno
  Add missing dependency.
  Show notification for always-on app VPN
  Implement metered tracking for NetworkStats summary queries.
  NetworkMonitor: send one DNS probe per web probe
  NetworkMonitor metrics: add first validation information
  APF: also drop any ICMPv6 RSs
  ConnectivityServiceTest: fix testAvoidBadWifiSettings
  Fix ConnectivityServiceTest testRequestBenchmark
  Switch over to new "time.android.com" NTP pool.
  Define API for metering network stats buckets.
  Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
  Use @Ignore to explicitly disable a @Test method.
  Fixed NetworkStatsServiceTest and converted it to JUnit4.
  VPN network stat accounting changes.
  ConnectivityThread: use lazy holder idiom
  ConnectivityManager: use ConnectivityThread looper
  ConnectivityManager: a simpler CallbackHandler
  Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
  Add a null check for the OnStartTetheringCallback.
  TokenBucket for rate-limiting and throttling
  IpConnectivityMetrics reads buffer size in settings
  CaptivePortalLogin: set mixed content policy to compatibility.
  Add IP conn metrics to dumpsys and bug reports
  IpConnectivity metrics: add version number
  [CS] Remove timeout event after first available
  ApfTest: tag tests with @SmallTest or @MediumTest
  Unbreak TetherInterfaceStateMachineTest.
  Move the connectivity tests to frameworks/base/tests/net.
  De-guava BroadcastInterceptingContext and move it to testutils.
  Move FakeSettingsProvider to a common location.
  ConnectivityServiceTest: mark flaky test as such
  Add option to skip and avoid captive portals.
  ApfFilter: use elapsedRealTime for RA lifetime
  Do not synchronize boolean reads/writes
  ApfFilter: systematically use u8, u16, u32 getters
  Add fuzzing tests to ApfFilter RA processing
  Support timeouts for requestNetwork() invocations.
  Silence the obnoxious MTU 0 error message that occur when no MTU is specified for a given network.