OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Remove voice mail number verification for testing on no-sim device" into ginge...
Xia Wang [Thu, 8 Jul 2010 02:04:03 +0000 (19:04 -0700)]
Merge "Remove voice mail number verification for testing on no-sim device" into gingerbread

14 years agoRemove voice mail number verification for testing on no-sim device
Xia Wang [Thu, 8 Jul 2010 00:34:20 +0000 (17:34 -0700)]
Remove voice mail number verification for testing on no-sim device

Change-Id: Iaf9e419b8d03e330864d64c05aee730d33994003

14 years agoam 5183ae3b: Merge "docs: add caution about adt in eclipse 3.6" into froyo
Scott Main [Thu, 8 Jul 2010 01:43:10 +0000 (18:43 -0700)]
am 5183ae3b: Merge "docs: add caution about adt in eclipse 3.6" into froyo

Merge commit '5183ae3b0f27dfff5ecdceabaa4950eef38b31e8' into gingerbread

* commit '5183ae3b0f27dfff5ecdceabaa4950eef38b31e8':
  docs: add caution about adt in eclipse 3.6

14 years agoMerge "docs: add caution about adt in eclipse 3.6" into froyo
Scott Main [Thu, 8 Jul 2010 01:37:48 +0000 (18:37 -0700)]
Merge "docs: add caution about adt in eclipse 3.6" into froyo

14 years agoMerge "OBB API for PackageManager" into gingerbread
Kenny Root [Thu, 8 Jul 2010 01:14:25 +0000 (18:14 -0700)]
Merge "OBB API for PackageManager" into gingerbread

14 years agoMerge "Add OBB file helper class" into gingerbread
Kenny Root [Thu, 8 Jul 2010 01:14:13 +0000 (18:14 -0700)]
Merge "Add OBB file helper class" into gingerbread

14 years agoMerge "More native input dispatch work." into gingerbread
Chris Tate [Thu, 8 Jul 2010 00:43:12 +0000 (17:43 -0700)]
Merge "More native input dispatch work." into gingerbread

14 years agoAdded some javadoc to Camera.takePicture()
Dan Tasse [Wed, 7 Jul 2010 20:17:17 +0000 (13:17 -0700)]
Added some javadoc to Camera.takePicture()

Change-Id: I62597a1417647eeac7611eaccd0df3bda210e3e7

14 years agodocs: add caution about adt in eclipse 3.6
Scott Main [Wed, 7 Jul 2010 23:47:16 +0000 (16:47 -0700)]
docs: add caution about adt in eclipse 3.6

Change-Id: I37c920f6a5290d891c4a6dea5978147a50eec807

14 years agoMerge "Added Visualizer effect." into gingerbread
Eric Laurent [Wed, 7 Jul 2010 23:23:30 +0000 (16:23 -0700)]
Merge "Added Visualizer effect." into gingerbread

14 years agoam 2651504c: (-s ours) Merge "Doc change: Add revision notes for Android 2.2_r2 devel...
Dirk Dougherty [Wed, 7 Jul 2010 22:06:35 +0000 (15:06 -0700)]
am 2651504c: (-s ours) Merge "Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc." into froyo

Merge commit '2651504c020f07847bafa3d539c36f1396629669' into gingerbread

* commit '2651504c020f07847bafa3d539c36f1396629669':
  Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.

14 years agoMerge "Allow application to set two more encoding paramters: video profile and level...
James Dong [Wed, 7 Jul 2010 21:56:33 +0000 (14:56 -0700)]
Merge "Allow application to set two more encoding paramters: video profile and level" into gingerbread

14 years agoMerge "Fix some bugs in the MediaProfileReader Because the video and audio encoders...
James Dong [Wed, 7 Jul 2010 21:56:20 +0000 (14:56 -0700)]
Merge "Fix some bugs in the MediaProfileReader Because the video and audio encoders were stored in the same map, when we retrieve the name from the map, we can get a incorrect name." into gingerbread

14 years agoFix some bugs in the MediaProfileReader
James Dong [Wed, 7 Jul 2010 21:37:48 +0000 (14:37 -0700)]
Fix some bugs in the MediaProfileReader
Because the video and audio encoders were stored in the same map, when we retrieve the name from the map, we can get a incorrect name.

Change-Id: I3857422bfe9173baae53e4f3d258b055f51ad9f2

