OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Ambient Display: Fix race with coloring and redaction" into nyc-mr2-dev
Adrian Roos [Tue, 27 Dec 2016 23:49:53 +0000 (23:49 +0000)]
Merge "Ambient Display: Fix race with coloring and redaction" into nyc-mr2-dev
am: 02f07cce35

Change-Id: I3890e276ab985977f7e02d77c91c403700c254d6

7 years agoAmbient Display: Fix race with coloring and redaction
Adrian Roos [Tue, 27 Dec 2016 23:49:46 +0000 (23:49 +0000)]
Ambient Display: Fix race with coloring and redaction
am: e5726a2082

Change-Id: I9c2c42692f01b7665fb11d6e0f47c707d3c630fc

7 years agoMerge "Ambient Display: Fix race with coloring and redaction" into nyc-mr2-dev
Adrian Roos [Tue, 27 Dec 2016 23:36:56 +0000 (23:36 +0000)]
Merge "Ambient Display: Fix race with coloring and redaction" into nyc-mr2-dev

7 years agoMerge "Keyguard: Don't lock on SIM removed during shutdown" into nyc-mr2-dev
Adrian Roos [Tue, 27 Dec 2016 23:29:54 +0000 (23:29 +0000)]
Merge "Keyguard: Don't lock on SIM removed during shutdown" into nyc-mr2-dev
am: 52133e6916

Change-Id: I9fe96a428c918f1fc250b021ddd4d1c6fbdd061b

7 years agoKeyguard: Don't lock on SIM removed during shutdown
Adrian Roos [Tue, 27 Dec 2016 23:29:47 +0000 (23:29 +0000)]
Keyguard: Don't lock on SIM removed during shutdown
am: 1f8025adf2

Change-Id: I22b34aa27c6540bf661081950a51eb275894c032

7 years agoMerge "Keyguard: Don't lock on SIM removed during shutdown" into nyc-mr2-dev
Adrian Roos [Tue, 27 Dec 2016 23:20:43 +0000 (23:20 +0000)]
Merge "Keyguard: Don't lock on SIM removed during shutdown" into nyc-mr2-dev

7 years agoMerge "DO NOT MERGE Revert "Add Brightness setting for VR Mode."" into nyc-mr2-dev
Selim Cinek [Tue, 27 Dec 2016 19:22:10 +0000 (19:22 +0000)]
Merge "DO NOT MERGE Revert "Add Brightness setting for VR Mode."" into nyc-mr2-dev
am: cbb057d3da

Change-Id: I2c4f83b83dfa685c8b838b9206e26231a0b9aac0

7 years agoDO NOT MERGE Revert "Add Brightness setting for VR Mode."
Selim Cinek [Tue, 27 Dec 2016 19:22:04 +0000 (19:22 +0000)]
DO NOT MERGE Revert "Add Brightness setting for VR Mode."
am: 966045d070

Change-Id: Ib1be78a47f5947f4fcc6eabc2f6af76523690ed9

7 years agoMerge "DO NOT MERGE Revert "Add Brightness setting for VR Mode."" into nyc-mr2-dev
TreeHugger Robot [Tue, 27 Dec 2016 19:08:55 +0000 (19:08 +0000)]
Merge "DO NOT MERGE Revert "Add Brightness setting for VR Mode."" into nyc-mr2-dev

7 years agoDO NOT MERGE Revert "Add Brightness setting for VR Mode."
Selim Cinek [Tue, 27 Dec 2016 11:06:35 +0000 (11:06 +0000)]
DO NOT MERGE Revert "Add Brightness setting for VR Mode."

This reverts commit 84980c7a93e93e7134c0198212e222e11eb5ccbd.

Bug: 33895226
Bug: 30984614
Change-Id: I2652e77512bc870190e2172a629abac9341b2c4f

7 years agoKeyguard: Don't lock on SIM removed during shutdown
Adrian Roos [Tue, 27 Dec 2016 18:12:13 +0000 (10:12 -0800)]
Keyguard: Don't lock on SIM removed during shutdown

Fixes a glitch where the SIM is considered removed because
we turn off the radio during shutdown.

