Commit Graph

16598 Commits

Author SHA1 Message Date
Neal Nguyen
ae46195d4f Framework Tests Cleanup: Removing CTS duplicate files
This file is basically just a wrapper around AndroidTest, which is going away as part of framework test cleanup.

AndroidTests.java is just a wrapper around all the actual tests, so can be removed as well.
2010-01-04 12:23:56 -08:00
Android (Google) Code Review
759a77e502 Merge change I0fa1b245
* changes:
  telephony: Populate the User-to-user signaling info fields.
2009-12-23 16:48:20 -08:00
Android (Google) Code Review
2ce9a19044 Merge change I7d46f612
* changes:
  Disable excessive RS logging.
2009-12-23 14:57:08 -08:00
Jason Sams
7d46f612a2 Disable excessive RS logging. 2009-12-23 14:56:19 -08:00
Android (Google) Code Review
218b8984a4 Merge change I718cd1f3
* changes:
  Element restructuring.  Add support for new basic Element types including the RS objects and vectors(2-4).  In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
2009-12-23 14:55:24 -08:00
Jason Sams
718cd1f322 Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
Android (Google) Code Review
ea84a5559f Merge change Idfa47b56
* changes:
  Don't crash the system process when a backup transport unregisters
2009-12-23 11:40:14 -08:00
Dave Sparks
1905530bb1 Replace sine with organ for some SoundPool tests. 2009-12-23 09:55:21 -08:00
Dave Sparks
d94466c4c8 Add SoundPool test 2009-12-23 09:47:12 -08:00
Android (Google) Code Review
011a3dfd85 Merge change I9120be33
* changes:
  Add OnLoadCompleteListener to SoundPool.
2009-12-23 09:45:23 -08:00
Dave Sparks
f6e43bf290 Add OnLoadCompleteListener to SoundPool. 2009-12-23 09:11:29 -08:00
Eric Laurent
cf4fc6263c am f31f365a: am eb5ffc23: Merge change Id8e98194 into eclair
Merge commit 'f31f365a7708c931e955670bc6213fdc8f91a87a'

* commit 'f31f365a7708c931e955670bc6213fdc8f91a87a':
  Fix issues 2333450 and 2333559:
2009-12-22 23:46:16 -08:00
Eric Laurent
f31f365a77 am eb5ffc23: Merge change Id8e98194 into eclair
Merge commit 'eb5ffc239b6482b9c1e046f6f5872187043d852c' into eclair-plus-aosp

* commit 'eb5ffc239b6482b9c1e046f6f5872187043d852c':
  Fix issues 2333450 and 2333559:
2009-12-22 23:41:59 -08:00
Android (Google) Code Review
eb5ffc239b Merge change Id8e98194 into eclair
* changes:
  Fix issues 2333450 and 2333559:
2009-12-22 23:34:22 -08:00
Jack Palevich
ecc1f6eca2 am 244cc72f: am e3449553: Merge change I49c9a3a3 into eclair
Merge commit '244cc72fdf906799e3ec4cfe5b7cda49d9f08cca'

* commit '244cc72fdf906799e3ec4cfe5b7cda49d9f08cca':
  Fix bug 2325244	screen turns black for a brief period of time
2009-12-22 18:35:26 -08:00
Jack Palevich
244cc72fdf am e3449553: Merge change I49c9a3a3 into eclair
Merge commit 'e344955393133ac2f99f06cc6a4fe97fbf76f62e' into eclair-plus-aosp

* commit 'e344955393133ac2f99f06cc6a4fe97fbf76f62e':
  Fix bug 2325244	screen turns black for a brief period of time
2009-12-22 18:31:58 -08:00
Android (Google) Code Review
e344955393 Merge change I49c9a3a3 into eclair
* changes:
  Fix bug 2325244	screen turns black for a brief period of time
2009-12-22 18:29:29 -08:00
Android (Google) Code Review
ceedafacdb Merge change I5038c78f
* changes:
  Add missing shared libraries in linker commands.  Currently these libraries are linked implicitly via dependencies of other shared libraries.
2009-12-22 17:12:03 -08:00
Eric Laurent
eb14a783be Fix issues 2333450 and 2333559:
Add new config values to AudioSystem::FOR_DOCK force usage to differenciate car and desk docks.
Use a receiver for the sticky Intent.ACTION_DOCK_EVENT in AudioService to detect the type
of dock and select force usage accordingly.
2009-12-22 16:20:46 -08:00
Christopher Tate
dfa47b56e1 Don't crash the system process when a backup transport unregisters
Bug: 2342503
2009-12-22 16:01:32 -08:00
Android (Google) Code Review
5e26465abb Merge change Ia834022d
* changes:
  Convert DataConnection to an HSM and rename PdpConnection to GsmDataConnection.
