OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Single track optimization" into gingerbread
James Dong [Tue, 22 Jun 2010 21:28:15 +0000 (14:28 -0700)]
Merge "Single track optimization" into gingerbread

14 years agoSingle track optimization
James Dong [Tue, 22 Jun 2010 18:27:37 +0000 (11:27 -0700)]
Single track optimization

We don't need to do interleave when the total number of tracks to be recorded is one.
Metadata-wise, we only need to have one chunk in chunk offset table, and a
single entry in the stsc table.

Change-Id: I46f0e4b3860620311e7a91b68a9067acaa137bb2

14 years agoMerge "First stab at attaching native event dispatching." into gingerbread
Dianne Hackborn [Tue, 22 Jun 2010 18:22:37 +0000 (11:22 -0700)]
Merge "First stab at attaching native event dispatching." into gingerbread

14 years agoam 17ae6465: Merge "Doc change: Fix description of certificate matching requirement...
Dirk Dougherty [Tue, 22 Jun 2010 18:22:12 +0000 (11:22 -0700)]
am 17ae6465: Merge "Doc change: Fix description of certificate matching requirement for app updates." into froyo

Merge commit '17ae646586663c59ad360bb72884beded7475687' into gingerbread

* commit '17ae646586663c59ad360bb72884beded7475687':
  Doc change: Fix description of certificate matching requirement for app updates.

14 years agoFirst stab at attaching native event dispatching.
Dianne Hackborn [Sat, 19 Jun 2010 01:09:33 +0000 (18:09 -0700)]
First stab at attaching native event dispatching.

Provides the basic infrastructure for a
NativeActivity's native code to get an object representing
its event stream that can be used to read input events.

Still work to do, probably some API changes, and reasonable
default key handling (so that for example back will still
work).

Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e

14 years agoMerge "Doc change: Fix description of certificate matching requirement for app update...
Dirk Dougherty [Tue, 22 Jun 2010 18:13:48 +0000 (11:13 -0700)]
Merge "Doc change: Fix description of certificate matching requirement for app updates." into froyo

14 years agoMerge "Fix javadocs." into gingerbread
Daniel Sandler [Tue, 22 Jun 2010 18:08:40 +0000 (11:08 -0700)]
Merge "Fix javadocs." into gingerbread

14 years agoFix javadocs.
Daniel Sandler [Tue, 22 Jun 2010 17:58:46 +0000 (13:58 -0400)]
Fix javadocs.

Change-Id: Ic37c16625ddd0175cc048dd2b22bc75c6962d43d

14 years agoMerge "Make the prefetcher read packets from the network after a keep-alive timeout...
Andreas Huber [Tue, 22 Jun 2010 17:11:15 +0000 (10:11 -0700)]
Merge "Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not." into gingerbread

14 years agoMerge "Make sure sine: is supported again in stagefright commandline tool." into...
Andreas Huber [Tue, 22 Jun 2010 17:11:04 +0000 (10:11 -0700)]
Merge "Make sure sine: is supported again in stagefright commandline tool." into gingerbread

14 years agoMerge "Audio/video sync during recording (second part)" into gingerbread
James Dong [Tue, 22 Jun 2010 17:05:02 +0000 (10:05 -0700)]
Merge "Audio/video sync during recording (second part)" into gingerbread

14 years agoMake the prefetcher read packets from the network after a keep-alive timeout expires...
Andreas Huber [Tue, 22 Jun 2010 15:57:34 +0000 (08:57 -0700)]
Make the prefetcher read packets from the network after a keep-alive timeout expires regardless of whether its currently actively fetching data or not.

Change-Id: I7d022ac494e1cecdd7f656806b7ed45979c02840

14 years agoRevised "immersive mode" API.
Daniel Sandler [Mon, 21 Jun 2010 17:46:39 +0000 (13:46 -0400)]
Revised "immersive mode" API.

No longer a window bit, FLAG_IMMERSIVE is now set on
ActivityInfo.flags and in the Activity's manifest as
android:immersive="true" (ActivityInfo).