Change-Id: Id783114f557b87051b833ea84cecc862f910c6ca
Fixes: 33788000

7 years agoMerge "Fix window transformation related issue" am: 8760e60da5 am: 1200cfb48d
Jorim Jaggi [Tue, 27 Dec 2016 16:37:50 +0000 (16:37 +0000)]
Merge "Fix window transformation related issue" am: 8760e60da5 am: 1200cfb48d
am: a4a4cfc8f5

Change-Id: Ib6a4dcb09317891decacff94340ac8b015b8db74

7 years agoMerge "Fix window transformation related issue" am: 8760e60da5
Jorim Jaggi [Tue, 27 Dec 2016 16:32:24 +0000 (16:32 +0000)]
Merge "Fix window transformation related issue" am: 8760e60da5
am: 1200cfb48d

Change-Id: I6a105898193544119e3ca7a911faed67e46e539d

7 years agoMerge "Fix window transformation related issue"
Jorim Jaggi [Tue, 27 Dec 2016 16:23:49 +0000 (16:23 +0000)]
Merge "Fix window transformation related issue"
am: 8760e60da5

Change-Id: I686b637ea76402c4d4c666b60ece83755a24a5d1

7 years agoMerge "Fix window transformation related issue"
Jorim Jaggi [Tue, 27 Dec 2016 16:08:43 +0000 (16:08 +0000)]
Merge "Fix window transformation related issue"

7 years agoDon't loop forever on zero-length ICMPv6 ND options.
Lorenzo Colitti [Fri, 23 Dec 2016 08:26:29 +0000 (08:26 +0000)]
Don't loop forever on zero-length ICMPv6 ND options.
am: 2f157c421a

Change-Id: Id8fbe5361b8a826677638213eed565be333f2c4d

7 years agoDon't loop forever on zero-length ICMPv6 ND options.
Lorenzo Colitti [Fri, 23 Dec 2016 04:54:50 +0000 (13:54 +0900)]
Don't loop forever on zero-length ICMPv6 ND options.

Bug: 33828433
Change-Id: Ie1905167126c8c8f3896eaa5e36cd006ca354e99

7 years agoMerge "Add Brightness setting for VR Mode." into nyc-mr2-dev
Santos Cordon [Thu, 22 Dec 2016 23:58:15 +0000 (23:58 +0000)]
Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev
am: cfdf27f24b

Change-Id: I1edc922f659f83f36102a3e6d3e36e2a6f74716f

7 years agoAdd Brightness setting for VR Mode.
Santos Cordon [Thu, 22 Dec 2016 23:58:05 +0000 (23:58 +0000)]
Add Brightness setting for VR Mode.
am: 84980c7a93

Change-Id: I4a9c3db7bdf73e673cf8b2409404339df94086c2

7 years agoMerge "Add Brightness setting for VR Mode." into nyc-mr2-dev
Santos Cordon [Thu, 22 Dec 2016 23:49:16 +0000 (23:49 +0000)]
Merge "Add Brightness setting for VR Mode." into nyc-mr2-dev

7 years agoAdd Brightness setting for VR Mode.
Santos Cordon [Tue, 20 Sep 2016 22:50:35 +0000 (15:50 -0700)]
Add Brightness setting for VR Mode.

This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.

Bug: 30984614
Merged-In: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93

7 years agoMerge "Add simplified_network_settings_bool to CarrierConfig." am: 4ce798f45f am...
Joe LaPenna [Thu, 22 Dec 2016 21:51:57 +0000 (21:51 +0000)]
Merge "Add simplified_network_settings_bool to CarrierConfig." am: 4ce798f45f am: 6f87331902
am: 715acea102

Change-Id: I44bc0113697be113ef79ac9a904485b49bed2f87

7 years agoMerge "Add simplified_network_settings_bool to CarrierConfig." am: 4ce798f45f
Joe LaPenna [Thu, 22 Dec 2016 21:47:00 +0000 (21:47 +0000)]
Merge "Add simplified_network_settings_bool to CarrierConfig." am: 4ce798f45f
am: 6f87331902

Change-Id: I3681893e43949060922f72c65f8f106090005d14

