Commit Graph

301953 Commits

Author SHA1 Message Date
TreeHugger Robot
5ef12f244c Merge "DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2" into nyc-mr2-dev 2016-12-20 21:50:16 +00:00
TreeHugger Robot
5d74f11768 Merge "Cancels out long press on recents fixed from previous change" 2016-12-20 21:47:49 +00:00
Xiaohui Chen
2d6accd7a9 Merge "sysui: update sw900dp navbar sizes" into nyc-mr2-dev 2016-12-20 21:44:26 +00:00
Hall Liu
e600fbaf21 Merge "Adds carrier config to determine if high definition audio is displayed" am: 26e5096364 am: fc125a319e am: 57c781417f -s ours
am: cbd67fed49  -s ours

Change-Id: If829c47b72444f722cd64abfb6e333c7ed394feb
2016-12-20 21:41:08 +00:00
Andre Eisenbach
f4344c21e0 Merge "Bluetooth: persist state when turning on from BLE" am: 8e9551bacf am: e6164ca72a am: bf43955a6b
am: 891a513e01

Change-Id: I3e7b3fb0cc9c8cc9a6377cca9b9e3c54d192fd33
2016-12-20 21:40:06 +00:00
Hall Liu
cbd67fed49 Merge "Adds carrier config to determine if high definition audio is displayed" am: 26e5096364 am: fc125a319e
am: 57c781417f  -s ours

Change-Id: Ic021a41d713aaa4f8a4af6cdcc1560b7b718b6e8
2016-12-20 21:36:12 +00:00
Andre Eisenbach
891a513e01 Merge "Bluetooth: persist state when turning on from BLE" am: 8e9551bacf am: e6164ca72a
am: bf43955a6b

Change-Id: I2d41410fcdb6824e45027412a7b80e16af797346
2016-12-20 21:35:03 +00:00
Daniel Nishi
090b2d9d6c Augment diskstats dumpsys to have categorization and apps.
This adds a new service which opportunistically saves the
file system categorization information and the app sizes. This
information is fetched during a diskstats dumpsys call from a file
stored on the disk. This allows us to keep the dumpsys running quickly
while adding information which is costly to calculate.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: Id59e84b9ad38a9debf3e46e5133ef06f7353829d
2016-12-20 13:32:51 -08:00
Brad Ebinger
917d048dde Merge "Adds custom call forwarding block while roaming carrier config key" 2016-12-20 21:31:36 +00:00
Daniel Nishi
c7d9de59bf Add an app size collector.
The app collector gets a list of app sizes for packages on a given
storage volume. This information will be exposed as part of an
expansion of the diskstats dumpsys.

When the collector runs, it sets up a handler on a BackgroundThread
which asks the PackageManager for the package sizes for all apps and
all users. The call for the information is blocked using a
CompletableFuture until the call times out or until we've received
all of the package stats. After the stats are all obtained, the
future completes.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: I3a27dc4410effb12ae33894b561c02a60322f7b0
2016-12-20 13:28:14 -08:00
Hall Liu
57c781417f Merge "Adds carrier config to determine if high definition audio is displayed" am: 26e5096364
am: fc125a319e

Change-Id: I305223c2a5499b9fdf2f1f59ddfda40712cd6172
2016-12-20 21:28:12 +00:00
Andre Eisenbach
bf43955a6b Merge "Bluetooth: persist state when turning on from BLE" am: 8e9551bacf
am: e6164ca72a

Change-Id: I7c27d09c83daf73817585f2713bd2f05b97cd525
2016-12-20 21:27:05 +00:00
Amin Shaikh
7a2d07f082 Merge "Add Wi-Fi quality badge icons." am: edb8982c31 am: 061d4fff4b am: 99a19e8116
am: 2280ecf83a

Change-Id: I8bd8b5d30d72dba4af94609f90af833454b618ae
2016-12-20 21:24:18 +00:00
Daniel Nishi
be770dce08 Add a file collector to the platform.
The file collector takes in a file path and recursively
classifies and provides the amount of storage provided by
each classification. This information can be surfaced in
Settings or to fulfill storage telemetry calculations.

Bug: 32207207
Test: System server instrumentation tests
Change-Id: Iff03260859cd4bbd11e7d60b1825115aad540d48
2016-12-20 13:24:14 -08:00
Hall Liu
fc125a319e Merge "Adds carrier config to determine if high definition audio is displayed"
am: 26e5096364

Change-Id: I2ce0958075ec3bd2c337993516ad06ffd264d594
2016-12-20 21:19:43 +00:00
Andre Eisenbach
e6164ca72a Merge "Bluetooth: persist state when turning on from BLE"
am: 8e9551bacf

Change-Id: Iad69e2f184df54ffbb2d7169e45345c80547b010
2016-12-20 21:18:35 +00:00
Alex Klyubin
aa34861b34 Merge "Permit 65535 byte ZIP comments and empty Central Directory" am: f420b91e26 am: be81b50b6e am: e1bc33228e
am: 9c280d1566

