Commit Graph

79482 Commits

Author SHA1 Message Date
TreeHugger Robot
fcd3c57e19 Merge "Don't attempt to preload fonts in isolated processes." 2018-02-08 22:51:25 +00:00
TreeHugger Robot
f9420f4ddd Merge "Track notification clicked events in UsageStats" 2018-02-08 22:16:09 +00:00
Doris Ling
a5ffafbfda Merge "Revert "Turn on about phone v2"" 2018-02-08 20:47:05 +00:00
Doris Ling
933026a384 Revert "Turn on about phone v2"
This reverts commit ab4ed1169a.

Bug: 73102865
Change-Id: I029064d144b891cb6eefacc2ad648a821fa49ec0
Test: rebuild
2018-02-08 20:43:43 +00:00
Etan Cohen
af018ce387 Merge "[RTT] Deprecate legacy RTT API" 2018-02-08 19:03:27 +00:00
Siyamed Sinir
bc48bd8f61 Merge "Remove Toki from text OWNERS files" 2018-02-08 18:55:17 +00:00
TreeHugger Robot
9ea3c99a95 Merge "Statsd notifies listener with pendingintent." 2018-02-08 18:50:00 +00:00
TreeHugger Robot
6a00aac93a Merge "Cellular Tx power added to Volta historian" 2018-02-08 18:34:45 +00:00
Jiuyu Sun
b6276fe5a3 Merge "Revert "Public EuiccManager APIs."" 2018-02-08 17:34:30 +00:00
Pavel Grafov
c9b9e10e73 Merge "Run and log BoringSSL self-test for NIAP compliance." 2018-02-08 17:22:12 +00:00
Amith Yamasani
7ec8941167 Track notification clicked events in UsageStats
Expose some of the new events as SystemApi.

Make some of the timeouts configurable in AppStandbyController.

Make NOTIFICATION_SEEN event upgrade app to WORKING_SET for
12 hours. This is not perfect though and will require further
tweaking as it may result in the app becoming elevated higher
for much longer than necessary.

Change-Id: I62401cfabddf51b6f80b9bba8a358285b8cf9a51
Fixes: 72741441
Fixes: 72067231
Fixes: 72537465
Fixes: 72536347
Test: atest CtsUsageStatsTestCases:UsageStatsTests
2018-02-08 09:09:31 -08:00
Winson Chung
bc88614abe Merge "Revert "Revert "Exposing content insets and minimized home bounds for recents transition""" 2018-02-08 17:06:48 +00:00
Selim Cinek
df155c750b Merge "Removed the ripple for actions with remote inputs" 2018-02-08 16:59:54 +00:00
Phil Weaver
6d8a63d771 Merge "Fix a11ynodeinfo parceling" 2018-02-08 16:52:43 +00:00
Jiuyu Sun
d3bb4aed78 Revert "Public EuiccManager APIs."
This reverts commit af6a5fffdc.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id3296a91e5c3ad624a6a03f6532b859524a518bf
2018-02-08 16:38:26 +00:00
TreeHugger Robot
a20833c06d Merge "Fix bug in calculating path in ArcMotion" 2018-02-08 15:43:50 +00:00
TreeHugger Robot
71a24be984 Merge "Fix APCT tests" 2018-02-08 15:06:53 +00:00
Clara Bayarri
d293d6d4b6 Remove Toki from text OWNERS files
Test: none
Change-Id: I9e444318df4a77ee06949d5141667f6c00d9a508
2018-02-08 11:14:10 +00:00
Fan Zhang
ab63bf0582 Merge "Turn on about phone v2" 2018-02-08 05:38:56 +00:00
TreeHugger Robot
626f090097 Merge "Add default value to data usage feature flag." 2018-02-08 04:55:56 +00:00
Makoto Onuki
baae493184 Merge "Revert "Retry: JobScheduler to use UID active state for job exemption"" 2018-02-08 02:31:18 +00:00
Makoto Onuki
2f0b0310ee Revert "Retry: JobScheduler to use UID active state for job exemption"
This reverts commit 3f7be62d31.

Reason for revert: I failed to unrevert it.

Change-Id: I086634236e140d3fe2f46dfff605fde548ab34f4
2018-02-08 02:30:56 +00:00
Winson Chung
584d652a1d Revert "Revert "Exposing content insets and minimized home bounds for recents transition""
This reverts commit bb5d97f00f.