7 years agoMerge "Add simplified_network_settings_bool to CarrierConfig."
Joe LaPenna [Thu, 22 Dec 2016 21:41:23 +0000 (21:41 +0000)]
Merge "Add simplified_network_settings_bool to CarrierConfig."
am: 4ce798f45f

Change-Id: I7343422cd3405628d6c2b90092af631b77eb37a7

7 years agoMerge "Add simplified_network_settings_bool to CarrierConfig."
Treehugger Robot [Thu, 22 Dec 2016 21:29:56 +0000 (21:29 +0000)]
Merge "Add simplified_network_settings_bool to CarrierConfig."

7 years agoRevert "DO NOT MERGE: Add API to indicate carrier networks."
pkanwar [Thu, 22 Dec 2016 21:16:53 +0000 (13:16 -0800)]
Revert "DO NOT MERGE: Add API to indicate carrier networks."

These changes are not applicable for aosp and will be implemented in
master.

This reverts commit 9f47a5d85eca1f93833b328dea3d31fc36d79591.

Bug: 31003437

7 years agoMerge "Fix a bug where the package stats query timeout may crash." into nyc-mr2-dev
Daniel Nishi [Thu, 22 Dec 2016 21:10:00 +0000 (21:10 +0000)]
Merge "Fix a bug where the package stats query timeout may crash." into nyc-mr2-dev
am: dfe1bc2f34

Change-Id: I1c06fad6316f3cc34b917cbbf359d838e01d650e

7 years agoFix a bug where the package stats query timeout may crash.
Daniel Nishi [Thu, 22 Dec 2016 21:09:53 +0000 (21:09 +0000)]
Fix a bug where the package stats query timeout may crash.
am: cf76a16e66

Change-Id: Ibc146f89412387eb05a164c2a1969210fcea4262

7 years agoMerge "Fix a bug where the package stats query timeout may crash." into nyc-mr2-dev
TreeHugger Robot [Thu, 22 Dec 2016 21:03:00 +0000 (21:03 +0000)]
Merge "Fix a bug where the package stats query timeout may crash." into nyc-mr2-dev

7 years agoMerge "HwBinder: fail gracefully for device w/o hwbinder" am: 380697ca79 am: b6022b9fa0
Steven Moreland [Thu, 22 Dec 2016 20:58:54 +0000 (20:58 +0000)]
Merge "HwBinder: fail gracefully for device w/o hwbinder" am: 380697ca79 am: b6022b9fa0
am: 5e1efa2cc7

Change-Id: I190fab7adf1222c71d6d5d71ab8cbe2928600a34

