Commit Graph

354710 Commits

Author SHA1 Message Date
Robert Berry
c5ec8934a2 Merge "Revert "Calc job standby runnability based on last job execution..."" 2018-01-19 15:25:29 +00:00
TreeHugger Robot
3733b8ed7b Merge "DisplayCutout: device-independent emulation overlay" 2018-01-19 14:42:13 +00:00
TreeHugger Robot
bb06403cb2 Merge "Import translations. DO NOT MERGE" 2018-01-19 14:28:26 +00:00
TreeHugger Robot
a070145d09 Merge "Import translations. DO NOT MERGE" 2018-01-19 13:37:19 +00:00
Vladislav Kuzkokov
34bc846497 Merge "Implement Policy to disable printing." 2018-01-19 13:36:09 +00:00
Robert Berry
e2369a4dcf Revert "Calc job standby runnability based on last job execution..."
This reverts commit f0ce101552.

Reason for revert: broken master

Test: manual
Bug: 72207660
Change-Id: Ib760dadfd51c4457744b0688f714de8f61570f50
2018-01-19 13:28:34 +00:00
Jeff Sharkey
71253ff635 Merge "Alert user on rapid/heavy data usage." 2018-01-19 12:27:22 +00:00
Jeff Sharkey
fa15daba2c Merge "Use data plans for better job scheduling." 2018-01-19 12:21:01 +00:00
Adrian Roos
16693f3466 DisplayCutout: device-independent emulation overlay
Adds an option to use dp instead of px when specifying the cutout bounds.
Also centers the coordinate system in the middle, making it easier to specify
the usually centered cutouts.

Also makes the emulated cutout a bit prettier.

Bug: 65689439
Test: adb shell overlay enable com.android.display.cutout.emulation
Change-Id: I3bd16af15f1dad2af204d436abaa35fb9e5ae146
2018-01-19 12:55:01 +01:00
Michal Karpinski
8f0d71e3ee Merge "Add validators for all Settings.Global settings that are backed up" 2018-01-19 11:44:13 +00:00
Michal Karpinski
ebd9998326 Merge "Add SettingsValidators class and a test for validators enforcement" 2018-01-19 11:42:52 +00:00
TreeHugger Robot
480e156bfb Merge "Remove junit classes from android.jar" 2018-01-19 11:40:20 +00:00
Ricky Wai
d61f7fafb4 Merge "Apply differential privacy on watchlist report" 2018-01-19 11:28:06 +00:00
David Chaloupka
cfd1b4b263 Merge "Handle multiple packages of same name in 'aapt2 convert'" 2018-01-19 10:57:53 +00:00
TreeHugger Robot
24de6a45aa Merge "Initial commit for VideoView2Impl" 2018-01-19 09:57:15 +00:00
Jeff Sharkey
2e4714575f Alert user on rapid/heavy data usage.
Now that we have accurate information about a user's carrier data
plan, we can alert them if the current usage patterns would end up
with a nasty surprise towards the end of the current billing cycle.

For example, a single abusive app could use 90% of the user's budget
within the first few days of a billing cycle, leaving the user to
limp along for the remainder of the month.

The simple algorithm here extrapolates to see if the average usage
over the last 4 days would be more than 150% of the data limit for
the full billing cycle.  This period is short enough to catch rapid
recent usage, but long enough to smooth over short-term habit
changes, such as a weekend getaway.  This was chosen after
backtesting the proposed algorithm against real-world data usage
from a handful of internal users.

Fix NPMS unit tests, and write new ones, but leave the existing
@Ignored annotation intact for now.

Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug: 64133169
Change-Id: I0d394b133257e8569a9aa2631b57638839d870ce
2018-01-19 18:18:51 +09:00
TreeHugger Robot
319294134f Merge "Only load preinstalled updatable in release" 2018-01-19 09:18:39 +00:00
Paul Duffin
fb48139a41 Remove junit classes from android.jar
Bug: 30188076
Test: make checkbuild
Change-Id: Ia90b8a81495299165d6f8d373ab8c5937e2a5290
2018-01-19 08:16:36 +00:00
Amit Mahajan
de5db0fb06 Merge "Added new SIM state related broadcasts." am: 0fc9900802 am: 6ada16b386
am: 1644137343  -s ours

