Commit Graph

4064 Commits

Author SHA1 Message Date
Alice Sheng
20f6e59d58 Merge "Revert "Add setting for enabling CPU frequency scaling."" into pi-dev am: 7723aed494
am: 4aa94a7c50

Change-Id: Id2d785bd171e9ef5803b65cb6f4b82ae93005701
2018-03-20 06:13:31 +00:00
Alice Sheng
4aa94a7c50 Merge "Revert "Add setting for enabling CPU frequency scaling."" into pi-dev
am: 7723aed494

Change-Id: Ibc6fb095d97e53b9bd95b58e1fbbb77a92d24145
2018-03-20 03:25:22 +00:00
Roshan Pius
265efbd527 Merge "Settings: Remove unused bg scan throttle settings" into pi-dev
am: f4f317798b

Change-Id: Ifb8dcd8b7d98bf427864651d5a80b4d2efbb3d77
2018-03-20 02:31:23 +00:00
Ajay Nadathur
e9c0e21d44 Merge "Add setupwizard personalisation state to Settings" into pi-dev
am: e9b60f2cd3

Change-Id: Idd6fbd7415316ffe8e6641ec2becb99c6d48329d
2018-03-20 00:07:13 +00:00
Alice Sheng
7723aed494 Merge "Revert "Add setting for enabling CPU frequency scaling."" into pi-dev 2018-03-19 22:38:25 +00:00
Alice Sheng
6750352248 Revert "Add setting for enabling CPU frequency scaling."
This reverts commit 2e8afd8736.

Reason for revert: SELinux Boot crash
Bug: 75974893

Change-Id: I4751530a1b460842130a495efe688aaf19b92638
2018-03-19 22:36:52 +00:00
TreeHugger Robot
f4f317798b Merge "Settings: Remove unused bg scan throttle settings" into pi-dev 2018-03-19 22:24:04 +00:00
Alice Sheng
23164d63a6 Merge "Add setting for enabling CPU frequency scaling." into pi-dev am: 1799f2b878
am: 4eafb6299d

Change-Id: I35f597767a1025fb17352016682c2f49ea8676ce
2018-03-19 21:48:31 +00:00
TreeHugger Robot
e9b60f2cd3 Merge "Add setupwizard personalisation state to Settings" into pi-dev 2018-03-19 21:26:37 +00:00
Alice Sheng
4eafb6299d Merge "Add setting for enabling CPU frequency scaling." into pi-dev
am: 1799f2b878

Change-Id: I297da1b2ed52e81bb632842b468237d2b0ed31a9
2018-03-19 20:33:11 +00:00
TreeHugger Robot
71ac2424f2 Merge "Add setupwizard personalisation state to Settings" 2018-03-19 19:04:28 +00:00
Alice Sheng
1799f2b878 Merge "Add setting for enabling CPU frequency scaling." into pi-dev 2018-03-19 18:41:40 +00:00
Roshan Pius
9c396677d9 Settings: Remove unused bg scan throttle settings
Bug: 68987915
Test: Compiles
Change-Id: I49b213f0d63f2a639e45c2239506787d31ae866a
Merged-In: Id878daa0f782ddc751e726ee19cdc1c8e5ea1bc2
2018-03-19 10:39:18 -07:00
Roshan Pius
b58bfc11c8 Settings: Remove unused bg scan throttle settings
Bug: 68987915
Test: Compiles
(cherry-picked from d8fa3c3bdf7a66681986dc52e7ba4f8f75061c9b)

Change-Id: Id878daa0f782ddc751e726ee19cdc1c8e5ea1bc2
2018-03-19 03:00:32 +00:00
Michael Kwan
d1457eea49 Merge "Modify time only mode flag into set of values instead of just one." into pi-dev am: c5d0ed9f3c
am: 74d615f1ac

Change-Id: I98aaa71b0988e96d079ed1813dbb777565c3d655
2018-03-17 22:39:28 +00:00
Michael Kwan
74d615f1ac Merge "Modify time only mode flag into set of values instead of just one." into pi-dev
am: c5d0ed9f3c

