OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Rename private fields to break bad code examples" into froyo
Romain Guy [Mon, 29 Mar 2010 19:28:20 +0000 (12:28 -0700)]
Merge "Rename private fields to break bad code examples" into froyo

14 years agoRename private fields to break bad code examples
Romain Guy [Mon, 29 Mar 2010 19:27:30 +0000 (12:27 -0700)]
Rename private fields to break bad code examples

Change-Id: I4a3e8df5de159c703db244212f78824e4105ba90

14 years agoAdd a test of EGL pausing and resuming.
Jack Palevich [Mon, 29 Mar 2010 19:09:57 +0000 (12:09 -0700)]
Add a test of EGL pausing and resuming.

14 years agocherry-pick 288b4ac94571e6f77036831708e7bb7c31874688 into froyo
Irfan Sheriff [Fri, 26 Mar 2010 21:56:07 +0000 (14:56 -0700)]
cherry-pick 288b4ac94571e6f77036831708e7bb7c31874688 into froyo

Killing the WifiWatchdogService thread from
WifiService can cause messages to be handled on
a dead thread. Quit the thread on the broadcast
instead.

A couple of more fixes:
- Do an asynchronous bring up of Wifi. This will
allow WifiWatchdogServiceThread to be immediately
brought up, instead of relying on an update.

- There is no need to listen on supplicant connection
in wifiwatchdog anymore. We kill the thread when
supplicant connection is no more.

Bug: 2546756
Change-Id: I15a188e031bc79856c55aabdd271287b0df0377d

14 years agoMerge "Make EditTextPreference scrollable. Bug #2549257" into froyo
Romain Guy [Mon, 29 Mar 2010 18:24:31 +0000 (11:24 -0700)]
Merge "Make EditTextPreference scrollable. Bug #2549257" into froyo

14 years agoMake EditTextPreference scrollable.
Romain Guy [Mon, 29 Mar 2010 18:23:18 +0000 (11:23 -0700)]
Make EditTextPreference scrollable.
Bug #2549257

Change-Id: If2f69f957681e15977a7603a1f6533e9d1fea9f7

14 years agoMerge "Increase name-label height so that "g" isn't cut off anymore. Decrease header...
Daniel Lehmann [Mon, 29 Mar 2010 17:30:54 +0000 (10:30 -0700)]
Merge "Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts Bug:2542703 Bug:2549485" into froyo

14 years agoMerge "Implement audio focus support in the notification manager." into froyo
Jean-Michel Trivi [Mon, 29 Mar 2010 17:05:28 +0000 (10:05 -0700)]
Merge "Implement audio focus support in the notification manager." into froyo

14 years agoImplement audio focus support in the notification manager.
Jean-Michel Trivi [Sat, 27 Mar 2010 01:19:33 +0000 (18:19 -0700)]
Implement audio focus support in the notification manager.

This change introduces the NotificationPlayer class which was
created from the code of android.media.AsyncPlayer. The only modification
was to modify the construction of the MediaPlayer so it properly issues
onCompletion notifications (which are used to abandon audio focus).

Unless the sound to be played is looped, the notification is transient
and other apps may duck (uses AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK in
audio focus request).
Change-Id: I69cbb71d0892447b934351384e4e24a2e239295b

14 years agocherry-pick 4a4f9886a789ece80f127397c1c7ad7f543b78fa into froyo
Grace Kloba [Sun, 28 Mar 2010 22:49:23 +0000 (15:49 -0700)]
cherry-pick 4a4f9886a789ece80f127397c1c7ad7f543b78fa into froyo

Use the content width to calculate the zoom overview
width. We used to use the minimum preferred width
to calculate the overview width as it is what we
use to define the viewport width. But some sites,
like cbsnews, engadget, the content width will be
slightly wider than the viewport width decided by
the min preferred width. The result is we can still
scroll a little bit in the overview mode. This issue
is magnified when we introduce the overscroll feature.

By using content width as zoom overview width, we
will have content fit in the overview mode. But
some sites, like
"http://www.sfjazz.org/concerts/2010/spring/artists/towner.php"
will be layout wider in the overview mode than it
is in the zoom in state. This is a tradeoff.

Fix http://b/issue?id=2551119

14 years agohttp://b/issue?id=2496591
Leon Clarke [Mon, 29 Mar 2010 14:00:16 +0000 (15:00 +0100)]
http://b/issue?id=2496591
When receiving a message to delete the root layer, delay it until the next
new picture message, so that the layers only disappear when we start displaying
the new page, and not the moment the DOM on the old page is destroyed.

