b40cec2e9a4a848b7ba724c6ed02c49604f0c669 |
|
25-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Rename bt_bdaddr_t into RawAddress (2/3) Test: compilation test Change-Id: I8b334c77a96ea29d58b1e4cf176e0a941b74d2b9
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
2116dbf94fbc00da999ac629c78627983f599a26 |
|
17-Mar-2017 |
Andre Eisenbach <eisenbach@google.com> |
Revert "jni: introduce ScopedBtAddr" Causes crash on Fugu. Reverting for now until further investigation. This reverts commit 2b233628767c0bf6ff21ae2acdeada8bea94e583. Change-Id: I21daf6b75312695d7ccb83ae603aaeffc3c9e770
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
2b233628767c0bf6ff21ae2acdeada8bea94e583 |
|
15-Feb-2017 |
Marie Janssen <jamuraa@google.com> |
jni: introduce ScopedBtAddr ScopedBtAddr handles marshalling bt_bdaddr_t into jbyteArrays so we don't have to. It also complains when it can't allocate things and deletes the local reference when it goes out of scope. Test: compiles, sanity tests with various profiles Change-Id: I78a6364cc5cac0e8664d2d04388a6e2ac4c7a58f
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
479b34835a560d032e211c3c27e10384af69c3b9 |
|
11-Oct-2016 |
Marie Janssen <jamuraa@google.com> |
jni: use ScopedLocalRef where possible RAII simplifies code paths and eliminates errors. Test: mma -j40, sanity testing on devices Change-Id: I278f91445217c898a868b8328549c080d7123dbb
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
dbd48b5fbeb449c31c92cbe8565db5e8f74c41e6 |
|
06-Dec-2016 |
Marie Janssen <jamuraa@google.com> |
JNI: clang-format code Add clang-format file. Add PREUPLOAD to check newly uploaded code. clang-format --style=file jni/*.cpp Test: mma -j37 Change-Id: I76bc67f7e69ac374f82d6c5d9745657f31dccdae
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
ae15d3d42fcb3349c11d394423493020e78c5f43 |
|
30-Nov-2016 |
Marie Janssen <jamuraa@google.com> |
JNI: style cleanup Beginning of style cleanup: - no assigns in conditionals - move declarations closer to first use - replace __FUNCTION__ with __func__ - remove unnecessary gotos Test: mma && manual sanity tests Change-Id: I7f8fca01dd57f57538b71fe7d7753fffe1de4d00
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
fe37710d689b7573ddeb901141db42c28b6cab39 |
|
12-Oct-2016 |
Marie Janssen <jamuraa@google.com> |
jni: Use RAII to manage callback environment CallbackEnv is a new RAII object which: - Retrieves the callback environment when instantiated - Clears exceptions when it goes out of scope - Centralizes checks that we are in the correct environment It can be used the same as a pointer to JNIEnv with the -> operator and the JNIEnv pointer can be retrieved with get(); Test: basic functionality tests Change-Id: I004f2655e2e02847782fec794faa62da85c85d49
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
92a1b2ea243f07df0f2b650979fb8c1e66252c5a |
|
13-Oct-2015 |
Nitin Shivpure <nshivpur@codeaurora.org> |
Bluetooth: Fix to avoid PAN JNI crash due to ENABLE_TIMEOUT A case, where BT ON/OFF is running in the loop(stress). In one of the iteration, BT ON gets failed due to ENABLE_TIMEOUT. But BTIF for PAN had already been initialized. SSR cleanup is triggered due to BT on failure. So PAN JNI callback obj gets deleted, PAN control_state_callback is triggered just after PAN JNI cleanup. BT gets crashed. Checking for NULL to avoid crash in any unknown scenario. Change-Id: Ie95470348f11be6c9eccc1e4ac3869d6789f3f6c
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
7b0fee2bccb630e4b9f93ee29f474c7aa89a28f9 |
|
23-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix warnings in packages/apps/Bluetooth Bug: 27301103 Change-Id: I5eec4610f64af4191f64e946122623b6fe222b92
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
f19f1ac64a5fefb248ab15b918d009b926c99dde |
|
11-Mar-2015 |
Nitin Arora <niarora@codeaurora.org> |
Bluetooth LE background operation mode (1/2) Changes to BluetoothAdapter state machine for handling new states BLE_STATE_ON and intermediate states BLE_TURNING_ON and BLE_TURNING_OFF. Also includes the actions required while migrating in and out of these states including start and stop of GATT services and other profiles. Change-Id: I08d6ff05c2cefe559d5bb5789a1a488afefbe544
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
f05fbcfbdb4d4e2b60bd81c80a3922ae24430fbf |
|
01-Feb-2014 |
Sharvil Nanavati <sharvil@google.com> |
Update PAN JNI code to match updated interface definition. This also fixes some weird internal reordering of arguments. All of the implementations should match the interfaces now. http://b/12853951 Change-Id: I019da4892204dd92ebf203e77bdb23af96c57697
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
ede67c26e7b2564ea35db6d9b3027a269c150e13 |
|
24-Oct-2012 |
Zhihai Xu <zhihaixu@google.com> |
License of files Bluetooth package is not updated to ASL2 bug 7385618 Change-Id: I338fd87083387706f3b5f410c9592219bb8a1acb
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
3237754f492015699fc91508d76c2e123d6f3c42 |
|
08-Sep-2012 |
zzy <zhenye@broadcom.com> |
fixed local reference leak
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
e469f16e5a7d99471d7db1b216d422e8d12cc4cf |
|
06-Jun-2012 |
Matthew Xie <mattx@google.com> |
matt: my fix to get it compile, change logx to alogx, and etc Change-Id: I0b361ad6ba9a5f6ac4db9203a389ee309b04019a
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
de396a46388269221b05dae2760be63fe7254748 |
|
16-Apr-2012 |
Kausik Sinnaswamy <kausik@broadcom.com> |
Clear BT Interface pointer during cleanup for BT on/off cycles to work Change-Id: I89cdf7714c78b2b8dcbcdc6e78cd2500f85df986
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|
6654f5c903de510a70f9e72cd5ad7837b615d93f |
|
12-Apr-2012 |
fredc <fredc@broadcom.com> |
Non persistent adapter service Change-Id: I65e1c18e2899cea0a1e5c0102c4d24d39dce0249 Conflicts: jni/com_android_bluetooth_hdp.cpp jni/com_android_bluetooth_hid.cpp Conflicts: jni/com_android_bluetooth_hid.cpp
/packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
|