Change-Id: I4721197b1329a14aa51f1b49a05bdade1fb71ef8
2018-03-17 22:22:33 +00:00
Ajay Nadathur
702fc647f3 Add setupwizard personalisation state to Settings
bug: 74396457
Test: Manually tested and verified
Change-Id: I84b8cf7c45818131f903743b6c42cfeffe1c7194
Merged-In: I84b8cf7c45818131f903743b6c42cfeffe1c7194
2018-03-17 02:20:22 +00:00
Anthony Stange
44b04655e5 Merge "Add scan background mode to Settings.Global." am: 3aa064897e am: 4061a9f348
am: 5dd917de9f

Change-Id: Ib7fa9d8bafc273b6d455a15dd4d5a685010979b3
2018-03-16 20:06:24 +00:00
Anthony Stange
5dd917de9f Merge "Add scan background mode to Settings.Global." am: 3aa064897e
am: 4061a9f348

Change-Id: Iac4d39cc4fcf0f0c8273cee7fbe9822251764068
2018-03-16 19:40:08 +00:00
Michael Kwan
5f5a0bf00d Modify time only mode flag into set of values instead of just one.
The time only mode flag has not been used yet, so the change should
be low impact.

Bug: 38259902
Test: m -j32
Change-Id: Ie01870633dbaaf51989a148f105a995f58f0da4e
2018-03-16 12:34:19 -07:00
Anthony Stange
8bde24cf53 Merge "Revert "Add scan background mode to Settings.Global."" 2018-03-16 17:49:12 +00:00
Anthony Stange
ac6e72bb07 Revert "Add scan background mode to Settings.Global."
This reverts commit bf9f70e146.

Reason for revert: aosp is automatically merged to the internal tree. Since this was submitted outside the tree too, it's causing problems it seems. https://android-build.googleplex.com/builds/branches/git_mirror-aosp-master-with-vendor/grid?head=4659773&tail=4659610

Change-Id: I086d636ce8c7b67b33904195e6977e6c333e08ba
2018-03-16 17:22:56 +00:00
Anthony Stange
ff54a35a0f Add scan background mode to Settings.Global.
This enables us to mess with the different scan intervals and shift
clients to a different scan mode in the background based on what scan
interval values we choose for the different power modes.

Bug: 71765044
Test: None. Just adding a key.
Change-Id: Id48ebc521dd3fe8a68c9c4c0bdb1018ea5b3743e
2018-03-16 16:07:45 +00:00
Annie Meng
d069a888cf DO NOT MERGE Create a setting for backup/restore agent timeouts
Part of push to make backup and restore agent timeouts configurable. Creates
a Global setting for the current static BackupManagerService timeouts so
that they can be overriden with P/H. We keep the current default values,
which will be updated once we investigate what more appropriate values are.

Remame the constants to better reflect what they're used
for. Next, we will update the framework to use these constants.

This depends on the refactor of how we observe changes to key value
backup settings (ag/3709997).

Bug: 70276070
Test: m -j RunFrameworksServicesRoboTests ROBOTEST_FILTER=BackupAgentTimeoutParametersTest
Change-Id: Id506314ce0c8bd5e4d1d8b4001b26cbad0056c99
2018-03-15 17:43:56 +00:00
Annie Meng
1e13e37401 Create a setting for backup/restore agent timeouts
Part of push to make backup and restore agent timeouts configurable. Creates
a Global setting for the current static BackupManagerService timeouts so
that they can be overriden with P/H. We keep the current default values,
which will be updated once we investigate what more appropriate values are.

Remame the constants to better reflect what they're used
for. Next, we will update the framework to use these constants.

This depends on the refactor of how we observe changes to key value
backup settings (ag/3709997).

