Commit Graph

309172 Commits

Author SHA1 Message Date
Tyler Gunn
d04c51ea37 Merge "Add "wifi lost" disconnect cause." am: 802b0c8fd1
am: 4e26b8e75e

Change-Id: I783d8693258d31341d946fa1f20e4c744ee410b3
2017-02-03 21:15:36 +00:00
Tyler Gunn
4e26b8e75e Merge "Add "wifi lost" disconnect cause."
am: 802b0c8fd1

Change-Id: I2f1ac8f8d8874f30720790888fa4e6beabc03c91
2017-02-03 21:10:39 +00:00
Fyodor Kupolov
e3ed795fae Merge "Use self-locking for mAvailableFeatures" 2017-02-03 21:09:34 +00:00
Tyler Gunn
3edafc16ac Self managed CS implementation.
Add required AIDL changes to pass along connection fails.

Test: Manual
Bug: 34159263
Change-Id: I0a24ff786b2867aa4e19ac79959df54a04983251
2017-02-03 13:08:17 -08:00
Tyler Gunn
802b0c8fd1 Merge "Add "wifi lost" disconnect cause." 2017-02-03 21:03:23 +00:00
Peter Qiu
90dd7b29e3 Merge changes from topic 'Passpoint API rename'
* changes:
  hotspot2: expose Passpoint APIs as public
  hotspot2: fix class/function/variable names to comply with API guideline
  hotspot2: rename classes to comply with API guideline
2017-02-03 21:02:39 +00:00
Tyler Gunn
86b2fc248a Merge "Add "wifi lost" disconnect cause." 2017-02-03 20:55:31 +00:00
Andrew Sapperstein
a6ed7f8ba5 Add additional logging for temperature readings.
In order to determine how often devices are reaching various
temperatures, we now cache the last hour of temperature readings.
Once it's been an hour, we calculate the avg/min/max and log the results.

Additionally, this CL adds some logging to show how the temperature has
changed over time during the one hour window and what the charging status
is when the notification shows.

Bug: 34510881, 34379897
Test: manual
Change-Id: I62a5ccc92122f5d2955a52677740e896f0d7892b
2017-02-03 12:50:19 -08:00
Netta Peterbursky
886cc09383 Merge "Protobufferize BatteryManager dumpsys" 2017-02-03 20:50:12 +00:00
Andrew Sapperstein
4cfe56709b Add additional logging for temperature readings.
In order to determine how often devices are reaching various
temperatures, we now cache the last hour of temperature readings.
Once it's been an hour, we calculate the avg/min/max and log the results.

Additionally, this CL adds some logging to show how the temperature has
changed over time during the one hour window and what the charging status
is when the notification shows.

Bug: 34510881, 34379897
Change-Id: If8c7d39452034313fd01dea0c8d97c7b55b3cb9c
Merged-In: I62a5ccc92122f5d2955a52677740e896f0d7892b
2017-02-03 12:42:54 -08:00
Christopher Tate
2022bad756 Make job startup timeout similar to base OS service launch timeout
Bug 34464989

Change-Id: I4c0f5d8303e682bcb19a3f3c2d6be33b810a1f6e
2017-02-03 20:38:16 +00:00
Paul Lawrence
d8299ee4ba Merge "Optimize seccomp" am: 7e812616c9 am: 9375f3eff6 am: 38b7d83f8e
am: 63e0f2f98d

Change-Id: Ib65f9dc785ce3e40bd03d04ed388a36100946e1b
2017-02-03 20:32:12 +00:00
Paul Lawrence
63e0f2f98d Merge "Optimize seccomp" am: 7e812616c9 am: 9375f3eff6
am: 38b7d83f8e

Change-Id: Ia48dba402b42dcd449507ea34a438e2a14d4164f
2017-02-03 20:27:30 +00:00
Paul Lawrence
38b7d83f8e Merge "Optimize seccomp" am: 7e812616c9
am: 9375f3eff6

Change-Id: I8cc56a3e5512764a02004f27f976e72da554ef38
2017-02-03 20:22:49 +00:00
Paul Lawrence
9375f3eff6 Merge "Optimize seccomp"
am: 7e812616c9

Change-Id: I6061c25fe18b136d9a4920acd3f54043c44abe4a
2017-02-03 20:19:11 +00:00
Jason Monk
7d6fa83a99 Fix the tests
Window types changed, need to use a different one

Test: runtest systemui
Change-Id: Iac2641feb49e54af98ac523363d387647552eb0a
2017-02-03 15:16:21 -05:00
Paul Lawrence
7e812616c9 Merge "Optimize seccomp" 2017-02-03 20:14:15 +00:00
Matthew Ng
34a06d148e Revert "Fix window transformation related issue"
This reverts commit 867210c1de.

