Commit Graph

97573 Commits

Author SHA1 Message Date
Toby Sargeant
e27df4dd82 Merge "[wv] Add WebView unresponsive renderer APIs." 2019-01-17 10:31:42 +00:00
Stanislav Zholnin
2452709418 Merge "Added a new set of permissions for DeviceConfig API." 2019-01-17 10:16:25 +00:00
Remi NGUYEN VAN
e9ffc74145 Merge "Add stable AIDL parcelables for LinkProperties" am: c37177a7d6 am: e45592f5fd
am: 15f85cd5f2

Change-Id: I81b1d0405d144dc8b053c6f3961a5542de4dd0ec
2019-01-17 01:06:47 -08:00
Remi NGUYEN VAN
15f85cd5f2 Merge "Add stable AIDL parcelables for LinkProperties" am: c37177a7d6
am: e45592f5fd

Change-Id: I301f9ccac2008c102dbc5e14e3654cf268e20d1d
2019-01-17 00:55:38 -08:00
Remi NGUYEN VAN
e45592f5fd Merge "Add stable AIDL parcelables for LinkProperties"
am: c37177a7d6

Change-Id: I556614a2b98a7574cbf9690e0ae5438cad701597
2019-01-17 00:43:32 -08:00
Yueming Wang
21be1cf12d Merge "Add new intents, extras and constants for provisioning optimization." 2019-01-17 08:34:18 +00:00
Remi NGUYEN VAN
c37177a7d6 Merge "Add stable AIDL parcelables for LinkProperties" 2019-01-17 08:30:18 +00:00
TreeHugger Robot
7e59dcb44f Merge "Create a new constant for system app to start a voice service." 2019-01-17 05:16:24 +00:00
Remi NGUYEN VAN
4855a2e2c6 Add stable AIDL parcelables for LinkProperties
Test: atest android.net.shared.LinkPropertiesParcelableUtilTest
Bug: b/112869080
Change-Id: I2b69980e25bae9f51fb5b8cd3cafb403e6bd53da
2019-01-17 13:11:12 +09:00
Shubang Lu
7e355f522e Merge changes Ibcebfcc2,Ic2e63185,I90def978,I30031fc9,I0cfa1989
* changes:
  Fix hdmi framework tests.
  Use the Short Audio Descriptor xml parser to get config when receive request short audio descriptor message.
  Add parser for Short Audio Descriptor xml config
  Add an API for clients to know if a target device is connected to the current device.
  Add TV_INPUT_ALLOW_3RD_PARTY_INPUTS to settings
2019-01-17 03:19:05 +00:00
Lucas Dupin
842af1ecd6 Merge "Add support to SLPI tap gestures" 2019-01-17 02:38:09 +00:00
Yiwei Zhang
c631eeadd6 Merge "GUP: Add a global property for genreal preference" 2019-01-17 02:02:44 +00:00
Felipe Leme
7a4c182d47 Merge "Minor fixes on ContentCapture session logic." 2019-01-17 01:27:34 +00:00
jiayuzhou
2c80b59010 Create a new constant for system app to start a voice service.
Test: build and update the api.
Bug: 122048642

Change-Id: I4d5b94cd94090553ad4b2355b47391ee29a2beb8
2019-01-16 17:01:07 -08:00
TreeHugger Robot
c810ff0157 Merge "Defer sending of ACTION_CHARGING" 2019-01-16 23:53:58 +00:00
Zhi An Ng
11b63629de Defer sending of ACTION_CHARGING
ACTION_CHARGING is sent when the device is in a good enough charging
state for power-heavy work to be done. It was sent immediately when this
determination was done:
1. plugged in and level >= 90
2. plugged in and level is increasing
However this lead to many jobs being ungated when this happen, and
defeats the purpose of plugging in your device to get a quick boost.

In the case of 2. we defer the sending of ACTION_CHARGING by a
configurable time, defaulting to 15minutes, after said determination.

The adb command to play with this is:

adb shell settings put global battery_stats_constants battery_charged_delay_ms=90000

Bug: 111360323
Test: Set the delay to 15s, then cmd battery unplug and reset,
verify that broadcast is sent in dumpsys activity broadcasts
Change-Id: I71f8d06604041efeba12fbdfd0374aaff2f04807
2019-01-16 23:53:17 +00:00
TreeHugger Robot
9ab55d9a14 Merge "Fix default of extractNativeLibs in parseBaseApplication" 2019-01-16 23:26:46 +00:00
Hui Yu
46c2a56f6d Merge "UsageStats DEVICE_SHUTDOWN event." 2019-01-16 23:22:06 +00:00
Amy
ff115f167f Add an API for clients to know if a target device is connected to the
current device.

ag/5583395

Note the API also returns true if the current device itself is the
target device.

