Home | History | Annotate | Download | only in server

Lines Matching refs:mBluetooth

155     private IBluetooth mBluetooth;
270 if (mBluetooth != null) {
271 st = mBluetooth.getState();
291 if (mBluetooth != null) {
292 mBluetooth.onBrEdrDown();
364 mBluetooth = null;
516 return mBluetooth;
564 if (mBluetooth != null) return mBluetooth.isEnabled();
582 if (mBluetooth != null) return mBluetooth.getState();
607 if (mBluetooth != null &&
608 mBluetooth.getState() == BluetoothAdapter.STATE_BLE_ON) {
610 mBluetooth.onBrEdrDown();
651 if (mBluetooth != null) mBluetooth.onBrEdrDown();
669 if (mBluetooth != null && (mBluetooth.getState() != BluetoothAdapter.STATE_ON)) {
726 if (mBluetooth == null) {
727 if (DBG) Slog.w(TAG, "onBluetoothServiceUp: mBluetooth is null!");
730 int st = mBluetooth.getState();
738 mBluetooth.onLeServiceUp();
755 if (mBluetooth == null) {
770 if (mBluetooth != null) mBluetooth.onBrEdrDown();
793 Slog.d(TAG,"enableNoAutoConnect(): mBluetooth =" + mBluetooth +
838 Slog.d(TAG,"enable(" + packageName + "): mBluetooth =" + mBluetooth +
874 Slog.d(TAG,"disable(): mBluetooth = " + mBluetooth +
920 Slog.d(TAG,"unbindAndFinish(): " + mBluetooth +
930 if (mBluetooth != null) {
933 mBluetooth.unregisterCallback(mBluetoothCallback);
938 mBluetooth = null;
1225 mCallbacks.getBroadcastItem(i).onBluetoothServiceUp(mBluetooth);
1270 if (mBluetooth != null) return mBluetooth.getAddress();
1295 if (mBluetooth != null) return mBluetooth.getName();
1358 if ((mBluetooth == null) && (!mBinding)) {
1371 } else if (mBluetooth != null) {
1373 storeNameAndAddress(mBluetooth.getName(),
1374 mBluetooth.getAddress());
1390 Slog.d(TAG, "MESSAGE_ENABLE(" + msg.arg1 + "): mBluetooth = " + mBluetooth);
1398 if (mBluetooth != null) {
1399 int state = mBluetooth.getState();
1402 mBluetooth.onLeServiceUp();
1414 if (mBluetooth == null) {
1441 if (DBG) Slog.d(TAG, "MESSAGE_DISABLE: mBluetooth = " + mBluetooth);
1443 if (mEnable && mBluetooth != null) {
1533 mBluetooth = IBluetooth.Stub.asInterface(Binder.allowBlocking(service));
1543 mBluetooth.registerCallback(mBluetoothCallback);
1553 if (!mBluetooth.enable()) {
1557 if (!mBluetooth.enableNoAutoConnect()) {
1589 (mBluetooth != null) && mEnable) {
1594 (mBluetooth != null) && mEnable) {
1627 if (mBluetooth == null) break;
1628 mBluetooth = null;
1703 if (mBluetooth != null && isEnabled()) {
1706 if (mBluetooth != null) {
1707 mBluetooth.unregisterCallback(mBluetoothCallback);
1747 if (mBluetooth != null) {
1748 mBluetooth = null;
1775 } else if (mBinding || mBluetooth != null) {
1790 if (mEnable && !mBinding && (mBluetooth == null)) {
1807 if ((mBluetooth == null) && (!mBinding)) {
1818 } else if (mBluetooth != null) {
1822 if(!mBluetooth.enable()) {
1827 if(!mBluetooth.enableNoAutoConnect()) {
1853 if (mBluetooth != null) {
1855 if (!mBluetooth.disable()) {
1990 if (mBluetooth == null) break;
1992 if (mBluetooth.getState() == BluetoothAdapter.STATE_ON) return true;
1994 if (mBluetooth.getState() == BluetoothAdapter.STATE_OFF) return true;
1996 if (mBluetooth.getState() != BluetoothAdapter.STATE_ON) return true;
2047 if (mBluetooth != null) {
2049 mBluetooth.unregisterCallback(mBluetoothCallback);
2069 if (mBluetooth != null) {
2070 mBluetooth = null;