14 years agoAdd some comments for zoom methods.
Wu-cheng Li [Mon, 29 Mar 2010 08:21:12 +0000 (16:21 +0800)]
Add some comments for zoom methods.

Also change RuntimeException to IllegalArgumentException.
bug:2458926

Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587

14 years agoTurn off logging.
Jack Palevich [Sat, 27 Mar 2010 22:02:59 +0000 (15:02 -0700)]
Turn off logging.

14 years agoIncrease name-label height so that "g" isn't cut off anymore. Decrease header height...
Daniel Lehmann [Sat, 27 Mar 2010 02:34:13 +0000 (19:34 -0700)]
Increase name-label height so that "g" isn't cut off anymore. Decrease header height so that no resizes are required after background loading for most contacts
Bug:2542703
Bug:2549485

Change-Id: Ic2b88fd405043c2869610c9495bd4aa860b5c025

14 years agoMerge "cherry-pick 7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo." into froyo
Dirk Dougherty [Sat, 27 Mar 2010 01:25:05 +0000 (18:25 -0700)]
Merge "cherry-pick 7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo." into froyo

14 years agocherry-pick 7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo.
Katie McCormick [Tue, 9 Mar 2010 01:05:15 +0000 (17:05 -0800)]
cherry-pick 7d39f981badf7ec75138d6ef97d37c57a63ab5f0 to froyo.

Change-Id: I670cd996a54602b70469b3b6883cce5a2c6d113f

14 years agoMerge "Fix issue #2538228: Intents targeting browsers constantly nagging" into froyo
Dianne Hackborn [Sat, 27 Mar 2010 01:06:52 +0000 (18:06 -0700)]
Merge "Fix issue #2538228: Intents targeting browsers constantly nagging" into froyo

14 years agocherry-pick 72aadeb013548cfdc317b5f6fec9dab9551911b8 to froyo.
Dirk Dougherty [Fri, 18 Dec 2009 00:59:46 +0000 (16:59 -0800)]
cherry-pick 72aadeb013548cfdc317b5f6fec9dab9551911b8 to froyo.

Change-Id: Ic205588bb0ecd5660b8c8949da88fbae6981f416

14 years agoMerge "cherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo" into froyo
Dirk Dougherty [Sat, 27 Mar 2010 00:50:26 +0000 (17:50 -0700)]
Merge "cherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo" into froyo

14 years agocherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo
Dirk Dougherty [Sat, 27 Mar 2010 00:32:26 +0000 (17:32 -0700)]
cherry-pick af4786bcb5945f72e8639d74611cd5f9b0236710 to froyo

Conflicts:

docs/html/sdk/installing.jd

Change-Id: Id43ad8c62039099bb518722bb8694dcf8ba6dfa6

14 years agoMerge "Don't assume there's a selected position in touch mode. Bug #2520743" into...
Romain Guy [Sat, 27 Mar 2010 00:30:40 +0000 (17:30 -0700)]
Merge "Don't assume there's a selected position in touch mode. Bug #2520743" into froyo

14 years agoDon't assume there's a selected position in touch mode.
Romain Guy [Sat, 27 Mar 2010 00:29:45 +0000 (17:29 -0700)]
Don't assume there's a selected position in touch mode.
Bug #2520743

Bad GridView, bad!

Change-Id: Ideed32dc70a69c85df5afbf949e78b481e147b7f

14 years agoFix issue #2538228: Intents targeting browsers constantly nagging
Dianne Hackborn [Sat, 27 Mar 2010 00:17:25 +0000 (17:17 -0700)]
Fix issue #2538228: Intents targeting browsers constantly nagging

Some applications are setting the MIME type field for an http:
intent, which is technically wrong because the recipient opening
the URI will get the MIME type from the header.  This was hitting
a bug when we compute the intent filter when setting the
preferred activity, where we have to set both the MIME type and
data URI for the intent filter.  (For file: and content: URIs
only the MIME type is needed, since these can be opened directly
through ContentResolver so everyone is presumed to be able to
handle them.)

Change-Id: Ia7025e6859e9c90997bf56c2c80f225fca7a2007

14 years agocherry-pick fda3521ea37b53c1dc633c39845e4e8f25c3234f into froyo
Dirk Dougherty [Fri, 26 Mar 2010 23:32:02 +0000 (16:32 -0700)]
cherry-pick fda3521ea37b53c1dc633c39845e4e8f25c3234f into froyo

Conflicts:

docs/html/sdk/ndk/1.5_r1/index.jd

Change-Id: I19f6e97bd019ac347a34db0aea157a33d0217189