14 years agoMerge "Doc change: Add revision notes for Android 2.2_r2 development platform. Fix...
Dirk Dougherty [Wed, 7 Jul 2010 21:29:29 +0000 (14:29 -0700)]
Merge "Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc." into froyo

14 years agoMerge "Only send the playback complete notification if a) an error occurred on any...
Andreas Huber [Wed, 7 Jul 2010 21:20:15 +0000 (14:20 -0700)]
Merge "Only send the playback complete notification if a) an error occurred on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing." into gingerbread

14 years agoOnly send the playback complete notification if a) an error occurred on any track...
Andreas Huber [Wed, 7 Jul 2010 20:35:27 +0000 (13:35 -0700)]
Only send the playback complete notification if a) an error occurred on any track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing.

Change-Id: Icac8104d14f18b719aa0b8f1ab3215f24003b152

14 years agoMerge "More improvements to the SensorManager documentation" into gingerbread
Mathias Agopian [Wed, 7 Jul 2010 20:06:57 +0000 (13:06 -0700)]
Merge "More improvements to the SensorManager documentation" into gingerbread

14 years agoAllow application to set two more encoding paramters: video profile and level
James Dong [Thu, 1 Jul 2010 22:02:14 +0000 (15:02 -0700)]
Allow application to set two more encoding paramters: video profile and level

Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5

14 years agoFix icon size in intruder alerts.
Daniel Sandler [Wed, 30 Jun 2010 20:25:33 +0000 (16:25 -0400)]
Fix icon size in intruder alerts.

(Updated test app to confirm the fix.)

Change-Id: Ife56cf07f282786162e2ebc5aaddbb24dac6cafd

14 years agoAdded Visualizer effect.
Eric Laurent [Fri, 2 Jul 2010 15:12:41 +0000 (08:12 -0700)]
Added Visualizer effect.

The visualizer enables application to retrieve part of the currently playing audio for visualization purpose.
It is not an audio recording interface and only returns partial and low quality audio content as a waveform or
a frequency representation (FFT).

Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method.

This commit also includes a change in AudioEffect class:
 - the enable()/disable() methods have been replaced bya more standard setEnabled() method.
 - some fixes in javadoc

Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e

14 years agoOBB API for PackageManager
Kenny Root [Fri, 18 Jun 2010 22:46:06 +0000 (15:46 -0700)]
OBB API for PackageManager

Simple API for tracking .obb files associated with packages. Stores the
path in the PackageSettings. No verification of file content is done
now since the PackageManagerService can't read the SD card where these
files will likely live.

Change-Id: Ibeaf26ba0526b6d60f401137e58f46ee9faff39e

14 years agoAdd OBB file helper class
Kenny Root [Tue, 1 Jun 2010 17:34:29 +0000 (10:34 -0700)]
Add OBB file helper class

ObbFile is a binary blob that will be used in packaging large files
with smaller APKs.

Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63

14 years agoMerge "ALooperRoster no longer holds strong references to handlers and loopers."...
Andreas Huber [Wed, 7 Jul 2010 16:41:05 +0000 (09:41 -0700)]
Merge "ALooperRoster no longer holds strong references to handlers and loopers." into gingerbread

14 years agoALooperRoster no longer holds strong references to handlers and loopers.
Andreas Huber [Wed, 7 Jul 2010 16:17:41 +0000 (09:17 -0700)]
ALooperRoster no longer holds strong references to handlers and loopers.

Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802

14 years agoMake sure the OMX callback thread is properly shutdown after the node goes away.
Andreas Huber [Wed, 7 Jul 2010 15:20:49 +0000 (08:20 -0700)]
Make sure the OMX callback thread is properly shutdown after the node goes away.

Change-Id: Ib0b25855b0dfc191e5529193b4cb519f644a8412

14 years agoMerge "An AHandler can now find its associated ALooper." into gingerbread
Andreas Huber [Wed, 7 Jul 2010 13:57:27 +0000 (06:57 -0700)]
Merge "An AHandler can now find its associated ALooper." into gingerbread

14 years agoMore native input dispatch work.
Jeff Brown [Fri, 2 Jul 2010 22:37:36 +0000 (15:37 -0700)]
More native input dispatch work.

Removed old input dispatch code.
Refactored the policy callbacks.
Pushed a tiny bit of the power manager state down to native.
Fixed long press on MENU.
Made the virtual key detection and cancelation a bit more precise.