Test: manual
Change-Id: I30031fc98f4e6547bbe3492b22a65b6e11b6efda
2019-01-16 14:42:16 -08:00
yuemingw
c5524f2944 Add new intents, extras and constants for provisioning optimization.
Bug: 122725418
Test: manual
Change-Id: I84ebac25621ea252030741b9f725075eeed1cd7b
2019-01-16 22:29:14 +00:00
Aurimas Liutikas
428ddacfa4 Merge "Add source style for each TypedValue." 2019-01-16 21:48:46 +00:00
TreeHugger Robot
8e0e5722f8 Merge "Pre-grant location permisson to location extra packages." 2019-01-16 21:17:40 +00:00
Ashley Rose
74c1d773f6 Merge "Refactor inspector API" 2019-01-16 20:59:22 +00:00
Felipe Leme
d65692c606 Minor fixes on ContentCapture session logic.
Some apps - like launcher and settings' FallbackHome - generate view-level events before ever
starting an activity (probably because they're using dialogs). Hence, we were scheduling a
flush request, but never cancelling it.

Bug: 120494182
Bug: 122959591
Test: atest CtsContentCaptureServiceTestCases

Change-Id: I4a5448f19902ae51c8f2679eb0c468757b98c3ff
2019-01-16 12:53:44 -08:00
Varun Shah
c51b2c6023 Merge "Adding a null check for ActivityManager#switchUser(UserHandle)." 2019-01-16 20:31:43 +00:00
TreeHugger Robot
46894e7ac2 Merge "Update BiometricManager constants to be more clear" 2019-01-16 19:55:26 +00:00
Kevin Chyn
922901849c Merge "Expose BiometricPrompt setRequireConfirmation API" 2019-01-16 19:51:12 +00:00
Lucas Dupin
d43bf70c58 Add support to SLPI tap gestures
This CL introduces a new configurable sensor type: config_dozeTapSensorType

Test: atest SystemUITests
Test: set config_dozeTapSensorType to double tap gesture on overlay
Bug: 121198822
Bug: 111414690
Change-Id: I54f3c20473a6d97c860ee02f324edbcf89ba85d1
2019-01-16 11:45:40 -08:00
Hui Yu
b1d243a51b UsageStats DEVICE_SHUTDOWN event.
DEVICE_SHUTDOWN event is used to close all open usage events that do
not have matching closing event when device is shut down. For example,
ACTIVITY_RESUMED or FOREGROUND_SERVICE_START are open events, the
DEVICE_SHUTDOWN event will close the usage session of the open events.

At orderly shutdown like selecting Power Off or Restart after pressing
power button, a DEVICE_SHUTDOWN event is sent to UsageStats.
UsageStats persists UsageStatsDatabase to disk immediately.

When power button is pressed for 3.5 seconds (configured by
config_veryLongPressTimeout in config.xml). A DEVICE_SHUTDOWN
event is sent to UsageStats. UsageStats persists UsageStatsDatabase
to disk immediately.

This is the mechanism that we do not lose UsageStats data when the
device is shut down.

When the device boots up, if the last event is not
DEVICE_SHUTDOWN, we add a DEVICE_SHUTDOWN with timestamp set to be the last
time database file is persisted. This is to handle the case device
shutdown abruptly due to power drained or cold temperature.

Bug: 111464278
Test: atest UsageStatsTest.java
Change-Id: I1e88063ba71d09042d02c6deb9f07d8581a15c30
2019-01-16 11:13:58 -08:00
shubang
3e32f59039 Add TV_INPUT_ALLOW_3RD_PARTY_INPUTS to settings
ag/5642255

Bug: 117782538
Test: make
Change-Id: I0cfa1989abf3e32162685871b3325b7593a78b41
2019-01-16 10:01:29 -08:00
TreeHugger Robot
8b08542a5a Merge "Schematize Display system properties" 2019-01-16 17:28:57 +00:00
Nandana Dutt
2a7be974fc Merge "BugreportAPI : Connect listener to binder callbacks" am: 4fefbddead am: 7b5f8817ce
am: 3a26a0bd5d

Change-Id: Iad0274d6ae8bf76475f1852a1d202a9df83c661d
2019-01-16 08:59:55 -08:00
Nandana Dutt
3a26a0bd5d Merge "BugreportAPI : Connect listener to binder callbacks" am: 4fefbddead
am: 7b5f8817ce

Change-Id: I5e296f6780569fe838e388962e1d0e2affd50aad
2019-01-16 08:44:27 -08:00
Nandana Dutt
7b5f8817ce Merge "BugreportAPI : Connect listener to binder callbacks"
am: 4fefbddead

Change-Id: I753774c8ce07c629ea85966e917c68de8223cbe5
2019-01-16 08:33:47 -08:00
TreeHugger Robot
a8b50584c6 Merge "Added IContentCaptureServiceCallback." 2019-01-16 16:30:57 +00:00
Treehugger Robot
4fefbddead Merge "BugreportAPI : Connect listener to binder callbacks" 2019-01-16 16:24:15 +00:00
TreeHugger Robot
f22cf5e09b Merge "Restore @UnsupportedApiUsage in AnimationListener" 2019-01-16 16:14:17 +00:00
Jelle Fresen
02301df216 Restore @UnsupportedApiUsage in AnimationListener
As long as FragmentManagerImpl in AndroidX is not fixed, we need to keep
this annotation, or FragmentManagerImpl will crash.

Bug: 122893665
Test: atest AnimationTest
Change-Id: I5e21ee5f3ffb4c314ae7b5ea8f32d3880e2f2550
2019-01-16 12:55:50 +00:00
Chalard Jean
abf3769f79 Merge changes I09167532,I7df77a99,I67797b3f,Ic27e706f am: 796c9446f7 am: 18e166a11b
am: 87d8e82e20

Change-Id: If096c80bc287402ff3b35a0a1bb12dbf65efdda0
2019-01-16 04:53:42 -08:00
Chalard Jean
87d8e82e20 Merge changes I09167532,I7df77a99,I67797b3f,Ic27e706f am: 796c9446f7
am: 18e166a11b

Change-Id: I174716764b2d6e441547d4fbad4043cdbf0f8ad9
2019-01-16 04:42:18 -08:00
Chalard Jean
18e166a11b Merge changes I09167532,I7df77a99,I67797b3f,Ic27e706f
am: 796c9446f7

Change-Id: Ib54334f0147616e604d8852b368aaefb44df88ca
2019-01-16 04:31:49 -08:00
Chalard Jean
796c9446f7 Merge changes I09167532,I7df77a99,I67797b3f,Ic27e706f
* changes:
  [MS06] Add the relevance utils.
  [MS05] Pretty print the data classes of IPMS.
  [MS04] Add an executor to the memory store.
  [MS03] Add the contract for the IPMS database.
2019-01-16 12:14:46 +00:00
Stanislav Zholnin
596437fd4e Added a new set of permissions for DeviceConfig API.
Permissions READ_DEVICE_CONFIG and WRITE_DEVICE_CONFIG are required to
use DeviceConfig API. Actual checks for new permissions are not added
as we are waiting for gmscore to include them into manifest.

Also added "configurator" protection flag.

Test: atest FrameworksCoreTests:DeviceConfigTest
      atest FrameworksCoreTests:SettingsProviderTest
      atest SettingsProviderTest:DeviceConfigServiceTest
Bug:109919982
Bug:113100523
Bug:113101834
Bug:117663715
Change-Id: I66c256b57c5491201c6c7834620a287b6c81c23c
2019-01-16 10:50:51 +00:00
Lorenzo Colitti
3d375dbd97 Merge changes Iec53a9fd,Iac4cfe70 am: 29afcf0eb0 am: b0c74fb227
am: 333a70ebe5

Change-Id: Ie225d000aeafb4a0b1e3910967c619fd932f239f
2019-01-16 02:03:06 -08:00
Lorenzo Colitti
333a70ebe5 Merge changes Iec53a9fd,Iac4cfe70 am: 29afcf0eb0
am: b0c74fb227

Change-Id: I56af4e9a82f66e507d2360822af27a39e0fcb238
2019-01-16 01:51:38 -08:00
Lorenzo Colitti
b0c74fb227 Merge changes Iec53a9fd,Iac4cfe70
am: 29afcf0eb0

Change-Id: I8fae2c4d23d6e904b473b1e906094f997c8e446c
2019-01-16 01:42:42 -08:00
Lorenzo Colitti
29afcf0eb0 Merge changes Iec53a9fd,Iac4cfe70
* changes:
  Test parceling empty LinkProperties.
  Delete the clatd functions from NetworkManagementService.
2019-01-16 09:28:06 +00:00
Narayan Kamath
69b09b0b7b Merge "Build: Add PREVIEW_SDK_FINGERPRINT." 2019-01-16 09:14:47 +00:00
Remi NGUYEN VAN
a7943e2578 Merge "Add Nat64Prefix to LinkProperties copy constructor" am: d1df42bbb9 am: 7817393ef9
am: 7609eb5667

Change-Id: I79e600d35770710f07adc55e9a7c55eb7c0f5ff1
2019-01-16 01:06:17 -08:00
Remi NGUYEN VAN
7609eb5667 Merge "Add Nat64Prefix to LinkProperties copy constructor" am: d1df42bbb9
am: 7817393ef9

Change-Id: I793230bd65e24c5976849e860defa159cf22507b
2019-01-16 00:57:04 -08:00