Commit Graph

3732 Commits

Author SHA1 Message Date
Pulkit Bhuwalka
a3427552fe Merge "Persist Bluetooth CoD config value across reboot" am: ba45409c92 am: b977674b17
am: 7cc5e10c2f

Change-Id: I4a0d1e8cc4f879896c3029a8f871d794362e0bca
2017-10-24 06:32:30 +00:00
Pulkit Bhuwalka
7cc5e10c2f Merge "Persist Bluetooth CoD config value across reboot" am: ba45409c92
am: b977674b17

Change-Id: I6b6745eb558d664e1f17d5e808c66990cd0038eb
2017-10-24 06:22:08 +00:00
Pulkit Bhuwalka
b977674b17 Merge "Persist Bluetooth CoD config value across reboot"
am: ba45409c92

Change-Id: I4d28d0b1b52e587285d3b92b66fdc4b6c1b38720
2017-10-24 06:13:48 +00:00
Treehugger Robot
ba45409c92 Merge "Persist Bluetooth CoD config value across reboot" 2017-10-24 06:05:45 +00:00
Hansong Zhang
5140894a5d Merge "Change Bluetooth HID Profile Name (1/6)" am: 8218b219f3
am: c8a370aeba

Change-Id: I2c5da84f5b57496e2a0ef45fb17085670f7465a9
2017-10-23 22:46:31 +00:00
Hansong Zhang
c8a370aeba Merge "Change Bluetooth HID Profile Name (1/6)"
am: 8218b219f3

Change-Id: Ic085deaa070b4008b34d03b507f81a5df220764a
2017-10-23 22:33:50 +00:00
Hansong Zhang
0edf754b2d Change Bluetooth HID Profile Name (1/6)
Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

(Cherry-picked from commit c26c76c63d)
Merged-In: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
2017-10-23 22:21:00 +00:00
Hansong Zhang
c26c76c63d Change Bluetooth HID Profile Name (1/11)
Make the Bluetooth HID profile name consistent with the Bluetooth HID service
name.

BluetoothInputHost → BluetoothHidDevice
BluetoothInputDevice → BluetoothHidHost
IBluetoothInputHost → IBluetoothHidDevice
IBluetoothInputDevice → IBluetoothHidHost
BluetoothProfile.INPUT_HOST → BluetoothProfile.HID_DEVICE
BluetoothProfile.INPUT_DEVICE → BluetoothProfile.HID_HOST

Bug: 68055651
Test: make
Change-Id: Iadb890a54dd3d6868b87514472bbac6bb0c6179f
2017-10-23 09:37:38 -07:00
Pulkit Bhuwalka
547853d4c3 Persist Bluetooth CoD config value across reboot
Create new Settings key for storage and update the API doc.

Bug: 36015415
Test: Verified by storing a value through a test app and restarting the
machine to ensure it's picked up.

Change-Id: I94aa054e525c4656bb3a824a29cae9c88f8904e0
2017-10-22 15:36:06 -07:00
TreeHugger Robot
f5699224e9 Merge "Add FingerprintEnroll API" 2017-10-20 21:41:01 +00:00
Ben Schwartz
4ee7b8af83 Merge "Add a global setting to disable DNS over TLS" am: 4a906c167b am: 3017ebec8c am: b84582fc96
am: 7e7c472d9a

Change-Id: I0c066afaa0d6d776cac08cbc7bd97dbf5b29a8be
2017-10-20 15:45:24 +00:00
Ben Schwartz
7e7c472d9a Merge "Add a global setting to disable DNS over TLS" am: 4a906c167b am: 3017ebec8c
am: b84582fc96

Change-Id: Ia64a8318ad2f57aa3dc58a13d20274b877649fef
2017-10-20 15:33:17 +00:00
Ben Schwartz
b84582fc96 Merge "Add a global setting to disable DNS over TLS" am: 4a906c167b
am: 3017ebec8c

Change-Id: I94c2f2011bbe29e3d8a39904d19d2b5c606ae0be
2017-10-20 15:18:38 +00:00
Ben Schwartz
3017ebec8c Merge "Add a global setting to disable DNS over TLS"
am: 4a906c167b