14 years agoMerge "Cherry-pick 97432e866eedd2a179242fa7017e03b6febe4887 to froyo." into froyo
Dirk Dougherty [Fri, 26 Mar 2010 23:27:07 +0000 (16:27 -0700)]
Merge "Cherry-pick 97432e866eedd2a179242fa7017e03b6febe4887 to froyo." into froyo

14 years agoCherry-pick 97432e866eedd2a179242fa7017e03b6febe4887 to froyo.
Katie McCormick [Fri, 26 Feb 2010 03:50:25 +0000 (19:50 -0800)]
Cherry-pick 97432e866eedd2a179242fa7017e03b6febe4887 to froyo.

Change-Id: Iaad92f99883c868d71d0cb17c115811e017994e4

14 years agoMerge "Cherry-picking this fix into Froyo." into froyo
Jean-Michel Trivi [Fri, 26 Mar 2010 23:17:38 +0000 (16:17 -0700)]
Merge "Cherry-picking this fix into Froyo." into froyo

14 years agoCherry-picking this fix into Froyo.
Charles Chen [Fri, 26 Mar 2010 02:59:50 +0000 (19:59 -0700)]
Cherry-picking this fix into Froyo.

This fix is part of addressing bug #2548048

Making it possible to determine which TTS engine is currently set
as the default by the user.

Change-Id: Ifa422f43a33498b94d96811078c0794d64668357

14 years agoMerge "Remove long_press when WebView lost window focus. Reset touch mode too." into...
Grace Kloba [Fri, 26 Mar 2010 22:30:26 +0000 (15:30 -0700)]
Merge "Remove long_press when WebView lost window focus. Reset touch mode too." into froyo

14 years agoRemove long_press when WebView lost window focus.
Grace Kloba [Fri, 26 Mar 2010 22:01:30 +0000 (15:01 -0700)]
Remove long_press when WebView lost window focus.
Reset touch mode too.

Fix http://b/issue?id=2542711.

Also move dismissZoomControl() before calling
super.onDetachedFromWindow(). This is a guess to
fix http://b/issue?id=2547574

14 years agoAPI CHANGE: Backup/restore API changes requested by the API Council
Christopher Tate [Thu, 25 Mar 2010 23:06:43 +0000 (16:06 -0700)]
API CHANGE: Backup/restore API changes requested by the API Council

* @hide the android.app.backup.RestoreSession class and functionality

* Provide a public method on android.app.backup.BackupManager that apps
  can use to request a restore pass of their last-known-good dataset.
  The new method is called requestRestore().

* Provide the name of the package being restored, not just its ordinal,
  in the RestoreObserver's onUpdate() callback.

Part of bug #2545514

Change-Id: I9689bf8d6e2b808b4ee412424a36a835be0a5ca8

14 years agoMove PackageManagerTests and AsecTests.
Brett Chabot [Thu, 25 Mar 2010 20:49:26 +0000 (13:49 -0700)]
Move PackageManagerTests and AsecTests.

Remove PackageManagerTests test's from continuous due to flakiness.

merged from abandoned master.

Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c

14 years agoMerge "cherry-picked bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo" into froyo
Grace Kloba [Fri, 26 Mar 2010 20:55:34 +0000 (13:55 -0700)]
Merge "cherry-picked bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo" into froyo

14 years agoFix issue #2544466: Car Home brightness icon comes and goes while phone is in car...
Dianne Hackborn [Fri, 26 Mar 2010 07:44:29 +0000 (00:44 -0700)]
Fix issue #2544466: Car Home brightness icon comes and goes while phone is in car dock in FRE83

There was a really dumb bug that was causing us to not always apply
the new configuration.  As a result of fixing this, there were new
glithes in the transition between car and regular mode, so further
work here to fix that.  And since I was actually working during the
night and seeing night mode, I noticed how obnoxiously bright the
status bar is compared to the car home at night, so it now nicely
dims itself when we switch to the night config.  Oh and in doing
that I also found and fixed a bug in dispatching config changes to
a window (where they wouldn't get dispatched if the window didn't
resize).

FINALLY...  tweak the wallpaper enter/exit animations a bit to
make them a little smoother.

Change-Id: I4e062093cbcfbc919307799a794846db2920216f

14 years agoMerge "Hide download manager." into froyo
Jean-Baptiste Queru [Fri, 26 Mar 2010 19:25:11 +0000 (12:25 -0700)]
Merge "Hide download manager." into froyo

14 years agoMerge "Fix StatusBarService deadlock for real this time." into froyo
Joe Onorato [Fri, 26 Mar 2010 19:14:49 +0000 (12:14 -0700)]
Merge "Fix StatusBarService deadlock for real this time." into froyo

