293674 Commits

Author SHA1 Message Date
Chris Thornton
c6577b1266 Merge "Update primary key in VIS sound model database." into nyc-mr1-dev
am: c81e1f15d2

Change-Id: I1a04106f1fc4748b015a18920bfc73ec3aed97fd
2016-10-17 22:32:20 +00:00
Chris Thornton
2d452d7dab Update primary key in VIS sound model database.
am: 5bd5cf75e1

Change-Id: Ie35e4a4f15ece95d3b5458f4c5ee06098062c96f
2016-10-17 22:32:17 +00:00
John Reck
306928c49d Port Parcel benchmarks to APCT
Test: ran benchmarks
Change-Id: I5b4fad7e1183c8634df4f02bd71701b37fdbc3be
2016-10-17 15:29:17 -07:00
Mikhail Naganov
c7555a0871 Merge "Split audio effects headers" 2016-10-17 22:22:52 +00:00
TreeHugger Robot
c81e1f15d2 Merge "Update primary key in VIS sound model database." into nyc-mr1-dev 2016-10-17 22:20:38 +00:00
TreeHugger Robot
52528d7629 Merge "Fix complex clipping on mergeable ops" 2016-10-17 22:11:46 +00:00
Adrian Roos
b22665db0c DirectReply: fix lockscreen crash
Fixes a crash that happens when direct reply is triggered and
the view is detached between clicking and unlocking.

Change-Id: I647560a24f9a26a28e86df436b45d5f496454eb8
Fixes: 32171748
2016-10-17 15:08:15 -07:00
Todd Kennedy
9caf94e535 force appropriate size
during install, the user could specify an invalid size [ie. a negative
number].

also error out if we're given a path that's not a file.

Change-Id: I79e9ef82723495782146208eb5469722d1f8ed02
Test: manually ran 'adb install' with invalid arguments
2016-10-17 14:50:52 -07:00
Sanket Agarwal
e60cb323a1 Merge "Remove APIs that are not directly usable." am: 9cff57312d am: 086be31642
am: 933c625a92

Change-Id: I973390be918acec70733942c84e11700a9df71b1
2016-10-17 21:40:38 +00:00
Mark Salyzyn
21c2e9e60c Merge "missing includes" am: 78929f3ee0 am: 6a8f0d70b0
am: 6e60ab12e7

Change-Id: I1b5c6f49d2ae565ebd59c6ce8d590512ab306487
2016-10-17 21:38:33 +00:00
Sanket Agarwal
933c625a92 Merge "Remove APIs that are not directly usable." am: 9cff57312d
am: 086be31642

Change-Id: I5f95fe50d16b26601405816625f4aa45f2ef6647
2016-10-17 21:32:21 +00:00
Mark Salyzyn
6e60ab12e7 Merge "missing includes" am: 78929f3ee0
am: 6a8f0d70b0

Change-Id: I40ff974f4333aaa714a63d5436b822491b9d78d6
2016-10-17 21:31:35 +00:00
Sanket Agarwal
086be31642 Merge "Remove APIs that are not directly usable."
am: 9cff57312d

Change-Id: I1234db97ed82017ed3bca02e10818a53fdc33d3d
2016-10-17 21:28:05 +00:00
Mark Salyzyn
6a8f0d70b0 Merge "missing includes"
am: 78929f3ee0

Change-Id: I3e7a25ded484d516fab453abe434c2e53cf0f27e
2016-10-17 21:25:59 +00:00
Treehugger Robot
9cff57312d Merge "Remove APIs that are not directly usable." 2016-10-17 21:16:22 +00:00
Bill Yi
5a05ce6409 Import translations. DO NOT MERGE
Change-Id: I7bd27211cd2cb24cae8bb2bc31404f66e2301f26
Auto-generated-cl: translation import
2016-10-17 14:13:52 -07:00
Treehugger Robot
78929f3ee0 Merge "missing includes" 2016-10-17 21:12:08 +00:00
Adam Lesinski
0358efe4f7 Fix race with Asset destruction and printing allocation stats
A race could occur when printing the list of Asset allocations for
debugging purposes.

Each Asset object would insert themselves into a global linked list
on construction and remove themselves on destruction. Iterating the list
and the insertion/remove operations all acquire a global lock.

The race occurs after the Asset subclass destructor runs but before the Asset
base class destructor runs, which performs the actual removal from the list.

The vtable of the object being destroyed ends up pointing at the base Asset class'
vtable, and during the iteration of the global list, a pure virtual method is called
leading to an abort, since the wrong vtable is dereferenced.