2009-12-22 15:43:15 -08:00
Jeff Sharkey
44303922f1 Watch for "bluetooth" in list of toggleable radios.
Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS is a list of
radios that can be toggled while in airplane mode.  This
change adds logic to BluetoothService to allow enabling
when Settings.System.RADIO_BLUETOOTH appears in that list.

Fixes http://b/2297314
2009-12-22 14:32:15 -08:00
Wink Saville
02722fbd77 Convert DataConnection to an HSM and rename PdpConnection to GsmDataConnection.
Change-Id: Ia834022d04e65c42d671f63b2fec46804fe8a562
2009-12-22 14:32:07 -08:00
Naveen Kalla
0fa1b24593 telephony: Populate the User-to-user signaling info fields.
Since the RIL interface has been enhanced to support user-user signaling
information, we need to populate the fields for RIL_REQUEST_DIAL and
decode the fields in RIL_Call. Handle the default case when UUS Info is not
present so that the RIL interface change does not break the normal case.
2009-12-22 13:48:23 -08:00
Doug Kwan
5038c78f13 Add missing shared libraries in linker commands. Currently these libraries are
linked implicitly via dependencies of other shared libraries.
2009-12-22 13:30:25 -08:00
Android (Google) Code Review
233d316553 Merge change Ib9285359
* changes:
  Add bugreport info about network feature use.
2009-12-22 10:51:51 -08:00
Grace Kloba
7853722721 am 49a791a0: am 4350e145: Move the full screen\'s matching embedded view to be fully visible so that the touch will always work.
Merge commit '49a791a08b074aac438f8b6b32ae8c2860717447'

* commit '49a791a08b074aac438f8b6b32ae8c2860717447':
  Move the full screen's matching embedded view to be
2009-12-22 10:15:46 -08:00
Android (Google) Code Review
a8181d5301 Merge change Ia4362cd4
* changes:
  resolved conflicts for merge of ad2fa35d to master
2009-12-22 10:14:00 -08:00
Tom Taylor
f0108cda21 resolved conflicts for merge of ad2fa35d to master
Change-Id: Ia4362cd48ac0689b91003943a4cd9660da72ff90
2009-12-22 10:11:55 -08:00
Eric Laurent
b9a44165c7 am 0c5cc224: am d20a55af: Merge change Iccfa50fe into eclair
Merge commit '0c5cc224b052654ee38d39effce427a47697481b'

* commit '0c5cc224b052654ee38d39effce427a47697481b':
  Fix issue 2323920: Notification & A2DP audio stutter.
2009-12-22 10:01:39 -08:00
Eric Laurent
0c5cc224b0 am d20a55af: Merge change Iccfa50fe into eclair
Merge commit 'd20a55af8215dff59f61f91ea89dbcbfc08836de' into eclair-plus-aosp

* commit 'd20a55af8215dff59f61f91ea89dbcbfc08836de':
  Fix issue 2323920: Notification & A2DP audio stutter.
2009-12-22 09:57:56 -08:00
Android (Google) Code Review
d20a55af82 Merge change Iccfa50fe into eclair
* changes:
  Fix issue 2323920: Notification & A2DP audio stutter.
2009-12-22 09:50:42 -08:00
Eric Laurent
8ac9f8d1c7 Fix issue 2323920: Notification & A2DP audio stutter.
Modified AudioFlinger duplicating output thread so that audio tracks are not mixed until both outputs (A2DP and hardware) have exited standby mode. This avoids to have one output far ahead of the other and audio frames dropped because the compensation mechanism cannot keep up.
Also calculate the maximum wait time in OutputTrack::write() based the on smallest frame count of all output threads instead of the frame count of the thread the OutputTrack is connected to. This avoids starving the thread with the smallest frame count by waiting too long on the other thread.
Since the frame count was reduced on hardware output to reduce latency the difference between A2DP and hardware outputs frame counts had become problematic.
Also increased the number of overflow buffers to cope with bigger timing differences among outputs.
2009-12-22 09:06:46 -08:00
Android (Google) Code Review
fddd8f96f3 Merge change I70f91838
* changes:
  keystore: Add paddings before checksumming.