Change-Id: I45452e71df0779b69b77e2dd1691a6fa27868e74
2016-12-20 21:17:17 +00:00
Hall Liu
26e5096364 Merge "Adds carrier config to determine if high definition audio is displayed" 2016-12-20 21:13:31 +00:00
Amin Shaikh
2280ecf83a Merge "Add Wi-Fi quality badge icons." am: edb8982c31 am: 061d4fff4b
am: 99a19e8116

Change-Id: I68d8c31057da94ce90d4193ef2813646782746fa
2016-12-20 21:12:55 +00:00
Andre Eisenbach
8e9551bacf Merge "Bluetooth: persist state when turning on from BLE" 2016-12-20 21:11:59 +00:00
Marie Janssen
e0bfa2efa2 Bluetooth: persist state when turning on from BLE
Test: in BLE_ON state, turn to full on, reboot phone
Bug: 33777496
Change-Id: I246d6ff0dcb81d66aa915ef443040d6fc3c98310
2016-12-20 21:11:35 +00:00
Marie Janssen
fa9bec95a5 Bluetooth: persist state when turning on from BLE
Test: in BLE_ON state, turn to full on, reboot phone
Bug: 33777496
Change-Id: I246d6ff0dcb81d66aa915ef443040d6fc3c98310
2016-12-20 13:09:47 -08:00
Andrew Sapperstein
8dc3b870a0 Add flags to send package name for feedback.
Bug: 32189956
Test: make RunSettingsLibRoboTests
Change-Id: I0bd40fdf60b4f3ee21afad6e3f7dc3e4e87212f0
(cherry picked from commit c05c740d60)
2016-12-20 21:06:38 +00:00
Alex Klyubin
9c280d1566 Merge "Permit 65535 byte ZIP comments and empty Central Directory" am: f420b91e26 am: be81b50b6e
am: e1bc33228e

Change-Id: I80c703f7784436414263fb86f56b7c85a6da40e7
2016-12-20 21:05:15 +00:00
Svet Ganov
aa31697424 Settings recovery support
This change allows the system to perform iterative reset
of changes to settings in order to recover from bad a
state such as a reboot loop.

To enable this we add the notion of a default value. The
default can be set by any package but if the package that
set it is a part of the system, i.e. trusted, then other
packages that are not a part of the system, i.e. untrusted,
cannot change the default. The settings setter APIs that
do not take a default effectively clear the default. Putting
a setting from a system component always makes it the
default and if the package in not trusted then value is
not made the default. The rationale is that the system is
tested and its values are safe but third-party components
are not trusted and their values are not safe.

The reset modes from the least intrusive are: untrusted
defaults - reset only settings set by untrusted components
to their defaults or clear them otherwise; untrusted clear
- clear settings set by untrusted components (or snap to
default if provided by the system); trusted defaults - reset
all settings to defaults set by the system or clear them
otherwise.

Also a package can reset to defaults changes it made to
the global and secure settings. It is also possible to
associate a setting with an optional token which can then
be used to reset settings set by this package and
associated with the token allowing parallel experiments
over disjoint settings subsets.

The default values are also useful for experiment (or
more precisely iterative tuning of devices' behavior in
production) as the stable configuration can be set to
the "graduated" safe defaults and set the values to the
experimental ones to measure impact.

Test: tests pass

Change-Id: I8c23b145d4f8ee0de2f29dedaa4641ac59343d6a
2016-12-20 13:05:09 -08:00
TreeHugger Robot
74dfc6b177 Merge changes from topic 'diskstats-update'
* changes:
  Augment diskstats dumpsys to have categorization and apps.
  Add a file collector to the platform.
2016-12-20 21:03:57 +00:00
TreeHugger Robot
1dda953de5 Merge "Add an app size collector." 2016-12-20 21:03:57 +00:00
Amin Shaikh
99a19e8116 Merge "Add Wi-Fi quality badge icons." am: edb8982c31
am: 061d4fff4b

Change-Id: I25b230cbc51cd7079d2c73d116c9e4550fc5b02e
2016-12-20 20:53:32 +00:00
Amin Shaikh
d3dfd3b8e9 Make WifiConfiguration#meteredHint a @SystemApi
This allows NetworkRecommendationProviders to set this field on
returned WifiConfigurations.

Test: make
Bug: 33760009
Change-Id: I4d34272a1fb8d88bcc56cf4f00d8beadd06ac603
Merged-In: I4d34272a1fb8d88bcc56cf4f00d8beadd06ac603
2016-12-20 12:46:50 -08:00
Alex Klyubin
e1bc33228e Merge "Permit 65535 byte ZIP comments and empty Central Directory" am: f420b91e26
am: be81b50b6e

