OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Added partial support for repporting sensor activity to IBatteryStats" into...
Mathias Agopian [Wed, 21 Jul 2010 23:07:15 +0000 (16:07 -0700)]
Merge "Added partial support for repporting sensor activity to IBatteryStats" into gingerbread

14 years agoMerge "new SensorService" into gingerbread
Mathias Agopian [Wed, 21 Jul 2010 23:06:46 +0000 (16:06 -0700)]
Merge "new SensorService" into gingerbread

14 years agoam e8605af5: Merge "Avoid leaking file descriptors when returning drop box events...
Dan Egnor [Wed, 21 Jul 2010 20:55:13 +0000 (13:55 -0700)]
am e8605af5: Merge "Avoid leaking file descriptors when returning drop box events." into froyo

Merge commit 'e8605af513e846f6cd223c9e92461189727d8c9b' into gingerbread

* commit 'e8605af513e846f6cd223c9e92461189727d8c9b':
  Avoid leaking file descriptors when returning drop box events.

14 years agoMerge "Avoid leaking file descriptors when returning drop box events." into froyo
Dan Egnor [Wed, 21 Jul 2010 20:53:23 +0000 (13:53 -0700)]
Merge "Avoid leaking file descriptors when returning drop box events." into froyo

14 years agoAvoid leaking file descriptors when returning drop box events.
Dan Egnor [Tue, 20 Jul 2010 22:24:09 +0000 (15:24 -0700)]
Avoid leaking file descriptors when returning drop box events.

We can't use Parcel.writeValue() to write the ParcelFileDescriptor, otherwise
it leaks when returning the value to the caller (the flag gets lost).  Change
the way DropBoxManager.Entry gets serialized so that it uses a bit of its own
flags value to track whether the data is a byte[] or a ParcelFileDescriptor.

Modify the dropbox unit test to add extensive checking of Entry serialization
and deserialization under various circumstances, and to include a regression
test to ensure that FD leaking doesn't happen.

Bug: 2847738
Change-Id: I4ccd17dd03ffab234340cd359e6f3510fdf81193

14 years agoMerge "Add a seek test to the stagefright commandline tool." into gingerbread
Andreas Huber [Wed, 21 Jul 2010 19:31:14 +0000 (12:31 -0700)]
Merge "Add a seek test to the stagefright commandline tool." into gingerbread

14 years agoam dbac180d: Fix a merge problem with html mms
Tom Taylor [Wed, 21 Jul 2010 18:22:22 +0000 (11:22 -0700)]
am dbac180d: Fix a merge problem with html mms

Merge commit 'dbac180d8342a7db2bb9994f937869eecb6b50ff' into gingerbread

* commit 'dbac180d8342a7db2bb9994f937869eecb6b50ff':
  Fix a merge problem with html mms

14 years agoFix a merge problem with html mms
Tom Taylor [Wed, 21 Jul 2010 17:49:48 +0000 (10:49 -0700)]
Fix a merge problem with html mms

Html mms message support was added back in Jan '10. At that time, we
had moved the mms code out of the framework into the mms app. We decided
to back out that change and leave the mms code in its original place.
As a result, the changes to support html messages were lost. This
handmerged CL restores those changes. I'll cherry-pick this into master
as well. Bug 2858888

Change-Id: Icf8835edc8ac396698c167be5433a6fe1cfe6103

14 years agoAdd a seek test to the stagefright commandline tool.
Andreas Huber [Tue, 20 Jul 2010 23:30:35 +0000 (16:30 -0700)]
Add a seek test to the stagefright commandline tool.

Change-Id: Ibf3517afa288fc4c7e2184c11bc7a63594f321df

14 years agoMerge "Support finer seek control on MediaSources." into gingerbread
Andreas Huber [Wed, 21 Jul 2010 17:36:08 +0000 (10:36 -0700)]
Merge "Support finer seek control on MediaSources." into gingerbread

14 years agoSupport finer seek control on MediaSources.
Andreas Huber [Tue, 20 Jul 2010 22:04:28 +0000 (15:04 -0700)]
Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1

14 years agoAdded support for auxiliary audio effects to AudioTrack and MediaPlayer.
Eric Laurent [Fri, 16 Jul 2010 14:43:46 +0000 (07:43 -0700)]
Added support for auxiliary audio effects to AudioTrack and MediaPlayer.

Added methods to AudioTrack and MediaPlayer java classes to enable use of
auxiliary audio effects. The effect can be attached and detached by specifying its
ID and the send level controlled.