Reason for revert: Launcher APK is landing shortly.

Test: Manual, swipe up to home in multi-window

Change-Id: I5d9050e51265bd4ca5ea2c28b7533571d03990f7
2018-02-07 17:51:29 -08:00
TreeHugger Robot
b8efd65ac3 Merge "Stop accepting zero size drag shadow for P." 2018-02-08 01:12:48 +00:00
David Chen
661f791a25 Statsd notifies listener with pendingintent.
Previously, statsd would inform interested listeners that it's time
to collect data via a protected broadcast. However, the preferred
solution is to pass a PendingIntent via a separate setter. Whenever
statsd wants the listener to call getData, StatsCompanionService
will trigger the pending intent.

Test: Tested in marlin-eng that functionality works as expected with
dogfood app.
Bug: 72562867
Change-Id: Ibcfcd5072a1a78947f8a7cbcd0bc429b54351da3
2018-02-07 16:16:23 -08:00
Jiuyu Sun
7fdd2bf7c1 Merge "Public EuiccManager APIs." 2018-02-07 23:55:28 +00:00
Phil Weaver
6307240b8f Fix a11ynodeinfo parceling
The pane title was not parceled and unparceled symmetrically.
Fixing that.

Also, the CTS test that should have caught this error is broken.
Providing a test API to do parceling without recycling, so
parceling can be tested in isolation.

Bug: 73084962

Test: Updated CTS AccessibilityNodeInfoTest used to pass. After
the fix to parcel in isolation, the test failed. Fixing the pane
title parceling allows the test to pass again.

Change-Id: I161ce93f8bdea5d5dd2d28cd38b58633f7742e56
2018-02-07 15:47:33 -08:00
Todd Kennedy
d5aaa44859 Fix APCT tests
* remove testInsertPackageSetting
* add path to c'tor for testUpdatePackageSetting0[12]

Change-Id: Ia690839268470db227538a7b64557da182d97751
Fixes: 72959078
Test: atest -it FrameworksServicesTests:PackageManagerSettingsTests
2018-02-07 15:44:19 -08:00
Fan Zhang
ab4ed1169a Turn on about phone v2
Change-Id: I8775665b7116eeebff5178ebf32890d3585c1824
Fixes: 72523158
Bug: 36458278
Test: visual
2018-02-07 15:43:37 -08:00
Makoto Onuki
b16f567576 Merge "Retry: JobScheduler to use UID active state for job exemption" 2018-02-07 23:23:37 +00:00
Etan Cohen
7210eaeba1 Merge "[RTT] Remove the legacy RTT service" 2018-02-07 22:50:16 +00:00
Emilie Roberts
3b60d0221c Merge "Close Dialog when ESC Pressed" 2018-02-07 22:03:38 +00:00
TreeHugger Robot
0589371900 Merge "PackageInfo: add Parcel read/write for cert history." 2018-02-07 21:03:32 +00:00
George Mount
575ffb856e Fix bug in calculating path in ArcMotion
Bug: 73077523

When the path is perfectly horizontal, ArcMotion
was calculating a Path that had NaN values. This
corrects that problem by special casing horizontal
and vertical paths.

Test: manual with app that discovered the problem
Test: manual with test app
Test: I30d51206194e3c68ea145d3a81e05a461c4e0ca8
Change-Id: Ic1a70b79290847726fc7994d1224fd77024e0610
2018-02-07 12:44:55 -08:00
Etan Cohen
d0acccdf25 [RTT] Deprecate legacy RTT API
Bug: 65108579
Test: unit tests pass
Test: WifiRttManagerTest:test_regular_scan_then_rtt_ranging_stress
Change-Id: Ifa90acf8bb358657785b42222e68c537658c85e2
2018-02-07 12:36:09 -08:00
Etan Cohen
9accbba1b7 [RTT] Remove the legacy RTT service
Remove the legacy RTT service. RTT requests are already directed to
the new API by a previous CL.

Bug: 65108579
Test: unit tests
Test: WifiRttManagerTest:test_regular_scan_then_rtt_ranging_stress
Change-Id: I436e8bcd2f4e2ba6056870d887eea141fbebae85
2018-02-07 12:36:05 -08:00
Siddharth Ray
f5e796a070 Cellular Tx power added to Volta historian
A flag in historian is added to identify time periods where the
cellular radio is transmitting at the highest power level.