Change-Id: I3b6f80f86f5a422d768f92ded609a2bc0ee61d86
2018-01-19 08:02:04 +00:00
Amit Mahajan
1644137343 Merge "Added new SIM state related broadcasts." am: 0fc9900802
am: 6ada16b386

Change-Id: Id2b6996e712675b387d0f6b89043b02f39fb1af9
2018-01-19 07:54:45 +00:00
Amit Mahajan
6ada16b386 Merge "Added new SIM state related broadcasts."
am: 0fc9900802

Change-Id: I10b5f7a9307012e1097712acd36a91c5f6969c11
2018-01-19 07:47:21 +00:00
Christofer Åkersten
3661ad03d2 Only load preinstalled updatable in release
Test: Instantiate MediaController2
Change-Id: I8da88cf9291ee1365143ca86fa64d3f2fde8e225
2018-01-19 16:20:37 +09:00
TreeHugger Robot
4b60648be6 Merge "Only pass resources to updatable" 2018-01-19 07:14:46 +00:00
Jeff Sharkey
9252b34065 Use data plans for better job scheduling.
Now that we have data plan information from the carrier, we can start
using it to influence when we schedule jobs.  As a first pass
algorithm:

-- If the network is congested, and a job is less than 50% through
its runnable window, then we'll defer it for awhile.
-- If the network has a surplus of data, we'll consider using some
of it to improve the user experience by running prefetching jobs.

Provider APIs for carrier apps to override their connections to be
temporarily marked as either "unmetered" or "congested", along with
automatic timeouts if desired.

Flag for developers to indicate which jobs will have a material
positive impact on end users.  (We don't want to promote jobs that
are simply doing logs upload; for example.)  Glue code to quickly
return targetSdk of a specific package.

More tweaking to the exact algorithms will come in future CLs.

Test: bit FrameworksServicesTests:com.android.server.job.
Bug: 64133169
Change-Id: Iabb9f90a7a65958ad648b091edec378fc3bf785a
2018-01-19 15:50:12 +09:00
Jeff Sharkey
c694cde7bb Merge "Add DataUnit to clarify SI-vs-IEC units." 2018-01-19 06:38:48 +00:00
Bill Yi
71e118d4e3 Import translations. DO NOT MERGE
Change-Id: If8ac5eb5604380c537ddfa2ae118b7fc3f873211
Auto-generated-cl: translation import
2018-01-18 22:34:01 -08:00
Bill Yi
0c9a011260 Import translations. DO NOT MERGE
Change-Id: Icf032c113be4120f53b881992df53e3450720404
Auto-generated-cl: translation import
2018-01-18 22:28:46 -08:00
TreeHugger Robot
f54bb2af3c Merge "Camera: Update MOTION_TRACKING requirements" 2018-01-19 06:08:23 +00:00
TreeHugger Robot
d5ba9f60dc Merge "Add 4 new fields to KeychainSnapshot" 2018-01-19 05:51:43 +00:00
Insun Kang
de16c4d357 Initial commit for VideoView2Impl
Test: build
Change-Id: I12b93da01b9c37115cba29b8b50b36cf3d74ddb6
2018-01-19 14:41:39 +09:00
Android Build Merger (Role)
84dec42013 Merge "Merge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8 am: 1993c5618a" 2018-01-19 05:36:48 +00:00
Ian Pedowitz
1cd8b5c6cb Merge "Fixing app compat issue b/72143978" am: 8353a39ecc am: 61bab24fa8
am: 1993c5618a