This commit is being reverted because the logic it tries to fix does not
make sense and caused a regression causing all animation positions to be
offset incorrectly but applying the animation metrics before applying the
window offset (mainly for bottom screen in multiwindow). The original
case this tries to fix is for older apps like gallery2 which crashes
(ramdump) when trying reproduce the steps.

Fixes: 34769878
Test: ran original case that this tried to fix and played with recents
related to the new bug it created
2017-02-03 11:56:08 -08:00
Pierre Lecesne
fa131d5312 Only compress files that were already compressed in the original APK.
Also fix a log message.

Test: Manually. Unit tests pass.

Change-Id: Iea236bbcfbe1a0a0894ce1bfce09c19208c5a0bc
2017-02-03 19:49:37 +00:00
Chris Craik
f772c047fa Add ShadowShaderAnimation benchmark DO NOT MERGE
Bug: 34809371
Test: manual

New benchmark uses several levels of overdraw from just shadows to benchmark
shadow shader performance.

Tessellation workload is minimal, due to simple rect caster shape.

Change-Id: I572476bd54e04566851f39027ada7254597b37f8
2017-02-03 11:45:47 -08:00
TreeHugger Robot
193ecbf2db Merge "remove SIM_ACTIVATION_RESPONSE_CODE from sysapi" 2017-02-03 19:30:37 +00:00
Zak Cohen
90e7116743 Make activities that are in VR mode ignore ui mode config changes.
Going into VR UI mode, when in VR mode, will not cause an activity recreate
on pre-O apps.

Bug: 30989383,34849643
Test: ran vr mode activity, checked dumpsys uimode for correct values
Change-Id: I0d371cce4920dbf2bdeb84dc6c741d12fc2ce444
2017-02-03 11:30:35 -08:00
Tyler Gunn
87f208b3b3 Add "wifi lost" disconnect cause.
New disconnect cause used when wifi call is dropped due to loss of wifi
connection.

Test: Manual, unit.
Merged-In: Iedaa9f54ff6dbfe90a6ce01fc9eb0aad126d05f0
Bug: 32571209
Change-Id: Iedaa9f54ff6dbfe90a6ce01fc9eb0aad126d05f0
2017-02-03 19:05:18 +00:00
Selim Cinek
2a12324268 Merge "Fixed the background for low-priority legacy notifications" 2017-02-03 19:03:06 +00:00
Pierre Lecesne
2968cbf4aa Strip the resources from the APK using the TableSplitter.
Test: Unit tests pass.

Change-Id: I1dd71581113fb9a6feeefa9c794cc282529c3754
2017-02-03 18:57:09 +00:00
Paul Stewart
68c63024c2 Allow EAP-SIM authentication methods under PEAP
Extend the PEAP outer method to contain EAP-SIM innner methods
so these transactions can be encrypted.

Bug: 34835771
Test: Unit tests

Change-Id: I4931ed43e396c93bad0bfce1750291982f8cd146
2017-02-03 10:53:07 -08:00
Pierre Lecesne
fc866baa33 Merge "Iterate over the zip entries in order." 2017-02-03 18:51:42 +00:00
Brad Ebinger
cab1dad44f Add BIND_IMS_SERVICE to permissions whitelist
Adds android.permission.BIND_IMS_SERVICE to the permissions
whitelist xml file.

Bug: 34813244
Test: Manual
Change-Id: I7a7ad1a361c9d2dcc51769bc74a436878ad4adc5
2017-02-03 10:51:05 -08:00
Pierre Lecesne
265066c51d Merge "Expose whether a file was compressed before being loaded in memory." 2017-02-03 18:50:16 +00:00
Pierre Lecesne
1d23c58164 Merge "Add a method LoadedApk::WriteToArchive." 2017-02-03 18:49:37 +00:00
Tyler Gunn
e071469206 Add "wifi lost" disconnect cause.
New disconnect cause used when wifi call is dropped due to loss of wifi
connection.

Test: Manual, unit.
Bug: 32571209
Change-Id: Iedaa9f54ff6dbfe90a6ce01fc9eb0aad126d05f0
2017-02-03 10:36:55 -08:00
Paul Lawrence
88ec14b0e5 Expand whitelist
Bug: 34908783
Test: Device boots. Unable to test app due to Fake OEM error
Change-Id: I2a0f5646fa39f95875ecb661599d76f4b28a43ac
2017-02-03 10:28:23 -08:00
Wei Wang
e7da87a41f Merge "BootAnimation: Add log when animation starts" 2017-02-03 17:52:21 +00:00
Andy Hung
9025cc090b AudioTrack: Enable deep buffer under certain conditions
Under certain conditions, i.e. USAGE_MEDIA and
CONTENT_TYPE UNKNOWN, MUSIC, MOVIE and large buffers
we route the AudioTrack to deep buffer to save power.

