b8aa037602eff1fe5fbc9cce07a6f9bc34d19a3e |
|
31-Mar-2010 |
Jaikumar Ganesh <jaikumar@google.com> |
Fix crash while turning bluetooth on, due to a race condition. Bug: 2561150 Race condition: We were basing whether the event loop is running or not on whether nat->pollData was null or not. In rare cases, eventLoopMain would have not started, isEventLoopRunning returns true; java side makes a dbus call and the watches get set to null, causing a crash in dbus_connection_set_watch_functions when eventLoopMain starts. Change-Id: I863f182185a8e956fd53cb58783b7fe0ecfb2ddb
/frameworks/base/core/jni/android_bluetooth_common.h
|
d5ac1ae36b4e096eb97984334f86d0c68abea2f7 |
|
06-May-2009 |
Jaikumar Ganesh <jaikumar@google.com> |
Framework changes for bluez4. Changes in the Bluetooth JNI calls and framework functions for Bluez4.
/frameworks/base/core/jni/android_bluetooth_common.h
|
0b6955a48bad9aee01ae2f0c06d3f168ca603ab7 |
|
27-May-2009 |
Nick Pelly <npelly@google.com> |
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; }
/frameworks/base/core/jni/android_bluetooth_common.h
|
28d139fa953c0b3bf2c66d92587e5287ec4dd5ab |
|
03-Apr-2009 |
Robert Greenwalt <> |
AI 144392: am: CL 144241 Stop polling dbus. Original author: rgreenwalt Automated import of CL 144392
/frameworks/base/core/jni/android_bluetooth_common.h
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_bluetooth_common.h
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/jni/android_bluetooth_common.h
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/jni/android_bluetooth_common.h
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/jni/android_bluetooth_common.h
|