Commit Graph

4160 Commits

Author SHA1 Message Date
Android (Google) Code Review
4460e66487 Merge change 24288 into eclair
* changes:
  Do not cache POST response as Cache is indexed with url.
2009-09-09 11:55:03 -04:00
Andy McFadden
e0a963b72e Fix sim-eng build.
Appears to have been broken by:

commit 9779b221e999583ff89e0dfc40e56398737adbb3
Author: Mathias Agopian <mathias@google.com>
Date:   Mon Sep 7 16:32:45 2009 -0700

    fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly

For some reason we don't like to have "-lpthread" globally -- it's a no-op
on device builds, but required for many host tools and all sim binaries --
so adding the use of pthread calls requires adding the library explicitly.
2009-09-09 08:02:54 -07:00
Android (Google) Code Review
1f5105cf53 Merge change 24335 into eclair
* changes:
  use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for
2009-09-09 03:29:19 -07:00
Android (Google) Code Review
42c3c9a8d1 Merge change 24334 into eclair
* changes:
  fix [2037525] Fail to start camera after adb sync new Camera
2009-09-09 03:29:08 -07:00
Android (Google) Code Review
0ee8522ffa Merge change 24333 into eclair
* changes:
  rename Mutexes to make the code easier to follow
2009-09-09 03:28:47 -07:00
Mathias Agopian
4de4ebf6a2 use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for
we could have several thread waiting on the condition and they all need to wake-up.
also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this
is useful when debugging under gdb for instance.
2009-09-09 02:45:26 -07:00
Mathias Agopian
454ea68139 fix [2037525] Fail to start camera after adb sync new Camera
we ended-up locking a Mutex that had been destroyed.
This happened because we gave an sp<Source> to the outside world,
and were called after LayerBuffer had been destroyed.

Instead we now give a wp<LayerBuffer> to the outside and have it
do the destruction.
2009-09-09 00:50:29 -07:00
Android (Google) Code Review
4982510436 Merge change 24117 into eclair
* changes:
  Replace the delimiter whitespace with '\0'.
2009-09-09 00:40:17 -07:00
Chung-yih Wang
2a58b6dbf0 Replace the delimiter whitespace with '\0'.
+ Use '\0' as the delimiter.
+ Allow whitespace character for keystore password.

In previous implementation, we use space as the delimiter. That
will stop user from using passphrase with whitespace character.
2009-09-09 15:00:43 +08:00
Android (Google) Code Review
8e375c4097 Merge change 24114 into eclair
* changes:
  Fix issue 1992233: DTMF tones on Sholes is really long.
2009-09-08 23:04:38 -07:00
Eric Laurent
3522c80819 Fix issue 1992233: DTMF tones on Sholes is really long.
Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged.
Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
2009-09-08 22:56:07 -07:00
Android (Google) Code Review
38fdabf1b6 Merge change 24318 into eclair
* changes:
  Avoid CDMA messages with IDs of zero.
2009-09-08 22:55:49 -07:00
Mathias Agopian
4d2de2c769 rename Mutexes to make the code easier to follow 2009-09-08 22:48:24 -07:00
Android (Google) Code Review
e40e550700 Merge change 24316 into eclair
* changes:
  Fix typo: IMMEDITATE -> IMMEDIATE
2009-09-08 21:00:29 -07:00
Android (Google) Code Review
975d79ec05 Merge change 23414 into eclair
* changes:
  Fix broken GSM SMS unit test, and general cleanup.
2009-09-08 19:41:13 -07:00
Android (Google) Code Review
ac6dda883e Merge change 24012 into eclair
* changes:
  add a transaction monitor
2009-09-08 17:26:25 -07:00
Android (Google) Code Review
d55f91d45a Merge change 24220 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-08 16:58:33 -07:00
Android (Google) Code Review
0f8fb9be9c Merge change 23924 into eclair
* changes:
  	new file:   LowStorageTest/Android.mk 	new file:   LowStorageTest/AndroidManifest.xml 	new file:   LowStorageTest/res/layout/main.xml 	new file:   LowStorageTest/res/values/strings.xml 	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java Add the test app which can eat up 100% of the data parition. This is for the low storage test.
2009-09-08 16:30:42 -07:00
Android (Google) Code Review
741d117d1b Merge change 24194 into eclair
* changes:
  Make the hardkeyboard long press dialog look the same as that of soft keyboard.
2009-09-08 15:33:50 -07:00
Android (Google) Code Review
e116c043c8 Merge changes 24119,24120 into eclair
* changes:
  delete old and unused source files
  fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
2009-09-08 14:36:06 -07:00
Android (Google) Code Review
73c43911e7 Merge change 24155 into eclair
* changes:
  Add javadoc to explain which permissions are required for Public BT API's.
2009-09-08 13:37:10 -07:00
Android (Google) Code Review
573f161d82 Merge change 24183 into eclair
* changes:
  Fix b/2105945 - Windowshade not closed when device locked.
2009-09-08 13:30:19 -07:00
Android (Google) Code Review
11cb2d307b Merge change 24086 into eclair
* changes:
  Fixing asymmetry between phone filter and email filter APIs.
2009-09-08 13:21:39 -07:00
Android (Google) Code Review
88addc00cd Merge change 24178 into eclair
* changes:
  The qcom decoder requires that the output buffers be allocated by the component for hardware accelerated display to work.
2009-09-08 13:07:45 -07:00
Android (Google) Code Review
71da9f8f1a Merge change 24153 into eclair
* changes:
  adding support for webkit plugins to use the java view system
