OSDN Git Service

android-x86/frameworks-base.git
7 years agoAdd ProviderStatus.DATABASE_CREATION_TIMESTAMP
Makoto Onuki [Wed, 11 Jan 2017 21:40:06 +0000 (13:40 -0800)]
Add ProviderStatus.DATABASE_CREATION_TIMESTAMP

Bug 33390320
Test: Adding a constant only; "m -j32"

Change-Id: Ie601978afd1f6da0e3fecd50e64d8af1f84a94af

7 years agoMerge "Provide hint text to accessibility."
Phil Weaver [Tue, 17 Jan 2017 18:11:18 +0000 (18:11 +0000)]
Merge "Provide hint text to accessibility."

7 years agoMerge "Properly track fragments from pop operations."
TreeHugger Robot [Tue, 17 Jan 2017 17:49:20 +0000 (17:49 +0000)]
Merge "Properly track fragments from pop operations."

7 years agoMerge "Fix focus problems when using optimized fragment transactions."
TreeHugger Robot [Tue, 17 Jan 2017 17:48:33 +0000 (17:48 +0000)]
Merge "Fix focus problems when using optimized fragment transactions."

7 years agoMerge "Remove SkDevice.h includes."
Ben Wagner [Tue, 17 Jan 2017 17:10:03 +0000 (17:10 +0000)]
Merge "Remove SkDevice.h includes."

7 years agoMerge "Move navigation bar logic to its own class"
TreeHugger Robot [Tue, 17 Jan 2017 17:06:56 +0000 (17:06 +0000)]
Merge "Move navigation bar logic to its own class"

7 years agoMerge "AAPT2: Convert Android.mk to Android.bp"
Fabien Sanglard [Tue, 17 Jan 2017 16:34:01 +0000 (16:34 +0000)]
Merge "AAPT2: Convert Android.mk to Android.bp"

7 years agoMerge "Allow removing non-enabled profiles"
TreeHugger Robot [Tue, 17 Jan 2017 15:58:21 +0000 (15:58 +0000)]
Merge "Allow removing non-enabled profiles"

7 years agoMove navigation bar logic to its own class
Jason Monk [Wed, 11 Jan 2017 14:21:56 +0000 (09:21 -0500)]
Move navigation bar logic to its own class

Start hacking away at PhoneStatusBar by trying to pull out
as much NavigationBar logic as possible.

Test: runtest systemui
Change-Id: I23b904428be31b91f0747fd60c9f6e0dd323eb44

7 years agoMerge "Readd missing null check"
TreeHugger Robot [Tue, 17 Jan 2017 14:01:17 +0000 (14:01 +0000)]
Merge "Readd missing null check"

7 years agoMerge "Unit tests for wipeData for a managed profile."
TreeHugger Robot [Tue, 17 Jan 2017 12:04:47 +0000 (12:04 +0000)]
Merge "Unit tests for wipeData for a managed profile."

7 years agoMerge "Clarify what a "work lock screen" is"
TreeHugger Robot [Tue, 17 Jan 2017 11:54:06 +0000 (11:54 +0000)]
Merge "Clarify what a "work lock screen" is"

7 years agoUnit tests for wipeData for a managed profile.
Nicolas Prevot [Thu, 12 Jan 2017 10:52:50 +0000 (10:52 +0000)]
Unit tests for wipeData for a managed profile.

BUG:31952368
Test: adb shell am instrument -e class com.android.server.devicepolicy.DevicePolicyManagerTest
-w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: If3cf2fee3edf5b16fe169e65337f215544557815

7 years agoClarify what a "work lock screen" is
Robin Lee [Tue, 17 Jan 2017 10:28:36 +0000 (10:28 +0000)]
Clarify what a "work lock screen" is

Change-Id: I285bfaac24e2733033e95139e0bf5661516ee2ae
Test: make -j30
Fix: 34263937

7 years agoMerge changes I7d112dda,I4374faac,I3b773d07,I421b5495
Diego Perez [Tue, 17 Jan 2017 10:21:38 +0000 (10:21 +0000)]
Merge changes I7d112dda,I4374faac,I3b773d07,I421b5495

* changes:
  Adds test to collect performance metrics
  Add Main back to run in buildbot
  Refactor tests structure
  Update Config.getTime method after the N release