Change-Id: Ie74ff54a453096a742688476f612ce355543b6f3

14 years agoMerge "Progress status notification" into gingerbread
James Dong [Tue, 20 Jul 2010 21:29:39 +0000 (14:29 -0700)]
Merge "Progress status notification" into gingerbread

14 years agoMerge "Only print out wake locks in the if the wakelock was held." into gingerbread
Jason Parks [Tue, 20 Jul 2010 21:01:39 +0000 (14:01 -0700)]
Merge "Only print out wake locks in the if the wakelock was held." into gingerbread

14 years agoam 2f0dc6d9: Merge "COMMENT ONLY change to add some warnings about ParcelFileDescript...
Dan Egnor [Tue, 20 Jul 2010 20:59:43 +0000 (13:59 -0700)]
am 2f0dc6d9: Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo

Merge commit '2f0dc6d9f50ceece294e9db393583e655d3bf781' into gingerbread

* commit '2f0dc6d9f50ceece294e9db393583e655d3bf781':
  COMMENT ONLY change to add some warnings about ParcelFileDescriptor

14 years agoMerge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior...
Dan Egnor [Tue, 20 Jul 2010 20:57:08 +0000 (13:57 -0700)]
Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo

14 years agoam 2316d626: docs: add information about using color resources as drawables
Scott Main [Tue, 20 Jul 2010 20:53:55 +0000 (13:53 -0700)]
am 2316d626: docs: add information about using color resources as drawables

Merge commit '2316d6260862230af10d8ca3ff446ad3f560f712' into gingerbread

* commit '2316d6260862230af10d8ca3ff446ad3f560f712':
  docs: add information about using color resources as drawables

14 years agoMerge "resolved conflicts for merge of 9bc4039a to gingerbread" into gingerbread
Dan Egnor [Tue, 20 Jul 2010 20:23:09 +0000 (13:23 -0700)]
Merge "resolved conflicts for merge of 9bc4039a to gingerbread" into gingerbread

14 years agoresolved conflicts for merge of 9bc4039a to gingerbread
Dan Egnor [Tue, 20 Jul 2010 18:30:17 +0000 (11:30 -0700)]
resolved conflicts for merge of 9bc4039a to gingerbread

Change-Id: I6f9262fb293a67cbc04e5756205ae56e28c299ec

14 years agoMerge "Audio policy manager changes for audio effects" into gingerbread
Eric Laurent [Tue, 20 Jul 2010 18:25:35 +0000 (11:25 -0700)]
Merge "Audio policy manager changes for audio effects" into gingerbread

14 years agoOnly print out wake locks in the if the wakelock was held.
Jason Parks [Tue, 20 Jul 2010 17:39:07 +0000 (12:39 -0500)]
Only print out wake locks in the if the wakelock was held.

Change-Id: I742121b70bd0e56ca2efe05fffa9fe3e4ad7b619

14 years agoAudio policy manager changes for audio effects
Eric Laurent [Tue, 13 Jul 2010 11:45:46 +0000 (04:45 -0700)]
Audio policy manager changes for audio effects

Added methods for audio effects management by audio policy manager.
- control of total CPU load and memory used by effect engines
- selection of output stream for global effects
- added audio session id in parameter list for startOutput() and stopOutput().
this is not used in default audio policy manager implementation.

Modifications of audio effect framework in AudioFlinger to allow moving and reconfiguring
effect engines from one output mixer thread to another when audio tracks in the same session
are moved or when requested by audio policy manager.
Also fixed mutex deadlock problem with effect chains locks.

Change-Id: Ida43484b06e9b890d6b9e53c13958d042720ebdb

14 years agodocs: add information about using color resources as drawables
Scott Main [Tue, 20 Jul 2010 16:59:35 +0000 (09:59 -0700)]
docs: add information about using color resources as drawables

Change-Id: I24d82292b700104294d268894b660bc8b7e5ddb0

14 years agoCOMMENT ONLY change to add some warnings about ParcelFileDescriptor
Dan Egnor [Tue, 20 Jul 2010 16:03:35 +0000 (09:03 -0700)]
COMMENT ONLY change to add some warnings about ParcelFileDescriptor
behavior with Parcel.writeValue().

Change-Id: If55fcce29559379855735ff5297cf4f46d5d6be6
Bug: 2847738