Bug: 70276070
Test: m -j RunFrameworksServicesRoboTests ROBOTEST_FILTER=BackupAgentTimeoutParametersTest
Change-Id: Id506314ce0c8bd5e4d1d8b4001b26cbad0056c99
2018-03-15 12:59:13 +00:00
Primiano Tucci
d4b6c8c162 Merge "perfetto: Add setting to enable/disable traced" into pi-dev 2018-03-15 12:24:02 +00:00
Hector Dearman
cf92ca169b perfetto: Add setting to enable/disable traced
This will help us run P/H experiments by controlling the
whether traced runs through P/H.

This will allow to gradually roll out traced and, in an
emergency, remotely disable it.

Run:
$ adb shell 'ps -A | grep traced'
Should see traced.
$ adb shell 'settings put global sys_traced 0'
$ adb shell 'ps -A | grep traced'
Should no longer see traced.

Test: See above.
Bug: b/71737179
Bug: b/74383547
Change-Id: I1f564421d9abae14d7d80769e9517eb363dae33a
Merged-In: I1f564421d9abae14d7d80769e9517eb363dae33a
2018-03-15 12:23:03 +00:00
Kweku Adams
5ddc3fe039 Merge "incidentd: cleaning up settings.proto" into pi-dev am: 41b5ece135
am: 81b8e992ca

Change-Id: I16d72f114e5a34ea08564d9fa27361c65c8a7d91
2018-03-14 22:31:19 +00:00
TreeHugger Robot
41b5ece135 Merge "incidentd: cleaning up settings.proto" into pi-dev 2018-03-14 21:31:32 +00:00
Antony Sargent
8eafafded3 Merge "Update comment for HAPTIC_FEEDBACK_ENABLED setting" into pi-dev am: d357342a4a
am: 537e2d55e5

Change-Id: If065b6aad2c4864cbc728af8818bd94f1fc6a046
2018-03-14 18:24:33 +00:00
Ajay Nadathur
08bc0d04a4 Add setupwizard personalisation state to Settings
bug: 74396457
Test: Manually tested and verified
Change-Id: I84b8cf7c45818131f903743b6c42cfeffe1c7194
2018-03-13 23:16:38 +00:00
Kweku Adams
3699c36d24 incidentd: cleaning up settings.proto
This also fixes dumping of settings that use a prefix.

Since the proto isn't being used yet, I thought it would be nice to
clean it up so we start using it with a clean format.

Bug: 74611860
Test: flash device and check incident output.
Change-Id: Ib99ccab7929208cf8b4404715b0bd417852314c6
2018-03-13 13:36:05 -07:00
Antony Sargent
4457bb8e04 Update comment for HAPTIC_FEEDBACK_ENABLED setting
The current comment is a little confusing, and this ends up in the
public documentation here:

https://developer.android.com/reference/android/provider/Settings.System.html#HAPTIC_FEEDBACK_ENABLED

See b/22390263 entry for a link to at least one instance where an actual
developer was confused by this.

This CL changes the comment to match what we call the setting in the UI
of the Settings app. Note that it's possible this could become stale
someday (e.g. we used to label this "Vibrate on touch" and switched to
"Vibrate on tap" at some point), but this description will probably
still be ok and remain an improvement over what we have now.

Bug: 22390263
Test: N/A (comment only change)
Change-Id: I717a7c5a2f9ecc38cfe6f0c1c0379a868f810782
2018-03-13 16:42:32 +00:00
Alice Sheng
2e8afd8736 Add setting for enabling CPU frequency scaling.
Bug: 74018496
Change-Id: I97a6828b6248ae6850e615a4840469420dbaf918
2018-03-13 09:42:08 -07:00
TreeHugger Robot
0dba1eecd8 Merge "Allow carrier-privileged apps to access voicemail provider." into pi-dev 2018-03-13 01:41:35 +00:00
Beverly Tai
30fd31daf4 Merge "Using zen duration preference" into pi-dev am: 75431913ef
am: 32cd38c699

Change-Id: I6419ffd80c8af484d77029cfe2bb43b69a5aacc6
2018-03-13 01:28:19 +00:00
Beverly Tai
75431913ef Merge "Using zen duration preference" into pi-dev 2018-03-12 21:39:18 +00:00
Felipe Leme
8a8651580d Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev am: 9e56800b6e
am: f31e8da93b