14 years agoFix StatusBarService deadlock for real this time.
Joe Onorato [Fri, 26 Mar 2010 19:11:44 +0000 (12:11 -0700)]
Fix StatusBarService deadlock for real this time.

The lock is now only held long enough to swap the queue with a new ArrayList.

Bug: 2542233
Change-Id: I8c1c3d4d0b5b53166cc239fc0069d69929b43f91

14 years agocherry-picked bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo
Grace Kloba [Fri, 26 Mar 2010 07:00:06 +0000 (00:00 -0700)]
cherry-picked bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo

According to GMail profile, almost half of WebView
init time is spent in creating the zoomControl which
is not used by them. So change to lazy initialize
the ZoomButtonControl which will be used by Browser.

Fix http://b/issue?id=2546481

14 years agoMerge "Redesigned keyguard layout in the no-SIM case. DO NOT MERGE" into froyo
Daniel Sandler [Fri, 26 Mar 2010 18:41:34 +0000 (11:41 -0700)]
Merge "Redesigned keyguard layout in the no-SIM case. DO NOT MERGE" into froyo

14 years agoHide download manager.
Jean-Baptiste Queru [Fri, 26 Mar 2010 17:29:28 +0000 (10:29 -0700)]
Hide download manager.

Not ready for public consumption yet.

Bug: 2544512
Change-Id: I4a5b3c5f6afbc911d31e24333c2898d0c36281a3

14 years agoFiner-grained locking in AwesomePlayer, position and duration are now protected by...
Andreas Huber [Fri, 26 Mar 2010 17:17:17 +0000 (10:17 -0700)]
Finer-grained locking in AwesomePlayer, position and duration are now protected by a separate mutex that's only held for brief moments of time.

Change-Id: I989baf5a0ea8923985c560c2ec274abda0780242
related-to-bug: 2546577

14 years agoRedesigned keyguard layout in the no-SIM case. DO NOT MERGE
Daniel Sandler [Thu, 18 Mar 2010 01:52:24 +0000 (21:52 -0400)]
Redesigned keyguard layout in the no-SIM case. DO NOT MERGE

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

Bug: 2421380
Change-Id: I3fb25a29e02f3e2ee2b1505a8765d53ccceb1372

14 years agoMerge "Clarify some Binder docs regarding things that are thread-local."
Brad Fitzpatrick [Fri, 26 Mar 2010 04:02:46 +0000 (21:02 -0700)]
Merge "Clarify some Binder docs regarding things that are thread-local."

14 years agoClarify some Binder docs regarding things that are thread-local.
Brad Fitzpatrick [Fri, 26 Mar 2010 03:40:34 +0000 (20:40 -0700)]
Clarify some Binder docs regarding things that are thread-local.

Change-Id: I433c9c2f4593866b2e9846893676b93a670817d4

14 years agoMerge "fix [2236865] STOPSHIP: bump soft gl and egl minor version number"
Mathias Agopian [Fri, 26 Mar 2010 03:22:58 +0000 (20:22 -0700)]
Merge "fix [2236865] STOPSHIP: bump soft gl and egl minor version number"

14 years agofix [2236865] STOPSHIP: bump soft gl and egl minor version number
Mathias Agopian [Fri, 26 Mar 2010 03:21:12 +0000 (20:21 -0700)]
fix [2236865] STOPSHIP: bump soft gl and egl minor version number

this is to allow developpers to deal with potiential differences
between the softgl versions.

Change-Id: I7ec2451d6af1be29818d66215b22977405d403e8

14 years agoMerge "Fix 2535700: Add support for enforcing password quality"
Jim Miller [Fri, 26 Mar 2010 02:54:15 +0000 (19:54 -0700)]
Merge "Fix 2535700: Add support for enforcing password quality"

14 years agoMerge "Remove spurious byte order marks from xml files."
Marco Nelissen [Fri, 26 Mar 2010 02:06:23 +0000 (19:06 -0700)]
Merge "Remove spurious byte order marks from xml files."

14 years agoMerge "Fix bug 2544916 - Fun with AbsListView touch mode"
Adam Powell [Fri, 26 Mar 2010 01:55:47 +0000 (18:55 -0700)]
Merge "Fix bug 2544916 - Fun with AbsListView touch mode"

14 years agoMerge "fix [2545826] calling into gralloc with external lock held"
Mathias Agopian [Fri, 26 Mar 2010 01:42:34 +0000 (18:42 -0700)]
Merge "fix [2545826] calling into gralloc with external lock held"

14 years agoFix 2535700: Add support for enforcing password quality
Jim Miller [Fri, 26 Mar 2010 01:24:02 +0000 (18:24 -0700)]
Fix 2535700: Add support for enforcing password quality