14 years agoSupport a single format change at the beginning of audio playback. This way the AAC...
Andreas Huber [Tue, 20 Jul 2010 16:21:17 +0000 (09:21 -0700)]
Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.

Change-Id: Icc790122744745e9a88099788d4818ca1e265a82
related-to-bug: 2826841

14 years agoMerge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled...
Andreas Huber [Tue, 20 Jul 2010 16:18:58 +0000 (09:18 -0700)]
Merge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled." into gingerbread

14 years agoProgress status notification
James Dong [Fri, 16 Jul 2010 02:08:20 +0000 (19:08 -0700)]
Progress status notification

- Keep track of per-track progress

Change-Id: Ibd36f0e8c78581928c8aa2f5e23c5e7e0615c2cc

14 years agoMerge "COMMENT-ONLY change to clarify Camera documentation." into froyo
Dan Egnor [Tue, 20 Jul 2010 01:14:50 +0000 (18:14 -0700)]
Merge "COMMENT-ONLY change to clarify Camera documentation." into froyo

14 years agoAdded partial support for repporting sensor activity to IBatteryStats
Mathias Agopian [Mon, 19 Jul 2010 22:03:55 +0000 (15:03 -0700)]
Added partial support for repporting sensor activity to IBatteryStats

Change-Id: I2af319d89e49b0f2349ec9d8b0fccac80e9bc047

14 years agonew SensorService
Mathias Agopian [Thu, 15 Jul 2010 06:41:37 +0000 (23:41 -0700)]
new SensorService

remove old sensor service and implement SensorManager
on top of the new (native) SensorManger API.

Change-Id: Iddb77d498755da3e11646473a44d651f12f40281

14 years agoRemove some debug logging that I accidentally committed.
Jamie Gennis [Mon, 19 Jul 2010 23:09:26 +0000 (16:09 -0700)]
Remove some debug logging that I accidentally committed.

Change-Id: Ib182455fad5e5b3f3f59b3ff24f59dcd7f638292

14 years agoMerge "fix javadoc error which breaks SDK build in gingerbread" into gingerbread
Vasu Nori [Mon, 19 Jul 2010 22:26:39 +0000 (15:26 -0700)]
Merge "fix javadoc error which breaks SDK build in gingerbread" into gingerbread

14 years agofix javadoc error which breaks SDK build in gingerbread
Vasu Nori [Mon, 19 Jul 2010 22:25:32 +0000 (15:25 -0700)]
fix javadoc error which breaks SDK build in gingerbread

Change-Id: I01b90c71e7088f385a73f51144063a2fbe5d466b

14 years agoam 85e7ae9b: Merge "docs: add troubleshooting to eclipse guide about restarting adb...
Scott Main [Mon, 19 Jul 2010 21:50:32 +0000 (14:50 -0700)]
am 85e7ae9b: Merge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo

Merge commit '85e7ae9bbb6f2e8bc4259073eafda5ce5b037d7d' into gingerbread

* commit '85e7ae9bbb6f2e8bc4259073eafda5ce5b037d7d':
  docs: add troubleshooting to eclipse guide about restarting adb

14 years agoMerge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo
Scott Main [Mon, 19 Jul 2010 21:42:13 +0000 (14:42 -0700)]
Merge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo

14 years agoMerge "fixed parsing issue in BluetoothService so that it parses the UUID property...
Danica Chang [Mon, 19 Jul 2010 20:47:50 +0000 (13:47 -0700)]
Merge "fixed parsing issue in BluetoothService so that it parses the UUID property correctly" into gingerbread

14 years agoFix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.
James Dong [Mon, 19 Jul 2010 00:57:01 +0000 (17:57 -0700)]
Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.

Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8

14 years agoFix the layoutlib Paint.set(Paint) method. Do not merge.
Xavier Ducrohet [Fri, 16 Jul 2010 23:46:39 +0000 (16:46 -0700)]
Fix the layoutlib Paint.set(Paint) method. Do not merge.

It would change the text rendering info but not recompute
the Java Font objects. The effect is a broken font rendering
in the EditText (which use this method to copy some Paint
object before using the copy for the actual drawing)

Change-Id: I9e7fbf9bd57b421fd793876a6de4ade1ecac372d

14 years agoMerge "Fixed problems in audio effect volume control." into gingerbread
Eric Laurent [Mon, 19 Jul 2010 17:13:27 +0000 (10:13 -0700)]
Merge "Fixed problems in audio effect volume control." into gingerbread