Change-Id: Ie0f5586342b32c9e7c745ab9697b44158a920233
2017-10-20 15:08:55 +00:00
Kevin Chyn
83ff28c00c Add FingerprintEnroll API
Bug: 65459785

Test: adb shell am start -a android.settings.FINGERPRINT_ENROLL
      Flow is correct with and without PIN/Pattern/Pass set up

Change-Id: Ib4daa9a4b687bb7b884fe4159a6cbd871db88641
2017-10-18 23:10:06 +00:00
Ben Schwartz
bccbd009ed Add a global setting to disable DNS over TLS
Bug: 63449024
Test: Manual.  Appears to work.
Change-Id: Ib3b58bfff5951240a2e02f18c362efa96635ef4f
2017-10-17 14:39:46 -04:00
Eugene Susla
a55f74e45d Magnification Gestures CTS test
Test: ensure affected CTS tests pass
Change-Id: I2ad9ef57098d1e9343d571e0d59504851ac691eb
2017-10-16 17:31:49 -07:00
Abodunrinwa Toki
2a86655b42 Merge "Flags to enable/disable smart selection in EditText" into oc-mr1-dev
am: 14ba6e10c0

Change-Id: I0ddb7b827ad8b0be37c7e1adc5a95493bd35d61f
2017-10-15 02:11:46 +00:00
Abodunrinwa Toki
ba60ab604c Flags to enable/disable smart selection in EditText
1. smart_selection_enabled_for_edit_text
   Disables smart selection for editable text.
2. smart_selection_dark_launch
   Dark launch TextClassifierImpl.suggestSelection(...)
   In this mode we run the method, but never change the user's
   selection to measure the quality of the results based on what
   the user actually wanted.

Bug: 65959640
Test: Manually tested flags turn on/off feature with 'adb shell
settings put global' and GServices override.
Test: bit FrameworksCoreTests:android.provider.SettingsBackupTest
Merged-In: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4
Change-Id: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4
2017-10-13 16:45:31 +01:00
TreeHugger Robot
f055302a73 Merge "Flags to enable/disable smart selection in EditText" 2017-10-13 00:33:44 +00:00
Abodunrinwa Toki
0e6b43ed58 Flags to enable/disable smart selection in EditText
1. smart_selection_enabled_for_edit_text
   Disables smart selection for editable text.
2. smart_selection_dark_launch
   Dark launch TextClassifierImpl.suggestSelection(...)
   In this mode we run the method, but never change the user's
   selection to measure the quality of the results based on what
   the user actually wanted.

Bug: 65959640
Test: Manually tested flags turn on/off feature with 'adb shell
settings put global' and GServices override.
Test: bit FrameworksCoreTests:android.provider.SettingsBackupTest
Change-Id: Iacc561c8ee004b0123de66ad1ee06b1f56b4e4b4
2017-10-12 23:50:53 +01:00
Winson Chung
fb44d212f2 3/Removing unnecessary filtering logic for recent tasks in SystemUI
- Remove all code related to last-stack-active-time, quiet profile task
  handling, and visible task range filtering
- Remove the notion of firstActiveTime since that was only used to filter
  tasks in SystemUI, also convert lastActiveTime to elapsed real time since
  it is only used in the system to order active tasks, and in SystemUI as
  a part of the TaskKey for caching purposes (it is no longer used to
  determine the last visible task based on time)

Bug: 34270611
Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/am/RecentTasksTest.java
Change-Id: I44d494a521f60f302e0976fcf33490fe837f7cdb
2017-10-12 11:26:15 -07:00
TreeHugger Robot
1334afec1f Merge changes from topic "wear_small_battery-master"
* changes:
  Revert device idle timing changes for small battery devices.
  Removing watch specific DeviceIdleController logic in favor of small battery device flag
2017-10-09 20:37:29 +00:00
Andrew Sapperstein
b5877b3e0c Merge "Update ANOMALY_DETECTION_CONSTANTS javadoc." into oc-mr1-dev am: 972446cf03
am: 31c0be94ef