In addition, this change removes old lockpattern constants which were set
to DevicePolicyManager constants anyway.

Change-Id: I05f7f50ca099f4bd87a2d8e1d6dd2bc6f3a2b139

14 years agoRemove spurious byte order marks from xml files.
Marco Nelissen [Fri, 26 Mar 2010 00:51:28 +0000 (17:51 -0700)]
Remove spurious byte order marks from xml files.

Change-Id: I864078ad1a1621609a8a33412327844499712324

14 years agoFix bug 2544916 - Fun with AbsListView touch mode
Adam Powell [Fri, 26 Mar 2010 01:09:09 +0000 (18:09 -0700)]
Fix bug 2544916 - Fun with AbsListView touch mode

Change-Id: I79de051891d535f44c0910295976d1f3634aca4c

14 years agoMerge "Add "dumpsys diskstats" to get a dump of disk-free values."
Dan Egnor [Fri, 26 Mar 2010 00:59:00 +0000 (17:59 -0700)]
Merge "Add "dumpsys diskstats" to get a dump of disk-free values."

14 years agoMerge "GLSurfaceView pause and resume now synchronize with the GLThread."
Jack Palevich [Fri, 26 Mar 2010 00:21:50 +0000 (17:21 -0700)]
Merge "GLSurfaceView pause and resume now synchronize with the GLThread."

14 years agoGLSurfaceView pause and resume now synchronize
Jack Palevich [Fri, 26 Mar 2010 00:18:39 +0000 (17:18 -0700)]
GLSurfaceView pause and resume now synchronize
with the GLThread.

We used to just set the mPaused state and return,
now we wait until the rendering thread signals
that it has noticed the change in pause state.

This makes Pause/Resume more consistent with
other UI-thread-to-GLThread event communication.

This change was made in the hope of fixing some
race conditions observed in monkey testing.

14 years agoAdd "dumpsys diskstats" to get a dump of disk-free values.
Dan Egnor [Thu, 25 Mar 2010 23:20:14 +0000 (16:20 -0700)]
Add "dumpsys diskstats" to get a dump of disk-free values.

Also includes a trivial test of I/O latency.  (Mostly useful to be invoked
from checkin to poll disk-free and latency issues.  Also moderately useful
to see in a bugreport.)

Also make "dumpsys netstat" a non-no-op, in case we want this data.

Change-Id: Ia93550a23ca6b35586c5d9217890ee0a5801aae1

14 years agoMerge "API refactoring for OverScroller."
Adam Powell [Fri, 26 Mar 2010 00:03:58 +0000 (17:03 -0700)]
Merge "API refactoring for OverScroller."

14 years agomerge from open-source master
The Android Open Source Project [Thu, 25 Mar 2010 23:39:32 +0000 (16:39 -0700)]
merge from open-source master

Change-Id: I4d8f34986fd9e16ead8a22909263069dbb819d3e

14 years agoAPI refactoring for OverScroller.
Adam Powell [Thu, 25 Mar 2010 19:21:34 +0000 (12:21 -0700)]
API refactoring for OverScroller.

OverScroller is no longer a child class of Scroller and several
Scroller methods that do not make sense for OverScroller and could
cause misbehaving edge cases have been removed or hidden and
deprecated.

Change-Id: Ie055b607bd3b36c47ab9798d5c9518aef686b474

14 years agoMerge "Fix 2495749 - System process crash when a notification switches sections."
Joe Onorato [Thu, 25 Mar 2010 23:00:25 +0000 (16:00 -0700)]
Merge "Fix 2495749 - System process crash when a notification switches sections."

14 years agoFix 2495749 - System process crash when a notification switches sections.
Joe Onorato [Thu, 25 Mar 2010 22:57:49 +0000 (15:57 -0700)]
Fix 2495749 - System process crash when a notification switches sections.

Change-Id: I86ff1b78fc309b758c6457be867509b71042d42e

14 years agoMerge "Fix Tethering of multiple downstream ifaces."
Robert Greenwalt [Thu, 25 Mar 2010 22:50:25 +0000 (15:50 -0700)]
Merge "Fix Tethering of multiple downstream ifaces."

14 years agoFix Tethering of multiple downstream ifaces.
Robert Greenwalt [Thu, 25 Mar 2010 21:50:34 +0000 (14:50 -0700)]
Fix Tethering of multiple downstream ifaces.

We weren't notifying the second tethered iface of it's upstream iface name so its traffic
was not getting routed correctly.
We also weren't clearing out our connected iface name when we untethered, so the route rules
weren't getting flushed when the last tether came down.