Change-Id: I5d8c1062f7ea0ab3b54c6fadb058c4d5f5a9e02e

14 years agoAdd new native Looper API.
Dianne Hackborn [Sat, 3 Jul 2010 01:52:01 +0000 (18:52 -0700)]
Add new native Looper API.

This allows us to avoid exposing the file descriptor of
the event queue; instead, you attach an event queue to
a looper.  This will also should allow native apps to be
written without the need for a separate thread, by attaching
the event queue to the main thread's looper and scheduling
their own messages there.

Change-Id: I38489282635895ae2cbfacb88599c1b1cad9b239

14 years agoMore improvements to the SensorManager documentation
Mathias Agopian [Wed, 23 Jun 2010 04:55:01 +0000 (21:55 -0700)]
More improvements to the SensorManager documentation

Change-Id: I8ab79e8787402f0db572226029820b3cf605086f

14 years agoAn AHandler can now find its associated ALooper.
Andreas Huber [Fri, 2 Jul 2010 22:15:44 +0000 (15:15 -0700)]
An AHandler can now find its associated ALooper.

Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad

14 years agoDoc change: Add revision notes for Android 2.2_r2 development platform. Fix some...
Dirk Dougherty [Wed, 23 Jun 2010 22:38:39 +0000 (15:38 -0700)]
Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.

Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e

14 years agoMerge "Fix a bug that prevented the creation of EGL shared contexts." into gingerbread
Mathias Agopian [Fri, 2 Jul 2010 19:32:33 +0000 (12:32 -0700)]
Merge "Fix a bug that prevented the creation of EGL shared contexts." into gingerbread

14 years agoam 1c8b6ca4: docs: fix misc broken links
Scott Main [Fri, 2 Jul 2010 19:12:56 +0000 (12:12 -0700)]
am 1c8b6ca4: docs: fix misc broken links

Merge commit '1c8b6ca4d7dd7c8263d5224de6e814681a14afa5' into gingerbread

* commit '1c8b6ca4d7dd7c8263d5224de6e814681a14afa5':
  docs: fix misc broken links

14 years agoFix a bug that prevented the creation of EGL shared contexts.
Jamie Gennis [Fri, 2 Jul 2010 18:39:12 +0000 (11:39 -0700)]
Fix a bug that prevented the creation of EGL shared contexts.

Change-Id: I6b0ec5ef86abdd4e9083067ba297107cfb094df3

14 years agodocs: fix misc broken links
Scott Main [Fri, 2 Jul 2010 18:11:34 +0000 (11:11 -0700)]
docs: fix misc broken links

Change-Id: I7294276aff0c80498215870d5d72f7a3a9b2c99a

14 years agoMerge "Add an option to ALooper::start that allows it to call back into java or not...
Andreas Huber [Fri, 2 Jul 2010 17:02:17 +0000 (10:02 -0700)]
Merge "Add an option to ALooper::start that allows it to call back into java or not." into gingerbread

14 years agoAdd an option to ALooper::start that allows it to call back into java or not.
Andreas Huber [Fri, 2 Jul 2010 15:00:52 +0000 (08:00 -0700)]
Add an option to ALooper::start that allows it to call back into java or not.

Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26

14 years agoMerge "Added AMessage::debugString() for debugging purposes." into gingerbread
Andreas Huber [Fri, 2 Jul 2010 15:00:30 +0000 (08:00 -0700)]
Merge "Added AMessage::debugString() for debugging purposes." into gingerbread

14 years agoam 7df74471: Merge "Flush binder buffer after setting raw heap to avoid leaking a...
Chih-Chung Chang [Fri, 2 Jul 2010 14:48:03 +0000 (07:48 -0700)]
am 7df74471: Merge "Flush binder buffer after setting raw heap to avoid leaking a reference." into froyo

Merge commit '7df7447112371fb5e46f6084b55ac2ccdfde139d' into gingerbread

* commit '7df7447112371fb5e46f6084b55ac2ccdfde139d':
  Flush binder buffer after setting raw heap to avoid leaking a reference.

14 years agoMerge "Flush binder buffer after setting raw heap to avoid leaking a reference."...
Chih-Chung Chang [Fri, 2 Jul 2010 14:43:31 +0000 (07:43 -0700)]
Merge "Flush binder buffer after setting raw heap to avoid leaking a reference." into froyo