[An "immersive" activity is one that wishes to avoid being
paused by full-screen notifications (like an incoming call).
An activity that sets FLAG_IMMERSIVE/android:immersive is
sending a signal to the notification manager, status bar,
etc. that they should try to find some other way to get the
user's attention in high-priority situations.]

[Originally: change Ie290c2e.]

Change-Id: I967bb10b930b8f0772b10f81f2957a03fa3f1736

14 years agoMerge "GPS: remove GpsEventThread from GpsLocationProvider" into gingerbread
Mike Lockwood [Tue, 22 Jun 2010 13:44:03 +0000 (06:44 -0700)]
Merge "GPS: remove GpsEventThread from GpsLocationProvider" into gingerbread

14 years agoGPS: remove GpsEventThread from GpsLocationProvider
Mike Lockwood [Sun, 20 Jun 2010 21:28:16 +0000 (14:28 -0700)]
GPS: remove GpsEventThread from GpsLocationProvider

Rather than polling for events from the native code in an event thread,
we now require the GPS HAL libraries to call our callbacks from a thread
that is registered with the JVM to call directly into Java.
This eliminates a thread from our code and removes one step in the chain
of message passing from the GPS to the Location Manager client.

Change-Id: I2745a157690310ba9a699a8369f54a7366c6b1ba
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.
Jack Palevich [Tue, 22 Jun 2010 12:08:40 +0000 (20:08 +0800)]
Add OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.

Change-Id: Id0069535e97fe96eef74e4d0c1d19b010061fe3b

14 years agoremove unused YUV formats
Mathias Agopian [Tue, 22 Jun 2010 00:45:29 +0000 (17:45 -0700)]
remove unused YUV formats

Change-Id: Id0ae28b1700cf771cdbe0ca27b139d32cab90b2a

14 years agoMerge "AmrInputStream refresh: eliminate the dependency upon OpenCore's code" into...
James Dong [Tue, 22 Jun 2010 00:35:27 +0000 (17:35 -0700)]
Merge "AmrInputStream refresh: eliminate the dependency upon OpenCore's code" into gingerbread

14 years agoAudio/video sync during recording (second part)
James Dong [Sat, 19 Jun 2010 16:04:18 +0000 (09:04 -0700)]
Audio/video sync during recording (second part)

Change-Id: Iba0b35f57fdeac7ee1da16899406bf4b957a2c8c

14 years agoDoc change: Fix description of certificate matching requirement for app updates.
Dirk Dougherty [Mon, 21 Jun 2010 23:15:28 +0000 (16:15 -0700)]
Doc change: Fix description of certificate matching requirement for app updates.

Change-Id: I38a0b997f5cb634bfdab1c0ecaa2b0d19e68256a

14 years agoMerge "Start of work on passing around StrictMode policy over Binder calls." into...
Brad Fitzpatrick [Mon, 21 Jun 2010 22:31:01 +0000 (15:31 -0700)]
Merge "Start of work on passing around StrictMode policy over Binder calls." into gingerbread

14 years agofix [2785833] valgrind error in android::Layer::requestBuffer
Mathias Agopian [Mon, 21 Jun 2010 22:19:26 +0000 (15:19 -0700)]
fix [2785833] valgrind error in android::Layer::requestBuffer

fix uninitialized variable

Change-Id: I99e1b619ae8c88dd9d77b3abf4762f801019047e

14 years agoMerge "Added support for the GL_TEXTURE_EXTERNAL target" into gingerbread
Mathias Agopian [Mon, 21 Jun 2010 22:11:18 +0000 (15:11 -0700)]
Merge "Added support for the GL_TEXTURE_EXTERNAL target" into gingerbread

14 years agoMerge "Improve SensorManager documentation" into gingerbread
Mathias Agopian [Mon, 21 Jun 2010 22:10:13 +0000 (15:10 -0700)]
Merge "Improve SensorManager documentation" into gingerbread

14 years agoMore native input event dispatching.
Jeff Brown [Fri, 18 Jun 2010 03:52:56 +0000 (20:52 -0700)]
More native input event dispatching.

Added ANRs handling.
Added event injection.
Fixed a NPE ActivityManagerServer writing ANRs to the drop box.
Fixed HOME key interception.
Fixed trackball reporting.
Fixed pointer rotation in landscape mode.

Change-Id: I50340f559f22899ab924e220a78119ffc79469b7

14 years agoMake sure sine: is supported again in stagefright commandline tool.
Andreas Huber [Mon, 21 Jun 2010 16:11:51 +0000 (09:11 -0700)]
Make sure sine: is supported again in stagefright commandline tool.

Change-Id: I703f1a8b7556543ef71b141dc8e38d8b82d8c6dc

14 years agoStart of work on passing around StrictMode policy over Binder calls.
Brad Fitzpatrick [Fri, 18 Jun 2010 20:07:53 +0000 (13:07 -0700)]
Start of work on passing around StrictMode policy over Binder calls.

This is (intendend to be) a no-op change.

At this stage, Binder RPCs just have an additional uint32 passed around
in the header, right before the interface name.  But nothing is actually
done with them yet.  That value should right now always be 0.

This now boots and seems to work.

Change-Id: I135b7c84f07575e6b9717fef2424d301a450df7b

14 years agoMerge "Manual merge of change 53051 from master (DO NOT MERGE)" into gingerbread
Evan Millar [Mon, 21 Jun 2010 19:09:40 +0000 (12:09 -0700)]
Merge "Manual merge of change 53051 from master (DO NOT MERGE)" into gingerbread

14 years agoam 30cf330f: Import revised translations
Kenny Root [Mon, 21 Jun 2010 18:17:07 +0000 (11:17 -0700)]
am 30cf330f: Import revised translations

Merge commit '30cf330fae137587d51aa4c026459db146705ba9' into gingerbread

* commit '30cf330fae137587d51aa4c026459db146705ba9':
  Import revised translations

14 years agoImport revised translations
Kenny Root [Mon, 21 Jun 2010 18:03:50 +0000 (11:03 -0700)]
Import revised translations

Change-Id: I4b91aea9c53332569a7123fdb32141530ede6d3d

14 years agoam c4e38577: Import revised translations
Kenny Root [Mon, 21 Jun 2010 16:02:13 +0000 (09:02 -0700)]
am c4e38577: Import revised translations

Merge commit 'c4e38577f46a3b7953fffbb01b08eebc401fbc17' into gingerbread

* commit 'c4e38577f46a3b7953fffbb01b08eebc401fbc17':
  Import revised translations

14 years agoam bd240c27: media: add AudioTrack::getMinFrameCount().
Chia-chi Yeh [Mon, 21 Jun 2010 15:54:19 +0000 (08:54 -0700)]
am bd240c27: media: add AudioTrack::getMinFrameCount().

Merge commit 'bd240c2737913d6ed1982788699f93bbc52330c0' into gingerbread

* commit 'bd240c2737913d6ed1982788699f93bbc52330c0':
  media: add AudioTrack::getMinFrameCount().

14 years agoFix NPE during ANRs.
Brad Fitzpatrick [Mon, 21 Jun 2010 15:01:13 +0000 (08:01 -0700)]
Fix NPE during ANRs.

BUG=2780838

Change-Id: I0d5e9a2323130ca14d1f0df684c8abe4f4dad05a

14 years agoImport revised translations
Kenny Root [Mon, 21 Jun 2010 01:54:45 +0000 (18:54 -0700)]
Import revised translations

Change-Id: Ife82312cc21acc144a70718f79afcafbdd7eda7a

14 years agomedia: add AudioTrack::getMinFrameCount().
Chia-chi Yeh [Tue, 15 Jun 2010 22:33:13 +0000 (06:33 +0800)]
media: add AudioTrack::getMinFrameCount().

Change-Id: If15162583d1d16d89f59be0793106afe77417f35

14 years agoAmrInputStream refresh: eliminate the dependency upon OpenCore's code
James Dong [Thu, 17 Jun 2010 23:03:22 +0000 (16:03 -0700)]
AmrInputStream refresh: eliminate the dependency upon OpenCore's code

Change-Id: I0e66bc0a16fcdcf70136012ae1cd4138506cc94b

14 years agoManual merge of change 53051 from master (DO NOT MERGE)
Evan Millar [Fri, 18 Jun 2010 23:19:26 +0000 (16:19 -0700)]
Manual merge of change 53051 from master (DO NOT MERGE)

Change-Id: Ia4697a15cb874f25849655994e10aa88ae60b328

14 years agoMerge "Fix SDK docs build." into gingerbread
Daniel Sandler [Fri, 18 Jun 2010 02:14:44 +0000 (19:14 -0700)]
Merge "Fix SDK docs build." into gingerbread

14 years agoFix SDK docs build.
Daniel Sandler [Fri, 18 Jun 2010 01:56:26 +0000 (21:56 -0400)]
Fix SDK docs build.

Change-Id: I2d11682cdf2cdcd48f0299f8c168fddd5994dc65

14 years agoam 57f4503e: Work on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27...
Dianne Hackborn [Fri, 18 Jun 2010 01:43:31 +0000 (18:43 -0700)]
am 57f4503e: Work on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27 in 13hr test

Merge commit '57f4503e1a129d6a648f2378d36a060998a577a0' into gingerbread

* commit '57f4503e1a129d6a648f2378d36a060998a577a0':
  Work on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27 in 13hr test

14 years agoam 5f11e95f: docs: small edits to catchup to edits made in html pushed live
Scott Main [Fri, 18 Jun 2010 01:43:13 +0000 (18:43 -0700)]
am 5f11e95f: docs: small edits to catchup to edits made in html pushed live

Merge commit '5f11e95f0041e163e8aa9e429aec92c8ee942233' into gingerbread

* commit '5f11e95f0041e163e8aa9e429aec92c8ee942233':
  docs: small edits to catchup to edits made in html pushed live

14 years agoam 39e876ad: (-s ours) Merge "When filling the cache, we always time out waiting...
James Dong [Fri, 18 Jun 2010 01:43:10 +0000 (18:43 -0700)]
am 39e876ad: (-s ours) Merge "When filling the cache, we always time out waiting for a condition that won\'t occur. We are actually improving the power consumption for streaming applications like Pandora." into froyo

Merge commit '39e876ad743f203fe005333947c61383772b0d14' into gingerbread

* commit '39e876ad743f203fe005333947c61383772b0d14':
  When filling the cache, we always time out waiting for a condition that won't occur.

14 years agoWork on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27 in 13hr test
Dianne Hackborn [Thu, 17 Jun 2010 22:49:33 +0000 (15:49 -0700)]
Work on issue # 2778549: Idle FRF72 is awake 18 mins more than ERE27 in 13hr test

Modify UIModeManager to not get location updates every thirty minutes.
Instead it gets one once a day, and requests a new update when airplane
mode is turned off or the time zone changes.

Change-Id: I8044c27b5cd77709e4b872e2e8edd352f23e4af1

14 years agoFixed api/current.xml after a bad merge.
Jeff Brown [Thu, 17 Jun 2010 20:49:02 +0000 (13:49 -0700)]
Fixed api/current.xml after a bad merge.

Change-Id: I033f417e928eb541f0528521326b66776a3c9096

14 years agoEven more native input dispatch work in progress.
Jeff Brown [Wed, 16 Jun 2010 08:53:36 +0000 (01:53 -0700)]
Even more native input dispatch work in progress.

Added more tests.
Fixed a regression in Vector.
Fixed bugs in pointer tracking.
Fixed a starvation issue in PollLoop when setting or removing callbacks.
Fixed a couple of policy nits.

Modified the internal representation of MotionEvent to be more
efficient and more consistent.

Added code to skip/cancel virtual key processing when there are multiple
pointers down.  This helps to better disambiguate virtual key presses
from stray touches (such as cheek presses).

Change-Id: I2a7d2cce0195afb9125b23378baa94fd2fc6671c

14 years agoMerge "New API for "immersive" activity windows." into gingerbread
Daniel Sandler [Thu, 17 Jun 2010 20:24:01 +0000 (13:24 -0700)]
Merge "New API for "immersive" activity windows." into gingerbread

14 years agoMerge "New API for high-priority Notifications and full-screen alerts." into gingerbread
Daniel Sandler [Thu, 17 Jun 2010 20:23:59 +0000 (13:23 -0700)]
Merge "New API for high-priority Notifications and full-screen alerts." into gingerbread

14 years agoam 3242cc27: Merge "TimedEventQueue is apparently important for glitch-free media...
Dave Sparks [Thu, 17 Jun 2010 19:37:15 +0000 (12:37 -0700)]
am 3242cc27: Merge "TimedEventQueue is apparently important for glitch-free media playback, and so having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly higher than normal." into fro

Merge commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b' into gingerbread

* commit '3242cc2719a4aeb64ac5ed273cf222d8d326d44b':
  TimedEventQueue is apparently important for glitch-free media playback, and so

14 years agoam 821ca518: docs: edits to resources doc
Scott Main [Thu, 17 Jun 2010 19:37:06 +0000 (12:37 -0700)]
am 821ca518: docs: edits to resources doc

Merge commit '821ca51857f4d21b231cd9ead786227b771fe759' into gingerbread

* commit '821ca51857f4d21b231cd9ead786227b771fe759':
  docs: edits to resources doc

14 years agoam bccedb03: docs: update dashboard again
Scott Main [Thu, 17 Jun 2010 19:36:31 +0000 (12:36 -0700)]
am bccedb03: docs: update dashboard again

Merge commit 'bccedb03fad4e72c1776d2ab9e918fab4d25f222' into gingerbread

* commit 'bccedb03fad4e72c1776d2ab9e918fab4d25f222':
  docs: update dashboard again

14 years agoam 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk...
Dan Morrill [Thu, 17 Jun 2010 19:36:17 +0000 (12:36 -0700)]
am 6b22d81a: As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be presumed to require Bluetooth just because they take the permission.

Merge commit '6b22d81aa35d9a9b32670995c002e92588b2fe09' into gingerbread

* commit '6b22d81aa35d9a9b32670995c002e92588b2fe09':
  As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files

14 years agoCheck and clip some video encoding parameters against media profiles before passing...
James Dong [Thu, 17 Jun 2010 00:27:46 +0000 (17:27 -0700)]
Check and clip some video encoding parameters against media profiles before passing them to video encoder

Change-Id: I69e0e7411806a4ece6c0bf0e02c74eaaf48a17ac

14 years agoMerge "Remove hard-coded number of audio channels in AudioSource" into gingerbread
James Dong [Thu, 17 Jun 2010 18:25:19 +0000 (11:25 -0700)]
Merge "Remove hard-coded number of audio channels in AudioSource" into gingerbread

14 years agoNew API for "immersive" activity windows.
Daniel Sandler [Thu, 17 Jun 2010 14:45:00 +0000 (10:45 -0400)]
New API for "immersive" activity windows.

An "immersive" activity (as indicated by the new
FLAG_IMMERSIVE) is one that wishes to avoid being paused by
full-screen notifications (like an incoming call).
An activity that sets FLAG_IMMERSIVE on its window is
sending a signal to the notification manager, status bar,
etc. that they should try to find some other way to get the
user's attention in high-priority situations.

FLAG_IMMERSIVE should be used exclusively in conjunction
with FLAG_FULL_SCREEN (that is, only activities that hide
the status bar should consider themselves immersive).

Change-Id: Ie290c2e92fc391bcf55edfdb1fbd626cd284e3e2

14 years agoNew API for high-priority Notifications and full-screen alerts.
Daniel Sandler [Thu, 17 Jun 2010 14:35:26 +0000 (10:35 -0400)]
New API for high-priority Notifications and full-screen alerts.

* fullScreenIntent: a PendingIntent pointing to a
  full-screen activity or other modal alert experience to be
  shown to the user instead of (or in addition to) a
  traditional status bar notification icon. Example: An
  incoming call should pop up a full-screen activity
  allowing the user to accept or decline the call.

  The old way to accomplish this is to simply fire off the
  full-screen intent directly from the Phone app. By routing
  through the Notification system, we make way for the
  FLAG_IMMERSIVE bit (forthcoming API) which would allow the
  frontmost opaque window to suppress full-screen alerts.

* FLAG_HIGH_PRIORITY: This bit allows a notification to be
  shown in windows that have the FLAG_IMMERSIVE bit set. For
  example, a Notification corresponding to an incoming call
  would be marked HIGH_PRIORITY so that even in an immersive
  activity (i.e. a networked game) the Notification could be
  shown to the user.

Change-Id: I4943e53f425800a6e152bc4992dd41586b43aff8

14 years agoImprove SensorManager documentation
Mathias Agopian [Thu, 17 Jun 2010 01:55:46 +0000 (18:55 -0700)]
Improve SensorManager documentation

this pass is mostly just formating.

Change-Id: Ica7dd014c301817c93e915c08b16da99769eaabb

14 years agoVarious improvements to battery stats collection
Dianne Hackborn [Tue, 15 Jun 2010 00:17:44 +0000 (17:17 -0700)]
Various improvements to battery stats collection

We now clear the battery stats when unplugging after the
battery is full.  This allows us to use the "total" stats as
a new "since last charged" stat.  Total is gone.  I never used
it, it was worthless.  Since last charged is a lot more
interesting.

The battery history now collects a lot more stats, and keeps
control over how much it can collect.  Printing is now more
descriptive.

The kinds of stats have been renamed to SINCE_UNPLUGGED and
SINCE_DISCHARGED.  The other two stats are still there, but
no longer printed; a future change will eliminate them
completely along with all of their state.

Change-Id: I4e9fcfcf8c30510092c76a8594f6021e9502fbc1

14 years agodocs: small edits to catchup to edits made in html pushed live
Scott Main [Thu, 17 Jun 2010 00:29:40 +0000 (17:29 -0700)]
docs: small edits to catchup to edits made in html pushed live

Change-Id: I62b3e7dc5fcab881dd09ca897b05425a8c28cb92

14 years agoMerge "When filling the cache, we always time out waiting for a condition that won...
James Dong [Wed, 16 Jun 2010 23:10:52 +0000 (16:10 -0700)]
Merge "When filling the cache, we always time out waiting for a condition that won't occur. We are actually improving the power consumption for streaming applications like Pandora." into froyo

14 years agoMerge "Move out all framework-tests classes." into gingerbread
Brett Chabot [Wed, 16 Jun 2010 21:39:41 +0000 (14:39 -0700)]
Merge "Move out all framework-tests classes." into gingerbread

14 years agoFix driver stop check
Irfan Sheriff [Tue, 15 Jun 2010 17:48:31 +0000 (10:48 -0700)]
Fix driver stop check

- Remove check for supplicant command: setScanResultHandling
- Add check for stopDriver
- Fix condition for rest of commands

Bug: 2771298
Change-Id: I1262b2228814c4f6a4c251390af2f445c5f47234

14 years agoWhen filling the cache, we always time out waiting for a condition that won't occur.
James Dong [Wed, 16 Jun 2010 01:14:03 +0000 (18:14 -0700)]
When filling the cache, we always time out waiting for a condition that won't occur.
We are actually improving the power consumption for streaming applications like Pandora.

Change-Id: Id32bacbc962e8c69c056599479b308d6a07b7a20

14 years agoMerge "TimedEventQueue is apparently important for glitch-free media playback, and...
Dave Sparks [Wed, 16 Jun 2010 21:11:40 +0000 (14:11 -0700)]
Merge "TimedEventQueue is apparently important for glitch-free media playback, and so having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly higher than normal." into froyo

14 years agodocs: edits to resources doc
Scott Main [Wed, 16 Jun 2010 18:06:43 +0000 (11:06 -0700)]
docs: edits to resources doc

Change-Id: I1dbe5d213d8f85b2ecaeed45ddbe215f199e2c9e

14 years agoTimedEventQueue is apparently important for glitch-free media playback, and so
Marco Nelissen [Tue, 15 Jun 2010 19:34:50 +0000 (12:34 -0700)]
TimedEventQueue is apparently important for glitch-free media playback, and so
having it inherit its priority from the thread that created it is a bad idea.
Instead, set the priority explicitly, and bump it to slightly higher than normal.

Change-Id: I01843f24905790ce2e2cde5d11a99346cfbf968d

14 years agodocs: update dashboard again
Scott Main [Wed, 16 Jun 2010 17:22:53 +0000 (10:22 -0700)]
docs: update dashboard again

Change-Id: Ia3ae9149879e355d15d42ac612e6a758c83b59f6

14 years agoAs Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
Dan Morrill [Wed, 16 Jun 2010 04:41:42 +0000 (21:41 -0700)]
As Donut (API=4) devices and earlier do not have a Bluetooth API, .apk files
that have minSdkLevel (or targetSdkLevel) set to 4 or lower should not be
presumed to require Bluetooth just because they take the permission.

Change-Id: Ia629e9ef0425a577e4e14f9b348f5aa2b39c1e74

14 years agoam cdeae439: Merge "docs: update dashboard" into froyo
Scott Main [Wed, 16 Jun 2010 02:39:32 +0000 (19:39 -0700)]
am cdeae439: Merge "docs: update dashboard" into froyo

Merge commit 'cdeae439a3637062dc0701654a1cb7874bfd1ae8' into gingerbread

* commit 'cdeae439a3637062dc0701654a1cb7874bfd1ae8':
  docs: update dashboard

14 years agoMerge "docs: update dashboard" into froyo
Scott Main [Wed, 16 Jun 2010 02:33:03 +0000 (19:33 -0700)]
Merge "docs: update dashboard" into froyo

14 years agoAdded support for the GL_TEXTURE_EXTERNAL target
Mathias Agopian [Tue, 15 Jun 2010 04:20:00 +0000 (21:20 -0700)]
Added support for the GL_TEXTURE_EXTERNAL target

This will allow us to support YUV surfaces.

Change-Id: I2d4da75f1006a5285bdc552695d4caeecccf2183

14 years agoMerge "More work in progress on native events." into gingerbread
Jeff Brown [Tue, 15 Jun 2010 23:44:23 +0000 (16:44 -0700)]
Merge "More work in progress on native events." into gingerbread

14 years agoMore work in progress on native events.
Jeff Brown [Tue, 15 Jun 2010 08:31:58 +0000 (01:31 -0700)]
More work in progress on native events.

Refactored the code to eliminate potential deadlocks due to re-entrant
calls from the policy into the dispatcher.  Also added some plumbing
that will be used to notify the framework about ANRs.

Change-Id: Iba7a10de0cb3c56cd7520d6ce716db52fdcc94ff

14 years agoMerge "add new video/audio presence icons in the framework resource dirs, and make...
Wei Huang [Tue, 15 Jun 2010 22:34:06 +0000 (15:34 -0700)]
Merge "add new video/audio presence icons in the framework resource dirs, and make them public." into gingerbread

14 years agoam 6567adf8: Move android-common to framework/ex
Ying Wang [Tue, 15 Jun 2010 22:32:10 +0000 (15:32 -0700)]
am 6567adf8: Move android-common to framework/ex

Merge commit '6567adf8b637c36817625cd38d64cd4b8510b097' into gingerbread

* commit '6567adf8b637c36817625cd38d64cd4b8510b097':
  Move android-common to framework/ex

14 years agoMove android-common to framework/ex
Ying Wang [Tue, 15 Jun 2010 20:45:08 +0000 (13:45 -0700)]
Move android-common to framework/ex

This is one necessary step by unbundling.

Change-Id: I9d922a52374ad6331fa2e39fa4b5e16ad7d108fa

14 years agoam 27357fc0: Merge "Use the droidcore goal with dist-for-goals." into froyo
Joe Onorato [Tue, 15 Jun 2010 22:21:21 +0000 (15:21 -0700)]
am 27357fc0: Merge "Use the droidcore goal with dist-for-goals." into froyo

Merge commit '27357fc08802d796a6b6a1111ac5534d75fc8be7' into gingerbread

* commit '27357fc08802d796a6b6a1111ac5534d75fc8be7':
  Use the droidcore goal with dist-for-goals.

14 years agoam 9d71860e: Merge "The aapt and aidl tools are prebuilt when we\'re doing an apps...
Joe Onorato [Tue, 15 Jun 2010 22:21:14 +0000 (15:21 -0700)]
am 9d71860e: Merge "The aapt and aidl tools are prebuilt when we\'re doing an apps-only build, so don\'t try to build them." into froyo

Merge commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a' into gingerbread

* commit '9d71860e8cbaf16ddae3cd5d06ede8e6cfc7675a':
  The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them.

14 years agoadd new video/audio presence icons in the framework resource dirs, and make them...
Wei Huang [Tue, 15 Jun 2010 21:26:21 +0000 (14:26 -0700)]
add new video/audio presence icons in the framework resource dirs, and make them public.

- add definitions for

presence_video_away
presence_video_busy
presence_video_online
presence_audio_away
presence_audio_busy
presence_audio_online

in the public.xml, and update current.xml

- the actual icons for the audio versions are not yet done, so I used the video versions as placeholders.

Change-Id: I9e2be5dd05619cbdbbb61dc231e9da1984ddbb36

14 years agoMerge "Use the droidcore goal with dist-for-goals." into froyo
Joe Onorato [Tue, 15 Jun 2010 20:59:10 +0000 (13:59 -0700)]
Merge "Use the droidcore goal with dist-for-goals." into froyo

14 years agoMerge "The aapt and aidl tools are prebuilt when we're doing an apps-only build,...
Joe Onorato [Tue, 15 Jun 2010 20:58:33 +0000 (13:58 -0700)]
Merge "The aapt and aidl tools are prebuilt when we're doing an apps-only build, so don't try to build them." into froyo

14 years agoMerge "This patch enables each omx instance to have a separate message dispatcher...
James Dong [Tue, 15 Jun 2010 17:48:58 +0000 (10:48 -0700)]
Merge "This patch enables each omx instance to have a separate message dispatcher, and thus eliminates the sharing of the message dispatches between omx instances." into gingerbread

14 years agoam 457738e6: Merge "docs: add information about known issues in resource matching...
Scott Main [Tue, 15 Jun 2010 17:43:10 +0000 (10:43 -0700)]
am 457738e6: Merge "docs: add information about known issues in resource matching for screen density and system version. Add section about providing compatibility for multiple devices" into froyo

Merge commit '457738e628ee4d165014996bcf4e8d1983ac5929' into gingerbread

* commit '457738e628ee4d165014996bcf4e8d1983ac5929':
  docs: add information about known issues in resource matching

14 years agoam 322e7e47: Merge "docs: fix markup error" into froyo
Scott Main [Tue, 15 Jun 2010 17:42:52 +0000 (10:42 -0700)]
am 322e7e47: Merge "docs: fix markup error" into froyo

Merge commit '322e7e477d89aca18d65cbd289343e716c45a699' into gingerbread

* commit '322e7e477d89aca18d65cbd289343e716c45a699':
  docs: fix markup error

14 years agodocs: update dashboard
Scott Main [Tue, 15 Jun 2010 17:42:10 +0000 (10:42 -0700)]
docs: update dashboard

Change-Id: If8d1ad8aa99d93f707635631a44e6c359895302a

14 years agoMerge "docs: add information about known issues in resource matching for screen densi...
Scott Main [Tue, 15 Jun 2010 17:36:27 +0000 (10:36 -0700)]
Merge "docs: add information about known issues in resource matching for screen density and system version. Add section about providing compatibility for multiple devices" into froyo

14 years agoMerge "docs: fix markup error" into froyo
Scott Main [Tue, 15 Jun 2010 17:36:14 +0000 (10:36 -0700)]
Merge "docs: fix markup error" into froyo

14 years agoMake sure SurfaceView use a 565 surface when requesting an OPAQUE format.
Mathias Agopian [Tue, 15 Jun 2010 04:50:48 +0000 (21:50 -0700)]
Make sure SurfaceView use a 565 surface when requesting an OPAQUE format.

this is needed for backward compatibility with somewhat buggy applications.
not a big deal, since the app can request another format explicitely.

Change-Id: Ic73f8acedf94ffc0115637efac28fa8ffaa7e5a4

14 years agoRemove hard-coded number of audio channels in AudioSource
James Dong [Tue, 15 Jun 2010 00:45:35 +0000 (17:45 -0700)]
Remove hard-coded number of audio channels in AudioSource

Change-Id: I5f362252c25e2251bbfa9818b711ee23b4975248

14 years agoThis patch enables each omx instance to have a separate message dispatcher, and
James Dong [Tue, 15 Jun 2010 00:28:05 +0000 (17:28 -0700)]
This patch enables each omx instance to have a separate message dispatcher, and
thus eliminates the sharing of the message dispatches between omx instances.

If the omx audio and video encoders share the same dispatcher, when the audio read
blocks in the AudioSource, the message dispatcher thread gets blocked. As a result,
the message for the omx video encoder can not be dispatched, hence gets blocked too.
If the blocking time is long enough, the video frame rate decreases significantly.
This is the case when we read 2048 bytes by default each time. Reading smaller blocks
of audio data helps mitigate the above-mentioned problem, but it is not an ideal
solution for two reasons: a) it is not efficient, and thus can cause a lot of overhead
passing buffers between the frame work and the omx encoders; b) also, the audio record
thread can overflow as a result, which lead to the loss of recorded audio frames.