Change-Id: I34e5d672ea882c89c8f582d69d6dc421cb52d4b4

14 years agosettings variable for wifi saved state
Irfan Sheriff [Thu, 25 Mar 2010 00:58:59 +0000 (17:58 -0700)]
settings variable for wifi saved state

We add a variable for saving wifi state
to restore after tethering.

Bring up wifi on boot up if the state indicates so.

Bug: 2537983
Change-Id: I9c6548b93df6fcbc0cec1e6b857f7224dc6d1b2c

14 years agoUpdate Framework to support multiple dhpc ranges
Robert Greenwalt [Wed, 24 Mar 2010 23:03:21 +0000 (16:03 -0700)]
Update Framework to support multiple dhpc ranges

Previously we only supported a single range - this was inadequate for
multiple interfaces.  Adding a second range so we can support
both usb and wifi tethering.

Also moving out of the zero-conf range as our dhcp client won't
accept ip addrs in that range (no nexus to nexus wifi action).

bug: 2537963
bug: 2533491
bug: 2538303
Change-Id: I600b421343c28c2f9839ed2076122ae3d0ff5d3d

14 years agoMerge "check for nulls"
Fred Quintana [Thu, 25 Mar 2010 21:39:15 +0000 (14:39 -0700)]
Merge "check for nulls"

14 years agofix [2545826] calling into gralloc with external lock held
Mathias Agopian [Thu, 25 Mar 2010 21:34:49 +0000 (14:34 -0700)]
fix [2545826] calling into gralloc with external lock held

Change-Id: I2d0e017382404c684c768a0dd0423d574213f10a

14 years agocheck for nulls
Fred Quintana [Thu, 25 Mar 2010 19:25:10 +0000 (12:25 -0700)]
check for nulls

Change-Id: Ie02749db1dceb4288a70e5b28040459d669904c1
http://b/issue?id=2527346

14 years agoMerge "Add .3gpp as the preferred extension for video/3gpp."
Patrick Scott [Thu, 25 Mar 2010 20:27:57 +0000 (13:27 -0700)]
Merge "Add .3gpp as the preferred extension for video/3gpp."

14 years agoMerge "Use a more benign icon for ADB notifications."
Daniel Sandler [Thu, 25 Mar 2010 20:26:36 +0000 (13:26 -0700)]
Merge "Use a more benign icon for ADB notifications."

14 years agoMerge "Better fix for gettid() sim-eng breakage from last night."
Brad Fitzpatrick [Thu, 25 Mar 2010 20:22:15 +0000 (13:22 -0700)]
Merge "Better fix for gettid() sim-eng breakage from last night."

14 years agoUse a more benign icon for ADB notifications.
Daniel Sandler [Thu, 25 Mar 2010 20:02:33 +0000 (16:02 -0400)]
Use a more benign icon for ADB notifications.

Also suppress vibe & noise for ADB notifications.

Bug: 2544480
Bug: 2545486

Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252

14 years agoAdd .3gpp as the preferred extension for video/3gpp.
Patrick Scott [Thu, 25 Mar 2010 20:18:05 +0000 (16:18 -0400)]
Add .3gpp as the preferred extension for video/3gpp.

As it appears earlier in the list, .3gpp will be used as the extension for
video/3gpp mime types.

Bug: 2542939
Change-Id: I7d9188b460774af7bc29f4e8f1ebada43bf2ed10

14 years agoRevert "Hide download manager."
Jean-Baptiste Queru [Thu, 25 Mar 2010 20:09:03 +0000 (13:09 -0700)]
Revert "Hide download manager."

This reverts commit aaaf1232177ca008818ddac13f5f98405b789ff2.

14 years agoBetter fix for gettid() sim-eng breakage from last night.
Brad Fitzpatrick [Thu, 25 Mar 2010 19:43:56 +0000 (12:43 -0700)]
Better fix for gettid() sim-eng breakage from last night.

Change-Id: I2e8762d43b3c224a2e102ff82fc79072a85bb4c6

14 years agoMerge "Hide download manager."
Jean-Baptiste Queru [Thu, 25 Mar 2010 19:35:22 +0000 (12:35 -0700)]
Merge "Hide download manager."

14 years agoMerge "Dumb late-night typo."
Dianne Hackborn [Thu, 25 Mar 2010 19:32:12 +0000 (12:32 -0700)]
Merge "Dumb late-night typo."

14 years agoMerge "Add window flags and window types to hierarchyviewer."
Joe Onorato [Thu, 25 Mar 2010 18:54:12 +0000 (11:54 -0700)]
Merge "Add window flags and window types to hierarchyviewer."