7 years agoReadd missing null check
Jorim Jaggi [Tue, 17 Jan 2017 10:15:37 +0000 (11:15 +0100)]
Readd missing null check

Test: adb shell am instrument -w -r
android.test.appsmoke/android.support.test.runner.AndroidJUnitRunner

Change-Id: I8f7c325cf73805ed7137792479f5f348c74f85e4
Fixes: 34333370

7 years agoMerge "CEC: Use isConnected() to check ARC transmission feasibility"
Donghyun Cho [Tue, 17 Jan 2017 07:20:23 +0000 (07:20 +0000)]
Merge "CEC: Use isConnected() to check ARC transmission feasibility"

7 years agoMerge "Delete dead code." am: cf59ff79c5 am: d305a7c894 am: 8cf7169564
Lorenzo Colitti [Tue, 17 Jan 2017 07:01:18 +0000 (07:01 +0000)]
Merge "Delete dead code." am: cf59ff79c5 am: d305a7c894 am: 8cf7169564
am: bb79257dbf

Change-Id: I97102d587cfc8699fd36f18e4072a5baaa7e2d11

7 years agoMerge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2 am: ac6e0cc7...
Erik Kline [Tue, 17 Jan 2017 07:00:08 +0000 (07:00 +0000)]
Merge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2 am: ac6e0cc770 am: b1d4313777
am: b4f96a3172

Change-Id: I04b0b4d9ddea904a03f66a14f0b6cdfcc4ca752b

7 years agoMove tests added in n-mr2 into new aosp location. am: e446acf954 am: 88f3295464 am...
Erik Kline [Tue, 17 Jan 2017 06:59:06 +0000 (06:59 +0000)]
Move tests added in n-mr2 into new aosp location. am: e446acf954 am: 88f3295464 am: 4e9ffd6e91
am: 545049be25

Change-Id: I99dbe36c20f5a33f1607cd2f9c0a66ae3eee1331

7 years agoMerge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4 am: 4bb6f5a418 am...
Erik Kline [Tue, 17 Jan 2017 06:57:59 +0000 (06:57 +0000)]
Merge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4 am: 4bb6f5a418 am: 5eba88cf44
am: abeb9205fe

Change-Id: Ib1f2f813eec62e702455d60946f7d4d789ff9c88

7 years agoMerge "Enable mobile data always on." am: 6e4fe6b37f am: fcfa8c02ad am: cb44b8d85a
Lorenzo Colitti [Tue, 17 Jan 2017 06:56:53 +0000 (06:56 +0000)]
Merge "Enable mobile data always on." am: 6e4fe6b37f am: fcfa8c02ad am: cb44b8d85a
am: 59d48b7310

Change-Id: I8d61c1a22a702cbd23638d46dfad36365b29180c

7 years agoMerge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9 am: 6bb3a9e...
Tao Bao [Tue, 17 Jan 2017 06:55:46 +0000 (06:55 +0000)]
Merge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9 am: 6bb3a9e6df am: 5c610492c8
am: 448716eec1

Change-Id: Ib36b7e990e7ae545f6b58f7a425c8f9aa19ad9aa

7 years agoMerge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b am: 92d16f...
Hisanobu Watanabe [Tue, 17 Jan 2017 06:54:16 +0000 (06:54 +0000)]
Merge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b am: 92d16f70d7 am: f9c48fad75
am: d521b10c5f

Change-Id: I315ce05d3563cb167177e3908709950300591405

7 years agoMerge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8 am: e2b306e30e...
Polina Bondarenko [Tue, 17 Jan 2017 06:52:59 +0000 (06:52 +0000)]
Merge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8 am: e2b306e30e am: d4c48e911e
am: 55745eca73

Change-Id: I273a1a3ae6d59e52bae6c529a6c0ef43c904b78a

7 years agoMerge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd am: b529858c0b...
Martijn Coenen [Tue, 17 Jan 2017 06:50:39 +0000 (06:50 +0000)]
Merge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd am: b529858c0b am: 714c8596ad
am: 098bbc455d

Change-Id: I44b1ed7a8561ee234d6a55a9ed02eb3876c4a7fc

7 years agoMerge "Extract UpstreamNetworkMonitor to its own file" am: 8df5bd1028 am: c498f6301e...
Erik Kline [Tue, 17 Jan 2017 06:49:24 +0000 (06:49 +0000)]
Merge "Extract UpstreamNetworkMonitor to its own file" am: 8df5bd1028 am: c498f6301e am: 55d1997d51
am: 4c9f111a6d