14 years agofixed parsing issue in BluetoothService so that it parses the UUID property correctly
Danica Chang [Sat, 17 Jul 2010 01:38:29 +0000 (18:38 -0700)]
fixed parsing issue in BluetoothService so that it parses the UUID property correctly

Change-Id: If46fd3ae1a0e6393cd47a8f0dc913cef45e05441

14 years agoMerge "Don't throw an exception from isProviderEnabled and getLastKnownLocation"...
Adam Bliss [Mon, 19 Jul 2010 15:09:19 +0000 (08:09 -0700)]
Merge "Don't throw an exception from isProviderEnabled and getLastKnownLocation" into gingerbread

14 years agoFixed problems in audio effect volume control.
Eric Laurent [Mon, 19 Jul 2010 13:24:46 +0000 (06:24 -0700)]
Fixed problems in audio effect volume control.

Fixed the following problems in audio effect volume control in AudioFlinger:
- Make sure that the volumes returned by EffectChain::setVolume_l() are correct even is
no change is detected since last call
- Do not use isEnabled() to validate volume control but mState >= ACTIVE instead as the volume control
must be also active in STOPPING and STOPPED states.

Change-Id: Id62da3164fad500ee8a5efd6cd78c77e8fdcb541

14 years agoFix simulator build (1st attempt)
James Dong [Sun, 18 Jul 2010 21:46:11 +0000 (14:46 -0700)]
Fix simulator build (1st attempt)

Change-Id: I65a824c17929170b7b2bc75a13e756e92d8fe50a

14 years agofix broken api/current.xml
Vasu Nori [Sun, 18 Jul 2010 01:29:22 +0000 (18:29 -0700)]
fix broken api/current.xml

Change-Id: I6cc03dddf20228625f18f7a59aed22628f9661fa

14 years agoadd video/audio chat-compatibility modes to ContactsContract
Vasu Nori [Mon, 12 Jul 2010 22:13:37 +0000 (15:13 -0700)]
add video/audio chat-compatibility modes to ContactsContract

Change-Id: Ic0b04017ad4216f1a1c5f07fa9d27e6970ded931

14 years agoFirst submission of audio effect library from NXP software.
Eric Laurent [Fri, 9 Jul 2010 19:28:50 +0000 (12:28 -0700)]
First submission of audio effect library from NXP software.

This CL contains the first open sourceable version of the audio effect library from NXP software.
The effects implemented are:
- Bass boost
- Virtualizer (stereo widening)
- Equalizer
- Spectrum analyzer

Source file for the effect engines are located under libeffects/lvm/lib
The wrapper implementing the interface with the audio effect framework in under libeffects/lvm/wrapper

The code of other effect libraries has also been reorganized fo clarity:
- the effect factory is now under libeffects/factory
- the test equalizer and reverb effects are under libeffect/testlibs
- the visualizer is under libeffects/virtualizer

Change-Id: I8d91e2181f81b89f8fc0c1e1e6bf552c5809b2eb

14 years agoDon't throw an exception from isProviderEnabled and getLastKnownLocation
Mike Lockwood [Sat, 17 Jul 2010 12:21:33 +0000 (08:21 -0400)]
Don't throw an exception from isProviderEnabled and getLastKnownLocation

if the location provider does not exist.  Instead use the same behavior
as if the provider were disabled in settings
(return false for isProviderEnabled and null from getLastKnownLocation).
This eliminates for a lot of exception handling around some simple
queries to the location manager.

BUG: 2841014

Change-Id: I4fbe0c088e915c90969e13083201dd3e7f4029cb
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix trackball down and movement bugs.
Jeff Brown [Sat, 17 Jul 2010 00:21:06 +0000 (17:21 -0700)]
Fix trackball down and movement bugs.

Bug: 2823788
Change-Id: Icb0c392b58f7e735614460b5eb87439cb73ac4f2

14 years agoIgnore attempts to finish events on unregistered channels.
Jeff Brown [Fri, 16 Jul 2010 22:38:03 +0000 (15:38 -0700)]
Ignore attempts to finish events on unregistered channels.

This is a common race that happens during application shutdown where the window
may be removed before the input event is finished.  The input dispatcher
already recovers from this condition gracefully so there are no benefits to
throwing an exception on the client side.

Bug: 2834068

Change-Id: I53dcc3230464d7f528ac8a1cc9f01b5bb642f428

14 years agoam 28fe43be: Merge "Add the hook which can set the device to connect to wifi and...
Hung Dang [Fri, 16 Jul 2010 22:15:44 +0000 (15:15 -0700)]
am 28fe43be: Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo

Merge commit '28fe43be5c364a8f7f248a5ac05cf832a83737c2' into gingerbread

* commit '28fe43be5c364a8f7f248a5ac05cf832a83737c2':
  Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.

14 years agoMerge "Re-use existing Surface objects when reading them from parcels." into gingerbread
Jamie Gennis [Fri, 16 Jul 2010 22:14:44 +0000 (15:14 -0700)]
Merge "Re-use existing Surface objects when reading them from parcels." into gingerbread

14 years agoMerge "Add the hook which can set the device to connect to wifi and in airplane mode...
Hung Dang [Fri, 16 Jul 2010 22:13:12 +0000 (15:13 -0700)]
Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo

14 years agoFix individual pointer id up/down reporting.
Jeff Brown [Fri, 16 Jul 2010 22:01:56 +0000 (15:01 -0700)]
Fix individual pointer id up/down reporting.

Fix a minor threading bug in InputManager dump.

Change-Id: Ic2eecf7df5a8dc9f40561fcb03ebe58a2c073778

14 years agodocs: add troubleshooting to eclipse guide about restarting adb
Scott Main [Fri, 16 Jul 2010 20:33:37 +0000 (13:33 -0700)]
docs: add troubleshooting to eclipse guide about restarting adb

Change-Id: I44bf5f488a2a322dabe86ec2e4f25169fc7091ce

14 years agoam 2a8dd4e4: Merge "docs: editorial revisions to Search guide" into froyo
Scott Main [Fri, 16 Jul 2010 21:59:48 +0000 (14:59 -0700)]
am 2a8dd4e4: Merge "docs: editorial revisions to Search guide" into froyo

Merge commit '2a8dd4e46f43c2bc5b3c1cfd2f350a83ea2b18b1' into gingerbread

* commit '2a8dd4e46f43c2bc5b3c1cfd2f350a83ea2b18b1':
  docs: editorial revisions to Search guide

14 years agoMerge "docs: editorial revisions to Search guide" into froyo
Scott Main [Fri, 16 Jul 2010 21:52:03 +0000 (14:52 -0700)]
Merge "docs: editorial revisions to Search guide" into froyo

14 years agodocs: editorial revisions to Search guide
Scott Main [Wed, 26 May 2010 00:04:01 +0000 (17:04 -0700)]
docs: editorial revisions to Search guide

Change-Id: I6a2065304d1d80c46f3bb3c658ab55f1fe58b211

14 years agoRe-use existing Surface objects when reading them from parcels.
Jamie Gennis [Fri, 16 Jul 2010 00:29:15 +0000 (17:29 -0700)]
Re-use existing Surface objects when reading them from parcels.

This change adds a process-global cache of previously deserialized Surface
objects so that if a Surface object wrapping the same ISurface gets received
again the same Surface can be used.  This is important because the 'tail'
pointer in the SharedBufferClient is stored only on the client side, and needs
to be the same for all the Surface objects wrapping an ISurface instance.  This
solves the problem by making there only be one Surface object wrapping an
ISurface per process.

Change-Id: I4bf0b8787885c56277622fca053022d2bb638902

14 years agoAdd the hook which can set the device to connect to wifi and in airplane mode after...
Yu Shan Emily Lau [Fri, 16 Jul 2010 18:55:43 +0000 (11:55 -0700)]
Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.

Change-Id: I42527612764252d1c47bd29a2b88d5e3019cfdf9

14 years agoMerge "Fix bug with phantom input windows." into gingerbread
Jeff Brown [Fri, 16 Jul 2010 07:14:38 +0000 (00:14 -0700)]
Merge "Fix bug with phantom input windows." into gingerbread

14 years agoMerge "Several improvements in audio effects volume control." into gingerbread
Eric Laurent [Fri, 16 Jul 2010 07:08:50 +0000 (00:08 -0700)]
Merge "Several improvements in audio effects volume control." into gingerbread

14 years agoFix bug with phantom input windows.
Jeff Brown [Fri, 16 Jul 2010 06:54:05 +0000 (23:54 -0700)]
Fix bug with phantom input windows.

Add dumpsys integration for the native input dispatcher.
Add some InputDevice API stubs.
Add an appendFormat helper method to String8 for printf style
string formatting mainly for debugging purposes.
Use generic ArrayList<WindowState> everywhere in WindowManagerService
to eliminate unnecessary casts all over.

Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44