14 years agoMerge "Turn off thread logging (too many messages.)"
Jack Palevich [Thu, 25 Mar 2010 18:54:10 +0000 (11:54 -0700)]
Merge "Turn off thread logging (too many messages.)"

14 years agoTurn off thread logging (too many messages.)
Jack Palevich [Thu, 25 Mar 2010 18:53:27 +0000 (11:53 -0700)]
Turn off thread logging (too many messages.)

Leave some other logging on for the monkey test.

14 years agoAdd window flags and window types to hierarchyviewer.
Joe Onorato [Thu, 25 Mar 2010 18:45:28 +0000 (11:45 -0700)]
Add window flags and window types to hierarchyviewer.

For debugging http://b/issue?id=2544870

Change-Id: I4b7775e6fd275bb7a9041bf5736e076122bfb5f1

14 years agoDumb late-night typo.
Dianne Hackborn [Thu, 25 Mar 2010 18:48:43 +0000 (11:48 -0700)]
Dumb late-night typo.

Change-Id: If5e5d8c3728ffc06d686c793ed94a7e18328e5ab

14 years agoProvides ability to store HTTP authentication credentials supplied to an XHR from...
Steve Block [Thu, 25 Mar 2010 15:38:04 +0000 (15:38 +0000)]
Provides ability to store HTTP authentication credentials supplied to an XHR from JavaScript

This change forwards to the WebViewClient HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the client to store these
credentials for use with later requests.

Currently, the browser only stores credentials that have been entered manually
by the user through the authentication dialog.

Bug: 2544330
Change-Id: I913e35d80b7ad41ff75586092408b86ea9f543d8

14 years agoMerge "Refactoring PackageManagerHostTests helper functions into a utility class...
Neal Nguyen [Thu, 25 Mar 2010 18:09:38 +0000 (11:09 -0700)]
Merge "Refactoring PackageManagerHostTests helper functions into a utility class for easier sharing with future stress tests."

14 years agoMerge "update dox that we ignore the exact parameter on computeBounds"
Mike Reed [Thu, 25 Mar 2010 18:04:02 +0000 (11:04 -0700)]
Merge "update dox that we ignore the exact parameter on computeBounds"

14 years agoupdate dox that we ignore the exact parameter on computeBounds
Mike Reed [Thu, 25 Mar 2010 18:02:40 +0000 (14:02 -0400)]
update dox that we ignore the exact parameter on computeBounds

Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5

14 years agoMerge "Add logging of GLSurfaceView pause/resume calls."
Jack Palevich [Thu, 25 Mar 2010 17:53:10 +0000 (10:53 -0700)]
Merge "Add logging of GLSurfaceView pause/resume calls."

14 years agoAdd logging of GLSurfaceView pause/resume calls.
Jack Palevich [Thu, 25 Mar 2010 17:50:21 +0000 (10:50 -0700)]
Add logging of GLSurfaceView pause/resume calls.

Turn on GLSurfaceView logging, so we can get better
information in the monkey tests.

Change-Id: Ifec0101f8a00ab09037dc9f7a1496fa1a374cc08

14 years agoMerge "Turn on plugin signature checking."
Grace Kloba [Thu, 25 Mar 2010 17:32:22 +0000 (10:32 -0700)]
Merge "Turn on plugin signature checking."

14 years agoTurn on plugin signature checking.
Grace Kloba [Thu, 25 Mar 2010 17:25:59 +0000 (10:25 -0700)]
Turn on plugin signature checking.

Fix http://b/issue?id=2465450

14 years agoMerge "MountService: Switch all Log -> Slog"
San Mehat [Thu, 25 Mar 2010 17:20:44 +0000 (10:20 -0700)]
Merge "MountService: Switch all Log -> Slog"

14 years agoMerge "Call unlinkToDeath() when we disconnect the Camera, so we don't hold the ...
Chih-Chung Chang [Thu, 25 Mar 2010 17:05:58 +0000 (10:05 -0700)]
Merge "Call unlinkToDeath() when we disconnect the Camera, so we don't hold the (weak) reference to it, which caused (small) memory leaks."

14 years agoMountService: Switch all Log -> Slog
San Mehat [Thu, 25 Mar 2010 16:36:54 +0000 (09:36 -0700)]
MountService: Switch all Log -> Slog

Change-Id: Id33c76497e9d963f295ef6e99d850223ca59b6cd
Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "Fix Phone App crash due to binary data in HSP/HFP stream."
Nick Pelly [Thu, 25 Mar 2010 17:01:21 +0000 (10:01 -0700)]
Merge "Fix Phone App crash due to binary data in HSP/HFP stream."

