Commit Graph

81577 Commits

Author SHA1 Message Date
Fyodor Kupolov
fc1a8ac863 Merge "Log package parse timings" into oc-mr1-dev am: cd0d29e9fc
am: 7881a63734

Change-Id: I45d395d6830c25702797068e14e2341a4e250326
2017-08-01 20:08:32 +00:00
Felipe Leme
90ea179c41 Merge "Minor Autofill javadoc fix." into oc-mr1-dev am: 7fecc73f52
am: 06b841a11f

Change-Id: Ie9357578dfa09cb05c27dff78949222ad9796d2d
2017-08-01 19:56:23 +00:00
Fyodor Kupolov
7881a63734 Merge "Log package parse timings" into oc-mr1-dev
am: cd0d29e9fc

Change-Id: I5f0a4cffef76cc0b5124791009bd96e0a9078d3e
2017-08-01 19:51:22 +00:00
TreeHugger Robot
cd0d29e9fc Merge "Log package parse timings" into oc-mr1-dev 2017-08-01 19:46:29 +00:00
Felipe Leme
06b841a11f Merge "Minor Autofill javadoc fix." into oc-mr1-dev
am: 7fecc73f52

Change-Id: Ia1dafe5e6be8df7b331f735da1d0c59c72f68891
2017-08-01 19:40:27 +00:00
Felipe Leme
7fecc73f52 Merge "Minor Autofill javadoc fix." into oc-mr1-dev 2017-08-01 19:33:25 +00:00
Calin Juravle
e93209ba98 Merge changes from topic 'class-loaders-mr1' into oc-mr1-dev
am: 565cab11ff

Change-Id: I11f2a6d1df31d1a27ce5295bcdf6fbbd540060bc
2017-08-01 18:51:28 +00:00
Calin Juravle
565cab11ff Merge changes from topic 'class-loaders-mr1' into oc-mr1-dev
* changes:
  Use the class loader context when optimizing secondary dex files
  Add DexClassLoader to the list of supported class loaders
2017-08-01 18:38:05 +00:00
Tomasz Wasilczyk
501a266a61 Merge "Add permission annotation to RadioManager methods." into oc-mr1-dev am: f299ab10e7
am: 5f935d47db

Change-Id: I2c2212cd3dcddfb400fe2dcb4afd3df202038b82
2017-08-01 18:07:44 +00:00
Tomasz Wasilczyk
5f935d47db Merge "Add permission annotation to RadioManager methods." into oc-mr1-dev
am: f299ab10e7

Change-Id: Ia2955b23a8e07a7ca921c93187454c488be08041
2017-08-01 17:59:37 +00:00
Tomasz Wasilczyk
f299ab10e7 Merge "Add permission annotation to RadioManager methods." into oc-mr1-dev 2017-08-01 17:43:02 +00:00
Seigo Nonaka
ae0b9ee687 Merge "Revert "Implement family fallback." DO NOT MERGE" into oc-mr1-dev
am: 1c34ba15b5

Change-Id: I6082a49060d322c068b9af4e5b6e169cff6a86bb
2017-08-01 17:35:14 +00:00
TreeHugger Robot
1c34ba15b5 Merge "Revert "Implement family fallback." DO NOT MERGE" into oc-mr1-dev 2017-08-01 17:29:35 +00:00
Makoto Onuki
443d9cacfe Merge "Revert "Reduce duplicate strings due to the package cache."" into oc-mr1-dev am: f6764fb7f7
am: a843ab3727

Change-Id: I3fd60202b73e6905e14f908f739cb53a8fe722db
2017-08-01 16:37:17 +00:00
Makoto Onuki
a843ab3727 Merge "Revert "Reduce duplicate strings due to the package cache."" into oc-mr1-dev
am: f6764fb7f7

Change-Id: I3cfd72a897157c29d19956be302dbc47cffc03db
2017-08-01 16:26:14 +00:00
Makoto Onuki
f6764fb7f7 Merge "Revert "Reduce duplicate strings due to the package cache."" into oc-mr1-dev 2017-08-01 16:11:27 +00:00
Geoffrey Pitsch
4433cc6b69 Merge "Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev am: 861b35e1df am: 7662de2771" into oc-mr1-dev-plus-aosp
am: 6f20add23d

Change-Id: I9719d3784703184c5053dd49e4ce6dfed3134539
2017-08-01 14:26:05 +00:00
Geoffrey Pitsch
5c2e57c718 Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev am: 861b35e1df
am: 7662de2771

Change-Id: Ib93c18b5b04030d8b0840ce8a813bd57a982e1d0
2017-08-01 14:16:46 +00:00
Geoffrey Pitsch
d536ba3f41 Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev
am: 861b35e1df