Change-Id: I4fca12fbda920b77ae6309e98d5f764ea878b5ce
2017-10-07 00:48:35 +00:00
Andrew Sapperstein
31c0be94ef Merge "Update ANOMALY_DETECTION_CONSTANTS javadoc." into oc-mr1-dev
am: 972446cf03

Change-Id: I74706c0f8f2369ff06dc6d9d1d588845edd467b4
2017-10-07 00:37:06 +00:00
Andrew Sapperstein
858a4640f3 Update ANOMALY_DETECTION_CONSTANTS javadoc.
Adds more of the supported parameters including the new
wakeup blacklist parameter.

Bug: 67000019
Test: is comment change
Change-Id: Iee80b5cbf7972860e87efd5551bce962a3fa03c5
2017-10-06 14:26:08 -07:00
shreerag
597da8ad11 Removing watch specific DeviceIdleController logic in favor of small battery device flag
Bug: 28091250
Change-Id: Iaeda3c8249287fec7d17e575071de22cad344cea
(cherry picked from commit b964832da6a6ba0615c1f7606b22b5fd89c45491)
2017-10-05 16:08:09 -07:00
Chris Wren
5a860604e3 Merge "Enable experimentation on notification snooze options" into oc-mr1-dev am: 9cb14a0c95
am: 4706c262fa

Change-Id: Ic99064fcb8a51b8d66ce5b55e4e2da52cbc1557b
2017-10-03 00:28:16 +00:00
Chris Wren
4706c262fa Merge "Enable experimentation on notification snooze options" into oc-mr1-dev
am: 9cb14a0c95

Change-Id: Ia54ca5b12479f22c9bef54b1f488bcb74e15423f
2017-10-03 00:19:02 +00:00
Chris Wren
e901a7e0ed Enable experimentation on notification snooze options
Bug: 67003813
Test: runtest systemui

Change-Id: Id46ef3938e2edc633f64cec7b66e10d80c9a0bff
2017-10-02 17:38:16 -04:00
Kenny Guy
c4db5cae4f Fix typo in Settings.BOOT_COUNT
Change-Id: Idc274d55e4c26584288455f8087776d0a8b930e5
Test: make docs
2017-09-21 12:00:41 +01:00
Christine Franks
0321346f38 Handle night display state when timezone changes
Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
(cherry picked from commit 2ce862c3ed)
2017-09-20 03:35:49 +00:00
Christine Franks
1cdb151ef7 Merge "Handle night display state when timezone changes" into oc-mr1-dev
am: 1276f357d3

Change-Id: I96cc0161eb092f2a965efbff4a417bc992493625
2017-09-20 00:43:12 +00:00
Christine Franks
1276f357d3 Merge "Handle night display state when timezone changes" into oc-mr1-dev 2017-09-20 00:23:28 +00:00
Christine Franks
2ce862c3ed Handle night display state when timezone changes
Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
2017-09-19 14:37:26 -07:00
TreeHugger Robot
8c8ded0e11 Merge "Add a backup manager constants secure settings." 2017-09-15 01:38:50 +00:00
Tim Zheng
cc1e76a4b3 Add a backup manager constants secure settings.
This change add one secure settings which is a key value list consisting
of 7 individual settings; it also provides a class to get these settings
and use the default values specified in default.xml file when the settings
are missing.

This is the first part of a 2 part change. A subsequent change will use
these settings in backup service manger for setting up backup frequency.

Test: This change builds. Manual tests will be included in part 2 of the
change.
Bug: 63351792
Change-Id: I62baddbf3e0b96af6b7de3dfdeac3479e5b3ded8
2017-09-14 16:32:21 -07:00
Dave Friedman
7c8f03477b Docs: Updating ANDROID_ID information to reflect Android O changes. Bug: 38270718 am: 4b3a4b58ed am: d1412d3d60 am: b8ae843a20
am: 8be86f28f8