14 years agoFix Phone App crash due to binary data in HSP/HFP stream.
Nick Pelly [Thu, 25 Mar 2010 01:41:13 +0000 (18:41 -0700)]
Fix Phone App crash due to binary data in HSP/HFP stream.

The BMW 2005 E46 sends binary data amongst the AT commands. Log below.

There were a couple of problems when this happened.
o Off by one error causing overflow of read buffer.
o No validation that input can be parsed by NewStringUTF()

This commit fixes the off-by-one, and validates that the input is ASCII.

I also increased the read buffer size to 256 to make it less likely we split
commands across buffers. We will lose the command when this happens.

2010-03-24 16:00:29.934185 > ACL data: handle 1 flags 0x02 dlen 17
    L2CAP(d): cid 0x0040 len 13 [psm 0]
      0000: 29 ef 13 41 54 2b 43 49  4e 44 3f 0d 6a           )ï.AT+CIND?.j
2010-03-24 16:00:29.940502 < ACL data: handle 1 flags 0x00 dlen 38
    0000: 22 00 40 00 2b ef 3d 0d  0a 2b 43 49 4e 44 3a 20  ".@.+ï=..+CIND:
    0010: 31 2c 30 2c 30 2c 30 2c  34 2c 30 2c 35 0d 0a 0d  1,0,0,0,4,0,5...
    0020: 0a 4f 4b 0d 0a b0                                 .OK..°
2010-03-24 16:00:29.949657 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 1 packets 1
2010-03-24 16:00:30.004284 > ACL data: handle 1 flags 0x02 dlen 9
    L2CAP(d): cid 0x0040 len 5 [psm 0]
      0000: 29 ff 01 01 76                                    )ÿ..v
2010-03-24 16:00:30.137218 > ACL data: handle 1 flags 0x02 dlen 144
    L2CAP(d): cid 0x0040 len 140 [psm 0]
      0000: 29 ef 0e 01 02 a9 03 58  02 a9 03 64 02 a9 03 98  )ï...©.X.©.d.©..
      0010: 02 a9 03 98 02 a9 03 98  02 a9 03 98 02 a9 03 98  .©...©...©...©..
      0020: 02 a9 03 98 02 a9 03 98  02 a9 03 98 02 a9 03 98  .©...©...©...©..
      0030: 02 a9 04 d8 02 a9 03 a4  02 a9 03 b0 02 a9 03 bc  .©.Ø.©.¤.©.°.©.¼
      0040: 02 a9 03 c8 02 a9 03 fc  02 a9 04 38 02 a9 04 44  .©.È.©.ü.©.8.©.D
      0050: 02 a9 04 50 02 a9 04 84  02 a9 04 90 02 a9 04 9c  .©.P.©...©...©..
      0060: 02 a9 04 a8 02 a9 04 b4  02 a9 04 c0 02 a9 04 d8  .©.¨.©.´.©.À.©.Ø
      0070: 02 a9 04 d8 02 a9 04 cc  02 a9 10 7c 02 a9 10 d8  .©.Ø.©.Ì.©.|.©.Ø
      0080: 02 a9 10 e4 02 a9 10 f4  02 a9 11 6a              .©.ä.©.ô.©.j

Change-Id: I7ccff70bc95a7945d8ff03527764fd8f4da04d24
Bug: 2539053

14 years agoHide download manager.
Jean-Baptiste Queru [Thu, 25 Mar 2010 16:48:50 +0000 (09:48 -0700)]
Hide download manager.

Not ready for public consumption yet.

Bug: 2544512
Change-Id: I8be1a4aa24581c6d272b087439f3e22ef1fc29d2

14 years agoUse ViewRoot.addConfigCallback instead of a BroadcastReceiver.
Patrick Scott [Thu, 25 Mar 2010 15:18:59 +0000 (11:18 -0400)]
Use ViewRoot.addConfigCallback instead of a BroadcastReceiver.

Store a list of Handlers in a global ComponentCallbacks instance. Use
WeakReference to avoid leaking BrowserFrame objects.

Bug: 2542935
Change-Id: I67b102288f47f9fa6e855ba6558f2b1d611e8427

14 years agoDraw a hairline border in the overscroll mode.
Grace Kloba [Thu, 25 Mar 2010 00:13:29 +0000 (17:13 -0700)]
Draw a hairline border in the overscroll mode.

Fix http://b/issue?id=2542449

14 years agoMerge "New lock/unlock sounds."
Dave Sparks [Thu, 25 Mar 2010 15:24:24 +0000 (08:24 -0700)]
Merge "New lock/unlock sounds."