Home
last modified time | relevance | path

Searched refs:headsetService (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java80 HeadsetPhoneState(HeadsetService headsetService) { in HeadsetPhoneState() argument
81 Objects.requireNonNull(headsetService, "headsetService is null"); in HeadsetPhoneState()
82 mHeadsetService = headsetService; in HeadsetPhoneState()
92 headsetService.getStateMachinesThreadLooper()); in HeadsetPhoneState()
DHeadsetSystemInterface.java71 HeadsetSystemInterface(HeadsetService headsetService) { in HeadsetSystemInterface() argument
72 if (headsetService == null) { in HeadsetSystemInterface()
75 mHeadsetService = headsetService; in HeadsetSystemInterface()
DHeadsetObjectsFactory.java74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() argument
76 return HeadsetStateMachine.make(device, looper, headsetService, adapterService, in makeStateMachine()
DHeadsetStateMachine.java167 HeadsetService headsetService, AdapterService adapterService, in HeadsetStateMachine() argument
173 mHeadsetService = Objects.requireNonNull(headsetService, "headsetService cannot be null"); in HeadsetStateMachine()
194 HeadsetService headsetService, AdapterService adapterService, in make() argument
197 new HeadsetStateMachine(device, looper, headsetService, adapterService, in make()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DPhonePolicy.java231 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() local
244 if ((headsetService != null) && ((BluetoothUuid.isUuidPresent(uuids, BluetoothUuid.HSP) in processInitProfilePriorities()
246 headsetService.getPriority(device) == BluetoothProfile.PRIORITY_UNDEFINED))) { in processInitProfilePriorities()
247 headsetService.setPriority(device, BluetoothProfile.PRIORITY_ON); in processInitProfilePriorities()
DSilenceDeviceManager.java269 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged() local
270 if (headsetService != null) { in handleSilenceDeviceStateChanged()
271 headsetService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
DActiveDeviceManager.java441 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice() local
442 if (headsetService == null) { in setHfpActiveDevice()
445 if (!headsetService.setActiveDevice(device)) { in setHfpActiveDevice()
DBondStateMachine.java534 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority() local
545 if (headsetService != null) { in clearProfilePriority()
546 headsetService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()