14 years agoam f80372db: Merge "docs: update device dashboard; add historical chart" into froyo
Scott Main [Fri, 2 Jul 2010 06:33:20 +0000 (23:33 -0700)]
am f80372db: Merge "docs: update device dashboard; add historical chart" into froyo

Merge commit 'f80372dbc0f4a1b80bebfe5f5124de8d31e0996b' into gingerbread

* commit 'f80372dbc0f4a1b80bebfe5f5124de8d31e0996b':
  docs: update device dashboard; add historical chart

14 years agoMerge "docs: update device dashboard; add historical chart" into froyo
Scott Main [Fri, 2 Jul 2010 06:26:58 +0000 (23:26 -0700)]
Merge "docs: update device dashboard; add historical chart" into froyo

14 years agoFlush binder buffer after setting raw heap to avoid leaking a reference.
Chih-Chung Chang [Thu, 1 Jul 2010 13:06:45 +0000 (21:06 +0800)]
Flush binder buffer after setting raw heap to avoid leaking a reference.

The problem was:

1. In handleShutter(), thread A in CameraService calls
   registerBuffers(IMemoryHeap) and it's received by thread B
   in system_server. [transaction 1]
2. While thread A is waiting for the reply, thread B calls
   back to thread A to get the id of the heap
   (IMemoryHeap.getHeapID). [transaction 2]
3. Thread A replies transaction 2 and is preemptied in kernel.
   Thread B gets the reply and finishes registerBuffers and send
   reply for transaction 1.
4. When thread A runs again, it gets the reply for transaction 1
   and returns to handleShutter().
5. At this point the transaction buffer for transaction 2 (which
   holds a reference to IMemoryHeap) is not freed because the
   BC_FREE_BUFFER command is kept in thread A's local command
   queue and not sent to the kernel.
6. Normally when thread A makes next transaction, the
   BC_FREE_BUFFER command will be sent together (piggyback) with
   the commands for that transaction. But in this case thread A
   is a callback thread from camera driver, so it does not make
   any binder calls afterwards, and the IMemoryHeap is never freed
   (until the next time handleShutter is called).

Change-Id: I435a258187509bdbbaf353339eb9ea577610cbd2

14 years agoMerge "remove unused YUV formats" into gingerbread
Mathias Agopian [Fri, 2 Jul 2010 04:28:24 +0000 (21:28 -0700)]
Merge "remove unused YUV formats" into gingerbread

14 years agoremove unused YUV formats
Mathias Agopian [Fri, 2 Jul 2010 04:17:56 +0000 (21:17 -0700)]
remove unused YUV formats

Change-Id: Ie84616f842c7e0329d68e67e65a65d510558004b

14 years agoMerge "Log full exception when failing to inflate notification view" into gingerbread
Steve Howard [Fri, 2 Jul 2010 02:38:48 +0000 (19:38 -0700)]
Merge "Log full exception when failing to inflate notification view" into gingerbread

14 years agoGet to the point of being able to do native drawing.
Dianne Hackborn [Fri, 2 Jul 2010 01:44:46 +0000 (18:44 -0700)]
Get to the point of being able to do native drawing.

A little cleanup.

Change-Id: I37ef0557abf330d91d6fe47e81d062206b3bc346

14 years agoLog full exception when failing to inflate notification view
Steve Howard [Fri, 2 Jul 2010 00:54:16 +0000 (17:54 -0700)]
Log full exception when failing to inflate notification view

When inflating a notification's view fails, include the exception in
the log message.  Without this exception all we get is "couldn't
inflate view for notification <package>/<id>", which isn't very
helpful for tracking down the particular error in the view.

This exception used to be included in the log message, but it was
removed in 005847b03b2 -- any particular reason why?

Change-Id: I623b9e4c8291e4c035f26380e5f22ad6b65176a7

14 years agoAdded AMessage::debugString() for debugging purposes.
Andreas Huber [Thu, 1 Jul 2010 21:11:31 +0000 (14:11 -0700)]
Added AMessage::debugString() for debugging purposes.

Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591

14 years agoam c03befe3: Fix issue 2811538: System server crash when disconnecting BT headset...
Eric Laurent [Thu, 1 Jul 2010 23:36:02 +0000 (16:36 -0700)]
am c03befe3: Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call.