2009-12-22 01:39:14 -08:00
Chia-chi Yeh
fa4ae74ef7 keystore: Add paddings before checksumming.
Also fix a file descriptor leak when file system is nearly full.

Bug: 2339184
2009-12-22 17:26:42 +08:00
Android (Google) Code Review
2d49b7229a Merge change If80d6e13
* changes:
  Rework activity manager debug dumps.
2009-12-21 20:25:39 -08:00
Dianne Hackborn
c59411b176 Rework activity manager debug dumps.
Change how we do debug dumps from the activity manager to make
everything go through the activity manager interface (no more
secondary interfaces), and use the command line arguments to
control what gets dumped.

The output from dumpsys without args still dumps everything.

When just dumping the activity service, we now dump a subset
of all of the am state that is interesting without being
overwhelming.

You can use "dumpsys activity -h" to get help with other things
that can be dumped.
2009-12-21 20:20:59 -08:00
Jack Palevich
49c9a3a3d4 Fix bug 2325244 screen turns black for a brief period of time
The problem was a black first frame when creating a surface, or a
garbage frame when the surface was resized.

The cause was lack of synchronization between the render thread and the
UI thread. The UI thread would typically return before the render thread
had a chance to draw its first frame.

The fix was to make the UI thread wait until at least one frame had been
rendered by the rendering thread.

The waiting is done in the surfaceChanged method because we know
that surfaceChanged will be called in both the surface created
and surface changed cases.
2009-12-22 11:45:31 +08:00
Android (Google) Code Review
f966afa146 Merge change I34a427a5
* changes:
  Adding support for LoggingPrintStream.write(byte[]) and friends.
2009-12-21 18:39:19 -08:00
Robert Greenwalt
b928535902 Add bugreport info about network feature use.
We've had a couple bug reports showing the effects of a left-live feature request.
We need a bit more bugreport-time logging.

bug: 2323226
2009-12-21 18:24:07 -08:00
Grace Kloba
49a791a08b am 4350e145: Move the full screen\'s matching embedded view to be fully visible so that the touch will always work.
Merge commit '4350e1451c9f884fabcabfda915b58a26c6ebf5f' into eclair-mr2-plus-aosp

* commit '4350e1451c9f884fabcabfda915b58a26c6ebf5f':
  Move the full screen's matching embedded view to be
2009-12-21 18:09:47 -08:00
Dianne Hackborn
ee0511d76c Fix issue #1154972: clone defined, but class doesn't implement Cloneable 2009-12-21 18:08:13 -08:00
Grace Kloba
4350e1451c Move the full screen's matching embedded view to be
fully visible so that the touch will always work.
2009-12-21 18:05:04 -08:00
Dianne Hackborn
6cf67faf3b Fix issue #2329765: Activities are not being immediately stopped.
This was caused by the launchers new hidden surface on top.  The
algorithm for determining whether an activity was visible assumed
that all windows would want to be visible.  Now it ignores ones that
have explicitly requested to be hidden.
2009-12-21 16:57:11 -08:00
Android (Google) Code Review
33b13e34e3 Merge change Ide2606dc
* changes:
  Don't perform app transition of the app is not currently visible.
2009-12-21 16:51:08 -08:00
Android (Google) Code Review
1d2f5c39bb Merge change I76d2295c
* changes:
  SIM toolkit: Phone app crashes while reading SIM card
2009-12-21 16:31:54 -08:00
Android (Google) Code Review
69e0eae003 Merge change I83fd7b0d
* changes:
  frameworks/base: Handle broadcast sms properly
2009-12-21 16:29:34 -08:00
Android (Google) Code Review
b6347a2188 Merge change I6b4d1294
* changes:
  DropBox logging of app & system server crashes.
2009-12-21 16:04:07 -08:00
Dan Egnor
60d8762413 DropBox logging of app & system server crashes.
The crashes are also reported to the event log (and of course the
main logcat, like they always have been).  Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is.  (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
2009-12-21 16:03:19 -08:00
Jean-Baptiste Queru
5237f019b9 am c4978805: merge from open-source master
Merge commit 'c4978805dc8837570701629a9b8098e80804ad34'

* commit 'c4978805dc8837570701629a9b8098e80804ad34':
  ImageButton example doesn't work. Default state should be at the last.
  Time.parse3339 range checking and proper 'sec-frac' skip
2009-12-21 15:52:57 -08:00