14 years agoUndo IMediaContainerService changes
Kenny Root [Fri, 16 Jul 2010 05:21:58 +0000 (22:21 -0700)]
Undo IMediaContainerService changes

These should be in the next commit and not the previous one.

Change-Id: I8d13fecf3b978ae2e796dc6e10ef3f969b27a0f4

14 years agoMerge "Implement native key pre-dispatching to IMEs." into gingerbread
Dianne Hackborn [Fri, 16 Jul 2010 05:22:42 +0000 (22:22 -0700)]
Merge "Implement native key pre-dispatching to IMEs." into gingerbread

14 years agoImplement native key pre-dispatching to IMEs.
Dianne Hackborn [Fri, 16 Jul 2010 00:44:53 +0000 (17:44 -0700)]
Implement native key pre-dispatching to IMEs.

This significantly re-works the native key dispatching code to
allow events to be pre-dispatched to the current IME before
being processed by native code.  It introduces one new public
API, which must be called after retrieving an event if the app
wishes for it to be pre-dispatched.

Currently the native code will only do pre-dispatching of
system keys, to avoid significant overhead for gaming input.
This should be improved to be smarted, filtering for only
keys that the IME is interested in.  Unfortunately IMEs don't
currently provide this information. :p

Change-Id: Ic1c7aeec8b348164957f2cd88119eb5bd85c2a9f

14 years agoAdd API to call to vold for mounting OBBs
Kenny Root [Thu, 1 Jul 2010 15:10:18 +0000 (08:10 -0700)]
Add API to call to vold for mounting OBBs

* Unhide StorageService class; hide all the USB-related items

* Add application-visible API to StorageManager for OBB files

* Add class for parceling OBB info across binders (ObbInfo)

* Add a JNI glue class to libutils/ObbFile (ObbScanner)

* Add API to MountService to deal with calling into vold and checking
  permissions

Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd

14 years agoAdd support for new input sources.
Jeff Brown [Thu, 15 Jul 2010 01:48:53 +0000 (18:48 -0700)]
Add support for new input sources.

Added several new coordinate values to MotionEvents to capture
touch major/minor area, tool major/minor area and orientation.

Renamed NDK input constants per convention.

Added InputDevice class in Java which will eventually provide
useful information about available input devices.

Added APIs for manufacturing new MotionEvent objects with multiple
pointers and all necessary coordinate data.

Fixed a bug in the input dispatcher where it could get stuck with
a pointer down forever.

Fixed a bug in the WindowManager where the input window list could
end up containing stale removed windows.

Fixed a bug in the WindowManager where the input channel was being
removed only after the final animation transition had taken place
which caused spurious WINDOW DIED log messages to be printed.

Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68

14 years agoMerge "Fix jni registration typo" into gingerbread
Christopher Tate [Fri, 16 Jul 2010 01:19:17 +0000 (18:19 -0700)]
Merge "Fix jni registration typo" into gingerbread

14 years agoam d59f1dea: Merge "docs: update notepad tutorial to change EditNote activity title...
Scott Main [Fri, 16 Jul 2010 01:17:16 +0000 (18:17 -0700)]
am d59f1dea: Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo

Merge commit 'd59f1dea1746b316e556df5b4d2080f110aabd1c' into gingerbread

* commit 'd59f1dea1746b316e556df5b4d2080f110aabd1c':
  docs: update notepad tutorial to change EditNote activity title and update codelab zip

14 years agoMerge "docs: update notepad tutorial to change EditNote activity title and update...
Scott Main [Fri, 16 Jul 2010 01:14:16 +0000 (18:14 -0700)]
Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo

14 years agoam 80fa5c86: docs: dashboard update
Scott Main [Fri, 16 Jul 2010 01:10:39 +0000 (18:10 -0700)]
am 80fa5c86: docs: dashboard update

Merge commit '80fa5c866eaf323c39bef4159a351950f0ea527a' into gingerbread

* commit '80fa5c866eaf323c39bef4159a351950f0ea527a':
  docs: dashboard update

14 years agodocs: dashboard update
Scott Main [Fri, 16 Jul 2010 00:56:59 +0000 (17:56 -0700)]
docs: dashboard update

Change-Id: I289cc30b0ae2f88429a8a01b4b7219a86b6d479c

14 years agoam 28da8e5e: Merge "Doc change: Update AVD create instructions." into froyo
Katie McCormick [Fri, 16 Jul 2010 00:28:57 +0000 (17:28 -0700)]
am 28da8e5e: Merge "Doc change: Update AVD create instructions." into froyo