Merge commit 'c03befe3d62eb2a3e1d56fec0ca188a6094d53dd' into gingerbread

* commit 'c03befe3d62eb2a3e1d56fec0ca188a6094d53dd':
  Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call.

14 years agoFix issue 2811538: System server crash when disconnecting BT headset after using...
Eric Laurent [Thu, 1 Jul 2010 02:41:56 +0000 (19:41 -0700)]
Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call.

Problem:
When the bluetooth device is removed, the AudioService clears all active SCO connections
and unlinks from the client application's binder interface death.
The problem is that the unlinking is done even if no more connections are active for a given client,
which throws a runtime exception that is not catched causing the system server to crash.

The fix consists in calling unlinkToDeath() in ScoClient.clearCount() only if the number of
active SCO connections for this client is not 0. The NoSuchElementException exception is also
catched when calling unlinkToDeath()

Change-Id: I7086424301fc63a5666da61c38169349d3e078f4

14 years agodocs: update device dashboard; add historical chart
Scott Main [Thu, 1 Jul 2010 18:39:08 +0000 (11:39 -0700)]
docs: update device dashboard; add historical chart

Change-Id: Iafed4ed927141d34dcdb728918320be2fa2cf151

14 years agoMake real API for native code to get its window.
Dianne Hackborn [Thu, 1 Jul 2010 01:35:14 +0000 (18:35 -0700)]
Make real API for native code to get its window.

Added implementation to use ANativeWindow and provide
it to a NativeActivity.

Change-Id: I890d71b6e15d4af71e6cf81b327961d7061ec1c2

14 years agoMerge "Refactor Stagefright::StartMPEG4Recording()" into gingerbread
James Dong [Thu, 1 Jul 2010 21:11:01 +0000 (14:11 -0700)]
Merge "Refactor Stagefright::StartMPEG4Recording()" into gingerbread

14 years agoMerge "DO NOT MERGE: Add a battery capacity value to the power profile." into gingerbread
Amith Yamasani [Thu, 1 Jul 2010 20:51:27 +0000 (13:51 -0700)]
Merge "DO NOT MERGE: Add a battery capacity value to the power profile." into gingerbread

14 years agoDO NOT MERGE: Add a battery capacity value to the power profile.
Amith Yamasani [Thu, 27 May 2010 17:37:54 +0000 (10:37 -0700)]
DO NOT MERGE: Add a battery capacity value to the power profile.

Can be accessed through PowerProfile.getBatteryCapacity()

Individual device profiles need to be updated with their capacities.

(merged from master)

Change-Id: Ie76ab6de47c44807a46934331665e077a7226566

14 years agoMerge "Fix issue 2811538: System server crash when disconnecting BT headset after...
Eric Laurent [Thu, 1 Jul 2010 18:54:00 +0000 (11:54 -0700)]
Merge "Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call." into gingerbread

14 years agoRefactor Stagefright::StartMPEG4Recording()
James Dong [Wed, 30 Jun 2010 19:41:16 +0000 (12:41 -0700)]
Refactor Stagefright::StartMPEG4Recording()

- Also, better error handling

Change-Id: Ic18d08dc6489adf92c6a588efa4baca66429b175

14 years agoSupport for writing the extracted data to an .mp4 file in the stagefright commandline...
Andreas Huber [Thu, 1 Jul 2010 15:19:52 +0000 (08:19 -0700)]
Support for writing the extracted data to an .mp4 file in the stagefright commandline tool.

Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733

14 years agoput the status bar back in the system process
Joe Onorato [Wed, 30 Jun 2010 21:02:37 +0000 (17:02 -0400)]
put the status bar back in the system process

Change-Id: I401b0ac8e3c96b61e787eb18341d18be75b3761d

14 years agoquiet noisy debug spew
Joe Onorato [Wed, 30 Jun 2010 18:48:54 +0000 (14:48 -0400)]
quiet noisy debug spew

Change-Id: I55c3b16f58bbe0ec4c6547c525863a7d16f8263d

14 years agoAdd multiple camera support for in MediaProfiles.
Chih-Chung Chang [Tue, 22 Jun 2010 12:50:55 +0000 (20:50 +0800)]
Add multiple camera support for in MediaProfiles.

Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a

