OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Mark CTS-tested APIs as @TestApi" into pi-dev
Shawn Willden [Wed, 11 Apr 2018 19:13:54 +0000 (12:13 -0700)]
Merge "Mark CTS-tested APIs as @TestApi" into pi-dev
am: 98831af78b

Change-Id: Ia2cd2684380aca372e912af9aeda343246df924e

6 years agoMerge "BufferingParams: add annotation @TestApi" into pi-dev
Wei Jia [Wed, 11 Apr 2018 19:08:14 +0000 (12:08 -0700)]
Merge "BufferingParams: add annotation @TestApi" into pi-dev
am: fb052cc3c0

Change-Id: I292beb9a2e88c2ca680412002e82ec4426ec9cf6

6 years agoMerge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
Jason Monk [Wed, 11 Apr 2018 18:56:07 +0000 (11:56 -0700)]
Merge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
am: c2375d9b3d

Change-Id: Id7145e9d6432586d295f59b67a4f3b7e44d935b1

6 years agoMerge "Revert "Update docs to match encryption requirements"" into pi-dev
Colin Cross [Wed, 11 Apr 2018 18:44:45 +0000 (11:44 -0700)]
Merge "Revert "Update docs to match encryption requirements"" into pi-dev
am: fcbbb72603

Change-Id: I7b66ab3cb2362a6fa91d90b4b7237d6f3760b406

6 years agoMerge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
Nathan Harold [Wed, 11 Apr 2018 18:39:56 +0000 (11:39 -0700)]
Merge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
am: 68e5f0f242

Change-Id: I2542b4dcb94b306e3fe2e3e87051f1bd6a481561

6 years agoMerge "Add filegroup for supporting apache-http stubs generation." into pi-dev-plus...
TreeHugger Robot [Wed, 11 Apr 2018 18:20:42 +0000 (18:20 +0000)]
Merge "Add filegroup for supporting apache-http stubs generation." into pi-dev-plus-aosp

6 years agoMerge "StatsManager throws exceptions" into pi-dev
Bookatz [Wed, 11 Apr 2018 18:19:33 +0000 (11:19 -0700)]
Merge "StatsManager throws exceptions" into pi-dev
am: 6b317915e8

Change-Id: I3de523046404285f3bcc7bfff598393d7c16820d

6 years agoMerge "Dismiss keyguard when switching user if lockscreen is disabled on new user...
Alex Chau [Wed, 11 Apr 2018 18:13:30 +0000 (11:13 -0700)]
Merge "Dismiss keyguard when switching user if lockscreen is disabled on new user" into pi-dev
am: 87646514be

Change-Id: I083f1e5c59090340be8afbd4c5178db16ef12772

6 years agoMerge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 18:09:37 +0000 (11:09 -0700)]
Merge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev
am: 6f14dc95cf

Change-Id: I1cda8ecb6e0878ffd133a35b32259171991762b2

6 years agoMerge "Mark CTS-tested APIs as @TestApi" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:03:44 +0000 (18:03 +0000)]
Merge "Mark CTS-tested APIs as @TestApi" into pi-dev

6 years agoMerge "BufferingParams: add annotation @TestApi" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 18:01:24 +0000 (18:01 +0000)]
Merge "BufferingParams: add annotation @TestApi" into pi-dev

6 years agoMerge "Greylist methods with varargs and intrinsics" into pi-dev
David Brazdil [Wed, 11 Apr 2018 17:57:56 +0000 (10:57 -0700)]
Merge "Greylist methods with varargs and intrinsics" into pi-dev
am: 1eff922e34

Change-Id: I2cf0a3459b3723aa263d5ae6ca4dafe3a589181d

6 years agoMerge "Synchronize stack position and size update for split screen" into pi-dev
Chavi Weingarten [Wed, 11 Apr 2018 17:52:25 +0000 (10:52 -0700)]
Merge "Synchronize stack position and size update for split screen" into pi-dev
am: 9553a11557

Change-Id: Ie9308010a2c856284aca2fdc53304e3b79a080bb

6 years agoMerge "Fix docs and bug in SliceManager#bindSlice" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 17:52:22 +0000 (17:52 +0000)]
Merge "Fix docs and bug in SliceManager#bindSlice" into pi-dev