This patch affects both authoring engine and the playback engine.

Change-Id: I26dfde7ac46c8752cf1793ce1bfcc7be7724580e

14 years agoMove out all framework-tests classes.
Brett Chabot [Tue, 15 Jun 2010 00:06:34 +0000 (17:06 -0700)]
Move out all framework-tests classes.

Previously tests/framework-tests contained a quarantined set of test classes
that needed access to package-private framework api. Running these tests
normally would cause the dalvik verifier to throw errors.

runtest now has support for turning off the dalvik verifier for frameworks
tests, so move this tests into their recommended location, close to the source
being tested.

Also move policy source into a 'src' folder to accommodate the tests move.

Change-Id: I62f839da185a55bc553b653bf583fd99da438512

14 years agoMerge "Support for multiple tests" into gingerbread
Jeff Brown [Mon, 14 Jun 2010 22:49:57 +0000 (15:49 -0700)]
Merge "Support for multiple tests" into gingerbread

14 years agoSupport for multiple tests
Jeff Brown [Mon, 14 Jun 2010 22:44:41 +0000 (15:44 -0700)]
Support for multiple tests

The build system enforces some invariants that were being ignored
before.

Change-Id: Ie7675042af7f961a507386c13b2a0b592b591af8

14 years agoMerge "StrictMode: implement the log-to-DropBox option" into gingerbread
Brad Fitzpatrick [Mon, 14 Jun 2010 22:19:51 +0000 (15:19 -0700)]
Merge "StrictMode: implement the log-to-DropBox option" into gingerbread

