Home
last modified time | relevance | path

Searched refs:mProfileConnector (Results 1 – 13 of 13) sorted by relevance

/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAvrcpController.java93 private final BluetoothProfileConnector<IBluetoothAvrcpController> mProfileConnector = field in BluetoothAvrcpController
111 mProfileConnector.connect(context, listener); in BluetoothAvrcpController()
115 mProfileConnector.disconnect(); in close()
119 return mProfileConnector.getService(); in getService()
H A DBluetoothPbapClient.java64 private final BluetoothProfileConnector<IBluetoothPbapClient> mProfileConnector = field in BluetoothPbapClient
82 mProfileConnector.connect(context, listener); in BluetoothPbapClient()
100 mProfileConnector.disconnect(); in close()
104 return mProfileConnector.getService(); in getService()
H A DBluetoothPan.java188 private final BluetoothProfileConnector<IBluetoothPan> mProfileConnector = field in BluetoothPan
210 mProfileConnector.connect(context, listener); in BluetoothPan()
219 mProfileConnector.disconnect(); in close()
223 return mProfileConnector.getService(); in getService()
H A DBluetoothSap.java103 private final BluetoothProfileConnector<IBluetoothSap> mProfileConnector = field in BluetoothSap
120 mProfileConnector.connect(context, listener); in BluetoothSap()
140 mProfileConnector.disconnect(); in close()
144 return mProfileConnector.getService(); in getService()
H A DBluetoothLeAudio.java108 private final BluetoothProfileConnector<IBluetoothLeAudio> mProfileConnector = field in BluetoothLeAudio
125 mProfileConnector.connect(context, listener); in BluetoothLeAudio()
134 mProfileConnector.disconnect(); in close()
138 return mProfileConnector.getService(); in getService()
H A DBluetoothMap.java86 private final BluetoothProfileConnector<IBluetoothMap> mProfileConnector = field in BluetoothMap
103 mProfileConnector.connect(context, listener); in BluetoothMap()
126 mProfileConnector.disconnect(); in close()
130 return mProfileConnector.getService(); in getService()
H A DBluetoothA2dpSink.java85 private final BluetoothProfileConnector<IBluetoothA2dpSink> mProfileConnector = field in BluetoothA2dpSink
102 mProfileConnector.connect(context, listener); in BluetoothA2dpSink()
106 mProfileConnector.disconnect(); in close()
110 return mProfileConnector.getService(); in getService()
H A DBluetoothHearingAid.java137 private final BluetoothProfileConnector<IBluetoothHearingAid> mProfileConnector = field in BluetoothHearingAid
154 mProfileConnector.connect(context, listener); in BluetoothHearingAid()
158 mProfileConnector.disconnect(); in close()
162 return mProfileConnector.getService(); in getService()
H A DBluetoothHidDevice.java430 private final BluetoothProfileConnector<IBluetoothHidDevice> mProfileConnector = field in BluetoothHidDevice
442 mProfileConnector.connect(context, listener); in BluetoothHidDevice()
446 mProfileConnector.disconnect(); in close()
450 return mProfileConnector.getService(); in getService()
H A DBluetoothMapClient.java179 private final BluetoothProfileConnector<IBluetoothMapClient> mProfileConnector = field in BluetoothMapClient
196 mProfileConnector.connect(context, listener); in BluetoothMapClient()
207 mProfileConnector.disconnect(); in close()
211 return mProfileConnector.getService(); in getService()
H A DBluetoothHidHost.java243 private final BluetoothProfileConnector<IBluetoothHidHost> mProfileConnector = field in BluetoothHidHost
260 mProfileConnector.connect(context, listener); in BluetoothHidHost()
265 mProfileConnector.disconnect(); in close()
269 return mProfileConnector.getService(); in getService()
H A DBluetoothA2dp.java271 private final BluetoothProfileConnector<IBluetoothA2dp> mProfileConnector = field in BluetoothA2dp
288 mProfileConnector.connect(context, listener); in BluetoothA2dp()
293 mProfileConnector.disconnect(); in close()
297 return mProfileConnector.getService(); in getService()
H A DBluetoothHeadsetClient.java431 private final BluetoothProfileConnector<IBluetoothHeadsetClient> mProfileConnector = field in BluetoothHeadsetClient
447 mProfileConnector.connect(context, listener); in BluetoothHeadsetClient()
458 mProfileConnector.disconnect(); in close()
462 return mProfileConnector.getService(); in getService()