OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Generate new API signatures from doclava" am: fa208b4226 am: 72b7f03179
David Brazdil [Sat, 20 Jan 2018 11:43:40 +0000 (11:43 +0000)]
Merge "Generate new API signatures from doclava" am: fa208b4226 am: 72b7f03179
am: ccc31988ee

Change-Id: Ibc40df91d9aa4f1258856ddcd85204ce62297bf1

6 years agoMerge "Generate new API signatures from doclava" am: fa208b4226
David Brazdil [Sat, 20 Jan 2018 11:33:16 +0000 (11:33 +0000)]
Merge "Generate new API signatures from doclava" am: fa208b4226
am: 72b7f03179

Change-Id: I7dbf94c493bc79f4200afc45e6ed58543359c9ff

6 years agoMerge "Generate new API signatures from doclava"
David Brazdil [Sat, 20 Jan 2018 11:23:49 +0000 (11:23 +0000)]
Merge "Generate new API signatures from doclava"
am: fa208b4226

Change-Id: Iae4cc67435b84c868a446dc7ac16a618656bbdbb

6 years agoMerge "Generate new API signatures from doclava"
David Brazdil [Sat, 20 Jan 2018 10:06:22 +0000 (10:06 +0000)]
Merge "Generate new API signatures from doclava"

