Jeff Brown
27a852b620
Improve the slow query instrumentation.
...
On user-debug and eng builds, you can set the
"db.log.slow_query_threshold" system property to queries that
take longer than the specified number of milliseconds.
Set it to 0 to log all queries.
This property has been around for a while but it was implemented
poorly. In particular, it *changed* the behavior of the query
by calling getCount() while holding the Db connection.
In normal operation, the query will not actually run until later.
By putting the timing logic into fillWindow() instead, we ensure
that we only measure queries that actually ran. We also capture
cases where the cursor window gets filled multiple times.
Bug: 5520301
Change-Id: I174f5e1ea15831a1d22a36e9a804d7755f230b38
2011-10-28 14:58:39 -07:00
Robert Greenwalt
21f0be6b0d
Merge "Add SFR DUN configuration." into ics-mr0
2011-10-27 21:04:17 -07:00
Jake Hamby
522d8b7bf8
Merge "Fix bug in enabling/disabling SMS cell broadcast activation." into ics-mr0
2011-10-27 17:46:32 -07:00
Justin Ho
f9dc46c062
Merge "Increase navigation icon brightness by 10%" into ics-mr0
2011-10-27 16:37:02 -07:00
Justin Ho
536b586734
Merge "Increase notification icon brightness" into ics-mr0
2011-10-27 16:36:52 -07:00
Jamie Gennis
263a3a5825
Merge "Stagefright: ANW::connect in MediaPlayerService" into ics-mr0
2011-10-27 16:04:45 -07:00
Robert Greenwalt
982beae457
Merge "Temp disable Tethering if DUN is required" into ics-mr0
2011-10-27 15:43:47 -07:00
Justin Ho
a617bf39ca
Merge "Correctly updating Roboto HHEA table" into ics-mr0
2011-10-27 15:26:42 -07:00
Bart Sears
2210ea4e58
Merge "Add Lohit-Tamil.ttf and Lohit-Bengali.ttf to Fallback list" into ics-mr0
2011-10-27 15:20:12 -07:00
Eric Fischer
26ba3343eb
Merge "Import revised translations. DO NOT MERGE" into ics-mr0
2011-10-27 13:59:51 -07:00
Robert Greenwalt
31fdc2ff5d
Merge "Fix Tethering settings." into ics-mr0
2011-10-27 13:20:15 -07:00
Scott Main
ef6143b8df
Merge "docs: change calendar overview to recommend using data URI instead of MIME type for event intents" into ics-mr0
2011-10-27 11:04:46 -07:00
satok
d843a4d1be
Merge "Add a path to HelloSpellChecker sample application for SDK build" into ics-mr0
2011-10-27 10:50:14 -07:00
Scott Main
89f5fd76ca
Merge "docs: add guide for optimizing tablet apps for handsets deprecate "optimizing for 3.0" doc" into ics-mr0
2011-10-27 10:03:10 -07:00
Scott Main
5b8afb574f
Merge "docs: add package description for wifi.p2p and update the one for wifi" into ics-mr0
2011-10-27 08:49:48 -07:00
Mike Lockwood
3cadafc7a0
Merge "Revert "PowerManagerService: Enable light sensor debug output"" into ics-mr0
2011-10-27 06:49:12 -07:00
Jaikumar Ganesh
809be2aa09
Merge "Fix auto connection of headset profile." into ics-mr0
2011-10-26 16:19:13 -07:00
Justin Ho
39e9a6bb4e
Merge "Brighter sysbar assets Bug: 5509557" into ics-mr0
2011-10-26 16:16:52 -07:00
Justin Ho
42c652b056
Merge "Updated Roboto HHEA table Bug: 5516773" into ics-mr0
2011-10-26 15:22:57 -07:00
Justin Ho
19a93e688c
Merge "Adding alternate sound set and corresponding mk file Bug: 5502770" into ics-mr0
2011-10-26 14:46:15 -07:00
Justin Ho
5e496f4782
Merge "Notification icons increased opaqueness by 10%" into ics-mr0
2011-10-26 14:37:43 -07:00
Eric Fischer
7bc5a18eb8
Merge "Import revised translations. DO NOT MERGE" into ics-mr0
2011-10-26 14:04:35 -07:00
Robert Ly
603a87ced4
Merge "docs: tools/adt r15 rel notes" into ics-mr0
2011-10-26 13:50:28 -07:00
Jamie Gennis
c3762f76a9
Merge "Stagefright: push blank buffers when tearing down" into ics-mr0
2011-10-26 13:33:16 -07:00
Bart Sears
40959b0122
Merge "Fix power key handling after volume change. Bug: 5497716" into ics-mr0
2011-10-26 00:08:59 -07:00
Dianne Hackborn
3ae7176c92
Merge "Fix issue #5508024 : Rotation jank seen in live wallpapers" into ics-mr0
2011-10-25 15:25:21 -07:00
Justin Ho
56568b83b7
Merge "Update Prime keyboard feedback sounds Tune notification sound Hojus Bug: 5416299" into ics-mr0
2011-10-25 14:28:29 -07:00
Mike Lockwood
08f8340261
Merge "Reset cached light sensor values when toggling auto-brightness mode" into ics-mr0
2011-10-25 07:02:52 -07:00
Mike Lockwood
5455503807
Merge "Revert "PowerManagerService: Remove assumption that light sensor will always send a value as soon as it is enabled."" into ics-mr0
2011-10-25 07:02:45 -07:00
Roman Nurik
e319debaae
Merge "Add Q3 2011 ADL slides to docs/shareables/adl" into ics-mr0
2011-10-25 06:55:59 -07:00
Mike Lockwood
9db0cd66b2
Merge "Always use fresh NTP time for GPS" into ics-mr0
2011-10-25 06:51:28 -07:00
Brian Colonna
475a9fd6aa
Merge "Fix 5479823: black patch was showing before resuming call" into ics-mr0
2011-10-25 05:43:37 -07:00
Fred Quintana
9adb59f7ac
Merge "Fixed a bug that causes AccountManager calls to hang forever, eventually exhausting the binder threads in the gapps process, making it unusable." into ics-mr0
2011-10-24 20:36:30 -07:00
Eric Fischer
b0f5300356
Merge "Import revised translations. DO NOT MERGE" into ics-mr0
2011-10-24 16:59:41 -07:00
Scott Main
ac1fc6a492
Merge "docs: remove links to ADP devices" into ics-mr0
2011-10-24 16:47:49 -07:00
Jim Miller
54450b52d3
Merge "Fix 3384942: Force ASCII-capable IME to show on lockscreen" into ics-mr0
2011-10-24 13:31:15 -07:00
Xavier Ducrohet
c9c85fb2d2
CherryPick f9e455 from master to mr0. do not merge.
...
Fix software GL renderer.
Change-Id: I7273a8e65c23a0032d155ea6572de2923791e411
2011-10-24 13:29:26 -07:00
Brian Colonna
d4f3e054e0
Merge "Added callback to allow Face Unlock to hide black area" into ics-mr0
2011-10-24 13:19:55 -07:00
Peter Ng
724e6d05eb
Merge "Do not merge - Recents background protection increased" into ics-mr0
2011-10-21 16:42:49 -07:00
Mathias Agopian
239c049108
Merge "mDirtyRegion is single threaded, but could be accessed from a hwc thread" into ics-mr0
2011-10-21 15:57:45 -07:00
Eric Fischer
482346aec3
Merge "Import revised translations. DO NOT MERGE" into ics-mr0
2011-10-21 15:56:22 -07:00
Mathias Agopian
0dfb7b73a4
mDirtyRegion is single threaded, but could be accessed from a hwc thread
...
We now have mInvalidateRegion which holds the region to invalidate, it
can be set from any thread as long as mInvalidateLock is held. We use
fine-grained locking here because mInvalidateRegion can be set from anywhere,
in particular frmo HWC callbacks.
Bug: 5466774
Change-Id: Iafca20aa3f5b25a87755e65bde7b769aa8f997bc
2011-10-21 15:41:01 -07:00
Adam Cohen
f91a2f070a
Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0
2011-10-21 13:34:46 -07:00
John Reck
b038496fca
Merge changes I2df047b6,I791eeb3c into ics-mr0
...
* changes:
Fix rebuildWebTextView issues
DO NOT MERGE Fixed spell check failing to change word.
2011-10-21 13:01:48 -07:00
Dianne Hackborn
615699532b
Merge "Fix issue #5342788 : Setting wallpaper from gallery set default..." into ics-mr0
2011-10-21 12:45:07 -07:00
Dirk Dougherty
458e581b48
Merge "Doc change: fix typo in platform highlights." into ics-mr0
2011-10-21 11:55:21 -07:00
Winson Chung
f8bf356c3e
Merge "Last update for screenshot animations for MR0. (Bug: 5333706)" into ics-mr0
2011-10-21 11:07:06 -07:00
Dianne Hackborn
9ed4fbc0cd
Merge "Fix issue #5228934 : IME shows up on boot, or when digits screen is tapped" into ics-mr0
2011-10-21 11:03:34 -07:00
Mike Lockwood
b3edff3264
Merge "PowerManagerService: Enable light sensor debug output" into ics-mr0
2011-10-21 10:26:55 -07:00
Gilles Debunne
307f970b88
Merge "Bug 5428541: Check that span is still in text before deleting" into ics-mr0
2011-10-21 09:48:07 -07:00