2325 Commits

Author SHA1 Message Date
Android (Google) Code Review
85a2fb07c2 am 145c989c: Merge change 2569 into donut
Merge commit '145c989cafe72d99af120044fed256ac2f982568'

* commit '145c989cafe72d99af120044fed256ac2f982568':
  Fix a hang during bootup.
2009-05-27 16:01:09 -07:00
Android (Google) Code Review
145c989caf Merge change 2569 into donut
* changes:
  Fix a hang during bootup.
2009-05-27 16:00:22 -07:00
Android (Google) Code Review
ba89724351 Merge change 2568
* changes:
  Enable renderscript to build under the simulator.
2009-05-27 15:29:32 -07:00
Amith Yamasani
c33fe6c9a7 Fix a hang during bootup.
Some data was not being written to the battery stats during shutdown. So there was insufficient
data when reading back at bootup.
2009-05-27 15:29:04 -07:00
Jack Palevich
81d0a9a70a Enable renderscript to build under the simulator.
Added missing #include file to declare memcpy().
2009-05-27 15:26:57 -07:00
Jason Sams
fe08d99725 Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object. 2009-05-27 14:45:32 -07:00
Android (Google) Code Review
cc77841f64 Merge change 2541
* changes:
  Turn on ACC script test. (It works!)
2009-05-27 12:50:20 -07:00
Jack Palevich
8191d0f634 Turn on ACC script test. (It works!)
+ Modified test script to work with the limitations of the ACC langauge.
   - No <op>=
   - use correct C API names for callback methods.
2009-05-27 12:38:37 -07:00
Android (Google) Code Review
a3cfda3b2c am 004cb73a: Merge change 2443 into donut
Merge commit '004cb73a152327160614318fef0e1800ec91346d'

* commit '004cb73a152327160614318fef0e1800ec91346d':
  Adding proxy class to communicate with the TTS service through the ITts interface.
2009-05-27 11:20:54 -07:00
Android (Google) Code Review
004cb73a15 Merge change 2443 into donut
* changes:
  Adding proxy class to communicate with the TTS service through the ITts interface.
2009-05-27 11:04:48 -07:00
Android (Google) Code Review
158d83054f am a64f5f61: Merge change 1124 into donut
Merge commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb'

* commit 'a64f5f61677cf4aa3bf871c87be950bb85c2aeeb':
  Fix SQLite limit issue.
2009-05-27 11:01:30 -07:00
Android (Google) Code Review
a64f5f6167 Merge change 1124 into donut
* changes:
  Fix SQLite limit issue.
2009-05-27 10:56:41 -07:00
Android (Google) Code Review
c5261874b7 Merge change 2503
* changes:
  Stop the NANP number formatter from putting dashes in shortcodes.
2009-05-27 10:55:57 -07:00
Marco Nelissen
6742fa7341 am 8ae3f619: Fix another crash in Gestures, this one caused by the data file having the wrong version. I made the loader print a message to the log for this, and made the calling code disable gestures for the listview instead of crashing.
Merge commit '8ae3f6190244156bc6e750680654057bd7816309'

* commit '8ae3f6190244156bc6e750680654057bd7816309':
  Fix another crash in Gestures, this one caused by the data file
2009-05-27 10:42:13 -07:00
Jean-Michel Trivi
e74d507d17 Adding proxy class to communicate with the TTS service through the ITts interface. 2009-05-27 10:36:30 -07:00
Marco Nelissen
8ae3f61902 Fix another crash in Gestures, this one caused by the data file
having the wrong version. I made the loader print a message to
the log for this, and made the calling code disable gestures
for the listview instead of crashing.
2009-05-27 10:03:44 -07:00
Patrick Scott
9b36f494e5 Fix the boot. The signature needed a V at the end. 2009-05-27 12:53:20 -04:00
Android (Google) Code Review
0098ab97d6 am f0e7e4a9: Merge change 2520 into donut
Merge commit 'f0e7e4a9461ab3daf57ecfec3d25be583380d0d2'

* commit 'f0e7e4a9461ab3daf57ecfec3d25be583380d0d2':
  Cause the icon drawables to animate automatically by calling setVisible
