OSDN Git Service
Hung-ying Tyan [Thu, 23 Sep 2010 19:01:25 +0000 (03:01 +0800)]
SIP: longer timeout for making call, shorter for cancelling
http://b/
3021865
Change-Id: I354ebcc00f1ac68e4b7b466745c36aeb314f9138
Eric Laurent [Fri, 24 Sep 2010 20:43:54 +0000 (13:43 -0700)]
Merge "fix problem in AudioEffect JNI setup." into gingerbread
Eric Laurent [Fri, 24 Sep 2010 19:03:36 +0000 (12:03 -0700)]
fix problem in AudioEffect JNI setup.
There is a problem in AudioEffect and Visualizer native_setup() methods
that causes a crash in the application after the mediaserver process
has crashed and restarted.
The problem is that the native AudioEffect/Visualizer constructor is
called while the JNI is in critical state after calling
GetPrimitiveArrayCritical(). As the mediaserver process just restarted, the
first call to AudioSystem will cause the binder IAudioflinger interface to
be reteived and a callback send to AudioSystem JNI to clear the mediaserver
error state. This will call env->FindClass() and crash due to the JNI being
in critical state.
Also fixed a similar problem in AudioTrack JNI
Change-Id: I4a9026a3e26c7f78d9b4b4bec1aac90fbee2ab62
Nick Kralevich [Fri, 24 Sep 2010 20:10:42 +0000 (13:10 -0700)]
Merge "Use the default SecureRandom provider." into gingerbread
Nick Kralevich [Fri, 24 Sep 2010 18:48:37 +0000 (11:48 -0700)]
Use the default SecureRandom provider.
Don't be tricky when trying to set the seed for the secure
random number generator. Setting the seed manually eliminates
the internal randomization the SecureRandom class does automatically,
reducing randomness. Just use the default seed, which is designed
to be safe.
Change-Id: I5747c2b3a10cf04e33d2202195951ed5cb82b2fe
Patrick Scott [Fri, 24 Sep 2010 18:34:10 +0000 (11:34 -0700)]
Merge "Add new Alarm provider class for setting an alarm." into gingerbread
Kenny Root [Fri, 24 Sep 2010 18:33:35 +0000 (11:33 -0700)]
Merge "Revert "Revert "Free created FileMap when uncompressing files""" into gingerbread
Kenny Root [Fri, 24 Sep 2010 18:33:29 +0000 (11:33 -0700)]
Merge "Add locking around ZIP seeking" into gingerbread
Patrick Scott [Wed, 22 Sep 2010 12:16:53 +0000 (08:16 -0400)]
Add new Alarm provider class for setting an alarm.
The new class provides static variables for creating an intent to broadcast to
applications implementing the alarm clock. A new permission has been added and
applications are recommended to require this permission if accepting the set
alarm broadcast.
Change-Id: I7b1014acdc54371cbda19bcf9b5c395b647aa413
Andreas Huber [Fri, 24 Sep 2010 17:44:01 +0000 (10:44 -0700)]
Merge "Instead of just writing one track to the .mp4 file, write all of them (at most 1 video and 1 audio track). Also support httplive URIs in the stagefright commandline tool." into gingerbread
Robert Greenwalt [Fri, 24 Sep 2010 17:42:46 +0000 (10:42 -0700)]
Merge "Move long Connectivity tasks to handler thread." into gingerbread
Eric Fischer [Fri, 24 Sep 2010 17:37:04 +0000 (10:37 -0700)]
Merge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Fri, 24 Sep 2010 17:21:31 +0000 (10:21 -0700)]
Import revised translations. DO NOT MERGE
Change-Id: Iec41808d7f6514cffc67a91e1b243fa063f04089
Andreas Huber [Fri, 24 Sep 2010 16:35:49 +0000 (09:35 -0700)]
Instead of just writing one track to the .mp4 file, write all of them (at most 1 video and 1 audio track). Also support httplive URIs in the stagefright commandline tool.
Change-Id: I67b287cf76546191f398939aabe4480d9e79a948
Eric Laurent [Fri, 24 Sep 2010 16:43:24 +0000 (09:43 -0700)]
Merge "Fix issue
3007862" into gingerbread
Eric Laurent [Thu, 23 Sep 2010 23:10:16 +0000 (16:10 -0700)]
Fix issue
3007862
Removed a cross deadlock condition between audioflinger and audio policy
service mutexes.
Audioflinger::createEffect() locks audioflinger mutex and then calls
AudioSystem::getOutputForEffect() which ends up in
AudioPolicyService::getOutputForEffect() which locks audio policy service
mutex. If at the same time, the command thread in audio policy service is
processing a command(set volume, set route...), the mutex is locked and the
command will call one audioflinger method which in turn will attempt to
lock audioflinger mutex.
The fix consists in releasing audioflinger mutex before calling
getOutputForEffect().
Change-Id: Id44e7feb36e0a295731f6aa97cf32d022edd34d0
Kenny Root [Fri, 24 Sep 2010 16:11:28 +0000 (09:11 -0700)]
Revert "Revert "Free created FileMap when uncompressing files""
This revert reverts commit
a19ef306bd0a257c67b50f5e0e669e9fe52b0889.
Andreas Huber [Fri, 24 Sep 2010 15:17:20 +0000 (08:17 -0700)]
Merge "Proper sync-frame detection for sources that don't already provide it." into gingerbread
Kenny Root [Fri, 24 Sep 2010 14:57:37 +0000 (07:57 -0700)]
Add locking around ZIP seeking
Since we switched to seeking to the LFH to verify its existence instead
of a huge mmap of the file, we have to guarantee that another seek
doesn't happen before we finish our read on the LFH.
Change-Id: If8135d9cb6f2f5cc4db734eafa4f6b5f6269c62a
satok [Fri, 24 Sep 2010 08:33:23 +0000 (01:33 -0700)]
Merge "Use MOTOYA font for Japanese font" into gingerbread
Chia-chi Yeh [Thu, 23 Sep 2010 09:11:02 +0000 (17:11 +0800)]
SDP: remove dead code.
Change-Id: I2a5764a2b9cabc54b0ac18666e494c1cb39c4e9b
Hung-ying Tyan [Wed, 15 Sep 2010 20:11:32 +0000 (04:11 +0800)]
Refactoring SIP classes to get ready for API review.
+ replace SipAudioCall and its Listener interfaces with real implementations,
+ remove SipAudioCallImpl.java, most of it is has become part of SipAudioCall,
+ add SipSession and its Listener classes to wrap ISipSession and ISipSessionListener,
+ move SipSessionState to SipSession.State,
+ make SipManager keep context and remove the context argument from many methods of its,
+ rename SipManager.getInstance() to newInstance(),
+ rename constant names for action strings and extra keys to follow conventions,
+ set thread names for debugging purpose.
Change-Id: Ie1790dc0e8f49c06c7fc80d33fec0f673a9c3044
Mathias Agopian [Fri, 24 Sep 2010 01:14:44 +0000 (18:14 -0700)]
Merge "better fix for [
3028370] GL get error should return a valid error if no context is bound." into gingerbread
Steve Howard [Thu, 23 Sep 2010 23:47:49 +0000 (16:47 -0700)]
Support "seascape" rotation for "landscape-only" apps
Change-Id: Ibbbd850dc2bfb741b39c04c982fbdd98f3fa4a67
Joe Onorato [Thu, 23 Sep 2010 23:52:28 +0000 (16:52 -0700)]
Merge "Crash apps when they provide bad notifications instead of crashing the system process." into gingerbread
Joe Onorato [Thu, 23 Sep 2010 23:49:20 +0000 (16:49 -0700)]
Crash apps when they provide bad notifications instead of crashing the system process.
Bug:
2958415
Change-Id: I9cbef340fb20a64eca8493950b814399c26ce197
Mathias Agopian [Thu, 23 Sep 2010 23:38:38 +0000 (16:38 -0700)]
better fix for [
3028370] GL get error should return a valid error if no context is bound.
it turns out that we cannot return INVALID_OPERATION from glGetError() because the
GL spec says that it must be called in a loop until it returns GL_NO_ERROR.
now, we always return 0 from GL functions called from a thread with no
context bound. This means that glGetError() will return NO_ERROR in this case,
which is better than returning a random value (which could trap the app in a loop).
if this happens in the main thread of a process, we LOG an error message once.
Change-Id: Id59620e675a890286ef62a257c02b06e0fdcaf69
Robert Greenwalt [Thu, 23 Sep 2010 17:05:56 +0000 (10:05 -0700)]
Move long Connectivity tasks to handler thread.
Reduce ANR potential.
bug:
2942829
Change-Id: I21610b462d5ab91821015cd16eecd86d2c0580d1
Chung-yih Wang [Thu, 23 Sep 2010 23:36:18 +0000 (16:36 -0700)]
Merge "Handle OPTIONS requests from SIP servers." into gingerbread
Dianne Hackborn [Thu, 23 Sep 2010 05:34:31 +0000 (22:34 -0700)]
Fix issue #
3022508: Crash during media scan
Don't kill processes for excessive wake lock use, even if they
are in the background, as long as they have running services.
Also fix some problems with this, such as not noting the kill
in battery stats.
And add killing of processes for cpu usage as well, along with
some optimizations to computing CPU usage.
And fix BatteryWaster to be better behaving for testing these
cases.
Add new "monitor" command to am to watch as the activity manager
does stuff (so we can catch things at the point of ANR).
Finally some miscellaneous debug output for the stuff here, as
well as in progress debugging of an ANR.
Change-Id: Ib32f55ca50fb7486b4be4eb5e695f8f60c882cd1
Joe Onorato [Thu, 23 Sep 2010 22:09:18 +0000 (15:09 -0700)]
Make the logging a little more targeted for the status bar multiple icon problem.
Change-Id: I726eef29281dce2a1b900c28ad55bf82cb50449a
Andreas Huber [Thu, 23 Sep 2010 22:01:30 +0000 (15:01 -0700)]
Proper sync-frame detection for sources that don't already provide it.
Change-Id: Iafeee847b015c5cf6bec6dd5fac22a8d3e8cb78e
Dirk Dougherty [Thu, 23 Sep 2010 21:58:41 +0000 (14:58 -0700)]
Merge "Doc change: ADT 0.9.9 version notes, size/sum update." into gingerbread
Jeff Brown [Thu, 23 Sep 2010 21:51:52 +0000 (14:51 -0700)]
Merge "Enforce serial ordering of MotionEvents." into gingerbread
Kenny Root [Thu, 23 Sep 2010 21:27:00 +0000 (14:27 -0700)]
Merge "Better errors in PackageManagerTests" into gingerbread
Andreas Huber [Thu, 23 Sep 2010 21:16:48 +0000 (14:16 -0700)]
Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly." into gingerbread
Dianne Hackborn [Thu, 23 Sep 2010 21:15:45 +0000 (14:15 -0700)]
Merge "Fix a deadlock I ran into." into gingerbread
Andreas Huber [Thu, 23 Sep 2010 21:08:32 +0000 (14:08 -0700)]
Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly.
Change-Id: I1423923fafbcac6911218277e2bbfa068e49dcc6
Jeff Brown [Thu, 23 Sep 2010 20:51:48 +0000 (13:51 -0700)]
Enforce serial ordering of MotionEvents.
This change modifies ViewRoot to wait until the MotionEvent has been
delivered before telling the input dispatcher that it is finished.
The serial ordering guarantee will be required by new features that
may need to transfer touch focus from one window to another.
Change-Id: I0a64d1f0c8bc3f08846f213d6e28ce48b1d48e58
Eric Fischer [Thu, 23 Sep 2010 20:47:06 +0000 (13:47 -0700)]
Merge "Add an aapt option to allow string variations for different devices." into gingerbread
Mathias Agopian [Thu, 23 Sep 2010 18:32:52 +0000 (11:32 -0700)]
fix [
3028370] GL get error should return a valid error if no context is bound.
glGetError() will now always return GL_INVALID_OPERATION if called from a thread
with no GL context bound.
Change-Id: I28ba458871db051bb4f5a26668a1fa123526869c
Steve Howard [Thu, 23 Sep 2010 01:56:29 +0000 (18:56 -0700)]
Have DownloadManager pass file URIs for legacy external downloads
DownloadManager was set up to return file URIs for public API
downloads to external, but to return content URIs for all others.
This included browser downloads, which are on external but don't go
through the public API. Since the new downloads UI uses
DownloadManager, it was affected by this change when the user opened a
file from the UI. Apparently numerous things don't handle content
URIs well, including music preview (clicking on downloaded mp3) and
package installer (clicking on downloaded APK), so this change makes
it generate file URIs for legacy external downloads.
Change-Id: I5c34d8ba188cc8b0d11865262cb451208be78eae
Steve Howard [Wed, 22 Sep 2010 22:57:25 +0000 (15:57 -0700)]
Tweaks to download manager API based on API review feedback
* improved documentation of the default destination on the download
cache and the concomitant consequences
* removed NETWORK_WIMAX flag for setting allowed networks
* changed request headers behavior to support multiple instances of
the same header (as allowed in the HTTP spec), renamed
setRequestHeader() to addRequestHeader()
* accept user-facing strings as CharSequences instead of Strings
* new convenience methods setDestinationInExternalFilesDir() and
setDestinationInExternalPublicDir() for setting a destination in
either shared or app-private external storage directories
* renamed setMediaType() to setMimeType()
Change-Id: I8781e2214d939c340209cab917bbbba264ab919c
Dirk Dougherty [Thu, 23 Sep 2010 18:48:54 +0000 (11:48 -0700)]
Doc change: ADT 0.9.9 version notes, size/sum update.
Change-Id: I824da2911e782b0eec1e684a1982750ac308977b
Scott Main [Thu, 23 Sep 2010 18:41:48 +0000 (11:41 -0700)]
am
5b7328f2: Merge "docs: add more info about state list drawable and onclick attribute to Button bug:
1062898" into froyo
Merge commit '
5b7328f257a76ff6b7b60872d6a106002ff1f679' into gingerbread
* commit '
5b7328f257a76ff6b7b60872d6a106002ff1f679':
docs: add more info about state list drawable and onclick attribute to Button
Dirk Dougherty [Thu, 23 Sep 2010 18:37:33 +0000 (11:37 -0700)]
am
27de3a24: (-s ours) Doc change: ADT 0.9.9 version notes, size/sum update.
Merge commit '
27de3a240fcf6e5cdd1b228fa11ffcb4fdc73866' into gingerbread
* commit '
27de3a240fcf6e5cdd1b228fa11ffcb4fdc73866':
Doc change: ADT 0.9.9 version notes, size/sum update.
Scott Main [Thu, 23 Sep 2010 18:23:48 +0000 (11:23 -0700)]
Merge "docs: add more info about state list drawable and onclick attribute to Button bug:
1062898" into froyo
Kenny Root [Tue, 21 Sep 2010 23:30:56 +0000 (16:30 -0700)]
Better errors in PackageManagerTests
PackageManagerTests was catching assertion errors and just spitting out
a generic "Hey, there was an error!" message. This eliminates that and
adds some expected outcomes in the assertions.
Change-Id: I27baa3c57c85b0cae4ea76aaf1e2a9b61b2c32b7
Eric Laurent [Thu, 23 Sep 2010 18:07:06 +0000 (11:07 -0700)]
Merge "Fix issue
3022800." into gingerbread
Eric Laurent [Wed, 22 Sep 2010 01:18:20 +0000 (18:18 -0700)]
Fix issue
3022800.
- Created sub-package android.media.audiofx for audio effects.
- Hid AudioEffect class contructor, methods and variables not needed by
applications
- Added more javadoc comments for AudioEffect Class
Change-Id: Ibbb40d4e714bb248aa32cf82d7763d74efae96d1
Amith Yamasani [Thu, 23 Sep 2010 18:03:49 +0000 (11:03 -0700)]
Merge "Fix for IndexOutOfBounds in setComposingRegion." into gingerbread
Eric Fischer [Wed, 15 Sep 2010 22:59:21 +0000 (15:59 -0700)]
Add an aapt option to allow string variations for different devices.
The --product option to aapt is a comma-separated list of characteristics
of the device being built for. For example, --product nosdcard,grayscale
for a device with no SD card and a grayscale screen.
Strings can specify a product="characteristic" option to cause that version
of the string to be used only for that type of device. All such strings
should also specify, at the end of the block, product="default", which
will be used if none of the variations match. For example:
<string name="choose" product="bw">Choose black or white</string>
<string name="choose" product="grayscale">Choose a shade of gray</string>
<string name="choose" product="default">Choose a color</string>
The default characteristic will also be used when no --product option
is specified.
Change-Id: Ie6c1505599e02e15b7818e8be6ec47bc6ce71aaa
Joe Onorato [Thu, 23 Sep 2010 16:50:04 +0000 (09:50 -0700)]
Don't crash if we've never gotten a signal strength update.
It looks like this timing bug has been there forever, and we're just starting to hit it now.
Bug:
3027952
Change-Id: I5c14ccd7f74205dc6930f4282cec0e23eeb54cab
Dirk Dougherty [Thu, 23 Sep 2010 16:41:57 +0000 (09:41 -0700)]
Doc change: ADT 0.9.9 version notes, size/sum update.
Change-Id: I08ebfa95b0735964a888a89931a1f4c3bdf1862c
James Dong [Thu, 23 Sep 2010 00:37:42 +0000 (17:37 -0700)]
Ignore errors from correction parameter query and config for M4v and H263 encoders
This feature is not essential for camcorder application
Change-Id: Id560632207dcf24fe361280ebe8178ea7332f22d
James Dong [Thu, 23 Sep 2010 17:11:04 +0000 (10:11 -0700)]
Merge "Use the advertised profile and level from M4V and H263 video encoders" into gingerbread
Chung-yih Wang [Thu, 23 Sep 2010 15:27:00 +0000 (23:27 +0800)]
Handle OPTIONS requests from SIP servers.
Change-Id: I849d5ea4c4c56a06d25ccdc6b959274c59c47200
Robert Greenwalt [Thu, 23 Sep 2010 15:41:21 +0000 (08:41 -0700)]
Merge "Cleanup Netd to prevent getting hung." into gingerbread
repo sync [Thu, 23 Sep 2010 06:52:24 +0000 (14:52 +0800)]
Fix the build.
Change-Id: I82210cb2d41f532583f83ea17e6f2d8d49280a30
repo sync [Thu, 23 Sep 2010 06:14:15 +0000 (23:14 -0700)]
Merge changes I7efff4f2,I1631ee20,I14d9886a,Ic2858920,Iff588130,I37ba9d83 into gingerbread
* changes:
SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.
SDP: Add a simple class to help manipulate session descriptions.
RTP: Add log throttle for "no data".
RTP: Update native part to reflect the API change.
RTP: Add two getters to retrieve the current configuration from AudioStream.
RTP: Extend codec capability and update the APIs.
repo sync [Wed, 22 Sep 2010 23:12:30 +0000 (07:12 +0800)]
SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.
Change-Id: I7efff4f29ca84c3e7c17ef066b7186b514a777b2
Wei-Ta Chen [Tue, 7 Sep 2010 09:32:18 +0000 (17:32 +0800)]
Unhide BitmapRegionDecoder.
1. Rename LargeBitmap to BitmapRegionDecoder
2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory.
3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build.
4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions.
Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 .
However, that change broke the master build due to (3) and was reverted eventually.
So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one.
Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
Dianne Hackborn [Thu, 23 Sep 2010 05:46:21 +0000 (22:46 -0700)]
Fix a deadlock I ran into.
Activity manager was calling into the backup service (and other
things) with its lock held.
Change-Id: Id55093e09cc5fe81b73b85968184816d956e0ae8
Chia-chi Yeh [Mon, 20 Sep 2010 08:34:18 +0000 (16:34 +0800)]
SDP: Add a simple class to help manipulate session descriptions.
Change-Id: I1631ee20e8b4a9ad8e2184356b5d13de66e03db1
Adam Powell [Thu, 23 Sep 2010 04:08:10 +0000 (21:08 -0700)]
Merge "DO NOT MERGE Apply new styles to the status bar/notification shade" into gingerbread
Adam Powell [Thu, 23 Sep 2010 03:17:34 +0000 (20:17 -0700)]
DO NOT MERGE Apply new styles to the status bar/notification shade
Change-Id: I5e89891852ff96f113083ac87bcfd74732c43faa
Scott Main [Thu, 23 Sep 2010 01:55:31 +0000 (18:55 -0700)]
docs: add more info about state list drawable and onclick attribute to Button
bug:
1062898
Change-Id: I633c38fc20a2ebf894237f86648cc0fdc9488b1a
Brad Fitzpatrick [Thu, 23 Sep 2010 00:49:16 +0000 (17:49 -0700)]
Don't do single byte writes in DropBoxManagerService
Bug:
3018772
Change-Id: I6990041f059aeb2a4c29e59b1a3d78d19bf9b02f
James Dong [Thu, 23 Sep 2010 00:42:09 +0000 (17:42 -0700)]
Use the advertised profile and level from M4V and H263 video encoders
This is already the case for AVC video encoder
Change-Id: I9cc97a03ab457b4bd0b21832c09f6d0aa7f5fc39
Amith Yamasani [Wed, 22 Sep 2010 23:58:13 +0000 (16:58 -0700)]
Fix for IndexOutOfBounds in setComposingRegion.
Bug:
3000457
Check upper and lower bounds of the composing region and clip them.
Change-Id: I8128a2b581ce3d8a9ff6c71cc648c3e87163b3f5
Joe Onorato [Wed, 22 Sep 2010 23:54:36 +0000 (16:54 -0700)]
Add javadoc saying that wake locks are ref counted by default.
Bug:
3012561
Change-Id: I441a42fdb12ba6d87d6f5a49463d6ddcc300acb7
Robert Greenwalt [Wed, 22 Sep 2010 21:32:35 +0000 (14:32 -0700)]
Cleanup Netd to prevent getting hung.
If the sending of the command fails we should note it and not wait forever
for the response.
We should also not say we're ready until we actually are.
bug:
2993205
Change-Id: I380f0312ac4693ad184a526b330fdfa23f6ac558
Amith Yamasani [Wed, 22 Sep 2010 23:29:49 +0000 (16:29 -0700)]
Merge "Fix NPE in PowerManagerService on boot, if some settings are corrupted." into gingerbread
Amith Yamasani [Wed, 22 Sep 2010 23:11:59 +0000 (16:11 -0700)]
Fix NPE in PowerManagerService on boot, if some settings are corrupted.
Bug:
2715038
Change-Id: I10c08b359ff3cde732c37eb6dff0877cdb021cd9
Eric Laurent [Wed, 22 Sep 2010 23:00:59 +0000 (16:00 -0700)]
Merge "Request permission for global audio effects." into gingerbread
Eric Laurent [Wed, 22 Sep 2010 21:17:38 +0000 (14:17 -0700)]
Request permission for global audio effects.
Applications creating an audio effect on the output mix must
have the MODIFY_AUDIO_SETTINGS permission.
Change-Id: I57d88533f91ad0d33680107d79abcec28f7263b5
Steve Howard [Wed, 22 Sep 2010 22:57:12 +0000 (15:57 -0700)]
Merge "Decrease sensitivity of orientation changes a bit." into gingerbread
Eric Laurent [Wed, 22 Sep 2010 22:53:49 +0000 (15:53 -0700)]
Merge "Fix more audio effects auto tests" into gingerbread
Andreas Huber [Wed, 22 Sep 2010 22:34:00 +0000 (15:34 -0700)]
Merge "Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs." into gingerbread
Andreas Huber [Wed, 22 Sep 2010 17:12:14 +0000 (10:12 -0700)]
Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs.
Change-Id: I73974a336852974e2fb95a9626c1a96f296449eb
Brad Fitzpatrick [Wed, 22 Sep 2010 22:25:26 +0000 (15:25 -0700)]
Merge "Flesh out StrictMode docs." into gingerbread
Brad Fitzpatrick [Wed, 22 Sep 2010 20:53:57 +0000 (13:53 -0700)]
Flesh out StrictMode docs.
Bug:
3001474
Change-Id: If64209a312d45f7d96d8317d1e63e6c773a01441
repo sync [Wed, 22 Sep 2010 21:46:01 +0000 (05:46 +0800)]
RTP: Add log throttle for "no data".
Change-Id: I14d9886a40fa780514cbc6c5bac6fb2a670f55f4
Mathias Agopian [Wed, 22 Sep 2010 21:15:23 +0000 (14:15 -0700)]
Merge "fix small bug in EGL error management" into gingerbread
Eric Laurent [Wed, 22 Sep 2010 20:49:52 +0000 (13:49 -0700)]
Fix more audio effects auto tests
commit
672c0dc3a04cb149691603342c319994e21235cb broke the energy probe
used by auto tests to verify that an effect is actually enabled.
The probe is based on the Visualizer which now scales the capture to maximise
the signal level: this prevents from detecting level changes between subsequent captures.
Playing sound at a lower volume moves the signal level out of the range where
scalling occurs and makes comparison possible again.
Change-Id: Ib56dec6e619c6d778dcc3ca6453091bf6136f290
Chia-chi Yeh [Thu, 16 Sep 2010 10:36:45 +0000 (18:36 +0800)]
RTP: Update native part to reflect the API change.
Change-Id: Ic2858920ad77d7312f2429f89ca509a481363431
Chia-chi Yeh [Tue, 21 Sep 2010 07:27:28 +0000 (15:27 +0800)]
RTP: Add two getters to retrieve the current configuration from AudioStream.
Change-Id: Iff588130653242f6ddd6a6b663df775ecb276768
Chia-chi Yeh [Thu, 16 Sep 2010 01:56:38 +0000 (09:56 +0800)]
RTP: Extend codec capability and update the APIs.
Change-Id: I37ba9d83c2de3c5dae2bfc1b7513df7f6fee3c5c
Andreas Huber [Wed, 22 Sep 2010 19:20:54 +0000 (12:20 -0700)]
Merge "Make sure we drain the avc software decoder's output queue once we run out of input data." into gingerbread
Vasu Nori [Wed, 22 Sep 2010 19:10:37 +0000 (12:10 -0700)]
Merge "DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963" into gingerbread
Vasu Nori [Wed, 22 Sep 2010 18:52:53 +0000 (11:52 -0700)]
DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963
the prev checkin somehow screwed up master..redoing it
Change-Id: Ib9e3652d1569ab26fb62ff08c1efeaee7f2de563
Andreas Huber [Wed, 22 Sep 2010 18:47:00 +0000 (11:47 -0700)]
Make sure we drain the avc software decoder's output queue once we run out of input data.
Change-Id: I3d92ebae4951b618a6dfcf42936cc4c63d4de539
Jesse Wilson [Wed, 22 Sep 2010 18:38:43 +0000 (11:38 -0700)]
Merge "Fix problem where Base64InputStream single-byte reads were unsigned." into gingerbread
Jesse Wilson [Wed, 22 Sep 2010 17:28:27 +0000 (10:28 -0700)]
Fix problem where Base64InputStream single-byte reads were unsigned.
Change-Id: Ibdfb77a283300baa61738fe98aa1c9f29eaf976f
http://b/
3026478
Mike Lockwood [Wed, 22 Sep 2010 16:54:53 +0000 (09:54 -0700)]
Merge "GpsLocationProvider: Fix race condition while bringing up APN for SUPL." into gingerbread
Hung-ying Tyan [Wed, 22 Sep 2010 16:35:35 +0000 (09:35 -0700)]
Merge "SipService: fix thread/socket leak" into gingerbread
Eric Laurent [Wed, 22 Sep 2010 16:34:00 +0000 (09:34 -0700)]
Merge "Fix broken insert reverb auto tests." into gingerbread
Mike Lockwood [Wed, 22 Sep 2010 16:13:39 +0000 (12:13 -0400)]
GpsLocationProvider: Fix race condition while bringing up APN for SUPL.
If handleUpdateNetworkState() is called before
ConnectivityManager.startUsingNetworkFeature() returns, then we will not
call native_agps_data_conn_open() to inform the GPS that the APN is up.
So we now set mAGpsDataConnectionState to AGPS_DATA_CONNECTION_OPENING
before calling ConnectivityManager.startUsingNetworkFeature() to avoid
this problem.
Change-Id: I5e1597d6494dc8ab68e608911c546a7a04f2ea07
Signed-off-by: Mike Lockwood <lockwood@android.com>
Hung-ying Tyan [Wed, 22 Sep 2010 15:51:57 +0000 (23:51 +0800)]
SipService: fix thread/socket leak
Should call SipSessionGroup.close() instead of closeNotToReceiveCalls() to stop
the SIP stack (which will stop the MessageProcessor thread and close its socket).
Might be related to ANR's reported by:
http://b/issue?id=
3021924
http://b/issue?id=
3021927
Change-Id: I4ead1d81fc9abac983f5753b825d20bc1cc79866
Eric Laurent [Wed, 22 Sep 2010 15:59:27 +0000 (08:59 -0700)]
Fix broken insert reverb auto tests.
commit
27a2fdfb8ad1606bdb686c35e30ae894dd037588 changed the
insert reverb behavior when it is attached to a track in that
the reverb tail is silenced immediately when the track is paused.
The tests have been modified to test the insert reverb on session 0.
Change-Id: I90c6fec40167966853acfeaa4dec2b96f9e7839f