Home
last modified time | relevance | path

Searched refs:mBluetoothAdapter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverManager.java73 final BluetoothAdapter mBluetoothAdapter; field in HandoverManager
156 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in HandoverManager()
207 mLocalBluetoothAddress = mBluetoothAdapter.getAddress(); in createBluetoothOobDataRecord()
218 return (mBluetoothAdapter != null); in isHandoverSupported()
222 if (mBluetoothAdapter == null) return null; in createHandoverRequestMessage()
268 if (mBluetoothAdapter == null) return null; in tryHandoverRequest()
294 boolean bluetoothActivating = !mBluetoothAdapter.isEnabled(); in tryHandoverRequest()
322 if (mBluetoothAdapter == null) return false; in tryHandover()
331 if (mBluetoothAdapter == null) { in tryHandover()
356 if (mBluetoothAdapter == null) return; in doHandoverUri()
[all …]
DHandoverService.java99 BluetoothAdapter mBluetoothAdapter; field in HandoverService
107 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in HandoverService()
151 if (mBluetoothAdapter.isEnabled()) { in doOutgoingTransfer()
172 if (!mBluetoothAdapter.isEnabled() && !enableBluetooth()) { in doIncomingTransfer()
187 if (mBluetoothAdapter.isEnabled()) { in doHeadsetHandover()
229 if (!mBluetoothAdapter.isEnabled()) { in enableBluetooth()
231 return mBluetoothAdapter.enableNoAutoConnect(); in enableBluetooth()
240 mBluetoothAdapter.disable(); in disableBluetoothIfNeeded()
DBluetoothHeadsetHandover.java80 final BluetoothAdapter mBluetoothAdapter; field in BluetoothHeadsetHandover
105 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHeadsetHandover()
121 if (mBluetoothAdapter == null) return; in start()
222 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET)) in getProfileProxys()
225 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.A2DP)) in getProfileProxys()
346 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.A2DP, mA2dp); in complete()
349 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mHeadset); in complete()
/packages/apps/Phone/src/com/android/phone/
DInCallScreen.java202 private BluetoothAdapter mBluetoothAdapter; field in InCallScreen
483 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in onCreate()
484 if (mBluetoothAdapter != null) { in onCreate()
485mBluetoothAdapter.getProfileProxy(getApplicationContext(), mBluetoothProfileServiceListener, in onCreate()
943 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset); in onDestroy()
4196 if (mBluetoothAdapter != null) { in dumpBluetoothState()