Change-Id: I1275903e7fda6bdd9c1012bc7cfb6c42f6b43304
2016-12-20 20:45:59 +00:00
TreeHugger Robot
52d6b6a041 Merge "Make WifiConfiguration#meteredHint a @SystemApi" 2016-12-20 20:39:58 +00:00
TreeHugger Robot
c6fca353cf Merge "Fix keyboard shortcut display layout" 2016-12-20 20:28:35 +00:00
TreeHugger Robot
06c073ea21 Merge "Define the calculateRankingScore method and Key." 2016-12-20 20:27:45 +00:00
Amin Shaikh
061d4fff4b Merge "Add Wi-Fi quality badge icons."
am: edb8982c31

Change-Id: I43d4f52e26eb7514b177d10769d6a5e3fc78f386
2016-12-20 20:24:31 +00:00
Amin Shaikh
f9d47b79b2 Expose ScanResult#untrusted as a @SystemApi.
- Expose ScanResult#untrusted to inform NetworkRecommendationProviders
  that a ScanResult does not correspond to a saved network.
- Add static construction methods and assertions to RecommendationResult

Test: runtest frameworks-services

Bug: 33490132
Change-Id: If7006040f63843c1c468c9d95c5c017383c5c5dd
2016-12-20 12:22:08 -08:00
Adrian Roos
e5726a2082 Ambient Display: Fix race with coloring and redaction
Fixes a bug that could result in a notification being colored on
ambient display when redaction is enabled.

Only the showing layout (either redacted or regular) was be set to
dark. If the showing layout changed after the darkness changed, the
newly showing layout was not properly darkened.

Change-Id: I0930ebe8007634ee92e104573294b5c27f1bad82
Fixes: 33429653
Test: Enable redacted notificationsn on lockscreen, enter ambient, verify that notifications are gray.
2016-12-20 20:17:36 +00:00
Treehugger Robot
edb8982c31 Merge "Add Wi-Fi quality badge icons." 2016-12-20 20:13:59 +00:00
Philipp Weiß
e9869cb0c7 Merge "DO NOT MERGE Show notification when network logging is enabled" into nyc-mr2-dev am: 2f42cbcad5
am: c10a5dc4ab  -s ours

Change-Id: I35284d792f8d02bae753caedd12db9600c3d462d
2016-12-20 20:10:59 +00:00
Manu Cornet
bf8e290376 DO NOT MERGE - Port 2D recents implementation from master to nyc-mr2
Bug: 32101881
Test: Checked Recents layout/behavior on local sw600dp device
Change-Id: I40be7dbaf8bc017b4c7c449f9bca657817107ceb
2016-12-20 12:10:41 -08:00
phweiss
38eb0347b7 DO NOT MERGE Show notification when network logging is enabled am: 923d2cc9d9
am: dee7669fd2  -s ours

Change-Id: I0db3e7214f51bcce68eca575bd829095ac627e83
2016-12-20 20:09:54 +00:00
Matthew Ng
8d3728806c Cancels out long press on recents fixed from previous change
This fixes an error from change-id
Ic9c8a5096ce9f30fc1265774ebb82c1356b1221b where the docked state was
not dismissed when long pressing recents. Minimized state is also
handled by not having the second vibration.

Test: manual - tested home screen, minimized, dock and undock the tasks
into multi-window mode
Fixes: 33655754
Fixes: 29927464
Change-Id: I3adedf9d0e1dcd5fe297f7ca8b9cb8faeba8bcb1
2016-12-20 12:08:57 -08:00
Tim Murray
2dc4a74806 Fix incorrect FIFO cgroup assignment.
bug 33745094

Change-Id: I46eefc8ea6f17ca3795f4743692ddfea36d5db0f
2016-12-20 12:06:33 -08:00
Philipp Weiß
c10a5dc4ab Merge "DO NOT MERGE Show notification when network logging is enabled" into nyc-mr2-dev
am: 2f42cbcad5

Change-Id: I3464a515734350bbd9b411932b2d6616a7ffcd58
2016-12-20 20:01:38 +00:00
phweiss
dee7669fd2 DO NOT MERGE Show notification when network logging is enabled
am: 923d2cc9d9

Change-Id: Ia5839248361a7d7fbb0c73cdb569ada62a96c286
2016-12-20 20:01:33 +00:00
Philipp Weiß
2f42cbcad5 Merge "DO NOT MERGE Show notification when network logging is enabled" into nyc-mr2-dev 2016-12-20 19:52:09 +00:00
TreeHugger Robot
331b8156c7 Merge "We should schedule an update when the expansion changes" 2016-12-20 19:50:15 +00:00
Carmen Jackson
cabf9af319 Merge "Add tracing for broadcast sending." 2016-12-20 19:41:24 +00:00
Roozbeh Pournader
3874d0409e Merge "Add locale choice for Cantonese for Hong Kong" 2016-12-20 19:39:25 +00:00
Roozbeh Pournader
edef8505cb Merge "Expand characters temporarily skipped in spellchecking" 2016-12-20 19:36:54 +00:00
Roozbeh Pournader
987661deb9 Merge "Add font descriptions for six more scripts to fonts.xml" 2016-12-20 19:34:09 +00:00