Merge commit '28da8e5e4aefd919064e3c33a311edf1af5a958e' into gingerbread

* commit '28da8e5e4aefd919064e3c33a311edf1af5a958e':
  Doc change: Update AVD create instructions.

14 years agoMerge "Doc change: Update AVD create instructions." into froyo
Katie McCormick [Fri, 16 Jul 2010 00:25:10 +0000 (17:25 -0700)]
Merge "Doc change: Update AVD create instructions." into froyo

14 years agoFix jni registration typo
Christopher Tate [Fri, 16 Jul 2010 00:17:54 +0000 (17:17 -0700)]
Fix jni registration typo

Change-Id: I930fe00edec4e19f643a6de5b1bfd0d59e0846db

14 years agoDoc change: Update AVD create instructions.
Katie McCormick [Thu, 8 Jul 2010 22:24:16 +0000 (15:24 -0700)]
Doc change: Update AVD create instructions.

Change-Id: Icb1a8200d1b8de4aedea0718a014ab57e057235d

14 years agoStrictMode: avoid an allocation in common case
Brad Fitzpatrick [Thu, 15 Jul 2010 20:16:41 +0000 (13:16 -0700)]
StrictMode: avoid an allocation in common case

Make the initialValue() of the ThreadLocal be null, so checking it doesn't
cause one to be created in the case of an RPC call not using StrictMode.

Change-Id: I3ea19ce444a1b3c39a6e53c5cb5d4faf4b07a6c8

14 years agoMerge "StrictMode: batch drop box writes for system apps" into gingerbread
Brad Fitzpatrick [Thu, 15 Jul 2010 22:43:03 +0000 (15:43 -0700)]
Merge "StrictMode: batch drop box writes for system apps" into gingerbread

14 years agoMerge "StrictMode: gather and return violating stacks in Binder replies" into gingerbread
Brad Fitzpatrick [Thu, 15 Jul 2010 22:42:41 +0000 (15:42 -0700)]
Merge "StrictMode: gather and return violating stacks in Binder replies" into gingerbread

14 years agoMerge "More StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync...
Brad Fitzpatrick [Thu, 15 Jul 2010 22:42:12 +0000 (15:42 -0700)]
Merge "More StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync." into gingerbread

14 years agoMerge "Add native C APIs for working with the Asset Manager" into gingerbread
Christopher Tate [Thu, 15 Jul 2010 22:00:14 +0000 (15:00 -0700)]
Merge "Add native C APIs for working with the Asset Manager" into gingerbread

14 years agoAdd native C APIs for working with the Asset Manager
Christopher Tate [Tue, 13 Jul 2010 01:21:36 +0000 (18:21 -0700)]
Add native C APIs for working with the Asset Manager

Change-Id: I493b142c4b35e5cc1a1e85283bb5dfb306a6d261

14 years agoInitial check-in for software m4v_h263 encoder
James Dong [Tue, 13 Jul 2010 04:46:25 +0000 (21:46 -0700)]
Initial check-in for software m4v_h263 encoder

Change-Id: I4b49fa5c3a5e6e21cfd2419441d98dd784046367

14 years agoStrictMode: batch drop box writes for system apps
Brad Fitzpatrick [Wed, 14 Jul 2010 19:35:53 +0000 (12:35 -0700)]
StrictMode: batch drop box writes for system apps

Change-Id: Iab49c15ecccefea1d36d86271e1ceb37d79e9449

14 years agoStrictMode: gather and return violating stacks in Binder replies
Brad Fitzpatrick [Mon, 12 Jul 2010 18:05:38 +0000 (11:05 -0700)]
StrictMode: gather and return violating stacks in Binder replies

Now, when Thread A has a strict mode policy in effect and does a
Binder call to Thread B (most likely in another process), the strict
mode policy is passed along, but with the GATHER penalty bit set which
overrides other policies and instead gathers all offending stack
traces to a threadlocal which are then written back in the Parcel's
reply header.

Change-Id: I7d4497032a0609b37b1a2a15855f5c929ba0584d

14 years agoMore StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync.
Brad Fitzpatrick [Wed, 7 Jul 2010 23:06:39 +0000 (16:06 -0700)]
More StrictMode work, keeping Binder & BlockGuard's thread-locals in-sync.

Change-Id: Ia67cabcc17a73a0f15907ffea683d06bc41b90e5