Change-Id: I8e487ef6b725f0380548fcb4af47e04b12eb5704

7 years agoMerge "ConnectivityServiceTest: some fixes in CallbackInfo" am: 37727596cc am: 036ab4...
Hugo Benichi [Tue, 17 Jan 2017 06:48:05 +0000 (06:48 +0000)]
Merge "ConnectivityServiceTest: some fixes in CallbackInfo" am: 37727596cc am: 036ab4d193 am: a5e0160f03
am: 2c05563e78  -s ours

Change-Id: I2877281247a78e4d814a1df8bea71fd3c37b1962

7 years agoMerge "Delete dead code." am: cf59ff79c5 am: d305a7c894
Lorenzo Colitti [Tue, 17 Jan 2017 06:08:28 +0000 (06:08 +0000)]
Merge "Delete dead code." am: cf59ff79c5 am: d305a7c894
am: 8cf7169564

Change-Id: Ia662fd845fcfb4ade631d8aacf6bcff3c92a1543

7 years agoMerge "Delete dead code." am: cf59ff79c5
Lorenzo Colitti [Tue, 17 Jan 2017 06:02:30 +0000 (06:02 +0000)]
Merge "Delete dead code." am: cf59ff79c5
am: d305a7c894

Change-Id: Icdb4d429fcdf4060feab8a25cf67b3a230a35eb7

7 years agoMerge "Delete dead code."
Lorenzo Colitti [Tue, 17 Jan 2017 05:55:50 +0000 (05:55 +0000)]
Merge "Delete dead code."
am: cf59ff79c5

Change-Id: Ifbb591a7bbed9c2a8f83fe321c3d12f08e096fe3

7 years agoMerge "Delete dead code."
Treehugger Robot [Tue, 17 Jan 2017 05:44:57 +0000 (05:44 +0000)]
Merge "Delete dead code."

7 years agoMerge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2 am: ac6e0cc770
Erik Kline [Tue, 17 Jan 2017 05:20:52 +0000 (05:20 +0000)]
Merge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2 am: ac6e0cc770
am: b1d4313777

Change-Id: I62688cacb486f55bb48ea55b14e4e3416493ea30

7 years agoMove tests added in n-mr2 into new aosp location. am: e446acf954 am: 88f3295464
Erik Kline [Tue, 17 Jan 2017 05:19:56 +0000 (05:19 +0000)]
Move tests added in n-mr2 into new aosp location. am: e446acf954 am: 88f3295464
am: 4e9ffd6e91

Change-Id: I3b4f9303c5d4495e4b8556b1db6d5cad5543a10c

7 years agoMerge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2
Erik Kline [Tue, 17 Jan 2017 05:09:33 +0000 (05:09 +0000)]
Merge "Move tests added in n-mr2 into new aosp location." am: 5511f7cfc2
am: ac6e0cc770

Change-Id: I9f6c96c47ae63e4f812427317592e9994b1d72fd

7 years agoMove tests added in n-mr2 into new aosp location. am: e446acf954
Erik Kline [Tue, 17 Jan 2017 05:08:24 +0000 (05:08 +0000)]
Move tests added in n-mr2 into new aosp location. am: e446acf954
am: 88f3295464

Change-Id: Iaf574661aa658df1285f69bfad62285bd531206a

7 years agoMerge "Move tests added in n-mr2 into new aosp location."
Erik Kline [Tue, 17 Jan 2017 05:01:52 +0000 (05:01 +0000)]
Merge "Move tests added in n-mr2 into new aosp location."
am: 5511f7cfc2

Change-Id: I30161c31529fc0c5254353f4329cbd5165fcbd82

7 years agoMove tests added in n-mr2 into new aosp location.
Erik Kline [Tue, 17 Jan 2017 05:01:49 +0000 (05:01 +0000)]
Move tests added in n-mr2 into new aosp location.
am: e446acf954

Change-Id: I69c76aaf4c8d03ce4b33d9c16c47f2c83141e255

7 years agoMerge "Propagate revoked permissions in permission review mode"
TreeHugger Robot [Tue, 17 Jan 2017 05:01:36 +0000 (05:01 +0000)]
Merge "Propagate revoked permissions in permission review mode"

