History log of /packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7ac99a6ff9b5389948eec70d2afa96bb255feedd 15-Oct-2014 Hemant Gupta <hemantg@codeaurora.org> Add null checks in PanService

This patch fixes issues identified by static analysis tool
in Bluetooth apk wrt PAN.

Change-Id: Icd65c87450c8a3c3e745b2820bfca1d1f49b98db
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
4b55d952e08f719b77270741b13e2dace90d2aa1 03-Dec-2014 Matthew Xie <mattx@google.com> Revert "Bluetooth: Added Shared Preferences to restore tethering preference"

This reverts commit cdd2da9489cdfcf35ffdc622eba6f2155f6d376e.
Bug 18452422
Change-Id: I6039ab98038773691dce7667c53256fa04c51df9
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
838949d46a4cc054985a8cfd682004f8dd6d3bbb 28-Oct-2014 Mike Lockwood <lockwood@google.com> Add dumpsys support for bluetooth

Bug: 18159457
Change-Id: I807a7d921b6e5baf111d0f0e3e182c6633a93b7c
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
8e6c4bcf8f2275db33c7886b34eea0a6da427d08 17-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks. This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
701d60eb4c53dafc4290ecaba13f719a945e38da 01-Jul-2014 Julia Reynolds <juliacr@google.com> Restrict bluetooth tethering with user restrictions.

Bug: 15852213
Change-Id: I641b03c3e5fa4018b382f5ed835218f4196ef7f7
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
21492655012d6d3d521b8a49797366b434115bcf 28-Jun-2014 Matthew Xie <mattx@google.com> fix a merge error in PanService

Change-Id: I63734e44ca661166da9091fae622a9e54bd24431
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
7a566bbe24c3618e3b21d6b7170d94bfd2f03089 28-Jun-2014 Zhihai Xu <zhihaixu@google.com> am e40925fc: Bluetooth: Added Shared Preferences to restore tethering preference

* commit 'e40925fc889d7f9dfc2a12c8165086cc7c312cc6':
Bluetooth: Added Shared Preferences to restore tethering preference
58ff480f24ba9905edf86c98035f5e9ad76a453a 17-Jun-2014 Paul Jensen <pauljensen@google.com> Convert BluetoothTetheringDataTracker into a NetworkFactory.

bug:15407087

Change-Id: I0437ca52dedf73e8ec69ac82e46353f6fafc4a42
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
cdd2da9489cdfcf35ffdc622eba6f2155f6d376e 25-Sep-2013 Zhihai Xu <zhihaixu@google.com> Bluetooth: Added Shared Preferences to restore tethering preference

Added a Shared Preferences to have the tethering preference persist,
The value is stored while changing the tethering preference by user
and tethering preference will be restored based on the value(last
saved tethering preference) while starting the PAN service.
from QCOM
Change-Id: I468564a51ff17dfdf1b95a532fa429477db0da15
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
e40925fc889d7f9dfc2a12c8165086cc7c312cc6 25-Sep-2013 Zhihai Xu <zhihaixu@google.com> Bluetooth: Added Shared Preferences to restore tethering preference

Added a Shared Preferences to have the tethering preference persist,
The value is stored while changing the tethering preference by user
and tethering preference will be restored based on the value(last
saved tethering preference) while starting the PAN service.
from QCOM
Change-Id: I468564a51ff17dfdf1b95a532fa429477db0da15
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
3ec105beaebd4d6abea80b52206b11032ab4f33c 29-Jan-2014 Sharvil Nanavati <sharvil@google.com> Avoid race condition that gets PanService stuck in STATE_DISCONNECTED.

http://b/12788418

Change-Id: I7cc43db047457eb6a4ac501770a714eef0ed6422
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
bad4995703f97fab3c7c84b297a8ca6df65191fa 04-May-2013 Zhihai Xu <zhihaixu@google.com> avoid null pointer in handlePanDeviceStateChange of PanService

see the following null pointer exception
04-30 15:15:21.689 10890 10890 E AndroidRuntime: Caused by: java.lang.NullPointerException
04-30 15:15:21.689 10890 10890 E AndroidRuntime: at com.android.bluetooth.pan.PanService.handlePanDeviceStateChange(PanService.java:457)
which cause crash when disable BT
If the stop is called before the cleanup in PanService, Nullpointer may happen.

issue 8769031

Change-Id: Ia3fb1625c945c508771a697234e6ee18a120d72b
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
b57062726d787db9c40636a9b506870007676d7f 11-Mar-2013 Robert Greenwalt <rgreenwalt@google.com> Don't try using netd anymore.