14 years agoSeveral improvements in audio effects volume control.
Eric Laurent [Thu, 15 Jul 2010 19:50:15 +0000 (12:50 -0700)]
Several improvements in audio effects volume control.

- Fixed crash when deleting an effect chained before an effect having volume control
- Changed EFFECT_FLAG_VOLUME_CTRL to implicitely include EFFECT_FLAG_VOLUME_IND
(not need to set both in effect descriptor).
- Volume control changes from one effect to another if needed according to effect enable state
- EFFECT_CMD_SET_VOLUME is only sent when their is an actual change in volume

Change-Id: Ieebaf09157e2627366023569d95516646e03e26c

14 years agoMerge "Interface support for custom HTTP headers in DL manager" into gingerbread
Steve Howard [Thu, 15 Jul 2010 19:24:14 +0000 (12:24 -0700)]
Merge "Interface support for custom HTTP headers in DL manager" into gingerbread

14 years agoam 38137d7a: Merge "docs: lots of additions to the resources docs new drawable resour...
Scott Main [Thu, 15 Jul 2010 18:20:32 +0000 (11:20 -0700)]
am 38137d7a: Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo

Merge commit '38137d7a27b037611c70a9d900aa53b4c15563bf' into gingerbread

* commit '38137d7a27b037611c70a9d900aa53b4c15563bf':
  docs: lots of additions to the resources docs

14 years agoMerge "docs: lots of additions to the resources docs new drawable resources add ...
Scott Main [Thu, 15 Jul 2010 18:16:32 +0000 (11:16 -0700)]
Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo

14 years agoMerge "Support user-supplied timescales for authoring" into gingerbread
James Dong [Thu, 15 Jul 2010 18:16:08 +0000 (11:16 -0700)]
Merge "Support user-supplied timescales for authoring" into gingerbread

14 years agoMerge "Clean up some style in the makefiles." into gingerbread
Joe Onorato [Thu, 15 Jul 2010 18:08:39 +0000 (11:08 -0700)]
Merge "Clean up some style in the makefiles." into gingerbread

14 years agoMerge "The ICU data is no longer compiled directly into the shared library." into...
Joe Onorato [Thu, 15 Jul 2010 18:08:34 +0000 (11:08 -0700)]
Merge "The ICU data is no longer compiled directly into the shared library." into gingerbread

14 years agoInterface support for custom HTTP headers in DL manager
Steve Howard [Wed, 14 Jul 2010 02:02:45 +0000 (19:02 -0700)]
Interface support for custom HTTP headers in DL manager

* constants for new DB table, keys for including headers in a
  DownloadProvider.insert() call, and new URIs for retrieving headers
* support in DownloadManager to pass headers to the provider

14 years agoDon't build framework tests for simulator target.
Jeff Brown [Thu, 15 Jul 2010 05:40:08 +0000 (22:40 -0700)]
Don't build framework tests for simulator target.

Change-Id: I70f29c7eb307e4f3ec5702f4eb9d97b4342e2f36

14 years agoam 468c82e4: Merge "Skip hostname verification when using insecure factory" into...
Andrew Stadler [Thu, 15 Jul 2010 05:33:42 +0000 (22:33 -0700)]
am 468c82e4: Merge "Skip hostname verification when using insecure factory" into froyo

Merge commit '468c82e4be0630de04a50d88602cd8c6bc745962' into gingerbread

* commit '468c82e4be0630de04a50d88602cd8c6bc745962':
  Skip hostname verification when using insecure factory

14 years agoMerge "Skip hostname verification when using insecure factory" into froyo
Andrew Stadler [Thu, 15 Jul 2010 05:26:56 +0000 (22:26 -0700)]
Merge "Skip hostname verification when using insecure factory" into froyo

14 years agoClean up some style in the makefiles.
Joe Onorato [Thu, 15 Jul 2010 02:58:30 +0000 (19:58 -0700)]
Clean up some style in the makefiles.

Change-Id: I993702808395f37c2e9d3c7e457d2952be51d795

14 years agoadded BinderService<> template to help creating native binder services
Mathias Agopian [Thu, 15 Jul 2010 01:41:18 +0000 (18:41 -0700)]
added BinderService<> template to help creating native binder services

Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe

14 years agoMerge "move native services under services/" into gingerbread
Mathias Agopian [Thu, 15 Jul 2010 01:42:54 +0000 (18:42 -0700)]
Merge "move native services under services/" into gingerbread