Change-Id: Ib0c2a708e2556fc604631891666b70a841a1129a
2017-08-01 14:09:10 +00:00
Geoffrey Pitsch
7662de2771 Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev
am: 861b35e1df

Change-Id: I4ee3ad06138a66b47bca6e56fbbd0bd970d91e08
2017-08-01 14:08:36 +00:00
Geoffrey Pitsch
861b35e1df Merge "Disable AOD when accessibility color inversion is on." into oc-dr1-dev 2017-08-01 14:00:22 +00:00
Neil Fuller
bc66bdc72a Merge "Add a new constant to TimeZoneRulesDataContract" into oc-mr1-dev
am: 70ddf0932b

Change-Id: I5cf42b8926f4e0d22bff50d90a007b6c04530b8b
2017-08-01 10:12:17 +00:00
Neil Fuller
70ddf0932b Merge "Add a new constant to TimeZoneRulesDataContract" into oc-mr1-dev 2017-08-01 10:06:16 +00:00
TreeHugger Robot
4f48862d0f Merge "NsdManager: remove duplicated argument validation" into oc-mr1-dev 2017-08-01 05:17:52 +00:00
Dianne Hackborn
0785389f81 Merge "Add documentation on oneway transaction ordering." into oc-mr1-dev am: 0b8f281637
am: dae5beb369

Change-Id: Ib82d76693497fd08f293d523edb5f84fb14bc815
2017-08-01 02:49:33 +00:00
Hugo Benichi
4aa743c343 NsdManager: remove duplicated argument validation
This patch simplifies argument validation in NsdManager public api and
regroup duplicated validation into common methods.

This makes stack traces more actionable as now specific errors will
cause the api to throw exception from specific methods, whereas before
IllegalArgumentException would be thrown from inside the same api method
for different reasons.

This patch also includes a couple of other small cleanups.

Test: $ runtest -x frameworks/base/tests/net/../NsdManagerTest.java
Bug: 35362108
Bug: 37013369
Bug: 62044295
Bug: 63826516
Merged-In: Iaad13e13976e9bf8f508d7188f823f8184ac414b

(cherry pick from commit ff3e6ccca1)

Change-Id: I5e6a1ecc6b98069ef0089bbceecf73f7692df227
2017-08-01 02:45:23 +00:00
Dianne Hackborn
dae5beb369 Merge "Add documentation on oneway transaction ordering." into oc-mr1-dev
am: 0b8f281637

Change-Id: Id6d9e01440abc7940a1e39edf6a5eee3b83d83b7
2017-08-01 02:28:46 +00:00
TreeHugger Robot
0b8f281637 Merge "Add documentation on oneway transaction ordering." into oc-mr1-dev 2017-08-01 02:21:21 +00:00
Christopher Tate
2c778821f7 Merge "Persisted jobs versus incorrect boot-time RTC" into oc-mr1-dev am: d04d64c133
am: 72ff4edfe6

Change-Id: I0c5da77aecf96798b24db098b4e42fc058d27738
2017-08-01 02:09:09 +00:00
Christopher Tate
72ff4edfe6 Merge "Persisted jobs versus incorrect boot-time RTC" into oc-mr1-dev
am: d04d64c133

Change-Id: Iea1cf18398f137736b9f50494429e54eb18569d8
2017-08-01 01:59:13 +00:00
TreeHugger Robot
d04d64c133 Merge "Persisted jobs versus incorrect boot-time RTC" into oc-mr1-dev 2017-08-01 01:50:06 +00:00
Fyodor Kupolov
28a988f7d5 Log package parse timings
Log time it takes to parse a package (parse=) and update the cache
(update_cache=), if time exceeds 100ms threshold.

This can be useful for analyzing bugreports of slow PM init post-OTA.

Test: manual
Bug: 62462279
Change-Id: I4099b21fae6a5db8c8f1cbc2147a33b9ee51767a
2017-07-31 18:45:32 -07:00
Fyodor Kupolov
0e23f3c139 Merge "List column names in the error message" into oc-mr1-dev am: 2729912a35
am: 8fa408caae

Change-Id: I5af4bd6734f40941db433c98339a65a6283b3fc9
2017-08-01 00:57:06 +00:00
Fyodor Kupolov
8fa408caae Merge "List column names in the error message" into oc-mr1-dev
am: 2729912a35

Change-Id: Ia477660fdee2f94f042d0c3d463481ee550abd56
2017-08-01 00:45:33 +00:00
Makoto Onuki
63e624a61e Revert "Reduce duplicate strings due to the package cache."
The pool is just broken.... I need to fix it and re-evaluate.

This reverts commit e86a29c6e6.