7 years agoMerge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into...
Pankaj Kanwar [Thu, 22 Dec 2016 20:54:11 +0000 (20:54 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev
am: f6d8e1f635

Change-Id: I1412b56245583d65f382613fd466ede1efaa298f

7 years agoDO NOT MERGE: Add UI toggle to control connections to carrier networks.
pkanwar [Thu, 22 Dec 2016 20:53:58 +0000 (20:53 +0000)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks.
am: 57f383709b

Change-Id: Ieb3aa3a0755bcd16759d91852980bcdf5373eaa8

7 years agoMerge "HwBinder: fail gracefully for device w/o hwbinder" am: 380697ca79
Steven Moreland [Thu, 22 Dec 2016 20:53:52 +0000 (20:53 +0000)]
Merge "HwBinder: fail gracefully for device w/o hwbinder" am: 380697ca79
am: b6022b9fa0

Change-Id: I7135d790ed299f21975c5b27b534714d83ccf440

7 years agoMerge "HwBinder: fail gracefully for device w/o hwbinder"
Steven Moreland [Thu, 22 Dec 2016 20:48:17 +0000 (20:48 +0000)]
Merge "HwBinder: fail gracefully for device w/o hwbinder"
am: 380697ca79

Change-Id: I301b1f9e9344a8b314a6debff3fef2e7c8362f1a

7 years agoMerge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into...
Pankaj Kanwar [Thu, 22 Dec 2016 20:41:54 +0000 (20:41 +0000)]
Merge "DO NOT MERGE: Add UI toggle to control connections to carrier networks." into nyc-mr2-dev

7 years agoMerge "HwBinder: fail gracefully for device w/o hwbinder"
Treehugger Robot [Thu, 22 Dec 2016 20:41:01 +0000 (20:41 +0000)]
Merge "HwBinder: fail gracefully for device w/o hwbinder"

7 years agoAdd simplified_network_settings_bool to CarrierConfig.
Joe LaPenna [Thu, 22 Dec 2016 04:17:08 +0000 (20:17 -0800)]
Add simplified_network_settings_bool to CarrierConfig.

Some carriers want to further simplify network settings based on a
variety of wifi or cellular related bundles. Expose a config a
carrier might set to allow SysUi, Settings and platform to adjust.

BUG: 33111931
Test: runtest carrierconfig-unit
Change-Id: I35a7ef15bbba23cf9e0380432fc001804c7e1804
Merged-In: I35a7ef15bbba23cf9e0380432fc001804c7e1804

7 years agoMerge "Make users of MtpServer fill in DeviceInfo field values" am: 933ea68aca am...
Alex Klyubin [Thu, 22 Dec 2016 19:32:47 +0000 (19:32 +0000)]
Merge "Make users of MtpServer fill in DeviceInfo field values" am: 933ea68aca am: e988e8f1f6
am: 8e23aa4ee6

Change-Id: I13926b884509c4018d8ced24a80acc3e8c2b5d7a

7 years agoFix a bug where the package stats query timeout may crash.
Daniel Nishi [Thu, 22 Dec 2016 19:06:51 +0000 (11:06 -0800)]
Fix a bug where the package stats query timeout may crash.

This adds a null-check to verify that we got real data before
trying to use it and increases the timeout time to reduce the
likelihood of timing out.

Test: FrameworkServicesTests
Bug: 33836034
Change-Id: Ia1ad4aba05c5c4fb8688fc9fc94df344f736e396

7 years agoMerge "Fix failing WifiNetworkScoreCacheTest." am: 5e055b6a18 am: 80f1e2e52a
Sundeep Ghuman [Thu, 22 Dec 2016 19:27:29 +0000 (19:27 +0000)]
Merge "Fix failing WifiNetworkScoreCacheTest." am: 5e055b6a18 am: 80f1e2e52a
am: 43e86c1ca6

Change-Id: If7acfafd1cb8e52b778cf8fb347e1a0d509d7f62

7 years agoMerge "Cherrypick: Define the calculateRankingScore method and Key." am: 425af45d02...
Sundeep Ghuman [Thu, 22 Dec 2016 19:26:05 +0000 (19:26 +0000)]
Merge "Cherrypick: Define the calculateRankingScore method and Key." am: 425af45d02 am: 41577a0029
am: bfc0bfe645

Change-Id: Ia3d455791e3f219a3e0cff3b6946184757487d71

7 years agoMerge changes I40f055df,I562713df am: 4a04c07df4 am: 8eff13b521
Jeremy Joslin [Thu, 22 Dec 2016 19:24:17 +0000 (19:24 +0000)]
Merge changes I40f055df,I562713df am: 4a04c07df4 am: 8eff13b521
am: deddce7ff6

Change-Id: I0026c9b1fed0e8eeab95a1d0c03f8235c7643c62

7 years agoMerge "Make users of MtpServer fill in DeviceInfo field values" am: 933ea68aca
Alex Klyubin [Thu, 22 Dec 2016 19:22:46 +0000 (19:22 +0000)]
Merge "Make users of MtpServer fill in DeviceInfo field values" am: 933ea68aca
am: e988e8f1f6

Change-Id: Icce6e31723d4dac12cf2c2e389e69c067dd66a91

7 years agoStay bound to the most current active scorer. am: b1365852cc am: d79019a616
Jeremy Joslin [Thu, 22 Dec 2016 19:22:44 +0000 (19:22 +0000)]
Stay bound to the most current active scorer. am: b1365852cc am: d79019a616
am: 268176317b

Change-Id: I3fcfd02759c9748b4e00a5e825b670259c0d0263

7 years agoClear and restore the calling ID. am: 29ed4a99bf am: 3588b8d44c
Jeremy Joslin [Thu, 22 Dec 2016 19:21:45 +0000 (19:21 +0000)]
Clear and restore the calling ID. am: 29ed4a99bf am: 3588b8d44c
am: 3f32d12be0

Change-Id: I2cbf3ca1ff0a743de1b08fad467027ec59333def

7 years agoMerge "Fix failing WifiNetworkScoreCacheTest." am: 5e055b6a18
Sundeep Ghuman [Thu, 22 Dec 2016 19:16:13 +0000 (19:16 +0000)]
Merge "Fix failing WifiNetworkScoreCacheTest." am: 5e055b6a18
am: 80f1e2e52a

Change-Id: I08fe2e52a4926dc3d2fae02bf90c3fcf5b60ee82

7 years agoMerge "Cherrypick: Define the calculateRankingScore method and Key." am: 425af45d02
Sundeep Ghuman [Thu, 22 Dec 2016 19:14:48 +0000 (19:14 +0000)]
Merge "Cherrypick: Define the calculateRankingScore method and Key." am: 425af45d02
am: 41577a0029

Change-Id: I7807d92a705a8ec9d9c7b04159e1cd2290846e38

7 years agoMerge changes I40f055df,I562713df am: 4a04c07df4
Jeremy Joslin [Thu, 22 Dec 2016 19:12:47 +0000 (19:12 +0000)]
Merge changes I40f055df,I562713df am: 4a04c07df4
am: 8eff13b521

Change-Id: I758eaa79b9707073fcfea1454e59c48c58a80e4d

7 years agoDO NOT MERGE: Add UI toggle to control connections to carrier networks.
pkanwar [Thu, 22 Dec 2016 19:12:02 +0000 (11:12 -0800)]
DO NOT MERGE: Add UI toggle to control connections to carrier networks.

Bug: 31003437
Change-Id: I6cf32ae4d376eb65f80492da0922dbecb762c9da

7 years agoStay bound to the most current active scorer. am: b1365852cc
Jeremy Joslin [Thu, 22 Dec 2016 19:11:48 +0000 (19:11 +0000)]
Stay bound to the most current active scorer. am: b1365852cc
am: d79019a616

Change-Id: Ib3c7a4cdaea80ad4ac84c6baa92d879396c0f483

7 years agoClear and restore the calling ID. am: 29ed4a99bf
Jeremy Joslin [Thu, 22 Dec 2016 19:10:46 +0000 (19:10 +0000)]
Clear and restore the calling ID. am: 29ed4a99bf
am: 3588b8d44c

Change-Id: I43b6f2899b5d82d4781937766907d6d7afa6b2bd

7 years agoMerge "Make users of MtpServer fill in DeviceInfo field values"
Alex Klyubin [Thu, 22 Dec 2016 19:10:00 +0000 (19:10 +0000)]
Merge "Make users of MtpServer fill in DeviceInfo field values"
am: 933ea68aca

Change-Id: Iacecf43819f8cd6c0e8df7a53105e0538075c188

7 years agoresolve merge conflicts of febd982 to stage-aosp-master am: 5c53fdb893
Alex Klyubin [Thu, 22 Dec 2016 19:06:09 +0000 (19:06 +0000)]
resolve merge conflicts of febd982 to stage-aosp-master am: 5c53fdb893
am: b824658494

Change-Id: Ic1dd2aef96889f0f68a55093cfb04b4d90f34818

7 years agoMerge "Fix failing WifiNetworkScoreCacheTest."
Sundeep Ghuman [Thu, 22 Dec 2016 19:05:44 +0000 (19:05 +0000)]
Merge "Fix failing WifiNetworkScoreCacheTest."
am: 5e055b6a18

Change-Id: I52e23144730acc15c943fa6485a872a88ee0a787

7 years agoMerge "Cherrypick: Define the calculateRankingScore method and Key."
Sundeep Ghuman [Thu, 22 Dec 2016 19:04:22 +0000 (19:04 +0000)]
Merge "Cherrypick: Define the calculateRankingScore method and Key."
am: 425af45d02

Change-Id: Ib61f91087967f1b026cd2ba77175ccf47943bc53

7 years agoMerge changes I40f055df,I562713df
Jeremy Joslin [Thu, 22 Dec 2016 19:02:45 +0000 (19:02 +0000)]
Merge changes I40f055df,I562713df
am: 4a04c07df4

Change-Id: Ie951518a0a472691d1cd8b90a025e3a67b1acd53

7 years agoStay bound to the most current active scorer.
Jeremy Joslin [Thu, 22 Dec 2016 19:02:38 +0000 (19:02 +0000)]
Stay bound to the most current active scorer.
am: b1365852cc

Change-Id: I8313d23450b47f23f73eb050e6b4244bc0d37622

7 years agoClear and restore the calling ID.
Jeremy Joslin [Thu, 22 Dec 2016 19:01:43 +0000 (19:01 +0000)]
Clear and restore the calling ID.
am: 29ed4a99bf

Change-Id: Ie5752ca772e6f5c8fed8092d23e0604f44598b24

7 years agoresolve merge conflicts of febd982 to stage-aosp-master
Alex Klyubin [Thu, 22 Dec 2016 19:01:13 +0000 (19:01 +0000)]
resolve merge conflicts of febd982 to stage-aosp-master
am: 5c53fdb893

Change-Id: Ib0878f0f17c3799ff9ffb92d7e85904fc91fdab7

7 years agoresolve merge conflicts of febd982 to stage-aosp-master
Alex Klyubin [Thu, 22 Dec 2016 18:20:23 +0000 (10:20 -0800)]
resolve merge conflicts of febd982 to stage-aosp-master

Change-Id: I40c27e3159b8f7acd60c6fa42509bb23d146b937

7 years agoMerge "Fix exploit where can hide the fact that a location was mocked am: a206a0f17e...
Android Build Merger (Role) [Thu, 22 Dec 2016 18:15:30 +0000 (18:15 +0000)]
Merge "Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e am: 3b7d90c024 am: f035e8b411 am: 1cc8a2a617" into nyc-mr2-dev-plus-aosp

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 18:14:47 +0000 (18:14 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e am: 3b7d90c024 am: f035e8b411
am: 1cc8a2a617

Change-Id: I6f4da4dfbadd0b484019b918dff8b161cec2c1ed

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 18:14:42 +0000 (18:14 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e am: 3b7d90c024 am: f035e8b411
am: 8dc64b729b

Change-Id: I1b83d758c57b21c574de55e4de3a80283d9b7f56

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 18:09:50 +0000 (18:09 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e am: 3b7d90c024
am: f035e8b411

Change-Id: I6a73e11687db11cd0d6814999e955c20fe7b8ad5

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 18:09:48 +0000 (18:09 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e am: 3b7d90c024
am: f035e8b411

Change-Id: I0795fffc9f7f79f14038cfb6386bbe308b879db5

7 years agoMerge "DO NOT MERGE: Add API to indicate carrier networks." into nyc-mr2-dev
Pankaj Kanwar [Thu, 22 Dec 2016 18:04:47 +0000 (18:04 +0000)]
Merge "DO NOT MERGE: Add API to indicate carrier networks." into nyc-mr2-dev
am: 683dbf1fc6

Change-Id: If1e5f0f82e18608990500d41211a49e9acbef51f

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 18:04:44 +0000 (18:04 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f am: 2da05d0f9e
am: 3b7d90c024

Change-Id: I46c1bf565b04175c8c97c9faeceed55bda41dbde

7 years agoDO NOT MERGE: Add API to indicate carrier networks.
pkanwar [Thu, 22 Dec 2016 18:04:42 +0000 (18:04 +0000)]
DO NOT MERGE: Add API to indicate carrier networks.
am: 9f47a5d85e

Change-Id: Ib0ed3283a55ec285cafa1f120a8545956e27c242

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:59:47 +0000 (17:59 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6 am: 7cec76de0f
am: 2da05d0f9e

Change-Id: I8c94a06f5fa722312436484609bafcb0585d6d18

7 years agoMerge "DO NOT MERGE: Add API to indicate carrier networks." into nyc-mr2-dev
Pankaj Kanwar [Thu, 22 Dec 2016 17:59:08 +0000 (17:59 +0000)]
Merge "DO NOT MERGE: Add API to indicate carrier networks." into nyc-mr2-dev

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:54:44 +0000 (17:54 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51 am: 56098f81b6
am: 7cec76de0f

Change-Id: I9168d45717c26e71bb356dd7304276e23c519bd9

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:44:46 +0000 (17:44 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc am: 1ac8affd51
am: 56098f81b6

Change-Id: I14fcacaede569580c8ca8e5bbbebb408ddcce76a

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:39:18 +0000 (17:39 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66 am: d82f8a67fc
am: 1ac8affd51

Change-Id: I965c900e266a9189c595612cef6ddac839498949

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:34:11 +0000 (17:34 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2 am: 1f458fdc66
am: d82f8a67fc

Change-Id: I25e43680e464c5169e8a5b9e8151b0dab2d2cf86

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:29:05 +0000 (17:29 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344 am: d28eef0cc2
am: 1f458fdc66

Change-Id: I61d4b25ee0264397693f30e2091997c058d0c5fc

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:23:39 +0000 (17:23 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b am: 1684e5f344
am: d28eef0cc2

Change-Id: If937d91cee2bb06406cf3cd1ae6ac3402a51e88d

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:19:10 +0000 (17:19 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516 am: 0a8978f04b
am: 1684e5f344

Change-Id: I0ebd2856e2e2f3793273ba952b44dc77e85b021e

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:14:05 +0000 (17:14 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872 am: 3380a77516
am: 0a8978f04b

Change-Id: I693665a57465ec57f946fad57cda9ce48389408f

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e am...
Tom O'Neill [Thu, 22 Dec 2016 17:09:09 +0000 (17:09 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e am: d417e54872
am: 3380a77516

Change-Id: Ice61f337e1fcfd0569431538e475d94f9d205423

7 years agoMerge "Make users of MtpServer fill in DeviceInfo field values"
Alex Klyubin [Thu, 22 Dec 2016 17:06:06 +0000 (17:06 +0000)]
Merge "Make users of MtpServer fill in DeviceInfo field values"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Thu, 22 Dec 2016 17:04:10 +0000 (17:04 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 1fc63da0e5  -s ours

Change-Id: Ib2099e20656223d72578b92a147f6041d5531438

7 years agoFix exploit where can hide the fact that a location was mocked am: a206a0f17e
Tom O'Neill [Thu, 22 Dec 2016 17:04:07 +0000 (17:04 +0000)]
Fix exploit where can hide the fact that a location was mocked am: a206a0f17e
am: d417e54872

Change-Id: I2f47020055f962b36f095137d75c9cbfe6b1a6db

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 17:04:07 +0000 (17:04 +0000)]
Import translations. DO NOT MERGE
am: 7158c89582  -s ours

Change-Id: Ibd294babd698ce66db219d5dd351b157b3158423

7 years agoFix exploit where can hide the fact that a location was mocked
Tom O'Neill [Thu, 22 Dec 2016 16:58:33 +0000 (16:58 +0000)]
Fix exploit where can hide the fact that a location was mocked
am: a206a0f17e

Change-Id: Ib3af056919a4b909d3d11dd3fe2b46eaa7cdf0f4

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 22 Dec 2016 16:57:10 +0000 (16:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Thu, 22 Dec 2016 08:08:08 +0000 (08:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 45c9ba9c15  -s ours

Change-Id: I55a93590829178eaabf1899be1a740c763676c24

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 08:08:04 +0000 (08:08 +0000)]
Import translations. DO NOT MERGE
am: 0277a42568  -s ours

Change-Id: If66e092903c2f532c4473359e5e792de5a17d327

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 22 Dec 2016 08:00:05 +0000 (08:00 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 03:50:32 +0000 (19:50 -0800)]
Import translations. DO NOT MERGE

Change-Id: Id563dc4a6227745978c8999d577b0970c5c1103f
Auto-generated-cl: translation import

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Dec 2016 03:41:35 +0000 (19:41 -0800)]
Import translations. DO NOT MERGE

Change-Id: I292c850e85d1d11be974bc80ddd0ecd7a66ca557
Auto-generated-cl: translation import

7 years agoMerge "Fix failing WifiNetworkScoreCacheTest."
Treehugger Robot [Thu, 22 Dec 2016 03:11:57 +0000 (03:11 +0000)]
Merge "Fix failing WifiNetworkScoreCacheTest."

7 years agoNetworkNotificationManager: remove spammy log
Hugo Benichi [Thu, 22 Dec 2016 03:02:39 +0000 (03:02 +0000)]
NetworkNotificationManager: remove spammy log
am: 1f0d972efc

Change-Id: I01785760854cd040c0d09f76e3832bbb7986dc4e

7 years agoDO NOT MERGE: Add API to indicate carrier networks.
pkanwar [Sun, 18 Dec 2016 04:16:48 +0000 (20:16 -0800)]
DO NOT MERGE: Add API to indicate carrier networks.

Bug: 31003437
Change-Id: I3e3989256588f509c45e50374b8b7168589d6c5d

7 years agoNetworkNotificationManager: remove spammy log
Hugo Benichi [Thu, 22 Dec 2016 00:49:11 +0000 (09:49 +0900)]
NetworkNotificationManager: remove spammy log

Test: build, flashed, booted phone.
Bug: 32198726
Change-Id: I3ac2f07c756f48653195f6198aaee4d8b3939fb5

7 years agoFix failing WifiNetworkScoreCacheTest.
Sundeep Ghuman [Thu, 22 Dec 2016 00:44:46 +0000 (16:44 -0800)]
Fix failing WifiNetworkScoreCacheTest.

There was a NPE thrown by an unintialized mock.

Bug: 33818187
Test: Android unit tests
Change-Id: I478885dcebaf41f93488a6a12bb83652ad462be5

7 years agoMerge "Cherrypick: Define the calculateRankingScore method and Key."
Treehugger Robot [Thu, 22 Dec 2016 00:03:56 +0000 (00:03 +0000)]
Merge "Cherrypick: Define the calculateRankingScore method and Key."

7 years agoMerge changes I40f055df,I562713df
Treehugger Robot [Wed, 21 Dec 2016 22:58:40 +0000 (22:58 +0000)]
Merge changes I40f055df,I562713df

* changes:
  Stay bound to the most current active scorer.
  Clear and restore the calling ID.

7 years agoCherrypick: Define the calculateRankingScore method and Key.
Sundeep Ghuman [Wed, 7 Dec 2016 21:32:33 +0000 (13:32 -0800)]
Cherrypick: Define the calculateRankingScore method and Key.

Define the key to be used to store the rankingScoreOffset inside the
ScoredNetwork bundle. Implement a platform API method to calculate the
ranking score for a given rssi.

OCL: ag/1688711

Bug: 33049302
Test: Unit tests
Change-Id: Ia3fea2197d7c211a2313fced8713d79d8d5f4f6e
Merged-In: Ia3fea2197d7c211a2313fced8713d79d8d5f4f6e
Topic: ScoredNetworkRankingScore

7 years agoMake users of MtpServer fill in DeviceInfo field values
Alex Klyubin [Wed, 21 Dec 2016 19:19:52 +0000 (11:19 -0800)]
Make users of MtpServer fill in DeviceInfo field values

This is part of weaning apps off accessing system identifiers via
system properties API. Apps should use android.os.Build API instead.

Bug: 33700679
Test: Enable MTP mode then check that mtp-detect output same as before this commit
Change-Id: I4e6696cdee18b9c3e987c432c095911e85a997db

7 years agoStay bound to the most current active scorer.
Jeremy Joslin [Wed, 21 Dec 2016 00:59:26 +0000 (16:59 -0800)]
Stay bound to the most current active scorer.

This fixes the following issue:

1) Scorer A is active and bound.
2) A change occurs to Scorer A such that it is no longer the selected
   scorer.
3) Scorer B is selected as the scorer and returned whenever
   getActiveScorer() is queried.
4) Scorer A is never unbound because it isn't seen as the active
   scorer.
5) Scorer B is never bound until its package changes in some way (or
   the feature is disabled/enabled).

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest + manual testing.
Change-Id: I40f055df472e2b9e7b07e6979a841dd4c0b794ce
Merged-In: I468a8c02a72f089f1fb778d150d945efe5485b88