6 years agoMerge "Pass app version to agent in adb restore for kv." into pi-dev
Anton Philippov [Wed, 11 Apr 2018 17:48:40 +0000 (10:48 -0700)]
Merge "Pass app version to agent in adb restore for kv." into pi-dev
am: 133f93bbbb

Change-Id: I8c16ca2f13a7c03fd754928422b736658a53f779

6 years agoMerge "Update volume logging" into pi-dev
Julia Reynolds [Wed, 11 Apr 2018 17:40:24 +0000 (10:40 -0700)]
Merge "Update volume logging" into pi-dev
am: 259bdbf43d

Change-Id: I98caa2367c2aa6cf569685147cd4a71efc78ab6c

6 years agoMerge "Revert "Update docs to match encryption requirements"" into pi-dev
Colin Cross [Wed, 11 Apr 2018 17:28:39 +0000 (17:28 +0000)]
Merge "Revert "Update docs to match encryption requirements"" into pi-dev

6 years agoRevert "Update docs to match encryption requirements"
Colin Cross [Wed, 11 Apr 2018 17:27:24 +0000 (17:27 +0000)]
Revert "Update docs to match encryption requirements"

This reverts commit cebb55ea9d98dc7ba93eed520b874ac24ff96800.

Reason for revert: broke docs builds

Change-Id: I3a4b8d274141efec90fae2ed0b9324194288c635

6 years agoMerge "Configurable sampling rate for hidden API access log events." into pi-dev
Mathew Inwood [Wed, 11 Apr 2018 17:19:04 +0000 (10:19 -0700)]
Merge "Configurable sampling rate for hidden API access log events." into pi-dev
am: fb55bd8706

Change-Id: I734dffcd6c993bf718d6835a734be26de5d76780

6 years agoMerge "Handle logd reconnect." into pi-dev
Yao Chen [Wed, 11 Apr 2018 17:10:46 +0000 (10:10 -0700)]
Merge "Handle logd reconnect." into pi-dev
am: 2e0f45f087

Change-Id: I15cdb063331da9b1e6479d598314fb1cf05ab9f1

6 years agoMerge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev
Nathan Harold [Wed, 11 Apr 2018 17:09:07 +0000 (17:09 +0000)]
Merge "[DO NOT MERGE] - Hide Tunnel Mode IpSec API" into pi-dev

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
Adrian Roos [Wed, 11 Apr 2018 17:06:56 +0000 (10:06 -0700)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
am: 2370f368d4

Change-Id: Ifae0d5e2c5bc226eaaf4462dd9b9cb044c8340b8

6 years agoMerge "StatsManager throws exceptions" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 17:02:06 +0000 (17:02 +0000)]
Merge "StatsManager throws exceptions" into pi-dev

6 years agoMerge "Dismiss keyguard when switching user if lockscreen is disabled on new user...
TreeHugger Robot [Wed, 11 Apr 2018 17:02:00 +0000 (17:02 +0000)]
Merge "Dismiss keyguard when switching user if lockscreen is disabled on new user" into pi-dev

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
Phil Weaver [Wed, 11 Apr 2018 17:01:04 +0000 (10:01 -0700)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
am: 441ef0b94b

Change-Id: I41f5d4b21754b11be1ef7b0613598cd56e999ece

6 years agoMerge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 17:00:26 +0000 (17:00 +0000)]
Merge "Ensure ActivityStack's cached resumed activity is updated." into pi-dev

6 years agoMerge "Greylist methods with varargs and intrinsics" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:58:49 +0000 (16:58 +0000)]
Merge "Greylist methods with varargs and intrinsics" into pi-dev

6 years agoMerge "Synchronize stack position and size update for split screen" into pi-dev
Chavi Weingarten [Wed, 11 Apr 2018 16:53:42 +0000 (16:53 +0000)]
Merge "Synchronize stack position and size update for split screen" into pi-dev

6 years agoMerge "Pass app version to agent in adb restore for kv." into pi-dev
Anton Philippov [Wed, 11 Apr 2018 16:53:30 +0000 (16:53 +0000)]
Merge "Pass app version to agent in adb restore for kv." into pi-dev