Change-Id: I296df71e76ffff1d1d0fc8a50e3493e20c124a7b
2017-08-01 00:42:33 +00:00
TreeHugger Robot
2729912a35 Merge "List column names in the error message" into oc-mr1-dev 2017-08-01 00:36:49 +00:00
Fyodor Kupolov
60d85d1028 Merge "Added setIdleConnectionTimeout method" into oc-mr1-dev am: 82f289a4b4
am: 7ca3d4ef1f

Change-Id: I53daa58574fc9961f35d4609265ffc646dd5aa50
2017-08-01 00:15:06 +00:00
Fyodor Kupolov
7ca3d4ef1f Merge "Added setIdleConnectionTimeout method" into oc-mr1-dev
am: 82f289a4b4

Change-Id: I31aaefcd59a0947532c84ccf07c828c4060c303e
2017-08-01 00:06:04 +00:00
Dianne Hackborn
6f12f2233e Add documentation on oneway transaction ordering.
Test: built
Change-Id: I4d2e336327a4ce9c8f76d49037c894e981bdf571
2017-07-31 17:02:51 -07:00
Fyodor Kupolov
82f289a4b4 Merge "Added setIdleConnectionTimeout method" into oc-mr1-dev 2017-07-31 23:56:02 +00:00
Christopher Tate
616541d701 Persisted jobs versus incorrect boot-time RTC
Devices routinely boot in a state where the RTC is wildly incorrect
in the past (2009, 1999, or even at Unix epoch zero).  When we have
persistent jobs to be scheduled at boot, this presents a problem: when
should those jobs run, given that our idea of "now" is incorrect?

The previous implementation fell back to rescheduling these jobs
"from scratch" in this situation, as though they were newly-introduced,
but this turns out to have some emergent pathologies when the jobs
were intended to become runnable after long initial delays: the
rescheduling behavior could wind up starving jobs out entirely,
never running them regardless of how much real uptime the device
had, given the "wrong" pattern of reboots.

We now preserve the original nominal schedule, but recognize when we
have booted in a pathological situation, and correct the schedule for
these jobs when the system clock becomes sensible.

Bug 63817592
Test: JobScheduler test suite plus manual bogus-boot-time repro

Change-Id: Ia36fc5298b68db74e4e07e973b68e68e66206b43
2017-07-31 16:26:01 -07:00
Eino-Ville Talvala
5f633f7d9e Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev am: 06802167e5 am: 102e9a7e3b
am: 6e61ca09cd

Change-Id: I23c3b40982d94561030c98450a47577f77e9e4b4
2017-07-31 22:50:16 +00:00
Eino-Ville Talvala
6e61ca09cd Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev am: 06802167e5
am: 102e9a7e3b

Change-Id: I2f2ebf1df3ba3a9f6e8a7daf654d118580a96a1d
2017-07-31 22:40:50 +00:00
Adam Lesinski
45053367ba Merge "Remove extraneous invalidate call that unregisters AssetManagers" into oc-dr1-dev am: defdb1fd70 am: 80454c2c88
am: 4733bcaa76

Change-Id: I95bbfb04d83b270de47c7a7143b68b6b94eeabf4
2017-07-31 22:36:23 +00:00
Eino-Ville Talvala
6f1422711b Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev
am: 06802167e5

Change-Id: I3370a3c8853d171b29856d2a94e7121e6a5ad1b5
2017-07-31 22:30:01 +00:00
Eino-Ville Talvala
102e9a7e3b Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev
am: 06802167e5

Change-Id: Iedafc28d1a63b708b1992e4ef3570069c59d087a
2017-07-31 22:30:01 +00:00
Adam Lesinski
4733bcaa76 Merge "Remove extraneous invalidate call that unregisters AssetManagers" into oc-dr1-dev am: defdb1fd70
am: 80454c2c88

Change-Id: I33ffcecebec53c73a52ab7b4b17808e076784087
2017-07-31 22:23:54 +00:00
Eino-Ville Talvala
06802167e5 Merge "Camera2: Release input surface on capture session close" into oc-dr1-dev 2017-07-31 22:21:40 +00:00
Adam Lesinski
80454c2c88 Merge "Remove extraneous invalidate call that unregisters AssetManagers" into oc-dr1-dev
am: defdb1fd70

Change-Id: I6878ca92b2bd8b2e9569147dde007ae657adc87c
2017-07-31 22:17:27 +00:00
Adam Lesinski
630faa085a Merge "Remove extraneous invalidate call that unregisters AssetManagers" into oc-dr1-dev
am: defdb1fd70

Change-Id: I16587768d92201f8d4d083b70ae972cca47e8b5c
2017-07-31 22:17:26 +00:00