Ben Weiss
b5d57e1048
Merge "Make ArcMotion material spec compliant"
2017-01-10 11:10:33 +00:00
Jeff Sharkey
8dedad31f7
Wire up storage stats API to installd.
...
Now that installd has the implementation details we need, we can wire
up the public APIs to use them.
Shuffle APIs around a bit so that StorageStats can be reused for both
UID and UserHandle results, and rename StorageSummary to
ExternalStorageStats. Provide getTotalBytes() and getFreeBytes() as
first-class methods so we can answer those questions quickly without
paying the cost of measuring external storage details.
Current costs on a typical device with a test account after flushing
dentry caches:
queryStatsForUid() manual: 6922ms
queryStatsForUid() quota: 525ms
queryStatsForUser() manual: 1686ms
queryStatsForUser() quota: 113ms
queryExternalStatsForUser() manual: 42ms
queryExternalStatsForUser() quota: 2ms
For verification purposes, a new "fw.verify_storage" system property
can be set to compute both manual and quota statistics, and log any
discrepancies.
Test: builds, boots
Bug: 27948817, 32206268
Change-Id: I4ea3df3372a7379aa8cf4c20c44120c8f0702c15
2017-01-09 22:30:58 -07:00
Michael Kwan
7cf986aba3
resolve merge conflicts of c252b661e6 to master
...
Change-Id: Ia3fbedc5b0f90988ef319720a9e668ccc9e297f4
2017-01-09 16:12:53 -08:00
Michael Kwan
c252b661e6
Check if the activity translucency was converted before converted back. am: 39dd370d8e
...
am: 898385ed59
Change-Id: I5bee496498ebcff712184f417adfdf8ee5436e7d
2017-01-09 23:15:23 +00:00
Michael Kwan
898385ed59
Check if the activity translucency was converted before converted back.
...
am: 39dd370d8e
Change-Id: Ib0705da70acd8abceedd5c1deeacae5023032543
2017-01-09 23:06:21 +00:00
Eugene Susla
2ddcb077ac
Merge "Unit test to keep a11y cache critical events up to date"
2017-01-09 22:59:39 +00:00
Michael Kwan
39dd370d8e
Check if the activity translucency was converted before converted back.
...
Bug: 34084490
Change-Id: Ib04c76549a31c7e523649f9d284637d44d7477ae
2017-01-09 13:43:52 -08:00
Jeremy Joslin
6cf53d0ab8
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED." am: 4c456d7ddf am: 542aad4c75
...
am: f91d9debef
Change-Id: I7436278fa3eab064fe2b416c672bedaa300eb501
2017-01-09 21:17:17 +00:00
Jeremy Joslin
f91d9debef
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED." am: 4c456d7ddf
...
am: 542aad4c75
Change-Id: I3b35ec04e65f6b14f75f266dfcf15c10a12a4d74
2017-01-09 21:07:48 +00:00
Jeremy Joslin
542aad4c75
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
...
am: 4c456d7ddf
Change-Id: I441cae5096b922419763832d5b38faa95818e337
2017-01-09 20:58:50 +00:00
TreeHugger Robot
e2489c67e1
Merge "Using official names for clusters and sections."
2017-01-09 20:25:45 +00:00
TreeHugger Robot
93b785a90f
Merge "Revert "Implement Account Discovery API.""
2017-01-09 20:04:52 +00:00
TreeHugger Robot
29c0a2c93d
Merge "Do not report uptime to tron after runtime restart"
2017-01-09 19:56:16 +00:00
Mark Renouf
d9d871ff58
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN am: 9b32a35aa7 am: 7ef0b07465
...
am: d5a1123109
Change-Id: Ie02c9f74fc93133a68940204420c48f92d4b352f
2017-01-09 19:47:22 +00:00
TreeHugger Robot
e7e4998784
Merge "Updating PIP to match UX"
2017-01-09 19:33:09 +00:00
Mark Renouf
d5a1123109
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN am: 9b32a35aa7
...
am: 7ef0b07465
Change-Id: I8e6ed26b1109dd3cb293d3a0a2307877fa5e4304
2017-01-09 19:30:38 +00:00
Mark Renouf
7ef0b07465
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
...
am: 9b32a35aa7
Change-Id: I99d041ae3a1771e17c94a168cf672f8b73ce572d
2017-01-09 19:13:55 +00:00
Jeremy Joslin
186f3339ab
Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED.
...
Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33752149
Change-Id: I3dd352c98bbc34b128ab9c2a28f81e1261ae2669
Merged-In: I7d91fa9a4f6ef4f9170c6af98567ce443c805e74
2017-01-09 11:03:21 -08:00
Mark Renouf
5df216f209
Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev
2017-01-09 19:00:05 +00:00
Dmitry Dementyev
2e22cfbefb
Revert "Implement Account Discovery API."
...
This reverts commit 58fa836210 .
Change-Id: Iffc9c5eb63db382b720b45ff5e8f1948db908a03
2017-01-09 18:42:14 +00:00
TreeHugger Robot
a2b61657c4
Merge "Add @Nullable to CompoundButton#setOnCheckedChangeListener()."
2017-01-09 18:33:44 +00:00
Fyodor Kupolov
6733e6c6b6
Do not report uptime to tron after runtime restart
...
Runtime restart doesn't reset the uptime counter. We shouldn't report
boot timings in that case.
Bug: 32807863
Test: manual
Change-Id: If9510c0d5c633acefe70f241e0823da8f6c248a2
2017-01-09 10:29:42 -08:00
Chris Craik
2294458565
Merge "Fix NPE in RenderNodeAnimator ALPHA when used outside ViewPropertyAnimator"
2017-01-09 18:15:32 +00:00
Alex Naidis
bede012069
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd am: 545cf37844 am: edca8aa3a8
...
am: 32dfe8c611
Change-Id: I5faf99bd2b4425f1615419de43f247f78d74108b
2017-01-09 17:14:34 +00:00
Alex Naidis
32dfe8c611
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd am: 545cf37844
...
am: edca8aa3a8
Change-Id: Idbd8b16f0825bdcf48d2013448c767d0966434fe
2017-01-09 17:09:31 +00:00
Alex Naidis
edca8aa3a8
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd
...
am: 545cf37844
Change-Id: I452e3fcbda9cfa24db5b2bfdd077b7e5a7b241b4
2017-01-09 17:04:32 +00:00
Alex Naidis
545cf37844
Merge "StorageManager: Improve exception handling"
...
am: cf3a4a68bd
Change-Id: Id421cb483655dab6d379251d983da2bdcafe598d
2017-01-09 16:59:56 +00:00
Alison Cichowlas
0f961084ce
Merge "Log wrapper for multi-metrics in tron."
2017-01-09 16:39:04 +00:00
Alex Naidis
19d9c2d03c
StorageManager: Improve exception handling
...
When "getPrimaryStorageSize" provides a path
to "readLong", the option that the path
doesn't exist is expected, since it tries
all paths from "INTERNAL_STORAGE_SIZE_PATHS"
until there is success.
This patch makes us catch the "FileNotFoundException"
and "NumberFormatException" seperately.
For the above reason a "FileNotFoundException"
is now treated as an information only.
The "NumberFormatException" and other exceptions
are now treated as error since those are not
expected to happen.
Change-Id: I5316f9c3108e36c31b27dc5df8bf8ac4d4257629
Signed-off-by: Alex Naidis <alex.naidis@linux.com >
2017-01-09 16:27:52 +00:00
Julia Reynolds
6eb2857ee2
Merge "Cannot have badge only channels"
2017-01-09 14:59:50 +00:00
Charles He
31df867f7e
Merge "Update SystemUpdatePolicy javadoc."
2017-01-09 11:09:58 +00:00
Nick Kralevich
4429993d78
Merge "Dumps total size of primary storage." am: 55dc66dde4 am: 12b387dd87
...
am: a63462c794
Change-Id: I2a62442a581d89054421dd6c44c610fb7ee9a0c4
2017-01-08 15:09:21 +00:00
Nick Kralevich
a63462c794
Merge "Dumps total size of primary storage." am: 55dc66dde4
...
am: 12b387dd87
Change-Id: I08e98467d212a7f9ec01b16a46540bc3d059ee51
2017-01-08 15:04:54 +00:00
Nick Kralevich
12b387dd87
Merge "Dumps total size of primary storage."
...
am: 55dc66dde4
Change-Id: Ifc3537d3aeda5e6eb3b1c003a4eaf392d07bcf86
2017-01-08 15:00:18 +00:00
Felipe Leme
c0d3f0ed52
Dumps total size of primary storage.
...
BUG: 32069168
Test: manual verification
(cherry picked from commit 281389ac54 )
Change-Id: If5dee52a99c03a00dada22736c09d953dc0b66d1
2017-01-08 03:51:37 +01:00
Jeff Sharkey
8d729e8c14
Merge "Initial API shape for storage statistics."
2017-01-07 16:18:38 +00:00
Dave Friedman
a873bf444e
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0 am: eedb695579 am: fb8676e50c
...
am: 5346355f4d
Change-Id: I67559350187089b64f0ce092c1f6ae8e7a52542e
2017-01-07 03:06:54 +00:00
Dave Friedman
5346355f4d
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0 am: eedb695579
...
am: fb8676e50c
Change-Id: I5b13dcbab3aed19c805473a6ab91eef197ded51d
2017-01-07 02:58:15 +00:00
Dave Friedman
fb8676e50c
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
...
am: eedb695579
Change-Id: Ia5922ed50290cc8f47d07f1516bc5a21b0bec270
2017-01-07 02:50:18 +00:00
TreeHugger Robot
54f0fd1071
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
2017-01-07 02:48:44 +00:00
Dave Friedman
eedb695579
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
...
am: a111e0f7f0
Change-Id: Ic5d7e0ce01bd573e0882122d0709cbc2da56f448
2017-01-07 02:43:44 +00:00
Dmitry Dementyev
ed92d5b55b
Merge "Implement Account Discovery API."
2017-01-07 02:41:44 +00:00
Dave Friedman
a111e0f7f0
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
...
am: e0fd4c8a3b
Change-Id: I8f65ad71433efbe1121e0617c6d7575b7db3a051
2017-01-07 02:38:45 +00:00
Dave Friedman
e0fd4c8a3b
Docs: Updates Javadoc documentation. Bug: 32532540
...
am: 2a3ebadcbe
Change-Id: Ibee55c5e73d9b51e5f5df24be01b0b797fa8a7a5
2017-01-07 02:30:45 +00:00
Adam Lesinski
6224a32197
Merge changes from topic 'learned_capacity'
...
* changes:
BatteryStats: Report learned battery capacity as event
Parcel/unparcel charge_full state from BatteryProperties
2017-01-07 01:51:07 +00:00
Stefan Kuhne
643ba812eb
Merge "Apps which do not support density cannot be resized"
2017-01-07 01:35:02 +00:00
Alison Cichowlas
803054dccb
Log wrapper for multi-metrics in tron.
...
Test: Added new LogBuilderTest; runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/LogBuilderTest.java
new file: core/java/com/android/internal/logging/LogWrapper.java
Change-Id: I8c64a07b95ab9a70f39663d4ec54f9ec1bf49063
2017-01-06 20:24:16 -05:00
Dmitry Dementyev
58fa836210
Implement Account Discovery API.
...
Bug: https://b.corp.google.com/issues/33046496
Test: cts tests, manual tests.
Change-Id: I03d1ae5dfa1577f191817aa7d508f6b4d0e625ed
2017-01-06 16:44:27 -08:00
Dave Friedman
2a3ebadcbe
Docs: Updates Javadoc documentation.
...
Bug: 32532540
Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404
2017-01-06 16:41:19 -08:00
Winson Chung
a5acf18dfe
Updating PIP to match UX
...
- Updating menu actions to match design, fixing issue where
the actions background would still be visible if there were
no actions
- Enabling tap-to-show-menu, minimizing, snap-to-edge by default,
and removing swipe to dismiss option.
- Making the visible size a fixed value instead of a fraction of
the PIP size
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: Ib767df497ca7bc901c553d35168080f3b737033a
Signed-off-by: Winson Chung <winsonc@google.com >
2017-01-06 16:20:52 -08:00