Makoto Onuki
fa3a2acfbc
Merge "Add stats logging to ServiceManager and NPMS" into pi-dev
...
am: a26e755900
Change-Id: Ib0bd9ecc183b1b2c9a6785554e6f717744820da3
2018-04-11 18:39:53 -07:00
TreeHugger Robot
a26e755900
Merge "Add stats logging to ServiceManager and NPMS" into pi-dev
2018-04-12 01:13:07 +00:00
Michael Wright
ec69f61cc4
Merge "Add API to compute charge time remaining." into pi-dev
...
am: ba6f173cb1
Change-Id: Ic2c23a0b22282a2bbea31ec004c58e2d686d2868
2018-04-11 17:56:45 -07:00
TreeHugger Robot
ba6f173cb1
Merge "Add API to compute charge time remaining." into pi-dev
2018-04-12 00:27:53 +00:00
Suprabh Shukla
87615abce6
Merge "Updating strings for activity interceptor dialog" into pi-dev
...
am: 3e5b5076a2
Change-Id: Ifedcc426f81670c705408f01638c69a761044dff
2018-04-11 16:54:52 -07:00
TreeHugger Robot
3e5b5076a2
Merge "Updating strings for activity interceptor dialog" into pi-dev
2018-04-11 23:39:46 +00:00
Makoto Onuki
49392d335a
Add stats logging to ServiceManager and NPMS
...
ServiceManager:
- Do an event log every N getService() calls with total time spent
in getService().
where N = 100 for core UIDs and 200 for other apps.
- Do an event log if getService() takes longer than N ms.
where N = 10 for core UIDs and 50 for other apps.
... with some extra throttling.
NPMS:
- Do the basic "stats logger" log for updateNetworkEnabledNL() and
isUidNetworkingBlocked()
This CL also enhances StatsLogegr so it now can show the slowest call
and the max # of calls per-second.
Bug: 77853238
Test: Manual test:
- Insert a SIM card
- Set data limit
- toggle airplane mode
- toggle wifi
- toggle mobile data
Then
- "dumpsys netpolicy" and "dumpsys activity processes" and check the stats
- also check "adb logcat -b all | grep ' service_manager'"
Change-Id: I5789541063f95d0eac501189816c8604a4571ba0
2018-04-11 16:37:57 -07:00
Jeff Sharkey
568a972669
Merge "APIs to disable data usage notifications." into pi-dev
...
am: f0b9fbebc0
Change-Id: I7b5bd380f00b6e94da79f43b354ecfc52df3f8e4
2018-04-11 16:14:26 -07:00
TreeHugger Robot
f0b9fbebc0
Merge "APIs to disable data usage notifications." into pi-dev
2018-04-11 23:05:03 +00:00
Kweku Adams
0c41a17c1e
Merge "Updating BatteryStats to account for Ambient Display sipper." into pi-dev
...
am: 5d9498a62c
Change-Id: Id2a3bb41586790366a945946bbb3326a4c7de142
2018-04-11 15:55:01 -07:00
Michael Wright
928167e044
Add API to compute charge time remaining.
...
This is so unbundled applications (e.g. dreams) can present a charge
time indicator that is in sync with the rest of the system.
Bug: 77919650
Test: manual
Change-Id: I7d62dea4fd49eb173b4f052a0fc36f4e7ce5b6bb
2018-04-11 23:47:31 +01:00
Chet Haase
a27a43ae51
Merge "Add targetSdk check around new LinearLayout weighted measure behavior" into pi-dev
...
am: f24335ec85
Change-Id: I6a3d25fc7b4c03be19847fa988f6119d1eb5e1bc
2018-04-11 15:38:23 -07:00
Mihai Popa
2bcd41461e
Merge "[Magnifier-39] Hide both handles on overlap" into pi-dev
...
am: aeed443b5b
Change-Id: I66773f70d0ec5ec4923215c3aa4b59894a1f2890
2018-04-11 15:33:51 -07:00
TreeHugger Robot
5d9498a62c
Merge "Updating BatteryStats to account for Ambient Display sipper." into pi-dev
2018-04-11 22:28:17 +00:00
Mihai Popa
6c909a6681
Merge "Fix ripple effect for floating toolbar menu items" into pi-dev
...
am: 6afcf2fb4d
Change-Id: Ic94b1ca619219268a1af233b61cc8df1f380c980
2018-04-11 15:27:59 -07:00
Chet Haase
f24335ec85
Merge "Add targetSdk check around new LinearLayout weighted measure behavior" into pi-dev
2018-04-11 22:17:44 +00:00
Mihai Popa
aeed443b5b
Merge "[Magnifier-39] Hide both handles on overlap" into pi-dev
2018-04-11 22:15:35 +00:00
Mihai Popa
6afcf2fb4d
Merge "Fix ripple effect for floating toolbar menu items" into pi-dev
2018-04-11 22:14:51 +00:00
Jeff Sharkey
0a5570d49d
APIs to disable data usage notifications.
...
Certain carriers have requested the ability to disable the warning,
limit, and rapid data usage notifications shown by the OS, so give
them that ability on a per-subId basis. (The notifications are still
enabled by default.)
Unhide NOT_CONGESTED to match setSubscriptionOverrideCongested().
Fix bug in getPrimarySubscriptionPlanLocked() to find the first
currently active plan; the first non-recurring plan may be no longer
active. Fix bug in SubscriptionPlan which allowed invalid negative
or zero-length Period objects.
Bug: 77851691, 77506882, 77662747
Test: atest com.android.server.NetworkPolicyManagerServiceTest
Test: atest android.telephony.cts.SubscriptionManagerTest
Exempt-From-Owner-Approval: SDK deadline, responding to API feedback
Change-Id: Ib6e6dbadd5022937c3f0661ab4b66aa617f0b5af
2018-04-11 22:07:40 +00:00
Julia Reynolds
fa40267709
Merge "Show onboarding screen from dnd tile" into pi-dev
...
am: b2943a864e
Change-Id: I38450b8983c6be32d0a5a7fca757eb031764c13a
2018-04-11 12:55:55 -07:00
Daniel Cashman
63b447531e
Merge "Add SigningInfo class to expose package signing details." into pi-dev
...
am: 960a0c6c57
Change-Id: I512db4ad4f81da5cdd61bb2de5f3ed0e719379c1
2018-04-11 12:40:33 -07:00
Julia Reynolds
b2943a864e
Merge "Show onboarding screen from dnd tile" into pi-dev
2018-04-11 19:36:41 +00:00
Yangster-mac
0b90c524cb
Merge "Trim the invalid uids and tags when reading uids/tags from chain." into pi-dev
...
am: 9054656c20
Change-Id: I3c67a3842b3444d1dbc068917500db908a383b9c
2018-04-11 12:24:31 -07:00
Daniel Cashman
960a0c6c57
Merge "Add SigningInfo class to expose package signing details." into pi-dev
2018-04-11 19:21:07 +00:00
Jason Monk
df0975bba5
Merge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
...
am: c2375d9b3d
Change-Id: Id7145e9d6432586d295f59b67a4f3b7e44d935b1
2018-04-11 11:56:07 -07:00
Colin Cross
3b11a4cb19
Merge "Revert "Update docs to match encryption requirements"" into pi-dev
...
am: fcbbb72603
Change-Id: I7b66ab3cb2362a6fa91d90b4b7237d6f3760b406
2018-04-11 11:44:45 -07:00
Nathan Harold
adff790058
Merge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
...
am: 68e5f0f242
Change-Id: I2542b4dcb94b306e3fe2e3e87051f1bd6a481561
2018-04-11 11:39:56 -07:00
TreeHugger Robot
9054656c20
Merge "Trim the invalid uids and tags when reading uids/tags from chain." into pi-dev
2018-04-11 18:29:40 +00:00
Bookatz
b1d3483102
Merge "StatsManager throws exceptions" into pi-dev
...
am: 6b317915e8
Change-Id: I3de523046404285f3bcc7bfff598393d7c16820d
2018-04-11 11:19:33 -07:00
David Pursell
6f42d1bac2
Merge "MessageQueue: explicitly remove FD event listeners." into pi-dev
2018-04-11 18:05:52 +00:00
Chavi Weingarten
5826a2a7ad
Merge "Synchronize stack position and size update for split screen" into pi-dev
...
am: 9553a11557
Change-Id: Ie9308010a2c856284aca2fdc53304e3b79a080bb
2018-04-11 10:52:25 -07:00
TreeHugger Robot
c2375d9b3d
Merge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
2018-04-11 17:52:22 +00:00
Colin Cross
fcbbb72603
Merge "Revert "Update docs to match encryption requirements"" into pi-dev
2018-04-11 17:28:39 +00:00
Colin Cross
4da1774894
Revert "Update docs to match encryption requirements"
...
This reverts commit cebb55ea9d .
Reason for revert: broke docs builds
Change-Id: I3a4b8d274141efec90fae2ed0b9324194288c635
2018-04-11 17:27:24 +00:00
Mathew Inwood
d39b02157b
Merge "Configurable sampling rate for hidden API access log events." into pi-dev
...
am: fb55bd8706
Change-Id: I734dffcd6c993bf718d6835a734be26de5d76780
2018-04-11 10:19:04 -07:00
Nathan Harold
68e5f0f242
Merge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
2018-04-11 17:09:07 +00:00
Adrian Roos
0c4b2b7f63
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
...
am: 2370f368d4
Change-Id: Ifae0d5e2c5bc226eaaf4462dd9b9cb044c8340b8
2018-04-11 10:06:56 -07:00
TreeHugger Robot
6b317915e8
Merge "StatsManager throws exceptions" into pi-dev
2018-04-11 17:02:06 +00:00
Phil Weaver
ca312e6c9f
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
...
am: 441ef0b94b
Change-Id: I41f5d4b21754b11be1ef7b0613598cd56e999ece
2018-04-11 10:01:04 -07:00
Chavi Weingarten
9553a11557
Merge "Synchronize stack position and size update for split screen" into pi-dev
2018-04-11 16:53:42 +00:00
Mathew Inwood
fb55bd8706
Merge "Configurable sampling rate for hidden API access log events." into pi-dev
2018-04-11 16:45:19 +00:00
TreeHugger Robot
2370f368d4
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
2018-04-11 16:44:32 +00:00
Patrick Baumann
364100b737
Merge "Revert "Check permissions only against packagesettings"" into pi-dev
...
am: 61aebf6d39
Change-Id: Idfe77e93a7dd1f3e87e58c1f323c080ed615a57a
2018-04-11 09:41:34 -07:00
Phil Weaver
441ef0b94b
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
2018-04-11 16:38:28 +00:00
Julia Reynolds
c4e5ecf703
Show onboarding screen from dnd tile
...
Increase the DND version and reset the setting so those who
are upgrading P->P see the new flow.
Test: manual
Change-Id: I9286f022d1fa6520305ff03dbce54c4eec0e371a
Fixes: 77658931
2018-04-11 12:23:05 -04:00
Chet Haase
cb8488822c
Add targetSdk check around new LinearLayout weighted measure behavior
...
Bug: 73827180
Test: Existing CTS tests in LinearLayoutTest
Change-Id: I88dfde3743d0f954cd275be6a0032fe30ef55c03
(cherry picked from commit 28230e5efa )
2018-04-11 16:22:47 +00:00
Bo Zhu
4e7fbda633
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
...
am: 4d1b57dad3
Change-Id: I07106b9b06f290d6d464a8d5bfbf82d90e95e000
2018-04-11 09:21:14 -07:00
Adrian Roos
51072a8b6f
DisplayCutout: Draw anti-aliased bounds in soft overlay
...
To do so, we cannot use the Region from DisplayCutout, because it is conceptionally
a binary Bitmap. Instead, we need the exact curve as a Path.
Also fixes a theoretical bug where the DisplayCutout
was cached even though the display height changed.
Change-Id: I9356f4589186fedc5dc95010c7bd1a1fa20edf5e
Fixes: 77868940
Test: Enable display cutout in developer options, verify the edges look smoth and not jagged.
Test: atest DisplayCutoutTest
2018-04-11 16:12:29 +00:00
TreeHugger Robot
61aebf6d39
Merge "Revert "Check permissions only against packagesettings"" into pi-dev
2018-04-11 16:05:39 +00:00
Bo Zhu
4d1b57dad3
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
2018-04-11 15:58:27 +00:00