14 years agoFix issue 2811538: System server crash when disconnecting BT headset after using...
Eric Laurent [Thu, 1 Jul 2010 02:41:56 +0000 (19:41 -0700)]
Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call.

Problem:
When the bluetooth device is removed, the AudioService clears all active SCO connections
and unlinks from the client application's binder interface death.
The problem is that the unlinking is done even if no more connections are active for a given client,
which throws a runtime exception that is not catched causing the system server to crash.

The fix consists in calling unlinkToDeath() in ScoClient.clearCount() only if the number of
active SCO connections for this client is not 0. The NoSuchElementException exception is also
catched when calling unlinkToDeath()

Change-Id: I29a28fcce1a579217cea271956a55778e05d3e37

14 years agoAdd ability to guard a thread against setting its own prio to bg
Christopher Tate [Thu, 1 Jul 2010 00:46:30 +0000 (17:46 -0700)]
Add ability to guard a thread against setting its own prio to bg

The guard is compiled out by default because it adds overhead to
android.os.Process.setPriority().

Change-Id: Ibb2a648c6349b381abb7ae62a358888b04fba871

14 years agoMerge "Introduce official public NativeWindow type." into gingerbread
Dianne Hackborn [Wed, 30 Jun 2010 23:05:30 +0000 (16:05 -0700)]
Merge "Introduce official public NativeWindow type." into gingerbread

14 years agoMerge "fix live wallpapers on Droid" into gingerbread
Mathias Agopian [Wed, 30 Jun 2010 22:59:02 +0000 (15:59 -0700)]
Merge "fix live wallpapers on Droid" into gingerbread

14 years agofix live wallpapers on Droid
Mathias Agopian [Wed, 30 Jun 2010 22:43:47 +0000 (15:43 -0700)]
fix live wallpapers on Droid

On omap3 h/w we force opaque formats to RGB_565 instead of RGBX_8888
because the GL driver doesn't support it. RGBX_8888 is always remapped
to RGBA_8888.

Change-Id: I0bfabeb98c8d3a399079e6797cf2a0ee95915324

14 years agoIntroduce official public NativeWindow type.
Dianne Hackborn [Wed, 30 Jun 2010 20:56:17 +0000 (13:56 -0700)]
Introduce official public NativeWindow type.

Not yet hooked up to anything in the NDK, but requires renaming
the existing android_native_window_t type everywhere.

Change-Id: Iffee6ea39c93b8b34e20fb69e4d2c7c837e5ea2e

14 years agoMerge "Fix injection of specially intercepted keys like HOME." into gingerbread
Jeff Brown [Wed, 30 Jun 2010 22:03:04 +0000 (15:03 -0700)]
Merge "Fix injection of specially intercepted keys like HOME." into gingerbread

14 years agoMerge "Remove memory monitoring from the system watchdog" into gingerbread
Christopher Tate [Wed, 30 Jun 2010 21:55:44 +0000 (14:55 -0700)]
Merge "Remove memory monitoring from the system watchdog" into gingerbread

14 years agoRemove memory monitoring from the system watchdog
Christopher Tate [Wed, 30 Jun 2010 21:41:09 +0000 (14:41 -0700)]
Remove memory monitoring from the system watchdog

This was originally written as an in-case-we-need-it facility, but was
never actually used in production.  It also soaked up a surprising amount
of cpu on occasion, as well as doing sketchy things like demoting the
system_server's primary looper thread to the background cgroup at times.

Change-Id: I9a81a8d1e9caea9e0a1277d97785fe96add438d7

14 years agoFix injection of specially intercepted keys like HOME.
Jeff Brown [Wed, 30 Jun 2010 21:41:59 +0000 (14:41 -0700)]
Fix injection of specially intercepted keys like HOME.

This change mainly unwinds a premature optimization in the
dispatch pipeline.
To test HOME injection, run 'adb shell input keyevent 3'.

Change-Id: I1c4b7377c205da7c898014b8b07fc6dc1d46e4dd

14 years agoImproved graphics for the intruder alert.
Daniel Sandler [Wed, 30 Jun 2010 18:18:32 +0000 (14:18 -0400)]
Improved graphics for the intruder alert.

Change-Id: I9aa6c8995da39f332b724fabe67ed5efe584552f