This change moves the insertion/removal of the Asset object into the global list
to the concrete class, which adds some maintenance overhead but solves the problem.

Bug:31113965
Test: make libandroidfw_tests
Change-Id: I1a620897e5e04a8519ee247883bba0719b1fa6f3
2016-10-17 14:04:09 -07:00
Bill Yi
00afe024b9 Import translations. DO NOT MERGE
Change-Id: Ia35c346101f62955ae7bc9937f02242dad195b9d
Auto-generated-cl: translation import
2016-10-17 14:02:57 -07:00
John Reck
c1d6ba4053 Fix pause/resume timing
Test: run SystemPerfTest#testPauseResumeOverhead

Change-Id: Icc34355e29f3a6ba8f7d73a904bf549d2685eee4
2016-10-17 13:49:16 -07:00
Matthew Bouyack
4ede0e9b59 Merge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev am: 2cfae5a656
am: 2d65e23741  -s ours

Change-Id: If872ccb461168d37034900eae7ee16c0882c2771
2016-10-17 20:46:26 +00:00
Matthew Bouyack
a846a8b6fa DO NOT MERGE Improved anti-aliasing for circular display mask am: c84731ae3b
am: 2c3c928ad9  -s ours

Change-Id: I96a652a5ca3f1372cfa94d07d1973d5e9fc689cb
2016-10-17 20:45:33 +00:00
Chris Craik
f8f56cbb20 Fix complex clipping on mergeable ops
Fixes: 32106003
Test: unit tests passing (and one added)

Change-Id: I519bc38a1fa8c25c9ae317ffdb7e59e5a0824f59
2016-10-17 13:40:32 -07:00
Matthew Bouyack
2d65e23741 Merge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev
am: 2cfae5a656

Change-Id: I50ece1dc71401855af31e7f4d7e13a469bf31c9f
2016-10-17 20:38:42 +00:00
Matthew Bouyack
2c3c928ad9 DO NOT MERGE Improved anti-aliasing for circular display mask
am: c84731ae3b

Change-Id: I64484d947636fc5b4ed43e13a3dc096ac1bb6fe1
2016-10-17 20:38:34 +00:00
Stan Iliev
c0e7a90f1f Initial refactoring to enable reuse of SkiaDisplayList
on a per RenderNode basis. With Skia renderer we
see 30% speed improvement in Invalidate Tree UI Jank test,
when SkiaDisplayList objects are reused.

Test: manually built and run on angler-eng.
Change-Id: Ie4ec50ddb2015150e3ec678dde7ebed0c8d90067
2016-10-17 16:30:28 -04:00
Matthew Bouyack
2cfae5a656 Merge "DO NOT MERGE Improved anti-aliasing for circular display mask" into cw-f-dev 2016-10-17 20:28:55 +00:00
TreeHugger Robot
0f7e4a6623 Merge "Properly close USB device connection in Mtp device" 2016-10-17 20:10:19 +00:00
Android Build Merger (Role)
40251d1da8 Merge "Fix complex clipping on mergeable ops DO NOT MERGE am: d183e0b988 am: a6bfd8d12c am: dfe4a1b6ee -s ours" 2016-10-17 20:07:21 +00:00
TreeHugger Robot
0a8e926cda Merge "The bigger update to Canvas" 2016-10-17 20:06:30 +00:00
Chris Craik
0c3ba90ace Fix complex clipping on mergeable ops DO NOT MERGE am: d183e0b988 am: a6bfd8d12c
am: dfe4a1b6ee  -s ours

Change-Id: I315eecdf35c37ea88ba084420343acdb44af0f71
2016-10-17 20:06:12 +00:00
Salvador Martinez
64867c1986 added metrics constant to proto
Just adding a new constant to the proto
for the refactored bluetooth dialogs.

Test: Manual
Bug: 32180625
Change-Id: I7e59ea6abd65db777d48bd0f2927db7260c67965
2016-10-17 13:01:12 -07:00
Chris Craik
dfe4a1b6ee Fix complex clipping on mergeable ops DO NOT MERGE am: d183e0b988
am: a6bfd8d12c

Change-Id: I5af8d0fac1e47e7bf831ca2f387fe550acf4165c
2016-10-17 19:59:32 +00:00
Chris Craik
a6bfd8d12c Fix complex clipping on mergeable ops DO NOT MERGE
am: d183e0b988

Change-Id: Icb357a11cb8a4be473aa8b0acdb4d799973ff54a
2016-10-17 19:52:53 +00:00
Sanket Agarwal
fb6322425a Remove APIs that are not directly usable.
The right way to expose this API is done via MediaBrowser.