Change-Id: Ibc8a31750999da842e36156f939448989ee50511
Test: Play Movies, CTS
Bug: 30687201
2017-02-03 09:18:34 -08:00
Jeremy Joslin
37e877becc Cache NetworkScorerAppData in the ScoringServiceConnection.
Store the entire NetworkScorerAppData instance in the
ScoringServiceConnection instead of just most of its fields.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 34773276
Change-Id: Id2ed7c431dee9895e85e1966903ac919f1704eba
2017-02-03 16:29:38 +00:00
George Mount
8c4fa3615d Fix: fragment destroyed improperly during pop.
Bug 34850219

When multiple back stack records were popped together,
to the bottom of the stack, the fragment at the bottom
would be destroyed. This was caused by the back stack
being bumped prior to executing the operations. The
back stack record index didn't properly reflect the
state it should be in during the operation and the
final fragment returned false to isInBackStack().

This CL moves the back stack bumping to immediately
prior to executing the operations.

Test: I887d565d245cd61434963040c20f887a10bf51dc
Change-Id: I3ad2be65cf0e66bf5615c0e912cc233528ee72a3
2017-02-03 08:11:44 -08:00
Greg Daniel
4f70887d34 Have Skia Vulkan backend support wait-for-gpu flag on tests
So trying to mimic what the EglManager does in the fence call.
Technically there are two logical queues I could wait on for the device,
the graphics queue and the present queue. Waiting on the device waits
for both these queues to finish. It wasn't obvious to me if the EGL was
waiting for just graphics work or both queues, so I went for both (by
waiting on device). However, so far every device we've seen in Vulkan
has the present and graphics queue combined on the physical device so
waiting for one or both should really be different.

Test: Manual ran macrobench in skiavk and more realistic values compared
to not waiting for gpu.

Change-Id: I17cde70c677a9ad1b6bf9bc9ca4fd5f8f3b807e3
2017-02-03 10:28:52 -05:00
Alan Viverette
a3843015a4 Clean up DialogInterface lint warnings, docs, ws
Change-Id: I7a40bf87373e755092bbcf9a38fef35bf745aa12
Test: no functional changes
2017-02-03 10:23:45 -05:00
Esteban Talavera
a7bd04e892 Clear affiliation ids and lock task packages when clearing DO/PO
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest    frameworks-services
Change-Id: I38eea34cff82766c7e3b8cd79dd9757a212bb451
2017-02-03 12:20:20 +00:00
Delphine Martin
25fed91371 Fix incorrect syntax in Proguard flags
When writing a rule matching fields and methods at the same
time, only the name '*' is authorized.

Bug: 34916285

Change-Id: I90cb8273f0915e216940faa1b3d9c6e82296798f
2017-02-03 11:47:33 +01:00
TreeHugger Robot
6ba95dab42 Merge "Fix bugs in FontResourcesParser and add coretests" 2017-02-03 10:16:01 +00:00
Bill Yi
fded142f87 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 7acceb8746 -s ours
am: 0a9904d90c  -s ours

Change-Id: Ia2b552f8db5f7c947ba13e54bddf6bd235d9256a
2017-02-03 09:07:49 +00:00
Bill Yi
fcdd2fc234 Import translations. DO NOT MERGE am: 49a9d35eb7 -s ours
am: c48ebb548b  -s ours

Change-Id: Idb782499f71b009757bb7c1ba8064c7d3e2c18da
2017-02-03 09:06:41 +00:00
Bill Yi
0a9904d90c Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 7acceb8746  -s ours

Change-Id: I9035c31bada7ae86c4670b8f4c0d17ed4ec61a3e
2017-02-03 09:02:47 +00:00
Bill Yi
c48ebb548b Import translations. DO NOT MERGE
am: 49a9d35eb7  -s ours

Change-Id: I2c4aa7f43a77a81b529fe0b05b1e51b46ff3e3c9
2017-02-03 09:02:42 +00:00
TreeHugger Robot
7acceb8746 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-02-03 08:57:23 +00:00
Bill Yi
ffd70e4999 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: d46d030238 -s ours
am: ca4daf90e0  -s ours

Change-Id: I2a4186b26c2d5e9dc98cdcb717e62d71e844809a
2017-02-03 08:45:01 +00:00
Bill Yi
490a5a3873 Import translations. DO NOT MERGE am: 37093ca19c -s ours
am: 709924edc2  -s ours

Change-Id: I7e464cfa7412602f5b9e17d6c00492da4d16fe3c
2017-02-03 08:44:02 +00:00
Bill Yi
3e001efd08 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: b2d152ee90 -s ours
am: 60752b1f1c  -s ours

Change-Id: I7152fdc9d662c2d660f12d111fbb0f466afc8ef3
2017-02-03 08:42:49 +00:00
Bill Yi
8f0ff71ce9 Import translations. DO NOT MERGE am: 31423f28b7 -s ours
am: e0d6074cc2  -s ours

Change-Id: I9325b08ccead00ef0cd6a534b539916b885b2bde
2017-02-03 08:41:38 +00:00