14 years agoMerge "Support for vanilla YUV420sp => RGB565 color conversion." into gingerbread
Andreas Huber [Wed, 30 Jun 2010 18:32:31 +0000 (11:32 -0700)]
Merge "Support for vanilla YUV420sp => RGB565 color conversion." into gingerbread

14 years agoam d581484e: Merge "Verify hostname where possible, and clarify where not." into...
Doug Zongker [Wed, 30 Jun 2010 18:17:00 +0000 (11:17 -0700)]
am d581484e: Merge "Verify hostname where possible, and clarify where not." into froyo

Merge commit 'd581484ef8fac80c15ebf652e66f918374df5109' into gingerbread

* commit 'd581484ef8fac80c15ebf652e66f918374df5109':
  Verify hostname where possible, and clarify where not.

14 years agoMerge "Verify hostname where possible, and clarify where not." into froyo
Doug Zongker [Wed, 30 Jun 2010 18:12:19 +0000 (11:12 -0700)]
Merge "Verify hostname where possible, and clarify where not." into froyo

14 years agoImplement default key handling for native code.
Dianne Hackborn [Wed, 30 Jun 2010 02:20:40 +0000 (19:20 -0700)]
Implement default key handling for native code.

The native code now maintains a list of all keys that may use
default handling.  If the app finishes one of these keys
without handling it, the key will be passed back off to Java
for default treatment.

Change-Id: I6a842a0d728eeafa4de7142fae573f8c11099e18

14 years agoSupport for vanilla YUV420sp => RGB565 color conversion.
Andreas Huber [Wed, 30 Jun 2010 17:32:20 +0000 (10:32 -0700)]
Support for vanilla YUV420sp => RGB565 color conversion.

Change-Id: I22e5b554909e169eaf153d1f25b636f6f04a1871

14 years agoam b4d2e42a: docs: revise menu guide to focus more on using menu resources instead...
Scott Main [Wed, 30 Jun 2010 16:01:01 +0000 (09:01 -0700)]
am b4d2e42a: docs: revise menu guide to focus more on using menu resources instead of defining menus in code. And revise some style.

Merge commit 'b4d2e42a8508a09f944b13f27c043952eef6c1cc' into gingerbread

* commit 'b4d2e42a8508a09f944b13f27c043952eef6c1cc':
  docs: revise menu guide to focus more on using menu resources

14 years agoGPS: stifle some logging
Mike Lockwood [Wed, 30 Jun 2010 13:51:21 +0000 (09:51 -0400)]
GPS: stifle some logging

Change-Id: Ifc68f27a6cb841240db182f4c77ddd8085a8c149
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoVerify hostname where possible, and clarify where not.
Dan Egnor [Wed, 30 Jun 2010 00:51:28 +0000 (17:51 -0700)]
Verify hostname where possible, and clarify where not.

Bug: 2807409
Change-Id: I6f6a6b22a48149d9f1f45ff8f53103b25706ecc0

14 years agoMerge "Added encoding parameters set up for H263 video encoder" into gingerbread
James Dong [Wed, 30 Jun 2010 00:24:10 +0000 (17:24 -0700)]
Merge "Added encoding parameters set up for H263 video encoder" into gingerbread

14 years agodocs: revise menu guide to focus more on using menu resources
Scott Main [Wed, 7 Apr 2010 17:50:20 +0000 (10:50 -0700)]
docs: revise menu guide to focus more on using menu resources
instead of defining menus in code.
And revise some style.

Change-Id: I0a5a19a51062d72cdb9045c9607cab04b69f554c

14 years agoMerge "Fix native input dispatch in the emulator." into gingerbread
Chris Tate [Wed, 30 Jun 2010 00:01:04 +0000 (17:01 -0700)]
Merge "Fix native input dispatch in the emulator." into gingerbread

14 years agoFix native input dispatch in the emulator.
Jeff Brown [Tue, 29 Jun 2010 23:52:21 +0000 (16:52 -0700)]
Fix native input dispatch in the emulator.

Set a default orientation of ROTATION_0.
Added some more careful checks based on whether we have valid
absolute axis information from the driver.
Reset key repeating during configuration changes since the keyboard
device may have been removed.

Change-Id: I685960828acffcb17595fc5683309e8064a76714

14 years agoAdded encoding parameters set up for H263 video encoder
James Dong [Tue, 29 Jun 2010 23:29:19 +0000 (16:29 -0700)]
Added encoding parameters set up for H263 video encoder