Instead, form a connection with the NetworkStateTracker so
ConnectivityService can treat this like the other networks.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
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/src/com/android/bluetooth/pan/PanService.java
df9d0fe584874f8cafa6ecedb3c3c054c9e99cba 10-Oct-2012 Matthew Xie <mattx@google.com> Merge "Turn off dbg messages, be prepared for production build" into jb-mr1-dev
37510150ee738ccfa5913f7120e28f25ae7768df 09-Oct-2012 Zhihai Xu <zhihaixu@google.com> Bluetooth multi-user updates: change bluetooth service
to reject background user access.

bug 6925422

Change-Id: I11d5ebf007c2843a72a9870055fc96672daf8409
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
fd1da115cbf09b7dd9bca3c7d3a4fb816a835dc5 08-Oct-2012 Matthew Xie <mattx@google.com> Turn off dbg messages, be prepared for production build

bug 7174712

Change-Id: I58747ec6507da8ea8ae27a182b601aaf626ede42
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
15d36984a79d6e35c659edb0efdf929f0b526bd5 01-Aug-2012 Fred <fredc@broadcom.com> Fix for BT turn on/off issues: NPE, FD/thread leaks, ANR.

This fix addresses numerous BT on/off issues found from the CTS test.
Fixed fD/pipe leak in various state machine Looper objects by calling quit() function.
Fixed cursor leak in AtPhonebook.
Change Pbap to stop the RFCOMM listener on the STATE_TURNING_OFF instead of STATE_OFF.
Removed several cleanup() methods causing NPE.
Reduced RFCOMM listener timeout from 3 seconds to 300ms between retry.
bug 6834336

Change-Id: I52423343d8f52f65294af0143f373871a9874d77
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
7ac24de2819e5e4140ab7ab264e7cfffed4d7398 18-Jul-2012 Ganesh Ganapathi Batta <ganeshg@broadcom.com> Do not accept connection from remote PANU if the local role is also PANU

Fix for BLTH01537991
Change-Id: Ieea143a5929217c7dc52c541e55ddf57077b244f
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
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/src/com/android/bluetooth/pan/PanService.java
8120c75b7a8b5a9c0e00df500c1ed072a952bda1 26-May-2012 zzy <zhenye@broadcom.com> Added code to cleanup connection state when bt off
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
a25e9c65c2a0192b7b3d819e2b87704f1942aa2f 21-May-2012 Sreenidhi T <nidhit@broadcom.com> Changing the order of notification of connection state change, as it was causing a race condition, with the UI not being updated with the correct connection state.

Change-Id: I6f4c75e4eac4ae798cb7918a4f1b7458e1eaa4b0
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
a7e8ef3f77ac74449f817f36f570a3545285be85 11-May-2012 fredc <fredc@broadcom.com> Added support for enabling/disabling profiles

Change-Id: I819ca7920d9d866bd3aca88d4365a18e2369ee81
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
74ae04c73312403e89db0f8e9bd9601d403b4783 07-May-2012 fredc <fredc@broadcom.com> Fixed memory leak in Binder objects from repeatedly turning on/off Bluetooth

Change-Id: Ibee5382816d47b1e9b846461942a9daccc4210a7
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
ac7e62c64b4cd8d864f125d3225474a04b867606 27-Apr-2012 zzy <zhenye@broadcom.com> Added code to turn off pan connection when tethering state changed
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
b5cc776c9353a203cdde97e62b25f05d9633d14c 19-Apr-2012 fredc <fredc@broadcom.com> Fixed BT on/off issue

Change-Id: I47cbac9fc694d5604a664f20170eeed90eeee8e6

Conflicts:

jni/com_android_bluetooth_btservice_AdapterService.cpp
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
3fafe61ef25c1899fdc817c52163aec16c31055c 19-Apr-2012 Ravi Nagarajan <nravi@broadcom.com> Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup.Memory profiling changes : Updated the Bluetooth code to handle cleaning up of object references (context, handlers, and collection objects ) during service cleanup.

Change-Id: I2b0235f71c1feaf32215b2aaf89a2e06d8fa7d73
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
9a0efb0ee8c63797280b3b9309782541134e9205 16-Apr-2012 fredc <fredc@broadcom.com> adapter non persistent service. Fixed null exception when profile services connect/disconnect

Change-Id: Iefafd1115471256d3107f039897e2af16077cdae
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/PanService.java
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/src/com/android/bluetooth/pan/PanService.java