Change-Id: Ia74afca9bbe4ac0fb248eb368a747d7a321604ef
2018-03-12 21:20:21 +00:00
TreeHugger Robot
9e56800b6e Merge "Moved urlBarResourceId from autofill service manifest to whitelist settings." into pi-dev 2018-03-12 18:53:10 +00:00
Anthony Stange
5d9907e88e Merge "Add scan background mode to Settings.Global." 2018-03-12 17:49:55 +00:00
Felipe Leme
1c7eb0c8eb Moved urlBarResourceId from autofill service manifest to whitelist settings.
The manifest attribute is still public as it might have been used by autofill
services deployed against P DP1; it will be removed after the next developer
previs is branched out. We also need to assumie a default value for the buttons
if not specified by settings, but that will be done in a separate change so it
can be easily reverted.

Also implemented support for multiple buttons, and added unit tests.

Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest \
CtsAutoFillServiceTestCases:VirtualContainerActivityTest \
FrameworksServicesTests:AutofillManagerServiceTest

Bug: 74445943
Bug: 72811561
Fixes: 73786629

Change-Id: I066ecf40fde2c5318dd8633a659fca8b7af8aecd
2018-03-12 10:11:20 -07:00
Tyler Gunn
dd72cb529f Merge "Support enhanced call blocking function" into pi-dev 2018-03-12 15:16:04 +00:00
Anthony Stange
bf9f70e146 Add scan background mode to Settings.Global.
This enables us to mess with the different scan intervals and shift
clients to a different scan mode in the background based on what scan
interval values we choose for the different power modes.

Bug: 71765044
Test: None. Just adding a key.
Change-Id: Iebfc780e87c8e9545f24183f9b35f126f0e57d97
2018-03-12 14:53:43 +00:00
TreeHugger Robot
08d01b9e1a Merge "perfetto: Add setting to enable/disable traced" 2018-03-12 14:11:20 +00:00
Hector Dearman
c9342849e0 perfetto: Add setting to enable/disable traced
This will help us run P/H experiments by controlling the
whether traced runs through P/H.

This will allow to gradually roll out traced and, in an
emergency, remotely disable it.

Run:
$ adb shell 'ps -A | grep traced'
Should see traced.
$ adb shell 'settings put global sys_traced 0'
$ adb shell 'ps -A | grep traced'
Should no longer see traced.

Test: See above.
Bug: b/71737179
Change-Id: I1f564421d9abae14d7d80769e9517eb363dae33a
2018-03-12 11:27:04 +00:00
Phil Weaver
18ba6b80d8 Merge "Permit all daltonizer settings to be restored" into pi-dev am: 33975d7a3b
am: a3d986be78

Change-Id: Ie6477db0a0ea456085a99701836c8a57a3b3fb04
2018-03-10 07:00:18 +00:00
Marco Nelissen
95f468d032 Merge "Rework thumbnail cleanup" into oc-mr1-dev am: b20a329f4c am: 6db0f4dac8
am: 18001f79e5

Change-Id: Id348c43f719620070f4d26581d9c307f1827e609
2018-03-10 06:32:44 +00:00
Phil Weaver
a3d986be78 Merge "Permit all daltonizer settings to be restored" into pi-dev
am: 33975d7a3b

Change-Id: I7a92c24887c0b9f50c43d20b606c74e4f9a3079e
2018-03-10 02:55:34 +00:00
Marco Nelissen
18001f79e5 Merge "Rework thumbnail cleanup" into oc-mr1-dev am: b20a329f4c
am: 6db0f4dac8

Change-Id: I4f834d6c91255e7a59f608d8f28972ecfb8619fe
2018-03-10 02:28:49 +00:00
TreeHugger Robot
33975d7a3b Merge "Permit all daltonizer settings to be restored" into pi-dev 2018-03-09 23:55:50 +00:00