OSDN Git Service
TreeHugger Robot [Sat, 20 Jan 2018 01:37:29 +0000 (01:37 +0000)]
Merge "No sensor access to idle UIDs - framework"
TreeHugger Robot [Sat, 20 Jan 2018 01:31:23 +0000 (01:31 +0000)]
Merge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"
TreeHugger Robot [Sat, 20 Jan 2018 01:00:54 +0000 (01:00 +0000)]
Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."
TreeHugger Robot [Sat, 20 Jan 2018 00:26:24 +0000 (00:26 +0000)]
Merge "Double the battery history size on userdebug/eng"
TreeHugger Robot [Fri, 19 Jan 2018 23:33:07 +0000 (23:33 +0000)]
Merge "ApkSignatureVerifier: expose verity interfaces"
Yi Jin [Fri, 19 Jan 2018 23:27:32 +0000 (23:27 +0000)]
Merge "Fix permissions problems of incidentd."
TreeHugger Robot [Fri, 19 Jan 2018 23:08:15 +0000 (23:08 +0000)]
Merge "Fix buffer overflow when the last chunk is 4kb"
Rob Carr [Fri, 19 Jan 2018 22:58:41 +0000 (22:58 +0000)]
Merge "Rework stack Z-ordering promotion."
TreeHugger Robot [Fri, 19 Jan 2018 22:54:28 +0000 (22:54 +0000)]
Merge "Add performance tests for query / get"
Tomasz Wasilczyk [Fri, 19 Jan 2018 22:51:47 +0000 (22:51 +0000)]
Merge "Update ProgramSelector to match HAL 2.0."
Makoto Onuki [Thu, 18 Jan 2018 16:44:28 +0000 (08:44 -0800)]
Double the battery history size on userdebug/eng
Bug:
67297625
Test: Build & boot. (we experimented with the factor of 4 previously on OMR1.)
Change-Id: Ie03c31ade89c76efd05e907a5a0b74942e3f3df5
Leon Scroggins [Fri, 19 Jan 2018 22:10:53 +0000 (22:10 +0000)]
Merge "Use ImageDecoder for BitmapDrawable"
TreeHugger Robot [Fri, 19 Jan 2018 21:54:36 +0000 (21:54 +0000)]
Merge "Clear calling uid in isAppEligibleForBackup() and variant"
TreeHugger Robot [Fri, 19 Jan 2018 21:53:29 +0000 (21:53 +0000)]
Merge "Add validators for all Settings.Secure settings that are backed up"
Android Build Merger (Role) [Fri, 19 Jan 2018 21:48:44 +0000 (21:48 +0000)]
Merge "Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f am:
5d90d0e2b7 am:
337a9ef04f -s ours"
Jordan Liu [Fri, 19 Jan 2018 21:46:45 +0000 (21:46 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f am:
5d90d0e2b7
am:
337a9ef04f -s ours
Change-Id: Icd92f19bbaebd7137dadf86e571954b153dadc65
Roshan Pius [Fri, 19 Jan 2018 21:43:39 +0000 (21:43 +0000)]
Merge changes I8031de0c,I390523b0
* changes:
config.xml: Add configuration to enable/disable
80211AC
config.xml: Add configuration to enable/disable ACS
Siddharth Ray [Fri, 19 Jan 2018 21:40:07 +0000 (21:40 +0000)]
Merge "GPS Signal Quality added to BatteryStats"
Jordan Liu [Fri, 19 Jan 2018 21:36:06 +0000 (21:36 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration" am:
8fb3bdc36f
am:
5d90d0e2b7
Change-Id: Ia3fe7265126023ec8c2ba5aaa6d09cd1ed1e9c43
Roshan Pius [Fri, 19 Jan 2018 21:33:47 +0000 (21:33 +0000)]
Merge "WifiConfiguration: Add support for auto-selecting AP band"
TreeHugger Robot [Fri, 19 Jan 2018 21:33:22 +0000 (21:33 +0000)]
Merge "fix bug in CpuTimePerUidFreqPuller to pull the correct file"
Jordan Liu [Fri, 19 Jan 2018 21:29:10 +0000 (21:29 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"
am:
8fb3bdc36f
Change-Id: Icf95b62e2828de2175b2c9767741138c507c0e5b
Bernardo Rufino [Fri, 19 Jan 2018 20:57:49 +0000 (20:57 +0000)]
Merge "Binding on-demand #11: Dump TransportClients"
Lei Yu [Fri, 19 Jan 2018 20:47:52 +0000 (20:47 +0000)]
Merge "Add metric for restricted app detail page"
Victor Hsieh [Fri, 19 Jan 2018 20:46:23 +0000 (12:46 -0800)]
Fix buffer overflow when the last chunk is 4kb
Test: adb install GtsNetStatsTestCases.apk # works only w/ the patch
Bug:
72189232
Bug:
30972906
Change-Id: I9f01279d783dd5adf31cfda4abd452240ad25ca3
TreeHugger Robot [Fri, 19 Jan 2018 20:43:19 +0000 (20:43 +0000)]
Merge "Fixed the possibility to report rejected touch events"
TreeHugger Robot [Fri, 19 Jan 2018 20:41:45 +0000 (20:41 +0000)]
Merge "Add cluster&active cost to cpu power"
Jordan Liu [Fri, 19 Jan 2018 20:39:43 +0000 (20:39 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"
Todd Kennedy [Fri, 19 Jan 2018 20:32:21 +0000 (12:32 -0800)]
Add performance tests for query / get
Bug:
68777480
Test: m CorePerfTests
Test: adb install CorePerfTests.apk
Test: adb shell am instrument -w -e class android.os.PackageManagerPerfTest com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Change-Id: I047d9d2e84665fe641a7c354a9f1b16c40f7ff31
nharold [Fri, 19 Jan 2018 20:25:18 +0000 (20:25 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager" am:
08d07aec50 am:
696cff166c
am:
0174b8afcf
Change-Id: I094751d965b679e85a0f200b2382f1715d69e400
nharold [Fri, 19 Jan 2018 20:16:38 +0000 (20:16 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager" am:
08d07aec50
am:
696cff166c
Change-Id: I0cd07c51e9512b7e9471e1a09c977fca2bf12e48
TreeHugger Robot [Fri, 19 Jan 2018 20:12:47 +0000 (20:12 +0000)]
Merge "similar to the samplers in batterystats, when we do diff, if the value is not monotically increasing, we should take the absolute value as the diff."
Derek Sollenberger [Fri, 12 Jan 2018 21:40:52 +0000 (16:40 -0500)]
Use ImageDecoder for BitmapDrawable
If required due to density mismatches the ImageDecoder will not
upscale the image at decode time, but instead will decode at the
bitmaps default size and upscale at draw time. This can be a
significant memory savings for low-dpi assets being used on a high-dpi
device.
However, if the provided asset has a higher dpi level than the bitmaps
default density then we will match BitmapFactories behavior and downscale
the bitmap to match the default density.
Bug:
63909536
Test: CtsGraphicsTestCases
Change-Id: I189306b7a3b706bed32bb267970ade27a57c0e7f
nharold [Fri, 19 Jan 2018 20:08:38 +0000 (20:08 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager"
am:
08d07aec50
Change-Id: I4186bdf52cc1c2c8927ca1a0dd61b71fae236e1a
Nadav Bar [Fri, 19 Jan 2018 20:05:18 +0000 (20:05 +0000)]
Merge "Enable phone apps to mute the VOICE_CALL stream"
nharold [Fri, 19 Jan 2018 19:43:17 +0000 (19:43 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager"
Michal Karpinski [Fri, 19 Jan 2018 16:28:26 +0000 (16:28 +0000)]
Add validators for all Settings.Secure settings that are backed up
A few no longer used settings were removed from SETTINGS_TO_BACKUP.
And extend the unit test to fail if new ones are added without
a validator. Also fail to boot in that case.
Ref: go/android-p-backed-up-settings
Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java
Bug:
64988620
Change-Id: I94b4039c9f54c341aec72b62579be3dd8bd84dbb
Robert Carr [Wed, 6 Dec 2017 21:17:07 +0000 (13:17 -0800)]
Rework stack Z-ordering promotion.
Down-boost home stack instead of up-boosting docked stack. This means
we don't have to do any assistant stack boosting so we wont have issues
with activities not being able to show on top of the assistant.
Change-Id: Iedef49a56a25fe0c6c26bfe4ef5194bcd8159c37
Fixes:
70318142
Fixes:
70675228
Fixes:
70178829
Fixes:
69553456
Fixes:
70178829
Test: Manual. ZOrderingTests. go/wm-smoke
Bernardo Rufino [Fri, 19 Jan 2018 17:00:05 +0000 (17:00 +0000)]
Clear calling uid in isAppEligibleForBackup() and variant
This method is called by bmgr backupnow. Bmgr pid is not system uid.
When executing the method it fails with permission denied because it
can't bind to the transport. Before binding on-demand we haven't seen
this error because we didn't try to bind in the method, it was always
bound.
Bug:
72215413
Test: adb shell bmgr backupnow -all
Change-Id: I82ad712e893abfec4727d568ab48a49945645eb4
Kitta Koutarou [Fri, 1 Dec 2017 10:19:49 +0000 (19:19 +0900)]
Make LTE signal bar thresholds customizable with carrier configuration
Move config_lteDbmThresholds to KEY_LTE_RSRP_THRESHOLDS_INT_ARRAY
to control the LTE signal bar thresholds by carrier configuration.
Test: manual - Checked that the LTE signal bar thresholds can be
controlled by carrier config.
Test: auto - Confirmed that run
ServiceStateTrackerTest#testSignalStrength and it has no problem.
Bug:
70698348
Change-Id: Ia613663956ff00fbf299dcf69113733eae5a3458
Merged-In: Ia613663956ff00fbf299dcf69113733eae5a3458
Nancy Zheng [Fri, 19 Jan 2018 18:46:43 +0000 (18:46 +0000)]
Merge "Fix ForceAppStandbyTrackerTest."
Chenjie Yu [Wed, 10 Jan 2018 17:37:10 +0000 (09:37 -0800)]
similar to the samplers in batterystats, when we do diff,
if the value is not monotically increasing, we should take
the absolute value as the diff.
Test: unit tested
Change-Id: Idd8a248b4092b1863eb8e50539f8f14b3ac9af9e
Makoto Onuki [Fri, 19 Jan 2018 18:11:01 +0000 (18:11 +0000)]
Merge "Make DEBUG_FPS_DIVISOR updatable via setting for possible experiments"
Winson Chung [Fri, 19 Jan 2018 18:08:53 +0000 (18:08 +0000)]
Merge "Fix Recents regressions"
Leif Wilden [Fri, 19 Jan 2018 17:58:00 +0000 (17:58 +0000)]
Merge "Move instrumentation classes to SettingsLib to share between mobile/TV."
TreeHugger Robot [Fri, 19 Jan 2018 17:56:28 +0000 (17:56 +0000)]
Merge "Notify device owner when user is started / stopped / switched"
Florina Muntenescu [Wed, 17 Jan 2018 16:22:18 +0000 (16:22 +0000)]
Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan.
Test: N/A
Bug:
72092996
Change-Id: Iec7f378557759e2fdd2969f579e1dfd4635b123a
Jean-Michel Trivi [Fri, 19 Jan 2018 17:40:36 +0000 (09:40 -0800)]
AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()
Locking order is mSettingsLock -> VolumeStreamState.class
Missing sync on mSettingsLock was causing deadlock between
VolumeStreamState.setAllIndexes() and readSettings().
Mark that setAllIndexesToMax() is properly sync'd on mSettingsLock.
Bug:
72122435
Test: chance
Change-Id: I4bd4037fec290dd6ba586c7090e1b377543041ab
TreeHugger Robot [Fri, 19 Jan 2018 17:39:57 +0000 (17:39 +0000)]
Merge "Rename the dimension_in_what/condition as fields_in_what/condition in MetricConditionLink proto."
TreeHugger Robot [Fri, 19 Jan 2018 17:17:24 +0000 (17:17 +0000)]
Merge "Fix regression in launch settings performance"
Nancy Zheng [Fri, 19 Jan 2018 00:29:59 +0000 (16:29 -0800)]
Fix ForceAppStandbyTrackerTest.
Bug:
72170020
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/ForceAppStandbyTrackerTest.java
Change-Id: I48c3c420a3f0586b243a33b3bb26e537461f3de7
TreeHugger Robot [Fri, 19 Jan 2018 17:10:29 +0000 (17:10 +0000)]
Merge "Allow <adopt-permissions> tag in manifest"
TreeHugger Robot [Fri, 19 Jan 2018 17:06:12 +0000 (17:06 +0000)]
Merge "Add canChildBeDraggable() method to SwipeHelper's callback"
Lorenzo Colitti [Fri, 19 Jan 2018 16:46:11 +0000 (16:46 +0000)]
Merge changes Id8776d14,Ifa291c62,I5ea9d200 am:
c48f4cb7f1 am:
b36b423230
am:
cfbf873dd1
Change-Id: I12108d96e29bfe71406106c2af950a6d6a9f8351
Lorenzo Colitti [Fri, 19 Jan 2018 16:37:44 +0000 (16:37 +0000)]
Merge changes Id8776d14,Ifa291c62,I5ea9d200 am:
c48f4cb7f1
am:
b36b423230
Change-Id: I1ac9d349850d607c5fbf4a47760bc09de1c18043
Lorenzo Colitti [Fri, 19 Jan 2018 16:30:17 +0000 (16:30 +0000)]
Merge changes Id8776d14,Ifa291c62,I5ea9d200
am:
c48f4cb7f1
Change-Id: I7a0b01cba8bdee67cffabddacb4ff5f4591cbc34
TreeHugger Robot [Fri, 19 Jan 2018 15:47:14 +0000 (15:47 +0000)]
Merge "Remove use of streams in TransportManager"
TreeHugger Robot [Fri, 19 Jan 2018 15:41:20 +0000 (15:41 +0000)]
Merge "Renamed Setting's Directory Access constants."
Julia Reynolds [Fri, 19 Jan 2018 15:40:35 +0000 (15:40 +0000)]
Merge "Display the active volume stream."
Robert Berry [Fri, 19 Jan 2018 15:25:29 +0000 (15:25 +0000)]
Merge "Revert "Calc job standby runnability based on last job execution...""
Alex Chau [Wed, 17 Jan 2018 18:26:03 +0000 (18:26 +0000)]
Notify device owner when user is started / stopped / switched
- Similar to onUserAdded / onUserRemoved, notify DPC when user is started / stopped / switched, as these operation is asynchronous.
Use cases:
1. As a asynchronous callback for startUserInBackground / stopUser / logoutUser / switchUser
2. For COMP, can be used to detect work mode turning on or off
Bug:
72092112
Test: com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_StopOnStart
Test: com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LogoutOnStart
Change-Id: I6fa28711419053694131d7792f3e0d1d2e76ac29
Bernardo Rufino [Wed, 17 Jan 2018 15:04:29 +0000 (15:04 +0000)]
Binding on-demand #11: Dump TransportClients
And adjust logs.
Change-Id: I04fcfb77bac14db36cc30288878bbb65332deb81
Ref: http://go/br-binding-on-demand
Bug:
17140907
Test: adb shell dumpsys backup
Treehugger Robot [Fri, 19 Jan 2018 14:48:52 +0000 (14:48 +0000)]
Merge changes Id8776d14,Ifa291c62,I5ea9d200
* changes:
Track and persist in stats whether traffic is on the default network.
Add the default network to NetworkStats and NetworkStatsCollection.
Pass all default networks to NetworkStatsService
TreeHugger Robot [Fri, 19 Jan 2018 14:42:13 +0000 (14:42 +0000)]
Merge "DisplayCutout: device-independent emulation overlay"
TreeHugger Robot [Fri, 19 Jan 2018 14:28:26 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 19 Jan 2018 13:37:19 +0000 (13:37 +0000)]
Merge "Import translations. DO NOT MERGE"
Vladislav Kuzkokov [Fri, 19 Jan 2018 13:36:09 +0000 (13:36 +0000)]
Merge "Implement Policy to disable printing."
Robert Berry [Fri, 19 Jan 2018 10:52:19 +0000 (10:52 +0000)]
Revert "Calc job standby runnability based on last job execution..."
This reverts commit
f0ce10155244b8e7361dc61640a2d0beac22471b.
Reason for revert: broken master
Test: manual
Bug:
72207660
Change-Id: Ib760dadfd51c4457744b0688f714de8f61570f50
Jeff Sharkey [Fri, 19 Jan 2018 12:27:22 +0000 (12:27 +0000)]
Merge "Alert user on rapid/heavy data usage."
Jeff Sharkey [Fri, 19 Jan 2018 12:21:01 +0000 (12:21 +0000)]
Merge "Use data plans for better job scheduling."
Bernardo Rufino [Fri, 19 Jan 2018 11:22:44 +0000 (11:22 +0000)]
Remove use of streams in TransportManager
Test: m -j RunFrameworksServicesRoboTests
Change-Id: Ie5d81ca9e8c8fcda482fa520aa46841800b88210
Adrian Roos [Thu, 18 Jan 2018 16:45:52 +0000 (17:45 +0100)]
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
Michal Karpinski [Fri, 19 Jan 2018 11:44:13 +0000 (11:44 +0000)]
Merge "Add validators for all Settings.Global settings that are backed up"
Michal Karpinski [Fri, 19 Jan 2018 11:42:52 +0000 (11:42 +0000)]
Merge "Add SettingsValidators class and a test for validators enforcement"
TreeHugger Robot [Fri, 19 Jan 2018 11:40:20 +0000 (11:40 +0000)]
Merge "Remove junit classes from android.jar"
Ricky Wai [Fri, 19 Jan 2018 11:28:06 +0000 (11:28 +0000)]
Merge "Apply differential privacy on watchlist report"
David Chaloupka [Fri, 19 Jan 2018 10:57:53 +0000 (10:57 +0000)]
Merge "Handle multiple packages of same name in 'aapt2 convert'"
Lorenzo Colitti [Thu, 18 Jan 2018 16:12:04 +0000 (01:12 +0900)]
Track and persist in stats whether traffic is on the default network.
This change adds the defaultNetwork to the ident based on current
system networking state, and persists that value to flash.
Bug:
35142602
Test: runtest frameworks-net
Test: downloaded files using default/non-default networks while watching dumpsys netstats
Change-Id: Id8776d149b2977548a9eb455ad4926af55e25aba
Lorenzo Colitti [Thu, 18 Jan 2018 16:05:20 +0000 (01:05 +0900)]
Add the default network to NetworkStats and NetworkStatsCollection.
This allows us to maintain NetworkStats entries that track
whether the traffic was on the default network.
At the moment, the stats collection code always passes in
DEFAULT_NETWORK_NO. However, this value is a no-op, since it is
not persisted to disk. Only the ident, the uid/set/tag, and the
packet/byte/operation counters are persisted.
A future change will add defaultNetwork to the ident and start
persisting it.
Bug:
35142602
Test: runtest frameworks-net
Change-Id: Ifa291c62c0fa389b88e5561086a29dcd7cee2253
TreeHugger Robot [Fri, 19 Jan 2018 09:57:15 +0000 (09:57 +0000)]
Merge "Initial commit for VideoView2Impl"
Mike Ma [Wed, 25 Oct 2017 18:08:57 +0000 (11:08 -0700)]
Add cluster&active cost to cpu power
Add logic to read per UID cluster and active CPU time from the kernel in
BatteryStatsImpl, store them in BatteryStats.Uid, then use these data to
calculate CPU power more accurately in CpuPowerCalculator.
Change-Id: I06a84d2bba8b97445466b310f15092614ff3477f
Bug:
67752294
Test: PowerProfileTest
Test: KernelUidCpuActiveTimeReaderTest
Test: KernelUidCpuClusterTimeReaderTest
Test: BatteryStatsCpuTimesTest
Jeff Sharkey [Fri, 19 Jan 2018 09:02:47 +0000 (18:02 +0900)]
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
TreeHugger Robot [Fri, 19 Jan 2018 09:18:39 +0000 (09:18 +0000)]
Merge "Only load preinstalled updatable in release"
Paul Duffin [Mon, 18 Dec 2017 12:53:43 +0000 (12:53 +0000)]
Remove junit classes from android.jar
Bug:
30188076
Test: make checkbuild
Change-Id: Ia90b8a81495299165d6f8d373ab8c5937e2a5290
Amit Mahajan [Fri, 19 Jan 2018 08:02:04 +0000 (08:02 +0000)]
Merge "Added new SIM state related broadcasts." am:
0fc9900802 am:
6ada16b386
am:
1644137343 -s ours
Change-Id: I3b6f80f86f5a422d768f92ded609a2bc0ee61d86
Amit Mahajan [Fri, 19 Jan 2018 07:54:45 +0000 (07:54 +0000)]
Merge "Added new SIM state related broadcasts." am:
0fc9900802
am:
6ada16b386
Change-Id: Id2b6996e712675b387d0f6b89043b02f39fb1af9
Amit Mahajan [Fri, 19 Jan 2018 07:47:21 +0000 (07:47 +0000)]
Merge "Added new SIM state related broadcasts."
am:
0fc9900802
Change-Id: I10b5f7a9307012e1097712acd36a91c5f6969c11
Lorenzo Colitti [Thu, 18 Jan 2018 15:50:48 +0000 (00:50 +0900)]
Pass all default networks to NetworkStatsService
This will allow NetworkStatsService to treat traffic on these
networks differently from traffic where the app selects a network
that is not the default.
Bug:
35142602
Test: runtest frameworks-net
Change-Id: I5ea9d200d9fb153490c6108bb9390bf152f297da
Roshan Pius [Wed, 17 Jan 2018 23:29:03 +0000 (15:29 -0800)]
config.xml: Add configuration to enable/disable
80211AC
Bug:
34669770
Test: Compiles
Change-Id: I8031de0c61d334fb3f0f2c23799e4d2ef22c8e32
Roshan Pius [Wed, 17 Jan 2018 23:28:25 +0000 (15:28 -0800)]
config.xml: Add configuration to enable/disable ACS
Bug:
69065316
Test: Compiles
Change-Id: I390523b0879f5ec71806abdd39dddeb15dfc5940
Roshan Pius [Fri, 12 Jan 2018 00:52:14 +0000 (16:52 -0800)]
WifiConfiguration: Add support for auto-selecting AP band
Add new constant indicating the band/channel for SoftAp operation will
be determined during softap initialization.
The term 'ANY' for this option to be consistent with terminology used
in hostapd.
Bug:
68763822
Test: Compiles
Change-Id: I9676caf5188601ca16c9229aaa8be2d0e43404a6
Christofer Ã…kersten [Fri, 19 Jan 2018 07:20:37 +0000 (16:20 +0900)]
Only load preinstalled updatable in release
Test: Instantiate MediaController2
Change-Id: I8da88cf9291ee1365143ca86fa64d3f2fde8e225
TreeHugger Robot [Fri, 19 Jan 2018 07:14:46 +0000 (07:14 +0000)]
Merge "Only pass resources to updatable"
Jeff Sharkey [Thu, 18 Jan 2018 22:58:35 +0000 (07:58 +0900)]
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
Jeff Sharkey [Fri, 19 Jan 2018 06:38:48 +0000 (06:38 +0000)]
Merge "Add DataUnit to clarify SI-vs-IEC units."
Bill Yi [Fri, 19 Jan 2018 06:34:01 +0000 (22:34 -0800)]
Import translations. DO NOT MERGE
Change-Id: If8ac5eb5604380c537ddfa2ae118b7fc3f873211
Auto-generated-cl: translation import
Bill Yi [Fri, 19 Jan 2018 06:28:46 +0000 (22:28 -0800)]
Import translations. DO NOT MERGE
Change-Id: Icf032c113be4120f53b881992df53e3450720404
Auto-generated-cl: translation import
TreeHugger Robot [Fri, 19 Jan 2018 06:08:23 +0000 (06:08 +0000)]
Merge "Camera: Update MOTION_TRACKING requirements"
TreeHugger Robot [Fri, 19 Jan 2018 05:51:43 +0000 (05:51 +0000)]
Merge "Add 4 new fields to KeychainSnapshot"
Insun Kang [Wed, 17 Jan 2018 14:06:18 +0000 (23:06 +0900)]
Initial commit for VideoView2Impl
Test: build
Change-Id: I12b93da01b9c37115cba29b8b50b36cf3d74ddb6