2300 Commits

Author SHA1 Message Date
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
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
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
Android (Google) Code Review
a33a486a65 am d22c64f3: Merge change 2434 into donut
Merge commit 'd22c64f377532969e61ec319f3b9f8a179ae8d47'

* commit 'd22c64f377532969e61ec319f3b9f8a179ae8d47':
  Removed Matrix from spatial sampling for GestureUtilities
2009-05-26 15:04:26 -07:00
Dirk Dougherty
fdacdcb654 am 1d6cb270: AI 149267: Add the images for icon guidelines doc BUG=1790234
Merge commit '1d6cb270a53e45e6370dfdd60954269c76b09d28' into donut

* commit '1d6cb270a53e45e6370dfdd60954269c76b09d28':
  AI 149267: Add the images for icon guidelines doc
2009-05-26 15:03:43 -07:00
Android (Google) Code Review
d22c64f377 Merge change 2434 into donut
* changes:
  Removed Matrix from spatial sampling for GestureUtilities - updated the letter training file
2009-05-26 15:02:59 -07:00
Dirk Dougherty
1d6cb270a5 AI 149267: Add the images for icon guidelines doc
BUG=1790234

Automated import of CL 149267
2009-05-26 15:01:29 -07:00
Android (Google) Code Review
00179f02dd am 9762b533: Merge change 2465 into donut
Merge commit '9762b53352edc4cc8a6bc091930fc53dedcfe1e7'

* commit '9762b53352edc4cc8a6bc091930fc53dedcfe1e7':
  Fix crash in GestureOverlayView
2009-05-26 14:41:49 -07:00
Android (Google) Code Review
9762b53352 Merge change 2465 into donut
* changes:
  Fix crash in GestureOverlayView
2009-05-26 14:40:45 -07:00
Dave Sparks
814941997f setVolume did not check interface descriptor
DO NOT MERGE
2009-05-26 14:39:29 -07:00
Yang Li
b082ceefdc Removed Matrix from spatial sampling for GestureUtilities
- updated the letter training file
2009-05-26 14:30:34 -07:00
Android (Google) Code Review
40dec9c738 Merge change 2466
* changes:
  Rename Calc sample to Fountain.
2009-05-26 14:28:02 -07:00
Jack Palevich
5da30b73d4 Rename Calc sample to Fountain. 2009-05-26 14:26:43 -07:00
Marco Nelissen
fea57edf0d Fix crash in GestureOverlayView 2009-05-26 14:20:35 -07:00
Android (Google) Code Review
ecb109d165 Merge change 2462
* changes:
  Add sprite fountain test.
2009-05-26 13:49:33 -07:00
Jack Palevich
60aa3eaf55 Add sprite fountain test.
It's still called "Calc".
2009-05-26 13:45:08 -07:00
Jaikumar Ganesh
8c1ba0d7ec am cf2119a9: Check for desiredPowerState (airplane mode) before setting up data.
Merge commit 'cf2119a9755d9e2713ce78e84d0826d430a11a62'

* commit 'cf2119a9755d9e2713ce78e84d0826d430a11a62':
  Check for desiredPowerState (airplane mode) before setting up data.
  Remove dimmed background (and accompanying animation) for global
2009-05-26 12:55:34 -07:00
Android (Google) Code Review
bcb00d7e06 Merge change 2446
* changes:
  Fix sim-eng build.
2009-05-26 12:38:46 -07:00
Andy McFadden
2e37a0ca87 Fix sim-eng build. 2009-05-26 12:06:31 -07:00
Jaikumar Ganesh
cf2119a975 Check for desiredPowerState (airplane mode) before setting up data.
Check for airplane mode before trying to setup data.
Send an event while switching from wifi to cell data,
instead of calling trySetupData directly.
2009-05-26 11:18:35 -07:00
Android (Google) Code Review
46f54ef82a Merge change 1876
* changes:
  fix warning where we were boxing and int, only to have it automatically unboxed
2009-05-26 10:46:04 -07:00
Mike LeBeau
8a86c79b5b Remove dimmed background (and accompanying animation) for global
search, since we should never really see that background anyway,
and I suspect the animation is using a significant amount of CPU.
2009-05-26 10:42:24 -07:00
Grace Kloba
5753430f64 Added postUrl() to WebView so that we can pass lat/lon for the search. 2009-05-26 10:35:06 -07:00
Android (Google) Code Review
d185cac23c Merge change 2393 into donut
* changes:
  Remove dimmed background (and accompanying animation) for global search, since we should never really see that background anyway, and I suspect the animation is using a significant amount of CPU.
2009-05-26 10:33:55 -07:00
Android (Google) Code Review
c5d0343b67 am de8268d6: Merge change 2331 into donut
Merge commit 'de8268d6d1cd168510c490b17e93154d2eab767c'

* commit 'de8268d6d1cd168510c490b17e93154d2eab767c':
  Fix issue 1846343 - part 1
2009-05-26 10:11:44 -07:00
Dirk Dougherty
620ad3dcf1 am 30d79f64: am f3043db0: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit '30d79f64ecdd15d279cae6421f39a0c8fa2fab7d'

* commit '30d79f64ecdd15d279cae6421f39a0c8fa2fab7d':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:11:41 -07:00
Android (Google) Code Review
3ef9697397 am 8fc5a63d: Merge change 2431 into donut
Merge commit '8fc5a63d422fd32258dc18fe0e635b4f1486fd61'

* commit '8fc5a63d422fd32258dc18fe0e635b4f1486fd61':
  wifi: Fix problem parsing RSSI when the AP name contains a space.
2009-05-26 10:11:36 -07:00