2009-09-08 12:53:17 -07:00
Android (Google) Code Review
51e458273f Merge change 24094 into eclair
* changes:
  Add basic metadata retrieval support for midi, ogg, etc. Bug 2050320
2009-09-08 12:39:56 -07:00
Android (Google) Code Review
61989f7fce Merge change 24161 into eclair
* changes:
  don't fling if there's nowhere to go
2009-09-08 11:29:28 -07:00
Android (Google) Code Review
2fbea26f09 Merge change 23485 into eclair
* changes:
  Adding classes to enable plugins to use the java view system.
2009-09-08 05:48:06 -07:00
Android (Google) Code Review
f436e455fd Merge change 24097 into eclair
* changes:
  Fix small bugs in VCardComposer.java.
2009-09-08 01:23:05 -07:00
Android (Google) Code Review
16878ab4d1 Merge change 24101 into eclair
* changes:
  Fix CDMA BCD unit test.
2009-09-07 21:02:29 -07:00
Android (Google) Code Review
0bd393aece Merge change 23413 into eclair
* changes:
  Rename SMSTest to GsmSmsTest.
2009-09-07 20:55:08 -07:00
Mathias Agopian
8837e2f2e6 delete old and unused source files 2009-09-07 16:33:36 -07:00
Mathias Agopian
cbb288bfe8 fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
Rewrote SurfaceFlinger's buffer management from the ground-up.
The design now support an arbitrary number of buffers per surface, however the current implementation is limited to four. Currently only 2 buffers are used in practice.

The main new feature is to be able to dequeue all buffers at once (very important when there are only two). 

A client can dequeue all buffers until there are none available, it can lock all buffers except the last one that is used for composition. The client will block then, until a new buffer is enqueued.

The current implementation requires that buffers are locked in the same order they are dequeued and enqueued in the same order they are locked. Only one buffer can be locked at a time.

eg. Allowed sequence:   DQ, DQ, LOCK, Q, LOCK, Q
eg. Forbidden sequence: DQ, DQ, LOCK, LOCK, Q, Q
2009-09-07 16:32:45 -07:00
Android (Google) Code Review
9a20eb44a2 Merge change 24099 into eclair
* changes:
  Fix issue #2095422: Some fades from opaque to transparent don't work
2009-09-07 10:16:20 -07:00
Android (Google) Code Review
ac21771848 Merge change 24098 into eclair
* changes:
  Fix bug where we wouldn't release remote provider references.
2009-09-07 10:14:44 -07:00
Android (Google) Code Review
5c22caf7a8 Merge change 23415 into eclair
* changes:
  Open some methods on PrefereneManager to allow others use the inflater.
2009-09-07 03:25:56 -07:00
Android (Google) Code Review
20ef5001d7 Merge change 24060 into eclair
* changes:
  Integrated the profiler into the framework. We run it all the time if the persist.sampling_profiler system property is set. Saves snapshots to the SD card.
2009-09-06 16:41:35 -07:00
Android (Google) Code Review
f0780974fc Merge change 24014 into eclair
* changes:
  Gservices settings for controlling URL scraping in GTalk app.
2009-09-04 22:50:49 -07:00
Mathias Agopian
0852e67412 attempt to fix [2099362] Possible SurfaceFlinger crash 2009-09-04 19:50:23 -07:00
Android (Google) Code Review
89b9bd4655 Merge change 24039 into eclair
* changes:
  Fixing a concurrency problem by changing the contact aggregation exception API.
2009-09-04 18:30:46 -07:00
Android (Google) Code Review
bb7785e8b9 Merge change 24058 into eclair
* changes:
  Minor perf improvement to fall and expand use of struct.
2009-09-04 18:21:30 -07:00
Android (Google) Code Review
2e7dc1229a Merge change 24057 into eclair
* changes:
  checkpoint
2009-09-04 18:21:18 -07:00
Android (Google) Code Review
1ca4292a2d Merge change 24048 into eclair
* changes:
  fix [2098939] Smooth gradients show banding on Sholes
2009-09-04 18:17:15 -07:00
Mathias Agopian
888eee68db fix [2098939] Smooth gradients show banding on Sholes 2009-09-04 17:27:16 -07:00
Dirk Dougherty
556d47426c am dac0d75a: Doc change only: Add sizes/checksums for SDK packages.
Merge commit 'dac0d75ad7fbd10981477b1fcc35c955185a41fd' into eclair

* commit 'dac0d75ad7fbd10981477b1fcc35c955185a41fd':
  Doc change only: Add sizes/checksums for SDK packages.
2009-09-04 16:45:52 -07:00
Android (Google) Code Review
348a950aa2 Merge change 24029 into eclair
* changes:
  Fix mncLength in cases with a malformed AD_DONE msg from SIM
2009-09-04 15:58:02 -07:00
Android (Google) Code Review
87c1b80a5a Merge change 24020 into eclair
* changes:
  Wallpapers: new transitions, hiding when not visible, other cleanup.
2009-09-04 15:40:30 -07:00
Android (Google) Code Review
d785d0b6df Merge change 24024 into eclair
* changes:
  Remove "predefined" elements from Java layer.  Static elements continue to exist but are no longer treated as a special version of element.
2009-09-04 15:39:46 -07:00
Android (Google) Code Review
04b7fdcb68 Merge change 24002 into eclair
* changes:
  Fix SparseArray accesses
2009-09-04 15:16:25 -07:00
Android (Google) Code Review
5cc24712cb Merge change 24008 into eclair
* changes:
  Clean up from earlier changes to place title bar at top of WebView
2009-09-04 14:38:20 -07:00