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.java74 HeadsetPhoneState(HeadsetService headsetService) { in HeadsetPhoneState() argument
75 Objects.requireNonNull(headsetService, "headsetService is null"); in HeadsetPhoneState()
76 mHeadsetService = headsetService; in HeadsetPhoneState()
85 mHandler = new Handler(headsetService.getStateMachinesThreadLooper()); in HeadsetPhoneState()
DHeadsetObjectsFactory.java74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() argument
76 return HeadsetStateMachine.make(device, looper, headsetService, adapterService, in makeStateMachine()
DHeadsetSystemInterface.java78 HeadsetSystemInterface(HeadsetService headsetService) { in HeadsetSystemInterface() argument
79 if (headsetService == null) { in HeadsetSystemInterface()
82 mHeadsetService = headsetService; in HeadsetSystemInterface()
DHeadsetStateMachine.java170 HeadsetService headsetService, AdapterService adapterService, in HeadsetStateMachine() argument
176 mHeadsetService = Objects.requireNonNull(headsetService, "headsetService cannot be null"); in HeadsetStateMachine()
197 HeadsetService headsetService, AdapterService adapterService, in make() argument
200 new HeadsetStateMachine(device, looper, headsetService, adapterService, in make()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
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()
DPhonePolicy.java259 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() local
274 if ((headsetService != null) && ((ArrayUtils.contains(uuids, BluetoothUuid.HSP) in processInitProfilePriorities()
276 headsetService.getConnectionPolicy(device) in processInitProfilePriorities()
DBondStateMachine.java535 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority() local
546 if (headsetService != null) { in clearProfilePriority()
547 headsetService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_UNKNOWN); in clearProfilePriority()