7 years agoMerge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4 am: 4bb6f5a418
Erik Kline [Tue, 17 Jan 2017 04:56:55 +0000 (04:56 +0000)]
Merge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4 am: 4bb6f5a418
am: 5eba88cf44

Change-Id: I67c8df63d390ac77e626286a34e82b3bbc82c29e

7 years agoMerge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4
Erik Kline [Tue, 17 Jan 2017 04:51:48 +0000 (04:51 +0000)]
Merge "Start of UpstreamNetworkMonitor unittests" am: f9a28d7ba4
am: 4bb6f5a418

Change-Id: I6a9106fd4fef85451104593ab8c37d4539cb9223

7 years agoMerge "Move tests added in n-mr2 into new aosp location."
Treehugger Robot [Tue, 17 Jan 2017 04:49:07 +0000 (04:49 +0000)]
Merge "Move tests added in n-mr2 into new aosp location."

7 years agoMerge "Start of UpstreamNetworkMonitor unittests"
Erik Kline [Tue, 17 Jan 2017 04:46:17 +0000 (04:46 +0000)]
Merge "Start of UpstreamNetworkMonitor unittests"
am: f9a28d7ba4

Change-Id: I2dade79427530a04c8e222e4ab2bf26e79ddd578

7 years agoMerge "Start of UpstreamNetworkMonitor unittests"
Treehugger Robot [Tue, 17 Jan 2017 04:38:21 +0000 (04:38 +0000)]
Merge "Start of UpstreamNetworkMonitor unittests"

7 years agoMerge "Enable mobile data always on." am: 6e4fe6b37f am: fcfa8c02ad
Lorenzo Colitti [Tue, 17 Jan 2017 04:36:21 +0000 (04:36 +0000)]
Merge "Enable mobile data always on." am: 6e4fe6b37f am: fcfa8c02ad
am: cb44b8d85a

Change-Id: Iaf4f84f53be65800c95a4f1b456a0d2d142c8c87

7 years agoMerge "Enable mobile data always on." am: 6e4fe6b37f
Lorenzo Colitti [Tue, 17 Jan 2017 04:31:00 +0000 (04:31 +0000)]
Merge "Enable mobile data always on." am: 6e4fe6b37f
am: fcfa8c02ad

Change-Id: Ie2b6887021585a2e7246d66603dadc8d0fa1bd94

7 years agoMerge "Enable mobile data always on."
Lorenzo Colitti [Tue, 17 Jan 2017 04:25:44 +0000 (04:25 +0000)]
Merge "Enable mobile data always on."
am: 6e4fe6b37f

Change-Id: I9758da5105b9a8eac66aaaf9e4a1658685a6a3f7

7 years agoMerge "Enable mobile data always on."
Treehugger Robot [Tue, 17 Jan 2017 04:15:33 +0000 (04:15 +0000)]
Merge "Enable mobile data always on."

7 years agoMerge "Only persist category hint when actually mutated."
TreeHugger Robot [Tue, 17 Jan 2017 03:49:41 +0000 (03:49 +0000)]
Merge "Only persist category hint when actually mutated."

7 years agoPropagate revoked permissions in permission review mode
Svet Ganov [Tue, 17 Jan 2017 03:22:37 +0000 (19:22 -0800)]
Propagate revoked permissions in permission review mode

In permission review mode we represent install permissions for legacy
apps as constantly granted runtime ones since we need to keep per
user flags associated with a permission. We were not propagating
a revoked permission for a legacy app when the later is upgraded to
a modern app when permission review is enabled.

Test: CTS test passes and manual testing worked fine

Change-Id: I32b8ffee89cc034661f8eb5a172dbe2349ea4a18

7 years agoMerge "Fix documentaiton formatting errors."
Ashutosh Joshi [Tue, 17 Jan 2017 03:25:00 +0000 (03:25 +0000)]
Merge "Fix documentaiton formatting errors."

7 years agoOnly persist category hint when actually mutated.
Jeff Sharkey [Tue, 17 Jan 2017 02:19:27 +0000 (19:19 -0700)]
Only persist category hint when actually mutated.

Otherwise we're churning disk.

Test: builds, boots
Bug: 34328134
Change-Id: Iabc485b9ce3644e914240b5de5bcea98d939b2cb

7 years agoStart of UpstreamNetworkMonitor unittests
Erik Kline [Mon, 16 Jan 2017 07:27:22 +0000 (16:27 +0900)]
Start of UpstreamNetworkMonitor unittests