2009-05-27 09:16:01 -07:00
Android (Google) Code Review
f0e7e4a946 Merge change 2520 into donut
* changes:
  Cause the icon drawables to animate automatically by calling setVisible false and then true on the drawables. For an AnimationDrawable, this will trigger the desired behavior of 'automatically' starting the animation, which should have been working to begin with according to the intended design of AnimationDrawable (see http://b/1878430 for my description of my correspondence with Romain). For Donut we'll just do this to work around it, but for a later release we need to decide a better story.
2009-05-27 09:13:15 -07:00
Android (Google) Code Review
b53bfd25f5 am ed6e0b92: Merge change 2522 into donut
Merge commit 'ed6e0b92dd8a42a67d0ffd5cb62d69a65dfcd051'

* commit 'ed6e0b92dd8a42a67d0ffd5cb62d69a65dfcd051':
  This function should be public
2009-05-27 05:54:13 -07:00
Android (Google) Code Review
ed6e0b92dd Merge change 2522 into donut
* changes:
  This function should be public
2009-05-27 05:52:50 -07:00
Jacek Surazski
fd0bdcc344 This function should be public 2009-05-27 14:45:48 +02:00
Android (Google) Code Review
67880624cc am c0139711: Merge change 2432 into donut
Merge commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc'

* commit 'c0139711b0e4a07ad997fb4130c674ed2d90e2fc':
  Make android_runtime to not include libemoji but use dlopen() instead.
2009-05-27 04:50:13 -07:00
Android (Google) Code Review
c0139711b0 Merge change 2432 into donut
* changes:
  Make android_runtime to not include libemoji but use dlopen() instead. This must be submitted with change 2432
2009-05-27 04:48:21 -07:00
Android (Google) Code Review
c563beac06 am 298784cd: Merge change 2420 into donut
Merge commit '298784cd8a7ed77923bdb51de38c15e4c246a037'

* commit '298784cd8a7ed77923bdb51de38c15e4c246a037':
  This just makes it easier to derive from ApplicationErrorReport.
2009-05-27 02:19:21 -07:00
Android (Google) Code Review
298784cd8a Merge change 2420 into donut
* changes:
  This just makes it easier to derive from ApplicationErrorReport.
2009-05-27 02:17:21 -07:00
Mike LeBeau
91bc6f2c57 Cause the icon drawables to animate automatically by calling setVisible
false and then true on the drawables. For an AnimationDrawable, this will
trigger the desired behavior of 'automatically' starting the animation,
which should have been working to begin with according to the intended
design of AnimationDrawable (see http://b/1878430 for my description of
my correspondence with Romain). For Donut we'll just do this to work
around it, but for a later release we need to decide a better story.
2009-05-26 22:48:56 -07:00
Android (Google) Code Review
0d1e146cb7 Merge change 2007
* changes:
  New BluetoothSocket API.
2009-05-26 19:47:08 -07:00
Nick Pelly
0b6955a48b New BluetoothSocket API.
Modeled on blocking java.net.Socket and java.net.ServerSocket library.

Public interface is:

public final class BluetoothSocket implements Closeable {
   public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException;
   public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException;

   public void connect() throws IOException;
   public void close() throws IOException;

   public String getAddress();
   public InputStream getInputStream() throws IOException;
   public OutputStream getOutputStream() throws IOException;
}

public final class BluetoothServerSocket implements Closeable {
   public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException;
   public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException;

   public BluetoothSocket accept() throws IOException;
   public BluetoothSocket accept(int timeout) throws IOException;
   public void close() throws IOException;

}
2009-05-26 19:39:21 -07:00
Jack Palevich
55d4522392 Fix Fountain test app so that it actually builds.
Also check in first part of an libACC implementation.
2009-05-26 19:21:23 -07:00
Android (Google) Code Review
ecd53112c5 am 2a4daf06: Merge change 2508 into donut
Merge commit '2a4daf06fb36ff932f9d52962284ba369cee1ce0'

* commit '2a4daf06fb36ff932f9d52962284ba369cee1ce0':
  Activity Manager changes the scheduling group of processes.
2009-05-26 19:01:39 -07:00
Android (Google) Code Review
2a4daf06fb Merge change 2508 into donut
* changes:
  Activity Manager changes the scheduling group of processes.
2009-05-26 18:59:36 -07:00
Dianne Hackborn
06de2ea752 Activity Manager changes the scheduling group of processes.
The algorithm for this is currently very simple: all persistent processes are
always in the normal scheduling group, all other processes are normal if their
oom_adj is as good or better than VISIBLE, otherwise they are in the background
group.

Note that this currently results in a fair number of log messages about not
being able to change the group, since the system process does not have
permission to do so.  Once a kernel fix is in, these will go away and the code
will start working.
2009-05-26 18:50:46 -07:00
Ficus Kirkpatrick
5214376d2b Stop the NANP number formatter from putting dashes in shortcodes.
This changes the result of PhoneNumberUtils.formatNumber("46645") from
"466-45" to "46645".
2009-05-26 18:28:38 -07:00
Android (Google) Code Review
09d00f705b am 0c0ad39c: Merge change 2502 into donut
Merge commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0'

* commit '0c0ad39cd8eaa6de6b7f99cec3971bcc953461e0':
  minor clean-up to Rect and Point.
2009-05-26 18:15:53 -07:00
Android (Google) Code Review
0c0ad39cd8 Merge change 2502 into donut
* changes:
  minor clean-up to Rect and Point.
2009-05-26 18:14:14 -07:00
Android (Google) Code Review
602aa97482 am eba9fe3f: Merge change 2492 into donut
Merge commit 'eba9fe3f8e3c6cf448183678a1b2a9987ce4ac71'

* commit 'eba9fe3f8e3c6cf448183678a1b2a9987ce4ac71':
  add Gservices setting for "send message using bareJid timeout".
2009-05-26 18:03:07 -07:00
Android (Google) Code Review
eba9fe3f8e Merge change 2492 into donut
* changes:
  add Gservices setting for "send message using bareJid timeout".
2009-05-26 18:02:08 -07:00
Android (Google) Code Review
f8b10008f1 Merge change 2501
* changes:
  Fix RenderScript JNI code build issue.
2009-05-26 17:57:37 -07:00
Mathias Agopian
f1472a7972 minor clean-up to Rect and Point.
- return "const" objects for overloaded operators to disallow constructs like: (a+b) = c;
- don't return references to non-static members, it's not always safe.
- Point.cpp was empty, so get rid of it
2009-05-26 17:47:39 -07:00
Wei Huang
a85d46aff5 add Gservices setting for "send message using bareJid timeout". 2009-05-26 17:43:16 -07:00
Jack Palevich
eaff30744e Fix RenderScript JNI code build issue.
We should not try to build the JNI file until after we have built the
the generated header files that it includes.
2009-05-26 17:23:34 -07:00
Dirk Dougherty
b5d7b25b2f am c29df57e: am 522ab34d: AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2. BUG=1790234
Merge commit 'c29df57e5abb09c7e1ceed153e8f2b906f522d7b'

* commit 'c29df57e5abb09c7e1ceed153e8f2b906f522d7b':
  AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
2009-05-26 17:01:04 -07:00
Dirk Dougherty
c29df57e5a am 522ab34d: AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2. BUG=1790234
Merge commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01' into donut

* commit '522ab34d3821dc760e10f4bdf3fbdb558c6a1d01':
  AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
2009-05-26 16:59:33 -07:00
Android (Google) Code Review
7e432e0c68 am f3288f17: Merge change 2468 into donut
Merge commit 'f3288f178ae2b2c7910b234f54f43475a83eb860'

* commit 'f3288f178ae2b2c7910b234f54f43475a83eb860':
  setVolume did not check interface descriptor
2009-05-26 16:25:36 -07:00
Android (Google) Code Review
f3288f178a Merge change 2468 into donut
* changes:
  setVolume did not check interface descriptor DO NOT MERGE
2009-05-26 16:23:08 -07:00
Mathias Agopian
aaf834a284 some work to try to reduce the code size of some native libraries
- make sure that all binder Bn classes define a ctor and dtor in their respective library.
  This avoids duplication of the ctor/dtor in libraries where these objects are instantiated.
  This is also cleaner, should we want these ctor/dtor to do something one day.

- same change as above for some Bp classes and various other non-binder classes

- moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere.

- improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere

- IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16

- implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called.
  The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
2009-05-26 16:12:20 -07:00
Android (Google) Code Review
7f36a5729f Merge change 2355
* changes:
  add Gservices setting for "send message using bareJid timeout".
2009-05-26 15:52:48 -07:00
Dirk Dougherty
522ab34d38 AI 149272: Mark 1.5r1 as a "non-current" release, with pointer to 1.5r2.
BUG=1790234

Automated import of CL 149272
2009-05-26 15:46:56 -07:00
Dirk Dougherty
96b1534e01 am fdacdcb6: am 1d6cb270: AI 149267: Add the images for icon guidelines doc BUG=1790234
Merge commit 'fdacdcb6546b976b437dfc97e286cd1733e7bf93'

* commit 'fdacdcb6546b976b437dfc97e286cd1733e7bf93':
  AI 149267: Add the images for icon guidelines doc
2009-05-26 15:06:19 -07:00