6 years agoMerge "Update volume logging" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:49:15 +0000 (16:49 +0000)]
Merge "Update volume logging" into pi-dev

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev
Mike Digman [Wed, 11 Apr 2018 16:47:37 +0000 (09:47 -0700)]
Merge "Fix null running task info in SysUI tests" into pi-dev
am: 997e7b7ea4

Change-Id: I6fb0654d6fe06f23cc1bac282f5005693e523bf7

6 years agoMerge "Configurable sampling rate for hidden API access log events." into pi-dev
Mathew Inwood [Wed, 11 Apr 2018 16:45:19 +0000 (16:45 +0000)]
Merge "Configurable sampling rate for hidden API access log events." into pi-dev

6 years agoMerge "Handle logd reconnect." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:45:11 +0000 (16:45 +0000)]
Merge "Handle logd reconnect." into pi-dev

6 years agoMerge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:44:32 +0000 (16:44 +0000)]
Merge "DisplayCutout: Draw anti-aliased bounds in soft overlay" into pi-dev

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev
Patrick Baumann [Wed, 11 Apr 2018 16:41:34 +0000 (09:41 -0700)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev
am: 61aebf6d39

Change-Id: Idfe77e93a7dd1f3e87e58c1f323c080ed615a57a

6 years agoMerge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev
Phil Weaver [Wed, 11 Apr 2018 16:38:28 +0000 (16:38 +0000)]
Merge "Fix AccessibilityEvent#getContentChangeTypes doc" into pi-dev

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
Siyamed Sinir [Wed, 11 Apr 2018 16:31:45 +0000 (09:31 -0700)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
am: 239d9d86d9

Change-Id: I3fd36707aa0eb6011caf647f7ea03043e5f53961

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
Bo Zhu [Wed, 11 Apr 2018 16:21:14 +0000 (09:21 -0700)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
am: 4d1b57dad3

Change-Id: I07106b9b06f290d6d464a8d5bfbf82d90e95e000

6 years agoMerge "Fix null running task info in SysUI tests" into pi-dev
Mike Digman [Wed, 11 Apr 2018 16:12:47 +0000 (16:12 +0000)]
Merge "Fix null running task info in SysUI tests" into pi-dev

6 years agoDisplayCutout: Draw anti-aliased bounds in soft overlay
Adrian Roos [Tue, 10 Apr 2018 22:17:08 +0000 (15:17 -0700)]
DisplayCutout: Draw anti-aliased bounds in soft overlay

To do so, we cannot use the Region from DisplayCutout, because it is conceptionally
a binary Bitmap. Instead, we need the exact curve as a Path.

Also fixes a theoretical bug where the DisplayCutout
was cached even though the display height changed.

Change-Id: I9356f4589186fedc5dc95010c7bd1a1fa20edf5e
Fixes: 77868940
Test: Enable display cutout in developer options, verify the edges look smoth and not jagged.
Test: atest DisplayCutoutTest

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev
Chad Brubaker [Wed, 11 Apr 2018 16:12:27 +0000 (09:12 -0700)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev
am: c826eec11f

Change-Id: I0bbb0a9ab3c60fdf71b69dbda2ef02508fa07eb4

6 years agoMerge "Revert "Check permissions only against packagesettings"" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 16:05:39 +0000 (16:05 +0000)]
Merge "Revert "Check permissions only against packagesettings"" into pi-dev

6 years agoMerge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev
Siyamed Sinir [Wed, 11 Apr 2018 16:04:52 +0000 (16:04 +0000)]
Merge "Change fonts.xml to add 34 new fonts in OTF." into pi-dev

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev
jiabin [Wed, 11 Apr 2018 16:00:10 +0000 (09:00 -0700)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev
am: 0b5dd8e560

Change-Id: I681eb47ec1577ad6c2b35d0e739c249bf61f0f26

6 years agoMerge "Add an API to check whether the recoverable keystore is enabled" into pi-dev
Bo Zhu [Wed, 11 Apr 2018 15:58:27 +0000 (15:58 +0000)]
Merge "Add an API to check whether the recoverable keystore is enabled" into pi-dev

6 years agoMerge "Allow shared users to rotate signing certs in an OTA" into pi-dev
Chad Brubaker [Wed, 11 Apr 2018 15:57:21 +0000 (15:57 +0000)]
Merge "Allow shared users to rotate signing certs in an OTA" into pi-dev

6 years agoMerge "Fix mic enumeration CTS fail on marlin." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 15:46:49 +0000 (15:46 +0000)]
Merge "Fix mic enumeration CTS fail on marlin." into pi-dev

6 years agoMerge "Added gamma correction tests." into pi-dev
Dan Gittik [Wed, 11 Apr 2018 15:11:14 +0000 (08:11 -0700)]
Merge "Added gamma correction tests." into pi-dev
am: 02fea072ab

Change-Id: I84f4e961128888cf9a3b01b3584221dd60609a10

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev
Tim Volodine [Wed, 11 Apr 2018 14:56:25 +0000 (07:56 -0700)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev
am: 4800d9a9e7

Change-Id: I226ef118f27661a94502e990ba89ad662f63f583

6 years agoRevert "Check permissions only against packagesettings"
Patrick Baumann [Wed, 11 Apr 2018 14:51:30 +0000 (14:51 +0000)]
Revert "Check permissions only against packagesettings"

This reverts commit b00eb6459127018ec7641f407d5873a0c417416d.

Reason for revert: Boot issues after OTA
Bug: 76228188
Fixes: 77888575
Change-Id: I5ca2605cb6befea46ce50198bc72bdd4b6e84f1a

6 years agoMerge "Added gamma correction tests." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:48:17 +0000 (14:48 +0000)]
Merge "Added gamma correction tests." into pi-dev

6 years agoDismiss keyguard when switching user if lockscreen is disabled on new user
Alex Chau [Wed, 11 Apr 2018 14:41:32 +0000 (15:41 +0100)]
Dismiss keyguard when switching user if lockscreen is disabled on new user

Test: Manual
Bug: 77535056
Change-Id: I55d590644b0187c624bca8aef5c21656315ecd87

6 years agoGreylist methods with varargs and intrinsics
David Brazdil [Sat, 7 Apr 2018 19:00:35 +0000 (20:00 +0100)]
Greylist methods with varargs and intrinsics

This is due to a related Doclava change.

Bug: 64382372
Test: make
Change-Id: I8fba27a529a83751ab27859b1c1b791ab85786cf

6 years agoMerge "[WebView Tracing API] documentation fixes." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 14:38:02 +0000 (14:38 +0000)]
Merge "[WebView Tracing API] documentation fixes." into pi-dev

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 14:34:43 +0000 (07:34 -0700)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
am: 90d388aebd

Change-Id: I12bd4346131b03d3032e5cd357b332b792132282

6 years agoMerge "Move container focusability logic to ActivityStackSupervisor." into pi-dev
Bryce Lee [Wed, 11 Apr 2018 14:23:39 +0000 (14:23 +0000)]
Merge "Move container focusability logic to ActivityStackSupervisor." into pi-dev

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
Florian Mayer [Wed, 11 Apr 2018 14:15:16 +0000 (07:15 -0700)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
am: f1657a827f

Change-Id: Ic7356df8144ca41a89bfbf194155bc41058a200d

6 years agoMerge "Update docs to match encryption requirements" into pi-dev
Robert Berry [Wed, 11 Apr 2018 14:10:28 +0000 (07:10 -0700)]
Merge "Update docs to match encryption requirements" into pi-dev
am: bfa13fe76f

Change-Id: I81f6a613bc8ef123ce33f53bfc6a44092d72a7a9

6 years agoFix docs and bug in SliceManager#bindSlice
Jason Monk [Tue, 10 Apr 2018 19:00:18 +0000 (15:00 -0400)]
Fix docs and bug in SliceManager#bindSlice

Test: cts
Change-Id: I812af1eda072c2af0b29454a05ea777d8f4c3c62
Fixes: 73123733

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev
Amin Shaikh [Wed, 11 Apr 2018 14:00:26 +0000 (07:00 -0700)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev
am: 782ee5a7e0

Change-Id: Icabd558931b28dad1353f7e38756f2afc8451893

6 years agoPass app version to agent in adb restore for kv.
Anton Philippov [Wed, 11 Apr 2018 13:41:58 +0000 (14:41 +0100)]
Pass app version to agent in adb restore for kv.

This is a temporary solution for P to unblock GTS tests.

Bug: 77852250
Test: manual:
1. adb backup -f saved-wifi-api100.ab -keyvalue com.android.providers.settings
2. adb restore saved-wifi-api100.ab
3. See that SettingsBackupAgent receives appVersionCode in onRestore()

Change-Id: I6092bea570e7e27cb5b72165e9284ad2befc21b6

6 years agoMerge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev
Florian Mayer [Wed, 11 Apr 2018 13:55:51 +0000 (13:55 +0000)]
Merge "Address API comments on NetworkStats#getDefaultNetwork." into pi-dev

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev
Beverly Tai [Wed, 11 Apr 2018 13:54:56 +0000 (06:54 -0700)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev
am: de2e5ce108

Change-Id: I446b950b06ba3c598852eb9f33470d7d773eaa25

6 years agoMerge "Update docs to match encryption requirements" into pi-dev
Robert Berry [Wed, 11 Apr 2018 13:49:45 +0000 (13:49 +0000)]
Merge "Update docs to match encryption requirements" into pi-dev

6 years agoMerge "Fix spacing between signal and text on qs footer." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:39:47 +0000 (13:39 +0000)]
Merge "Fix spacing between signal and text on qs footer." into pi-dev

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
timhypeng [Wed, 11 Apr 2018 13:36:10 +0000 (06:36 -0700)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
am: d7b5c6ff7e

Change-Id: Ic0b9f042115ced233599427e768c057835cd1a18

6 years agoMerge "Don't show dev warning toast if notifs for app off" into pi-dev
Beverly Tai [Wed, 11 Apr 2018 13:30:30 +0000 (13:30 +0000)]
Merge "Don't show dev warning toast if notifs for app off" into pi-dev

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
Anton Philippov [Wed, 11 Apr 2018 13:22:30 +0000 (06:22 -0700)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
am: ff25b5f118

Change-Id: Icb3885d3f43874c10769664cd76032582df52cf6

6 years agoMerge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 13:17:26 +0000 (13:17 +0000)]
Merge "Rename onProfileAudioStateChanged() to onAudioModeChanged()" into pi-dev

6 years agoMerge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev
Anton Philippov [Wed, 11 Apr 2018 13:08:44 +0000 (13:08 +0000)]
Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev

6 years agoUpdate volume logging
Julia Reynolds [Tue, 10 Apr 2018 20:07:57 +0000 (16:07 -0400)]
Update volume logging

- Log settings click and ringer toggle
- Log stream for volume change and mute instead of value

Test: manual
Change-Id: Id72e4b79ca9875b7c80b58527c303d3af0af9492
Fixes: 74201925

6 years agoMerge "Minor TextClassifier fixes" into pi-dev
Jan Althaus [Wed, 11 Apr 2018 12:33:46 +0000 (05:33 -0700)]
Merge "Minor TextClassifier fixes" into pi-dev
am: b6bba33399

Change-Id: Ie054c977d952b9ed9a256c99ef6721a7c0f6c306

6 years agoMerge "Minor TextClassifier fixes" into pi-dev
Jan Althaus [Wed, 11 Apr 2018 12:19:43 +0000 (12:19 +0000)]
Merge "Minor TextClassifier fixes" into pi-dev

6 years agoMerge "Hide mandatory backup's API." into pi-dev
Lenka Trochtova [Wed, 11 Apr 2018 12:16:18 +0000 (05:16 -0700)]
Merge "Hide mandatory backup's API." into pi-dev
am: a9431996c3

Change-Id: Iba9983509efc0e4e6dbe0d7c0665547f6fec5be0

6 years agoMerge "Hide mandatory backup's API." into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 12:02:20 +0000 (12:02 +0000)]
Merge "Hide mandatory backup's API." into pi-dev

6 years agoAdd logging for smart replies in notifications.
Kenny Guy [Wed, 11 Apr 2018 11:37:40 +0000 (04:37 -0700)]
Add logging for smart replies in notifications.
am: 23991105bd

Change-Id: I620d25bed9849b1114d529abfbf424ec59c1069b

6 years agoMinor TextClassifier fixes
Jan Althaus [Mon, 9 Apr 2018 14:14:36 +0000 (16:14 +0200)]
Minor TextClassifier fixes

- Fix incorrect nullable annotation (usage/APIs already correct)
- Fix outdated doc reference
- Fixed visibility of TextClassification fields

Bug: 74461129
Test: N/A
Change-Id: I107cc978c9385ac2ad706fa8e0a8a3ecb215cf36

6 years agoHide mandatory backup's API.
Lenka Trochtova [Tue, 10 Apr 2018 09:01:58 +0000 (11:01 +0200)]
Hide mandatory backup's API.

Bug: 77801801
Bug: 73750212
Bug: 64012357

Test: make RunFrameworksServicesRoboTests
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test
com.android.cts.devicepolicy.DeviceOwnerTes
cts-tradefed run cts -m CtsBackupHostTestCase

Change-Id: I7699755309b3fbff7c3fec2a06a0f409fd4087de

6 years agoAddress API comments on NetworkStats#getDefaultNetwork.
Lorenzo Colitti [Mon, 2 Apr 2018 10:29:26 +0000 (19:29 +0900)]
Address API comments on NetworkStats#getDefaultNetwork.

Bug: 76449091
Test: android.app.usage.cts.NetworkUsageStatsTest passes
Change-Id: I7f21e0bd7bc4b726058fc2e25542ff2c3173fabe

6 years agoAdd logging for smart replies in notifications.
Kenny Guy [Thu, 5 Apr 2018 20:18:38 +0000 (21:18 +0100)]
Add logging for smart replies in notifications.

Log the first time a notification with smart
replies is visible.
Log each click on a smart reply.

Test: atest SystemUITests
Bug: 72153458
Change-Id: I6dc498871000dbb9af978567db3d258b20978781

6 years agoRename onProfileAudioStateChanged() to onAudioModeChanged()
timhypeng [Sun, 8 Apr 2018 05:55:08 +0000 (13:55 +0800)]
Rename onProfileAudioStateChanged() to onAudioModeChanged()

* While receiving BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
  and TelephonyManager.ACTION_PHONE_STATE_CHANGED intent dispath
  onAudioModeChanged() callback.
* Rename onProfileAudioStateChanged() to onAudioModeChanged()

Bug: 74134939
Test: Build
Change-Id: Iaf037110adba907721f7342eeef360e65cb1da34

6 years agoMerge "Add more API to light greylist" into pi-dev
David Brazdil [Wed, 11 Apr 2018 08:13:49 +0000 (01:13 -0700)]
Merge "Add more API to light greylist" into pi-dev
am: 8b0b733a2b

Change-Id: I968728a492e47e77b4b99b7decd28ee51cabd1e4

6 years agoMerge "Add more API to light greylist" into pi-dev
David Brazdil [Wed, 11 Apr 2018 08:02:11 +0000 (08:02 +0000)]
Merge "Add more API to light greylist" into pi-dev

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev
Suprabh Shukla [Wed, 11 Apr 2018 07:55:38 +0000 (00:55 -0700)]
Merge "Review of suspend/unsuspend APIs" into pi-dev
am: 2188383b8a

Change-Id: Ied0b92474f80760f084fd749587fce0953c8469b

6 years agoMerge "Review of suspend/unsuspend APIs" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 07:36:38 +0000 (07:36 +0000)]
Merge "Review of suspend/unsuspend APIs" into pi-dev

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
Yangster-mac [Wed, 11 Apr 2018 05:09:18 +0000 (22:09 -0700)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev
am: 5f91d5ee94

Change-Id: I3d3e040504ad8978f535fac2d62cfb8262c2e386

6 years agoHandle logd reconnect.
Yao Chen [Tue, 10 Apr 2018 17:39:53 +0000 (10:39 -0700)]
Handle logd reconnect.

When statsd reconnects to logd, statsd will read all logs from buffer again. To prevent us from
reprocessing old events, we do the following:

1. At any given moment, record the largest timestamp(T_max) and last timestamp (check point) that
   we've seen before.
2. When reconnection happens, we look for the check point until we see a new log with a timestamp
   larger than T_max.
   -> If we found the CP, resume after the CP. Success
   -> If we can't find CP, there is definitely log loss. We reset all configs.

Note:
1. Logd has an API to read logs after a certain timestamp. But this api is vulnerable to
time changes from Settings. So we cannot rely on it.

2. If logd inserts a new log (with older timestamp) before CP, we cannot detect it. It's not
   possible to detect it without record all timestamps we have seen.

Test: statsd_test
Bug: 77813113

Change-Id: Ic3fdb47230807606ab11dc994cb162194adb8448

6 years agoMerge "Flush the bucket when creating the metric producer. Use int64 for value field...
TreeHugger Robot [Wed, 11 Apr 2018 04:49:02 +0000 (04:49 +0000)]
Merge "Flush the bucket when creating the metric producer. Use int64 for value field. E2e test for gauge/value metric." into pi-dev

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev
Pavel Maltsev [Wed, 11 Apr 2018 03:58:01 +0000 (20:58 -0700)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev
am: 1856d61f9a

Change-Id: I7fef43cce3cfe17dae6a5e4f564ad8857371502a

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:46:55 +0000 (20:46 -0700)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
am: 788f87dab6

Change-Id: I7aab9434ab9b11fe588c057a4c2b774b09ad71d2

6 years agoMerge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
Lorenzo Colitti [Wed, 11 Apr 2018 03:42:03 +0000 (20:42 -0700)]
Merge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
am: 4df92ef6f1

Change-Id: If254326e892b78ef9daf620f829c1def136d695c

6 years agoMerge "Added tests for MultipathPolicyTracker." into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:37:06 +0000 (20:37 -0700)]
Merge "Added tests for MultipathPolicyTracker." into pi-dev
am: cf54c0451a

Change-Id: I2f47dd30f44722a0611967ce5375aa164f40c718

6 years agoMerge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev
Sanry Huang [Wed, 11 Apr 2018 03:30:22 +0000 (20:30 -0700)]
Merge "Fix the TalkBack say wrong sentence after sim unlock" into pi-dev
am: c7292ffae3

Change-Id: Ica624b35cfcfd11211cb14dc12ffab4990d1c833

6 years agoMerge "Remove unwanted capabilitiy from the java-doc" into pi-dev
TreeHugger Robot [Wed, 11 Apr 2018 03:26:22 +0000 (03:26 +0000)]
Merge "Remove unwanted capabilitiy from the java-doc" into pi-dev

6 years agoFlush the bucket when creating the metric producer.
Yangster-mac [Sun, 8 Apr 2018 18:52:26 +0000 (11:52 -0700)]
Flush the bucket when creating the metric producer.
Use int64 for value field.
E2e test for gauge/value metric.

BUG: b/74445671

Test: statsd test.
Change-Id: I823a0bade8f89834bdfb9cf48864852a47d7b63b

6 years agoMerge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 03:18:57 +0000 (03:18 +0000)]
Merge "Do not register callback for < MIN_THRESHOLD_BYTES" into pi-dev

6 years agoMerge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
Amith Yamasani [Wed, 11 Apr 2018 03:12:47 +0000 (20:12 -0700)]
Merge "API Review: Rename getStandbyBucket to getAppStandbyBucket" into pi-dev
am: 555767b616

Change-Id: Ifb257e127e028c2edfaf16ed2785cb92e60e7705

6 years agoMerge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev
Lorenzo Colitti [Wed, 11 Apr 2018 03:01:25 +0000 (03:01 +0000)]
Merge "Don't unnecessarily reevaluate tethering provisioning" into pi-dev

6 years agoMerge "Prevent extraneous saving of pinned snap fraction." into pi-dev
Winson Chung [Wed, 11 Apr 2018 02:59:29 +0000 (19:59 -0700)]
Merge "Prevent extraneous saving of pinned snap fraction." into pi-dev
am: 95f2937499

Change-Id: Iff1a7d1f397951636dc938db722109122655cb89

6 years agoMerge "Added tests for MultipathPolicyTracker." into pi-dev
Remi NGUYEN VAN [Wed, 11 Apr 2018 02:53:14 +0000 (02:53 +0000)]
Merge "Added tests for MultipathPolicyTracker." into pi-dev