6 years agoMerge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17 am: 33de998afe
yinxu [Sat, 20 Jan 2018 10:04:11 +0000 (10:04 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17 am: 33de998afe
am: a8a799b6a6

Change-Id: I2ba99e9fe94621b982a74cf6178afbfc64d32ee2

6 years agoMerge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17
yinxu [Sat, 20 Jan 2018 09:56:08 +0000 (09:56 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17
am: 33de998afe

Change-Id: I63246ba54d112ef75ca6989c16d7ae979bde552a

6 years agoMerge "Add CARD_ID in SubscriptionInfo database"
yinxu [Sat, 20 Jan 2018 09:47:20 +0000 (09:47 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"
am: 6745e15d17

Change-Id: I3df57fc50d9e928d74c50b2b99fde63e757e7e78

6 years agoMerge "Add CARD_ID in SubscriptionInfo database"
Treehugger Robot [Sat, 20 Jan 2018 08:28:24 +0000 (08:28 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"

6 years agoMerge "Load admin data in DPMS asynchronously during boot."
Sudheer Shanka [Sat, 20 Jan 2018 08:26:32 +0000 (08:26 +0000)]
Merge "Load admin data in DPMS asynchronously during boot."

6 years agoMerge "Update config_wifi_tether_enable value."
TreeHugger Robot [Sat, 20 Jan 2018 07:40:23 +0000 (07:40 +0000)]
Merge "Update config_wifi_tether_enable value."

6 years agoMerge "Change RecoverySystem#wipeEuiccData to public"
Qingxi Li [Sat, 20 Jan 2018 06:20:02 +0000 (06:20 +0000)]
Merge "Change RecoverySystem#wipeEuiccData to public"

6 years agoMerge "AudioTrack: support for offloaded playback"
TreeHugger Robot [Sat, 20 Jan 2018 05:48:37 +0000 (05:48 +0000)]
Merge "AudioTrack: support for offloaded playback"

6 years agoMerge "Add accessibility support for tooltips"
Phil Weaver [Sat, 20 Jan 2018 05:13:38 +0000 (05:13 +0000)]
Merge "Add accessibility support for tooltips"

6 years agoMerge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D."
Peiyong Lin [Sat, 20 Jan 2018 05:11:09 +0000 (05:11 +0000)]
Merge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D."

6 years agoMerge "Minor API changes on Autofill Field Classification:"
Felipe Leme [Sat, 20 Jan 2018 05:01:43 +0000 (05:01 +0000)]
Merge "Minor API changes on Autofill Field Classification:"

6 years agoMerge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata."
Felipe Leme [Sat, 20 Jan 2018 04:59:23 +0000 (04:59 +0000)]
Merge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata."

6 years agoMerge "Add atoms to log memory metrics."
Rajeev Kumar [Sat, 20 Jan 2018 04:30:53 +0000 (04:30 +0000)]
Merge "Add atoms to log memory metrics."

6 years agoMerge "Don't record audio if UID is idle - framework"
TreeHugger Robot [Sat, 20 Jan 2018 04:09:35 +0000 (04:09 +0000)]
Merge "Don't record audio if UID is idle - framework"

6 years agoMerge "Add a11y action to take screenshot"
Phil Weaver [Sat, 20 Jan 2018 02:56:04 +0000 (02:56 +0000)]
Merge "Add a11y action to take screenshot"

6 years agoMerge "Statsd -> Perfetto integration"
TreeHugger Robot [Sat, 20 Jan 2018 02:34:40 +0000 (02:34 +0000)]
Merge "Statsd -> Perfetto integration"

6 years agoMerge "Rename getConfigFlag to isConfigFlagSet."
TreeHugger Robot [Sat, 20 Jan 2018 02:22:21 +0000 (02:22 +0000)]
Merge "Rename getConfigFlag to isConfigFlagSet."

6 years agoMerge "Add "exemptForBatterySaver" to ForceAppStandbyTracker"
TreeHugger Robot [Sat, 20 Jan 2018 02:22:15 +0000 (02:22 +0000)]
Merge "Add "exemptForBatterySaver" to ForceAppStandbyTracker"

6 years agoMerge "No sensor access to idle UIDs - framework"
TreeHugger Robot [Sat, 20 Jan 2018 01:37:29 +0000 (01:37 +0000)]
Merge "No sensor access to idle UIDs - framework"

6 years agoMerge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"
TreeHugger Robot [Sat, 20 Jan 2018 01:31:23 +0000 (01:31 +0000)]
Merge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"

6 years agoMerge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."
TreeHugger Robot [Sat, 20 Jan 2018 01:00:54 +0000 (01:00 +0000)]
Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."

6 years agoAdd atoms to log memory metrics.
Rajeev Kumar [Thu, 18 Jan 2018 23:49:11 +0000 (15:49 -0800)]
Add atoms to log memory metrics.

Test: Manual
Bug: 72177881
Change-Id: I0e77c6651d10e6592e6bbd34c55186e5e49a70e9

6 years agoUpdate config_wifi_tether_enable value.
Doris Ling [Sat, 20 Jan 2018 00:44:59 +0000 (16:44 -0800)]
Update config_wifi_tether_enable value.

The TetherService has moved to a sub package. Update the config value to
reflect the new package info.

Change-Id: I1d0d03117dd6533d96f170e80f7f58c043e96d46
Fixes: 69844871
Test: rebuild

6 years agoMerge "Double the battery history size on userdebug/eng"
TreeHugger Robot [Sat, 20 Jan 2018 00:26:24 +0000 (00:26 +0000)]
Merge "Double the battery history size on userdebug/eng"

6 years agoAdd "exemptForBatterySaver" to ForceAppStandbyTracker
Makoto Onuki [Fri, 19 Jan 2018 23:43:16 +0000 (15:43 -0800)]
Add "exemptForBatterySaver" to ForceAppStandbyTracker

Bug: 72125364
Test: atest CtsBatterySavingTestCases
Change-Id: I716dc53f06a74e3854aeaeff5c1567642ebaa0c9

6 years agoStatsd -> Perfetto integration
Primiano Tucci [Wed, 10 Jan 2018 12:14:50 +0000 (12:14 +0000)]
Statsd -> Perfetto integration

This CL invokes the perfetto client utility to start the
collection of a trace when an anomaly that subscribed to
Perfetto is detected. The code simply spawns the
/system/bin/perfetto client and passes the trace config via
stdin. The client takes care of the dropbox upload.
The CollectPerfettoTraceAndUploadToDropbox() function does
NOT wait for the full trace collection (in order to avoid
blocking statsd) and instead returns immediately after having
spawned perfetto.

Change-Id: I4f02067bad7a46ede7b6e4841cdcf381c1a4e2a7
Bug: 71795552

6 years agoAdd a11y action to take screenshot
Phil Weaver [Tue, 16 Jan 2018 23:32:30 +0000 (15:32 -0800)]
Add a11y action to take screenshot

Bug: 70392997
Test: Adding unit test for functionality, cts test
for presence of api.

Change-Id: Ib5bc2217e1d29f527db0f0fadb69fd8249d6c279

6 years agoMerge "ApkSignatureVerifier: expose verity interfaces"
TreeHugger Robot [Fri, 19 Jan 2018 23:33:07 +0000 (23:33 +0000)]
Merge "ApkSignatureVerifier: expose verity interfaces"

6 years agoMerge "Fix permissions problems of incidentd."
Yi Jin [Fri, 19 Jan 2018 23:27:32 +0000 (23:27 +0000)]
Merge "Fix permissions problems of incidentd."

6 years agoMerge "Fix buffer overflow when the last chunk is 4kb"
TreeHugger Robot [Fri, 19 Jan 2018 23:08:15 +0000 (23:08 +0000)]
Merge "Fix buffer overflow when the last chunk is 4kb"

6 years agoAudioTrack: support for offloaded playback
Jean-Michel Trivi [Mon, 8 Jan 2018 23:43:35 +0000 (15:43 -0800)]
AudioTrack: support for offloaded playback

Surface new callbacks from native AudioTrack to
  Java through the existing callback method and
  post to the Java instance.
New AudioManager method to query whether offload
  is supported.
Allow using non-PCM format on a track built for
  offload (new option in AudioTrack.Builder)

Numerous "todo" are added for the unhide of the
  API additions and will be in a separate patch.

Bug: 63934228
Test: same as MediaPlayer2 tests

Change-Id: I98a81ffffc95c7596a39ee634dcb89bb854f3178

6 years agoMerge "Rework stack Z-ordering promotion."
Rob Carr [Fri, 19 Jan 2018 22:58:41 +0000 (22:58 +0000)]
Merge "Rework stack Z-ordering promotion."

6 years agoMerge "Add performance tests for query / get"
TreeHugger Robot [Fri, 19 Jan 2018 22:54:28 +0000 (22:54 +0000)]
Merge "Add performance tests for query / get"

6 years agoMerge "Update ProgramSelector to match HAL 2.0."
Tomasz Wasilczyk [Fri, 19 Jan 2018 22:51:47 +0000 (22:51 +0000)]
Merge "Update ProgramSelector to match HAL 2.0."

6 years agoDouble the battery history size on userdebug/eng
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

6 years agoMerge "Use ImageDecoder for BitmapDrawable"
Leon Scroggins [Fri, 19 Jan 2018 22:10:53 +0000 (22:10 +0000)]
Merge "Use ImageDecoder for BitmapDrawable"

6 years agoMerge "Clear calling uid in isAppEligibleForBackup() and variant"
TreeHugger Robot [Fri, 19 Jan 2018 21:54:36 +0000 (21:54 +0000)]
Merge "Clear calling uid in isAppEligibleForBackup() and variant"

6 years agoMerge "Add validators for all Settings.Secure settings that are backed up"
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"

6 years agoMerge "Merge "Make LTE signal bar thresholds customizable with carrier configuration...
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"

6 years agoMerge "Make LTE signal bar thresholds customizable with carrier configuration" am...
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

6 years agoMerge changes I8031de0c,I390523b0
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

6 years agoMerge "GPS Signal Quality added to BatteryStats"
Siddharth Ray [Fri, 19 Jan 2018 21:40:07 +0000 (21:40 +0000)]
Merge "GPS Signal Quality added to BatteryStats"

6 years agoMerge "Make LTE signal bar thresholds customizable with carrier configuration" am...
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

6 years agoMerge "WifiConfiguration: Add support for auto-selecting AP band"
Roshan Pius [Fri, 19 Jan 2018 21:33:47 +0000 (21:33 +0000)]
Merge "WifiConfiguration: Add support for auto-selecting AP band"

6 years agoMerge "fix bug in CpuTimePerUidFreqPuller to pull the correct file"
TreeHugger Robot [Fri, 19 Jan 2018 21:33:22 +0000 (21:33 +0000)]
Merge "fix bug in CpuTimePerUidFreqPuller to pull the correct file"

6 years agoMerge "Make LTE signal bar thresholds customizable with carrier configuration"
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

6 years agoMerge "Binding on-demand #11: Dump TransportClients"
Bernardo Rufino [Fri, 19 Jan 2018 20:57:49 +0000 (20:57 +0000)]
Merge "Binding on-demand #11: Dump TransportClients"

6 years agoMerge "Add metric for restricted app detail page"
Lei Yu [Fri, 19 Jan 2018 20:47:52 +0000 (20:47 +0000)]
Merge "Add metric for restricted app detail page"

6 years agoFix buffer overflow when the last chunk is 4kb
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

6 years agoMerge "Fixed the possibility to report rejected touch events"
TreeHugger Robot [Fri, 19 Jan 2018 20:43:19 +0000 (20:43 +0000)]
Merge "Fixed the possibility to report rejected touch events"

6 years agoMerge "Add cluster&active cost to cpu power"
TreeHugger Robot [Fri, 19 Jan 2018 20:41:45 +0000 (20:41 +0000)]
Merge "Add cluster&active cost to cpu power"

6 years agoMerge "Make LTE signal bar thresholds customizable with carrier configuration"
Jordan Liu [Fri, 19 Jan 2018 20:39:43 +0000 (20:39 +0000)]
Merge "Make LTE signal bar thresholds customizable with carrier configuration"

6 years agoAdd performance tests for query / get
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

6 years agoMerge "Add Tunnel Interface APIs to IpSecManager" am: 08d07aec50 am: 696cff166c
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

6 years agoChange RecoverySystem#wipeEuiccData to public
Qingxi Li [Tue, 9 Jan 2018 18:57:38 +0000 (10:57 -0800)]
Change RecoverySystem#wipeEuiccData to public

This function is used to wipe the eSIM profiles from eUICC card which
should not only be called from FDR and also from the network reset. This
CL changes it to hide public API.

Bug: 62961867
Test: TBC
Change-Id: I1d716763720e9a2c897b9e85f95bab562fe150e2

6 years agoMerge "Add Tunnel Interface APIs to IpSecManager" am: 08d07aec50
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

6 years agoMinor API changes on Autofill Field Classification:
Felipe Leme [Thu, 18 Jan 2018 21:38:24 +0000 (13:38 -0800)]
Minor API changes on Autofill Field Classification:

- Removed Scores class and use float[][] directly.
- Created constant for metadata keys.
- Removed getAlgorithName() from FieldClassification.

Bug: 70291841

Test: m -j update-api
Test: atest CtsAutoFillServiceTestCases

Change-Id: I62abf93c4f6f0804d838c7fb183c0b8bcb88a136

6 years agoMerge "similar to the samplers in batterystats, when we do diff, if the value is...
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."

6 years agoUse ImageDecoder for BitmapDrawable
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

6 years agoMerge "Add Tunnel Interface APIs to IpSecManager"
nharold [Fri, 19 Jan 2018 20:08:38 +0000 (20:08 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager"
am: 08d07aec50

Change-Id: I4186bdf52cc1c2c8927ca1a0dd61b71fae236e1a

6 years agoMerge "Enable phone apps to mute the VOICE_CALL stream"
Nadav Bar [Fri, 19 Jan 2018 20:05:18 +0000 (20:05 +0000)]
Merge "Enable phone apps to mute the VOICE_CALL stream"

6 years agoMerge "Add Tunnel Interface APIs to IpSecManager"
nharold [Fri, 19 Jan 2018 19:43:17 +0000 (19:43 +0000)]
Merge "Add Tunnel Interface APIs to IpSecManager"

6 years agoAdd validators for all Settings.Secure settings that are backed up
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

6 years agoRework stack Z-ordering promotion.
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

6 years agoLoad admin data in DPMS asynchronously during boot.
Sudheer Shanka [Tue, 16 Jan 2018 20:01:00 +0000 (12:01 -0800)]
Load admin data in DPMS asynchronously during boot.

Bug: 71902030
Bug: 71710099
Test: atest services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: Ran boot tests - go/run-boottest
Test: manual
Change-Id: I34970c6f41877c7e3ece4843d47831374d455067

6 years agoClear calling uid in isAppEligibleForBackup() and variant
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

6 years agoMake LTE signal bar thresholds customizable with carrier configuration
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

6 years agoMerge "Fix ForceAppStandbyTrackerTest."
Nancy Zheng [Fri, 19 Jan 2018 18:46:43 +0000 (18:46 +0000)]
Merge "Fix ForceAppStandbyTrackerTest."

6 years agosimilar to the samplers in batterystats, when we do diff,
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

6 years agoMerge "Make DEBUG_FPS_DIVISOR updatable via setting for possible experiments"
Makoto Onuki [Fri, 19 Jan 2018 18:11:01 +0000 (18:11 +0000)]
Merge "Make DEBUG_FPS_DIVISOR updatable via setting for possible experiments"

6 years agoMerge "Fix Recents regressions"
Winson Chung [Fri, 19 Jan 2018 18:08:53 +0000 (18:08 +0000)]
Merge "Fix Recents regressions"

6 years ago[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D.
Peiyong Lin [Thu, 18 Jan 2018 23:32:21 +0000 (15:32 -0800)]
[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D.

Previously, the format and internal format are the same, however, per
https://www.khronos.org/registry/OpenGL-Refpages/es3.1/html/glTexImage2D.xhtml,
this is no longer the case, thus we need to convert to proper format when we
have the sized format.

BUG: 72065799
Test: none
Change-Id: Ib1f90db6692b3629928ed664e5c775adfb4f63dd

6 years agoMerge "Move instrumentation classes to SettingsLib to share between mobile/TV."
Leif Wilden [Fri, 19 Jan 2018 17:58:00 +0000 (17:58 +0000)]
Merge "Move instrumentation classes to SettingsLib to share between mobile/TV."

6 years agoMerge "Notify device owner when user is started / stopped / switched"
TreeHugger Robot [Fri, 19 Jan 2018 17:56:28 +0000 (17:56 +0000)]
Merge "Notify device owner when user is started / stopped / switched"

6 years agoUpdate JavaDoc for BackgroundColorSpan and ForegroundColorSpan.
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

6 years agoAudioService: fix deadlock between readSettings() and VSS.setAllIndexes()
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

6 years agoMerge "Rename the dimension_in_what/condition as fields_in_what/condition in MetricCo...
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."

6 years agoImplemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata.
Felipe Leme [Wed, 17 Jan 2018 03:37:00 +0000 (19:37 -0800)]
Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata.

Bug: 70939974
Test: atest CtsAutoFillServiceTestCases:FieldsClassificationTest

Change-Id: I8b7028c0acfef164b84821a9e4c99817acc838f8

6 years agoMerge "Fix regression in launch settings performance"
TreeHugger Robot [Fri, 19 Jan 2018 17:17:24 +0000 (17:17 +0000)]
Merge "Fix regression in launch settings performance"

6 years agoFix ForceAppStandbyTrackerTest.
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

6 years agoMerge "Allow <adopt-permissions> tag in manifest"
TreeHugger Robot [Fri, 19 Jan 2018 17:10:29 +0000 (17:10 +0000)]
Merge "Allow <adopt-permissions> tag in manifest"

6 years agoMerge "Add canChildBeDraggable() method to SwipeHelper's callback"
TreeHugger Robot [Fri, 19 Jan 2018 17:06:12 +0000 (17:06 +0000)]
Merge "Add canChildBeDraggable() method to SwipeHelper's callback"

6 years agoMerge changes Id8776d14,Ifa291c62,I5ea9d200 am: c48f4cb7f1 am: b36b423230
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

6 years agoMerge changes Id8776d14,Ifa291c62,I5ea9d200 am: c48f4cb7f1
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

6 years agoMerge changes Id8776d14,Ifa291c62,I5ea9d200
Lorenzo Colitti [Fri, 19 Jan 2018 16:30:17 +0000 (16:30 +0000)]
Merge changes Id8776d14,Ifa291c62,I5ea9d200
am: c48f4cb7f1

Change-Id: I7a0b01cba8bdee67cffabddacb4ff5f4591cbc34

6 years agoMerge "Remove use of streams in TransportManager"
TreeHugger Robot [Fri, 19 Jan 2018 15:47:14 +0000 (15:47 +0000)]
Merge "Remove use of streams in TransportManager"

6 years agoMerge "Renamed Setting's Directory Access constants."
TreeHugger Robot [Fri, 19 Jan 2018 15:41:20 +0000 (15:41 +0000)]
Merge "Renamed Setting's Directory Access constants."

6 years agoMerge "Display the active volume stream."
Julia Reynolds [Fri, 19 Jan 2018 15:40:35 +0000 (15:40 +0000)]
Merge "Display the active volume stream."

6 years agoMerge "Revert "Calc job standby runnability based on last job execution...""
Robert Berry [Fri, 19 Jan 2018 15:25:29 +0000 (15:25 +0000)]
Merge "Revert "Calc job standby runnability based on last job execution...""

6 years agoNotify device owner when user is started / stopped / switched
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

6 years agoBinding on-demand #11: Dump TransportClients
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

6 years agoMerge changes Id8776d14,Ifa291c62,I5ea9d200
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

6 years agoMerge "DisplayCutout: device-independent emulation overlay"
TreeHugger Robot [Fri, 19 Jan 2018 14:42:13 +0000 (14:42 +0000)]
Merge "DisplayCutout: device-independent emulation overlay"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 19 Jan 2018 14:28:26 +0000 (14:28 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 19 Jan 2018 13:37:19 +0000 (13:37 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Implement Policy to disable printing."
Vladislav Kuzkokov [Fri, 19 Jan 2018 13:36:09 +0000 (13:36 +0000)]
Merge "Implement Policy to disable printing."