Bug: b/28791287
Change-Id: I0a8a185934fd7aaa9f2b5eac7398955fa380060f
(cherry picked from commit b5fbb75aa26a6322b26b1289cc5d14a8c31acb34)
2016-10-17 12:47:10 -07:00
Fan Zhang
6acb76621d Catch NPE on network state and fall back to empty summary.
Bug: 32171456
Change-Id: Ia3c1e1f5b7848ec914be9f92401a02b50df1dc57
2016-10-17 12:40:03 -07:00
Mark Salyzyn
4d6c372eae missing includes
Assumptions are made about header side effects

Test: compile
Bug: 30465923
Change-Id: Icc9415aed5e54b2bc00b70aa0da6df4148f30654
2016-10-17 12:32:54 -07:00
Philip P. Moltmann
f2d83edc26 Clarify which props of USB devices are optional
Test: Compiles, manually inspected object creation code, ran USB CTS
verifier tests
Fixes: 32209658
Change-Id: I738c0cea5a0f37484e986f0a01c8ed9c46b639ed
2016-10-17 12:14:45 -07:00
Jordan Liu
a9469e64e4 Merge "Add KEY_ONLY_SINGLE_DC_ALLOWED_INT_ARRAY" 2016-10-17 18:54:24 +00:00
Adrian Roos
45febbb8a8 ImageWallpaper: forget wallpaper in background
Forgetting the wallpaper requires holding the wallpaper
manager lock - which is also held when the bitmap is
read from disk. To prevent blocking the main thread,
we need to offload the forget operation to the background
too.

Change-Id: Ic20c4f5fd86b788efd5b77a417108383dda343b9
Fixes: 28769940
Test: manually change wallpaper, rotate screen
2016-10-17 18:35:14 +00:00
John Reck
caa08ff5e9 The bigger update to Canvas
All draw* calls in Canvas are regular JNI
All draw* calls in DisplayListCanvas are FastNative
Unifies Canvas JNI on nMethodName naming

CanvasPerf results before:
INSTRUMENTATION_STATUS: basicViewGroupDraw_min=12492
INSTRUMENTATION_STATUS: recordSimpleBitmapView_min=13912

and after:
INSTRUMENTATION_STATUS: basicViewGroupDraw_min=11945
INSTRUMENTATION_STATUS: recordSimpleBitmapView_min=13318

Test: refactor, makes & boots
Change-Id: I06000df1d125e17d60c6498865be7a7638a4a13e
2016-10-17 11:33:28 -07:00
Adrian Roos
2ec2019f00 Merge "Keyguard: Clean up security message display" 2016-10-17 18:32:59 +00:00
Adrian Roos
db327e9f59 Keyguard: Clean up security message display
- Remove timinig out of messages. This is no longer
  necessary because we do not show the owner and charging
  info in that area anymore.
- Remove the "important" parameter, which was equivalent to
  clearing the message if false.

Change-Id: I5fae5432724ad90a68f53f678f933c4a15dc6e9b
Fixes: 28270749
Test: manual; reboot device, swipe up, verify message doesn't disappear after 5s
2016-10-17 18:31:49 +00:00
Philip P. Moltmann
b828b77985 Properly close USB device connection in Mtp device
Test: Built
Fixes: 32073045
Change-Id: I05179377532c1bd4dff1f4a4e0e837cb645317e3
2016-10-17 11:19:58 -07:00
Bill Yi
c11e301ca4 Import translations. DO NOT MERGE
Change-Id: I8ed7b626ec4169f9154a18daffe36160b8f3dacb
Auto-generated-cl: translation import
2016-10-17 11:08:03 -07:00
TreeHugger Robot
905e807ee2 Merge "Add an API for retrieving information about the current WebView package." 2016-10-17 18:06:48 +00:00
Bill Yi
2877624941 Import translations. DO NOT MERGE
Change-Id: I6a96cac7b1a070e595130b9294cb95565454eec4
Auto-generated-cl: translation import
2016-10-17 10:54:42 -07:00
Chris Craik
d183e0b988 Fix complex clipping on mergeable ops DO NOT MERGE
Fixes: 32106003

Change-Id: I519bc38a1fa8c25c9ae317ffdb7e59e5a0824f59
2016-10-17 10:51:11 -07:00
Makoto Onuki
cf6782c940 Merge "Don't expose raw usage stats to clients; return "low-res" values." 2016-10-17 17:41:43 +00:00
TreeHugger Robot
8a2522e13e Merge "Allow DisplayContent children to be removed on display removal" 2016-10-17 17:38:42 +00:00