14 years agoMerge "Update build version information." into gingerbread
Dianne Hackborn [Mon, 14 Jun 2010 21:10:43 +0000 (14:10 -0700)]
Merge "Update build version information." into gingerbread

14 years agoUpdate build version information.
Dianne Hackborn [Sun, 13 Jun 2010 19:07:00 +0000 (12:07 -0700)]
Update build version information.

Change-Id: If53f16d494255230859a30f561e9a78ec49c6c10

14 years agoStrictMode: implement the log-to-DropBox option
Brad Fitzpatrick [Mon, 14 Jun 2010 19:40:21 +0000 (12:40 -0700)]
StrictMode: implement the log-to-DropBox option

Change-Id: I51d12e264155078f953028241f8c5cbdc47262e8

14 years agodocs: add information about known issues in resource matching
Scott Main [Fri, 11 Jun 2010 01:05:13 +0000 (18:05 -0700)]
docs: add information about known issues in resource matching
for screen density and system version.
Add section about providing compatibility for multiple devices

bug: 2760561

Change-Id: I9b3a515a14d53923a15b1931f6dd24f295874362

14 years agoFixed a typo - maybe we should do comparison ignoring the case?
James Dong [Mon, 14 Jun 2010 18:14:38 +0000 (11:14 -0700)]
Fixed a typo - maybe we should do comparison ignoring the case?

Change-Id: I498f8242e6ba3e3e8b8c7b714ed49bff51a3010b

14 years agoMerge "Dropbox: remove redundant Entry construction." into gingerbread
Brad Fitzpatrick [Mon, 14 Jun 2010 16:32:26 +0000 (09:32 -0700)]
Merge "Dropbox: remove redundant Entry construction." into gingerbread

14 years agoam 01f7ac64: Merge "Issue 2667802: [Audio Effect Framework] AudioEffect base class...
Eric Laurent [Mon, 14 Jun 2010 16:04:33 +0000 (09:04 -0700)]
am 01f7ac64: Merge "Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI." into kraken

Merge commit '01f7ac64488027492b2909b99d70491e7a391015' into gingerbread

* commit '01f7ac64488027492b2909b99d70491e7a391015':
  Issue 2667802: [Audio Effect Framework] AudioEffect base class and JNI.