BUG:38354995
Change-Id: Ib89a505636c1d5aa66f8c19690742dde9d40fe61
2018-02-07 12:29:26 -08:00
TreeHugger Robot
ea8feabec5 Merge "Minor improvements on autofill compat mode:" 2018-02-07 19:44:26 +00:00
Makoto Onuki
3f7be62d31 Retry: JobScheduler to use UID active state for job exemption
This is a second try for I134ac3d84a26309dab56ab6cbb271de626acdf7d.

Apparently alarms are firing even before PHASE_SYSTEM_SERVICES_READY, so add
more null checks.

Test: Boot on taimen.
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java
Change-Id: I4b2a5af04e4d78c996e73da0621047da7a7bff39
2018-02-07 11:38:11 -08:00
Holly Jiuyu Sun
af6a5fffdc Public EuiccManager APIs.
Public EuiccManager and other related necessary files.
Mark EuiccCardManager and other related necessary files as @SystemApi.
Solve lint errors and warnings.

Bug: 35851809
Test: test on phone
Change-Id: Id7895f9b35ce9d4fb6fae42ba89ca9b29dbfa74c
2018-02-07 11:09:27 -08:00
Pavel Grafov
b745540445 Run and log BoringSSL self-test for NIAP compliance.
Bug: 70886042
Test: manual, using "adb shell su system logcat -b security"
Change-Id: I46f243838e2fb432995c7c89e4279d36a4788678
2018-02-07 18:59:43 +00:00
Winson Chung
0ee9c0db54 Merge "Revert "Exposing content insets and minimized home bounds for recents transition"" 2018-02-07 18:39:20 +00:00
Winson Chung
bb5d97f00f Revert "Exposing content insets and minimized home bounds for recents transition"
This reverts commit 67f31199fb.

Reason for revert: Need to wait for the Launcher drop at EOD today

Change-Id: I039cd3092d786c62a88f599eb79c0704c6257981
2018-02-07 18:30:40 +00:00
Winson Chung
bcaeb104c2 Merge "Exposing content insets and minimized home bounds for recents transition" 2018-02-07 17:34:50 +00:00
Christine Franks
eafb541439 Change night display auto mode Validator type
NIGHT_DISPLAY_AUTO_MODE_VALIDATOR was incorrectly aliasing
BOOLEAN_EVALUATOR. As the valid values for this setting are { 0, 1, 2 },
when 2 (sunset-sunrise auto mode) was restored, the restoration would
fail.

Bug: 72992475
Test: B&R a device from the cloud with a sunrise-sunset auto mode.
Change-Id: I2dcb746847054e1f3d93731790a4d534f927ae28
2018-02-07 15:27:59 +00:00
Artem Iglikov
159fdccde5 Merge "Revert "JobScheduler to use UID active state for job exemption"" 2018-02-07 15:04:05 +00:00
felipeal
fd3f8f6f4b Minor improvements on autofill compat mode:
- Added missing fields such as viewResourceId, maxTextLength, and hint.
- Set input type class for passwords.

Test: manual verification
Bug: 72811034

Change-Id: I60dc7a368726d298f43e1f84b28561140ba10329
2018-02-07 11:54:12 +01:00
Artem Iglikov
0b053fecb6 Revert "JobScheduler to use UID active state for job exemption"
This reverts commit 6132e7bb1b.

Reason for revert: crashes master

Bug: 73049495
Change-Id: Idfd9a284163d26970b7cb89dea475d7c6abe0193
2018-02-07 09:47:51 +00:00
Jong Wook Kim
2dcd15de37 Merge "MacAddress: Use SecureRandom and add a 46 bit randomized MAC generator" am: 9f16828767 am: 775861bb12
am: b6b2957b8e

Change-Id: I5f2d395705841b7da03b1552b16507466e47ef84
2018-02-07 09:26:56 +00:00
Jong Wook Kim
b6b2957b8e Merge "MacAddress: Use SecureRandom and add a 46 bit randomized MAC generator" am: 9f16828767
am: 775861bb12

Change-Id: I6dba4e244c660d29f107e471250d39e9caafb17e
2018-02-07 05:32:01 +00:00