Test only the ConnectivityManager request and callback registering
and releasing.  Testing behaviour triggered by activating these
callbacks will be in a separate change.

Test: runtest frameworks-net
Bug: 32163131
Change-Id: Ibfe66bbe2e61d81e8f13ac3b98e000d0d4534efa

7 years agoEnable mobile data always on.
Lorenzo Colitti [Tue, 17 Jan 2017 02:07:10 +0000 (11:07 +0900)]
Enable mobile data always on.

Test: has been on in fishfood several months.
Bug: 23113288
Change-Id: I73ba432f619d28dab78e2d865d56aa7e7c5a67f9

7 years agoCreate GraphicsEnvironment for communicating with driver loaders am: 79bf392dc6 ...
Jesse Hall [Tue, 17 Jan 2017 01:58:39 +0000 (01:58 +0000)]
Create GraphicsEnvironment for communicating with driver loaders am: 79bf392dc6  -s ours
am: f389983277  -s ours

Change-Id: I8000b70ea5acbfc5c4b0d3c07b97734a2de3696f

7 years agoCreate GraphicsEnvironment for communicating with driver loaders
Jesse Hall [Tue, 17 Jan 2017 01:56:59 +0000 (01:56 +0000)]
Create GraphicsEnvironment for communicating with driver loaders
am: 17ee3aac28

Change-Id: I7ff1c3b646a7b71595e7daac90caefcc55020727

7 years agoMerge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev am: a959ccbc33 -s ours
Jesse Hall [Tue, 17 Jan 2017 01:55:50 +0000 (01:55 +0000)]
Merge "Stop preloading EGL/GLES in Zygote" into nyc-mr2-dev am: a959ccbc33  -s ours
am: 5274672467  -s ours

Change-Id: I37c8b54bc4cfbb6c9a823002a0052ea1ba84e089

7 years agoStop preloading EGL/GLES in Zygote am: 93f630e1c3
Jesse Hall [Tue, 17 Jan 2017 01:52:07 +0000 (01:52 +0000)]
Stop preloading EGL/GLES in Zygote am: 93f630e1c3
am: 4f6a5b7c43  -s ours

Change-Id: Iad1675753bf2c5034b64e2fe1b6db858b4cd0ea9

7 years agoMerge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev...
Wei Liu [Tue, 17 Jan 2017 01:44:52 +0000 (01:44 +0000)]
Merge "Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 692089376b" into nyc-mr2-dev-plus-aosp
am: 9b02272ce5