Change-Id: I0a64f06c0771f88f1cbe09d46f48fca35529ea42
2017-09-14 22:04:25 +00:00
Dave Friedman
8be86f28f8 Docs: Updating ANDROID_ID information to reflect Android O changes. Bug: 38270718 am: 4b3a4b58ed am: d1412d3d60
am: b8ae843a20

Change-Id: Ic72fdc1f0833b8ebcd6d789cc2023266287dc341
2017-09-14 02:22:00 +00:00
Sundeep Ghuman
bd89855f46 Merge "Change score cache eviction time to settings value." into oc-mr1-dev
am: 2193f912f3

Change-Id: Ifec764594fcaa858a81d52896cc501d56dcf20e0
2017-09-14 02:18:01 +00:00
Dave Friedman
b8ae843a20 Docs: Updating ANDROID_ID information to reflect Android O changes. Bug: 38270718 am: 4b3a4b58ed
am: d1412d3d60

Change-Id: Ia63b719e65f0d82f7aa65fd4a74a442ffa27190d
2017-09-14 00:11:57 +00:00
Dave Friedman
1bfd76caf7 Docs: Updating ANDROID_ID information to reflect Android O changes. Bug: 38270718 am: 4b3a4b58ed
am: d1412d3d60

Change-Id: I89c089697a431a21d120561fcd54ead30320751c
2017-09-14 00:11:54 +00:00
Dave Friedman
d1412d3d60 Docs: Updating ANDROID_ID information to reflect Android O changes. Bug: 38270718
am: 4b3a4b58ed

Change-Id: I2925d1d3bf70cebfb8d830a28a977208138d91af
2017-09-13 23:42:48 +00:00
Sundeep Ghuman
1e98151104 Change score cache eviction time to settings value.
Reduce default eviction time from intended 24 hours (erroneously input
as 24 days) to 20 minutes.

Bug: b/63073866
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I89eae2483b9a65a65d7cf5b1151952609b6b7fd7
Merged-In: I89eae2483b9a65a65d7cf5b1151952609b6b7fd7
2017-09-13 13:23:55 -07:00
Dave Friedman
4b3a4b58ed Docs: Updating ANDROID_ID information to reflect Android O changes.
Bug: 38270718

Test: Verified on local build.

Change-Id: If4f86d261ae950cc14579aeba65c36a289cdf56c
2017-09-13 08:47:46 -07:00
Chad Brubaker
e7454950f6 Merge "Expand and expose Lockdown global action" 2017-09-11 22:04:07 +00:00
Chad Brubaker
4f28f0de37 Expand and expose Lockdown global action
This action puts the phone into the state where it can only be unlocked
via the user's primary knowledge factor. In the future this can also
evict keys and otherwise secure the device beyond the norm in a sketchy
situation.

This is currently controlled Settings.Secure.LOCKDOWN_IN_POWER_MENU, it
can be enabled for testing via
`adb shell settings put secure lockdown_in_power_menu 1`

Bug: 37221346
Test: Manual
Change-Id: I6197fadf655e5298cab1ab95153c316b87f3b718
2017-09-07 16:14:46 -07:00
Daniel Nishi
1b1b7827c8 Merge "Flag storage settings cache invalidation time." into oc-mr1-dev am: b53b925f68
am: a5288e7ae6

Change-Id: I4f82aba1446d3fa959ed8055b7d9fb97cfc69b64
2017-09-07 15:34:47 +00:00
Daniel Nishi
a5288e7ae6 Merge "Flag storage settings cache invalidation time." into oc-mr1-dev
am: b53b925f68

Change-Id: Ib6706048900ee19a72ad412da091a9278adb42c5
2017-09-07 15:15:04 +00:00
Sundeep Ghuman
9bb85d3c4d Change score cache eviction time to settings value.
Reduce default eviction time from intended 24 hours (erroneously input
as 24 days) to 20 minutes.

Bug: b/63073866
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java

Change-Id: I89eae2483b9a65a65d7cf5b1151952609b6b7fd7
2017-09-06 18:09:35 -07:00