Jack Yu
73056d5feb
Fixed the logic for tethering provisioning re-evaluation am: 91a0bc9564 am: 40d0753b10 am: 413922e746 am: 426f454b69 am: fab95f8ad6
...
am: 37d3b12aa1
Change-Id: I751c29efc17d371905f5d70460e65744c63ec1fc
2017-02-02 22:45:43 +00:00
Jack Yu
37d3b12aa1
Fixed the logic for tethering provisioning re-evaluation am: 91a0bc9564 am: 40d0753b10 am: 413922e746 am: 426f454b69
...
am: fab95f8ad6
Change-Id: I7c8ac34bfb4bf1bcf6323163ef872d83ee58bfcc
2017-02-02 22:41:34 +00:00
Jack Yu
fab95f8ad6
Fixed the logic for tethering provisioning re-evaluation am: 91a0bc9564 am: 40d0753b10 am: 413922e746
...
am: 426f454b69
Change-Id: I063d17c3eeb6f5b6ec32c261b22ccea273c572ea
2017-02-02 22:36:03 +00:00
Jack Yu
426f454b69
Fixed the logic for tethering provisioning re-evaluation am: 91a0bc9564 am: 40d0753b10
...
am: 413922e746
Change-Id: I8664d6e42113b4c22741b06780727b10c2e6804e
2017-02-02 22:31:29 +00:00
Jack Yu
413922e746
Fixed the logic for tethering provisioning re-evaluation am: 91a0bc9564
...
am: 40d0753b10
Change-Id: I1f8a897862c69a475c6d12a824bd69ed8692cd99
2017-02-02 22:26:09 +00:00
Jack Yu
40d0753b10
Fixed the logic for tethering provisioning re-evaluation
...
am: 91a0bc9564
Change-Id: I4c499b756c019d83a61e61da3065f31a4d8672f2
2017-02-02 22:21:00 +00:00
Suprabh Shukla
773f85ec60
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3 am: 2e6bdbeaab
...
am: 588411fc7c -s ours
Change-Id: I1511e5dff681d06161cd18b78e7edaf7eddb897a
2017-02-02 02:38:24 +00:00
Suprabh Shukla
588411fc7c
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8 am: ab8d3febd3
...
am: 2e6bdbeaab
Change-Id: I7e286445a887e467a7de42ce9b27a9dc009e47fd
2017-02-02 02:32:48 +00:00
Suprabh Shukla
2e6bdbeaab
DO NOT MERGE Do not call RecoverySystem with DPMS lock held am: 4ffe72dcc8
...
am: ab8d3febd3
Change-Id: If42411391fe2010162c51adf48e720e308a650ec
2017-02-02 02:28:13 +00:00
Suprabh Shukla
ab8d3febd3
DO NOT MERGE Do not call RecoverySystem with DPMS lock held
...
am: 4ffe72dcc8
Change-Id: Ic7b9ef6484df0b57c8f1ee7a483ef3bda05c7cc7
2017-02-02 02:21:16 +00:00
Makoto Onuki
2317451acc
DO NOT MERGE 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: Ia832bed0f22396998d6307ab46e262dae9463838
(cherry picked from commit efdec8f568 )
2017-01-31 21:21:36 +00:00
Suprabh Shukla
4ffe72dcc8
DO NOT MERGE 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.
Bug 30681079
Change-Id: Ia832bed0f22396998d6307ab46e262dae9463838
2017-01-31 13:01:36 -08:00
Kenny Guy
f98ed6863a
Fix issue with saving admins before finishing loading.
...
Saving device policy managers settings to clear out
password stats was happening before initializing mAdminList
so could wipe active admins.
Test: manual - flash with N2G05C add google account with dmagent flash wth this fix, check dmagent is still an active admin, reboot check admin is still active.
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services
Bug: 34277435
Change-Id: I13660b47f30e9aba001eb13f2e457c3b3f36da3e
(cherry picked from commit adbda7474c )
2017-01-18 12:01:55 +00:00
Jack Yu
91a0bc9564
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
Change-Id: I9960123605b10d3fa5f3584c6c8b70b616acd6f8
2017-01-16 10:53:28 -08:00
Andrew Scull
97848fc473
Merge "Don't save password metrics to disk." into nyc-dev
2017-01-13 12:18:45 +00:00
Andrew Scull
e4cefbf4fc
Don't save password metrics to disk.
...
On FBE devices, don't save the metrics to disk but compute them when the
password is first entered and only store them in RAM.
Merged-in: 5daf273b7e
Bug: 32793550
Change-Id: Icee7f615167761177b224b342970a36c7d90f6ba
2017-01-12 16:01:59 +00:00
David Friedman
101f885826
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
2017-01-07 02:24:57 +00:00
Dave Friedman
2a3ebadcbe
Docs: Updates Javadoc documentation.
...
Bug: 32532540
Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404
2017-01-06 16:41:19 -08:00
Kevin Hufnagle
c32df53fc7
docs: Added descriptions of IAB subscription-specific settings. am: 145b377b38
...
am: 4418907d50
Change-Id: I486f53410a427f373daec719bac522289d812e7a
2017-01-04 01:28:19 +00:00
Kevin Hufnagle
4418907d50
docs: Added descriptions of IAB subscription-specific settings.
...
am: 145b377b38
Change-Id: I1b7a0885f613beb9b7baba8a6b35b59f00989ff3
2017-01-04 01:24:24 +00:00
Kevin Hufnagle
dbe9b81ef5
Merge "docs: Added note - test subscriptions cannot use reserved IDs" into nyc-dev
2017-01-04 01:14:23 +00:00
Charles He
0e2e913b04
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev am: 63a27d773b am: 1422a6074d am: a1d59972ad am: f027831c6b am: 5c74a1e9bb
...
am: 1d84f619bf
Change-Id: Ic189edc98c3079ca98b258d08a5821b9c97dc027
2016-12-29 10:37:45 +00:00
Charles He
3cc7f6acdc
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable. am: 71d2a41dd9 am: d0339c6e8f am: 6aa436bef2 am: 76ca2da7e8 am: 0cc0219089
...
am: ced5ab190c
Change-Id: I59602f83fd659ce5192636d0e66feae217997d7c
2016-12-29 10:36:32 +00:00
Charles He
03fa83e216
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev am: 4bd97eb888 am: a8484b4f92 am: d7f2a4b0c7 am: b64af9bacd am: e15e0de7e5
...
am: 6bb6f02a15
Change-Id: I849811a3be2c6989edea3ed6f938b4b36a4fabe7
2016-12-29 10:35:19 +00:00
Charles He
8bcdab7e6f
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9
...
am: 9a47fa7fc0
Change-Id: Ifb9f5b177f7c031352e6e9cf308e6295f7c60074
2016-12-29 10:34:04 +00:00
Charles He
1d84f619bf
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev am: 63a27d773b am: 1422a6074d am: a1d59972ad am: f027831c6b
...
am: 5c74a1e9bb
Change-Id: Ie15d3c1927f17a36ed6d6bbe4b96c986536be3c7
2016-12-29 10:28:57 +00:00
Charles He
ced5ab190c
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable. am: 71d2a41dd9 am: d0339c6e8f am: 6aa436bef2 am: 76ca2da7e8
...
am: 0cc0219089
Change-Id: Id72d64d9356e362f35062bc6e45071b2be308558
2016-12-29 10:27:52 +00:00
Charles He
6bb6f02a15
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev am: 4bd97eb888 am: a8484b4f92 am: d7f2a4b0c7 am: b64af9bacd
...
am: e15e0de7e5
Change-Id: I12af619f1fce710f643387dca3e06c1c4b5258d3
2016-12-29 10:26:51 +00:00
Charles He
9a47fa7fc0
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882
...
am: e5156ec1e9
Change-Id: I62b79fe7ef5a2febce27729f4709a599832cb3da
2016-12-29 10:25:50 +00:00
Charles He
5c74a1e9bb
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev am: 63a27d773b am: 1422a6074d am: a1d59972ad
...
am: f027831c6b
Change-Id: I49d10d41d5b89c97a2f418ccaed44eeae720bb22
2016-12-29 10:21:47 +00:00
Charles He
0cc0219089
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable. am: 71d2a41dd9 am: d0339c6e8f am: 6aa436bef2
...
am: 76ca2da7e8
Change-Id: I9e20b2954ccb462cee31cb5ea44986c00afadbff
2016-12-29 10:20:47 +00:00
Charles He
e15e0de7e5
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev am: 4bd97eb888 am: a8484b4f92 am: d7f2a4b0c7
...
am: b64af9bacd
Change-Id: I261c46544e8e1aef26772d57475037810198e4d9
2016-12-29 10:19:49 +00:00
Charles He
e5156ec1e9
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611
...
am: 00a581f882
Change-Id: I016955744e48d7a91380c2ff39f7c64536a39c7e
2016-12-29 10:18:49 +00:00
Charles He
f027831c6b
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev am: 63a27d773b am: 1422a6074d
...
am: a1d59972ad
Change-Id: I027ab6594b563204515677fca9c256251b7067cd
2016-12-29 10:14:26 +00:00
Charles He
76ca2da7e8
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable. am: 71d2a41dd9 am: d0339c6e8f
...
am: 6aa436bef2
Change-Id: I994b2fe070091a32beffff9dbf11b907b7878fe8
2016-12-29 10:13:27 +00:00
Charles He
b64af9bacd
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev am: 4bd97eb888 am: a8484b4f92
...
am: d7f2a4b0c7
Change-Id: I3019f9751b69809d3cb66061753f0b76085b235b
2016-12-29 10:12:24 +00:00
Charles He
00a581f882
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d
...
am: 133ff4d611
Change-Id: I54b163f645f561243aac3df1a55c1023531997b3
2016-12-29 10:11:20 +00:00
Charles He
a1d59972ad
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev am: 63a27d773b
...
am: 1422a6074d
Change-Id: I2f3bf02f57c5f00964e645321467977b4ef498a7
2016-12-29 10:07:20 +00:00
Charles He
6aa436bef2
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable. am: 71d2a41dd9
...
am: d0339c6e8f
Change-Id: I0dbec3edf704821eb4605a48b770461eb99ddae7
2016-12-29 10:06:14 +00:00
Charles He
d7f2a4b0c7
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev am: 4bd97eb888
...
am: a8484b4f92
Change-Id: Id5a9576ab6e37e3744a59d904909d11f668d0e06
2016-12-29 10:05:02 +00:00
Charles He
133ff4d611
Prevent writing to FRP partition during factory reset. am: a9437bd1ca
...
am: 2ce5c4320d
Change-Id: I29339a634fd22cd46bfc08619464da8fe159a2b7
2016-12-29 10:03:53 +00:00
Charles He
1422a6074d
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev
...
am: 63a27d773b
Change-Id: I01d332678c1c3fe57ed36062a9ed01b5f368a55d
2016-12-29 09:50:26 +00:00
Charles He
d0339c6e8f
Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable.
...
am: 71d2a41dd9
Change-Id: Iab575b1efdd720c9cf9e32e0b056c99eff98deab
2016-12-29 09:50:20 +00:00
Charles He
a8484b4f92
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev
...
am: 4bd97eb888
Change-Id: I607f7ca9e160c4eed69a5baeff6b31d6db7c6b03
2016-12-29 09:48:50 +00:00
Charles He
2ce5c4320d
Prevent writing to FRP partition during factory reset.
...
am: a9437bd1ca
Change-Id: Ib0b8db2357317dc3e680910c08f15f098baf2af9
2016-12-29 09:48:45 +00:00
Charles He
63a27d773b
Merge "Add @GuardedBy annotation to PersistentDataBlockService#mIsWritable." into lmp-mr1-dev
2016-12-29 09:43:14 +00:00
Charles He
4bd97eb888
Merge "Prevent writing to FRP partition during factory reset." into lmp-mr1-dev
2016-12-29 09:42:30 +00:00
Tom O'Neill
7cec76de0f
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
2016-12-22 17:44:46 +00:00
Tom O'Neill
56098f81b6
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
2016-12-22 17:39:18 +00:00
Tom O'Neill
1ac8affd51
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
2016-12-22 17:34:11 +00:00