Change-Id: I8027b976059f8a653ad62eef5d5ef13500999e81

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Tue, 17 Jan 2017 01:44:41 +0000 (01:44 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 692089376b
am: fc1eb260ea

Change-Id: I206437deb7870706912acdfe7ddfe3e108ba3020

7 years agoMerge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c5...
Wei Liu [Tue, 17 Jan 2017 01:43:30 +0000 (01:43 +0000)]
Merge "Add WearCellularMediatorService to the system server." into cw-f-dev am: 7a6c54128a am: 8ca47c7746
am: d2ee16096f

Change-Id: I9a3747bca5ea4eff8a8c7d81cb98c41f8a34e983

7 years agoMerge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c...
Wei Liu [Tue, 17 Jan 2017 01:41:13 +0000 (01:41 +0000)]
Merge "Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50" into nyc-mr2-dev-plus-aosp
am: 6a5bf5ef71

Change-Id: I72d10becb6deecc259dbb888c59f3449f0a1cf22

7 years agoAdd WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50
Wei Liu [Tue, 17 Jan 2017 01:39:12 +0000 (01:39 +0000)]
Add WearCellularMediatorService to the system server. am: d741f3de81 am: e0d2c77a50
am: bd538c2e96

Change-Id: I7dbc21fed9cd72b13e02d50dc63993f6ba4656ff

7 years agoMerge "resolve merge conflicts of 989b267015b9 to master"
TreeHugger Robot [Tue, 17 Jan 2017 01:35:29 +0000 (01:35 +0000)]
Merge "resolve merge conflicts of 989b267015b9 to master"

7 years agoresolve merge conflicts of 989b267015b9 to master
Zach Johnson [Mon, 16 Jan 2017 23:15:25 +0000 (15:15 -0800)]
resolve merge conflicts of 989b267015b9 to master

Change-Id: I0c967e85eb73664e236c0b7286ed14facdb327fa

7 years agoMerge "Add supportsDismissingSelfWindow attribute of IME"
TreeHugger Robot [Mon, 16 Jan 2017 23:09:43 +0000 (23:09 +0000)]
Merge "Add supportsDismissingSelfWindow attribute of IME"

7 years agoMerge "Adds annotations to Intent, and enables ChooserActivity to rank apps according...
Kang Li [Mon, 16 Jan 2017 21:36:06 +0000 (21:36 +0000)]
Merge "Adds annotations to Intent, and enables ChooserActivity to rank apps according to annotations."

7 years agoMerge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9 am: 6bb3a9e6df
Tao Bao [Mon, 16 Jan 2017 18:36:43 +0000 (18:36 +0000)]
Merge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9 am: 6bb3a9e6df
am: 5c610492c8

Change-Id: Ic9fa3bb8c7d4c04fa6e55b600cd7cccc9b186db1

7 years agoMerge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9
Tao Bao [Mon, 16 Jan 2017 18:32:22 +0000 (18:32 +0000)]
Merge "RecoverySystem: Fix the issue in installPackage()." am: 3b2fe9f7b9
am: 6bb3a9e6df

Change-Id: I9919e1a37853290dc052a21267cea57ae2a0aacf

7 years agoMerge "RecoverySystem: Fix the issue in installPackage()."
Tao Bao [Mon, 16 Jan 2017 18:27:39 +0000 (18:27 +0000)]
Merge "RecoverySystem: Fix the issue in installPackage()."
am: 3b2fe9f7b9

Change-Id: I2ac84a2204b78e422d33095a3637e379031eec04

7 years agoMerge "Use screenshotToBuffer"
TreeHugger Robot [Mon, 16 Jan 2017 18:26:20 +0000 (18:26 +0000)]
Merge "Use screenshotToBuffer"

7 years agoMerge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b am: 92d16f70d7
Hisanobu Watanabe [Mon, 16 Jan 2017 18:22:27 +0000 (18:22 +0000)]
Merge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b am: 92d16f70d7
am: f9c48fad75

Change-Id: If2b80355bc3ebee6723a1f9b49bce1d267f0a085

7 years agoMerge "RecoverySystem: Fix the issue in installPackage()."
Tao Bao [Mon, 16 Jan 2017 18:19:25 +0000 (18:19 +0000)]
Merge "RecoverySystem: Fix the issue in installPackage()."

7 years agoAdds test to collect performance metrics
Diego Perez [Wed, 14 Dec 2016 17:03:15 +0000 (17:03 +0000)]
Adds test to collect performance metrics

Test: Adds performance tests
Change-Id: I7d112ddad4efb2c1c84ac177d230225cc031f7f3

7 years agoAdd Main back to run in buildbot
Diego Perez [Thu, 15 Dec 2016 17:19:46 +0000 (17:19 +0000)]
Add Main back to run in buildbot

Main is now a Suite that contains all the test needed for CI

Test: No new tests needed
Change-Id: I4374faacfa38f00d404151276580de636984638c

7 years agoRefactor tests structure
Diego Perez [Tue, 13 Dec 2016 18:10:03 +0000 (18:10 +0000)]
Refactor tests structure

Move all the render test utility methods to a separate class and leave
only tests in RenderTests class (old Main).
The idea is to improve the organization to allow to create a set of
performance tests and also to allow the tests to grow more structured.

Test: Just moved tests around
Change-Id: I3b773d0745700dd2a52f937b9b668a2d374b8686

7 years agoUpdate Config.getTime method after the N release
Jerome Gaillard [Tue, 15 Nov 2016 13:54:49 +0000 (13:54 +0000)]
Update Config.getTime method after the N release

And update the relevant golden files as the time in the status bar
is changed.

Test: Run layoutlib tests
Change-Id: I421b5495291f2d62091366bc0c066e77e0f3e107

7 years agoMerge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b
Hisanobu Watanabe [Mon, 16 Jan 2017 18:11:33 +0000 (18:11 +0000)]
Merge "VPN reconnection fails after manually disabling VPN" am: ba17ea752b
am: 92d16f70d7

Change-Id: I505d89ecfd486c1a1105bb2fe847d891ed540b6d

7 years agoMerge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8 am: e2b306e30e
Polina Bondarenko [Mon, 16 Jan 2017 18:10:40 +0000 (18:10 +0000)]
Merge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8 am: e2b306e30e
am: d4c48e911e

Change-Id: Iac1e5f257d6a8263c78af8d9199848244fe6d93c

7 years agoMerge "Make device wide DO features available if all users affiliated"
TreeHugger Robot [Mon, 16 Jan 2017 18:09:47 +0000 (18:09 +0000)]
Merge "Make device wide DO features available if all users affiliated"

7 years agoMerge changes Ia7a8a27f,I0646aab6,Ia324f18d,I38c6c6df,Ic9214929, ...
Diego Perez [Mon, 16 Jan 2017 18:05:48 +0000 (18:05 +0000)]
Merge changes Ia7a8a27f,I0646aab6,Ia324f18d,I38c6c6df,Ic9214929, ...

* changes:
  Add missing attributes to old themes
  Fix plurals support in layoutlib
  Do not log errors while loading string arrays
  Hack to deal with android:pointerIcon in layoutlib
  Force animateFirstValue to false
  Avoid passing antialias when measuring scaled text
  Catch all exceptions in NativeAllocationRegistry free

7 years agoMerge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8
Polina Bondarenko [Mon, 16 Jan 2017 18:02:32 +0000 (18:02 +0000)]
Merge "Make TelephonyManager.getImei a system APIs." am: dc61ad0ad8
am: e2b306e30e

Change-Id: Ida4807876ce741a211189e41e92383404b6a3a3c

7 years agoMerge "VPN reconnection fails after manually disabling VPN"
Hisanobu Watanabe [Mon, 16 Jan 2017 17:59:55 +0000 (17:59 +0000)]
Merge "VPN reconnection fails after manually disabling VPN"
am: ba17ea752b

Change-Id: I8ff02f8d1fe4989cb92949ab85aade598c8cff00

7 years agoMerge "Make TelephonyManager.getImei a system APIs."
Polina Bondarenko [Mon, 16 Jan 2017 17:57:04 +0000 (17:57 +0000)]
Merge "Make TelephonyManager.getImei a system APIs."
am: dc61ad0ad8

Change-Id: Iaffe54fdf263eaf1cc248ceb0dad9b8787861475

7 years agoMerge "VPN reconnection fails after manually disabling VPN"
Treehugger Robot [Mon, 16 Jan 2017 17:51:04 +0000 (17:51 +0000)]
Merge "VPN reconnection fails after manually disabling VPN"

7 years agoMerge "Make TelephonyManager.getImei a system APIs."
Treehugger Robot [Mon, 16 Jan 2017 17:49:58 +0000 (17:49 +0000)]
Merge "Make TelephonyManager.getImei a system APIs."

7 years agoMerge "Call layout when doing an only-measure pass"
Jerome Gaillard [Mon, 16 Jan 2017 17:40:12 +0000 (17:40 +0000)]
Merge "Call layout when doing an only-measure pass"

7 years agoUse screenshotToBuffer
Jorim Jaggi [Wed, 11 Jan 2017 23:44:33 +0000 (00:44 +0100)]
Use screenshotToBuffer

To avoid copying buffers. Yay!

Test: Open app, go to recents, make sure screenshot is showing.
Bug: 31339431
Change-Id: I62736b8ba9ca45155d602286de8280304160bbd6

7 years agoAdd missing attributes to old themes
Diego Perez [Fri, 9 Dec 2016 13:59:57 +0000 (13:59 +0000)]
Add missing attributes to old themes

Because we always use the latest framework code, some resources might
fail to resolve when using old themes (they haven't been backported).
Since this is an artifact caused by us using always the latest code, we
check for some of those values and replace them here.

Bug: http://b.android.com/225105
Test: Included new testActivityOnOldTheme
Change-Id: Ia7a8a27fb81fe0b4a1e0c9610a2033a87720864d

7 years agoFix plurals support in layoutlib
Diego Perez [Mon, 5 Dec 2016 17:47:23 +0000 (17:47 +0000)]
Fix plurals support in layoutlib

Bug: http://b.android.com/213000
Test: Manually tested on Android Studio. Adding tests for this specific
case requires bringing a new sdk-common prebuilt to the the maintenance
branch so it's not really practical.

Change-Id: I0646aab656d5d5769355c6cc026e877b8784d173

7 years agoDo not log errors while loading string arrays
Diego Perez [Fri, 2 Dec 2016 11:16:26 +0000 (11:16 +0000)]
Do not log errors while loading string arrays

When arrays contain references, if we can not resolve them, just return
the reference string. This matches the behaviour of resource resolution
in BridgeTypeArray.

Bug: http://b.android.com/228620
Test: Updates existing tests
Change-Id: Ia324f18d9128b8abf2ba676a83d4b424914e2c88

7 years agoHack to deal with android:pointerIcon in layoutlib
Jerome Gaillard [Fri, 25 Nov 2016 17:28:05 +0000 (17:28 +0000)]
Hack to deal with android:pointerIcon in layoutlib

android:pointerIcon is a View attribute that can be an enum or a
reference. Layoutlib cannot easily deal with the way that is handled
in the platform. As the property would not have any impact on the
result in layoutlib, that property is bypassed.

Test: Main.testAllWidgets
Change-Id: I38c6c6df45c1836d44b4f80245a453fb432ea251

7 years agoForce animateFirstValue to false
Diego Perez [Thu, 10 Nov 2016 16:29:22 +0000 (16:29 +0000)]
Force animateFirstValue to false

This CL forces both animateFirstValue and animateLayoutChanges to false
in themes when running layoutlib. This helps with the rendering of some
widgets so they do not rely on animations.

Test: Test as part of testActivity
Change-Id: Ic9214929d3582bc3e0a196d198cc4fb36347c782

7 years agoAvoid passing antialias when measuring scaled text
Diego Perez [Tue, 2 Aug 2016 12:48:08 +0000 (13:48 +0100)]
Avoid passing antialias when measuring scaled text

This is a workaround for a JDK bug that crashes the VM when
measuring scaled antialsed text.
This disables antialiasing when measuring scaled text in a specific
version of the VM.

Bug: http://b.android.com/211659
Change-Id: I637ed03cf827b65c993550998ac55d42869237ad

7 years agoCatch all exceptions in NativeAllocationRegistry free
Diego Perez [Thu, 21 Jul 2016 16:54:42 +0000 (17:54 +0100)]
Catch all exceptions in NativeAllocationRegistry free

The NativeAllocationRegistry delegate free calls might run in the
context of the finalizer thread. If a crash happens during the free
call, it might bring down the finalizer thread and the VM.

Bug: http://b.android.com/213927
Change-Id: I8d4b8ab5b8d0532aad46f27d039a943894e021a0

7 years agoDelete Canvas_Delegate.nClipRegion after Change I71f9bd68
Jerome Gaillard [Mon, 16 Jan 2017 15:16:20 +0000 (15:16 +0000)]
Delete Canvas_Delegate.nClipRegion after Change I71f9bd68

Test: layoutlib tests
Change-Id: I9c04fa258cdaf06972b205e5dd5d3b505e5bea17

7 years agoAllow removing non-enabled profiles
Benjamin Franz [Fri, 6 Jan 2017 14:16:41 +0000 (14:16 +0000)]
Allow removing non-enabled profiles

Bug: 31668514
Test: runtest -c
com.android.server.pm.UserManagerServiceCreateProfileTest
frameworks-services
Change-Id: If8db670d6f253a44b2aa91df97349dd0ffd85f02

7 years agoMerge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd am: b529858c0b
Martijn Coenen [Mon, 16 Jan 2017 15:06:01 +0000 (15:06 +0000)]
Merge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd am: b529858c0b
am: 714c8596ad

Change-Id: I792c4ac6a20e4665b152a5ebea1227b549cca7ef

7 years agoMerge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd
Martijn Coenen [Mon, 16 Jan 2017 15:01:31 +0000 (15:01 +0000)]
Merge "Add nullable parameter to readEmbeddedBuffer." am: c5e5442acd
am: b529858c0b

Change-Id: I4a04a1e766551d0c15e3b4c14226363c97daf032

7 years agoMerge "Add nullable parameter to readEmbeddedBuffer."
Martijn Coenen [Mon, 16 Jan 2017 14:56:57 +0000 (14:56 +0000)]
Merge "Add nullable parameter to readEmbeddedBuffer."
am: c5e5442acd

Change-Id: Ic5d73aba5da7bd74522a46d710465ebb67030d01