Also:
- Allowed start() call when encoder already starts and stop() call when encoder has not started yet
- Handled default value for audio/video sources/encoders and file output format

Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1

14 years agoam 4fb91d9f: docs: fix typo
Scott Main [Tue, 29 Jun 2010 22:47:42 +0000 (15:47 -0700)]
am 4fb91d9f: docs: fix typo

Merge commit '4fb91d9f1bede8ad49365913804532ca57206455' into gingerbread

* commit '4fb91d9f1bede8ad49365913804532ca57206455':
  docs: fix typo

14 years agoMerge "remove a hack that was used only used on h/w we no longer support." into ginge...
Mathias Agopian [Tue, 29 Jun 2010 22:33:36 +0000 (15:33 -0700)]
Merge "remove a hack that was used only used on h/w we no longer support." into gingerbread

14 years agoremove a hack that was used only used on h/w we no longer support.
Mathias Agopian [Tue, 29 Jun 2010 22:31:58 +0000 (15:31 -0700)]
remove a hack that was used only used on h/w we no longer support.

this should fix the opal build.

Change-Id: I43d7633696fea5be6bc834293a832d22f6bdfc61

14 years agodocs: fix typo
Scott Main [Tue, 29 Jun 2010 22:22:03 +0000 (15:22 -0700)]
docs: fix typo

Change-Id: I39849068bb1b35a766df93ab3440829730efabaa

14 years agoset up fast-forward from froyo-release to gingerbread
The Android Open Source Project [Tue, 29 Jun 2010 21:34:35 +0000 (14:34 -0700)]
set up fast-forward from froyo-release to gingerbread

Change-Id: I22fc9465f5d8a0144b31803f431602fe3bda516a

14 years agoMerge "Support for tapping on an immersive-mode priority notification." into gingerbread
Daniel Sandler [Tue, 29 Jun 2010 19:28:07 +0000 (12:28 -0700)]
Merge "Support for tapping on an immersive-mode priority notification." into gingerbread

14 years agoSupport for tapping on an immersive-mode priority notification.
Daniel Sandler [Tue, 29 Jun 2010 19:19:54 +0000 (15:19 -0400)]
Support for tapping on an immersive-mode priority notification.

When the user taps on an intruder alert (the priority
notification in immersive mode), the .contentIntent in the
Notification object will be sent, just as we handle tapping
on a normal Notification in the windowshade.

Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d

14 years agoMerge "Update native activity & event APIs to follow correct conventions." into ginge...
Dianne Hackborn [Tue, 29 Jun 2010 19:17:20 +0000 (12:17 -0700)]
Merge "Update native activity & event APIs to follow correct conventions." into gingerbread

14 years agoMerge "Add qcom's new OMX components to the list." into gingerbread
Andreas Huber [Tue, 29 Jun 2010 18:45:39 +0000 (11:45 -0700)]
Merge "Add qcom's new OMX components to the list." into gingerbread

14 years agoAdd qcom's new OMX components to the list.
Andreas Huber [Tue, 29 Jun 2010 16:14:00 +0000 (09:14 -0700)]
Add qcom's new OMX components to the list.

Change-Id: Ic8d261aaa5b15c1be7e6d57aee6be51cecb10bb1

14 years agoExtend unit test framework for Wifi soft AP configuration
Xia Wang [Mon, 28 Jun 2010 23:08:35 +0000 (16:08 -0700)]
Extend unit test framework for Wifi soft AP configuration
Add test case: testApSsidWithAlphabet

Change-Id: Ie188f241d15603015d264a7d568ed44ce4ca3ad8

14 years agoUpdate native activity & event APIs to follow correct conventions.
Dianne Hackborn [Mon, 28 Jun 2010 22:27:30 +0000 (15:27 -0700)]
Update native activity & event APIs to follow correct conventions.

Change-Id: Ie64fb3a9c68bc9c117fa5621b75d1f609e304e0e

14 years agoMake android.hardware.action.USB_STATE a protected broadcast.
Mike Lockwood [Tue, 29 Jun 2010 16:12:04 +0000 (12:12 -0400)]
Make android.hardware.action.USB_STATE a protected broadcast.

Change-Id: I84160e9342025228c1f810077f5aa25f5cc83023
Signed-off-by: Mike Lockwood <lockwood@android.com>