Change-Id: If6e67a008d02dc561982583a3819de1ef3e06e46
2018-01-19 05:35:27 +00:00
Android Build Merger (Role)
e097f82a54 Merge "Merge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d am: b9b7bfb02f" 2018-01-19 05:30:31 +00:00
Steven Moreland
52062b1f93 Merge "HIDL: Check error value." am: 898137f817 am: 74426e9c2d
am: b9b7bfb02f

Change-Id: I2b1506eee7c7a5f9557029abd2013c3b2ae0c523
2018-01-19 05:30:07 +00:00
TreeHugger Robot
974e1e30c6 Merge "StaticLayoutPerfTest: Use fixed seed in each test case" 2018-01-19 05:27:46 +00:00
Jeff Sharkey
6f180ea9c6 Merge "Add ability to override subscriber capabilities." am: d6cd4b241a am: 5e097d452b
am: 992cfa2667

Change-Id: I46a6c87751494afca6fdd13736d7a4877e3cc833
2018-01-19 05:25:20 +00:00
Dan Zhang
2ae76a73ac Merge "Fix <Report Audio Status> update" am: 1d5e2c3c37 am: e7aaba48de
am: 4775f0c76e

Change-Id: I98074b58c0b9def3d766c40ac2c5bc669a2abd0f
2018-01-19 05:21:12 +00:00
Dan Zhang
52f5d01ee8 Merge "Fix OTP performance with no Vendor ID device" am: 6ecaac4c9f am: b88d9b4593
am: 0f279d4577

Change-Id: I0f8bb0736384cafd60180e658ecbe08a464db8d4
2018-01-19 05:17:09 +00:00
Dan Zhang
c1bdc0ba05 Merge "Fix NPE by pressing Volume Up/Down" am: fca5ee0bb8 am: bd57a4d8a1
am: cc07fa73a1

Change-Id: I95d710489a0ad87c6e3811603097e5438f11f413
2018-01-19 05:13:10 +00:00
Dan Zhang
58e210e998 Merge "Fix illegal volume value issue" am: 20443a8dbb am: 65dd4cbf32
am: 3a05ecd714

Change-Id: I64f27d734dc93c036b4f8bd1ecf3088821b92a75
2018-01-19 05:09:15 +00:00
Christofer Åkersten
365ded397c Only pass resources to updatable
Test: Instantiate MediaController2
Change-Id: If357a01847d8a2f9995af3f4c3ec3a777082c662
2018-01-19 14:09:09 +09:00
TreeHugger Robot
56dc5fdd00 Merge "Revert the field number change to make statsd_config proto backward-compatible." 2018-01-19 05:03:27 +00:00
TreeHugger Robot
42f92549c7 Merge "Temporary use hardcoded counterId." 2018-01-19 05:02:18 +00:00
TreeHugger Robot
a76a9d4cb8 Merge "resolve merge conflicts of f761f6371a to master" 2018-01-19 04:58:29 +00:00
Treehugger Robot
0fc9900802 Merge "Added new SIM state related broadcasts." 2018-01-19 04:25:12 +00:00
Ian Pedowitz
1993c5618a Merge "Fixing app compat issue b/72143978" am: 8353a39ecc
am: 61bab24fa8

Change-Id: I6f07f1d9cfd26aa8b93a2563349b5e40effb7a41
2018-01-19 04:21:35 +00:00
TreeHugger Robot
98b6993af6 Merge "camera: Add external flash mode key" 2018-01-19 04:19:23 +00:00
Ian Pedowitz
61bab24fa8 Merge "Fixing app compat issue b/72143978"
am: 8353a39ecc

Change-Id: I4ca60a29aec20f08c65d85b03a080a19d03c7345
2018-01-19 04:13:00 +00:00
TreeHugger Robot
e528516731 Merge "Ignore missing font in fontchain_linter.py" 2018-01-19 03:37:25 +00:00
TreeHugger Robot
3727179195 Merge "Make NotificationShelf nullable in StackScrollAlgorithm." 2018-01-19 03:36:02 +00:00