Searched refs:headsetService (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetPhoneState.java | 80 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()
|
D | HeadsetSystemInterface.java | 71 HeadsetSystemInterface(HeadsetService headsetService) { in HeadsetSystemInterface() argument 72 if (headsetService == null) { in HeadsetSystemInterface() 75 mHeadsetService = headsetService; in HeadsetSystemInterface()
|
D | HeadsetObjectsFactory.java | 74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() argument 76 return HeadsetStateMachine.make(device, looper, headsetService, adapterService, in makeStateMachine()
|
D | HeadsetStateMachine.java | 167 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/ |
D | PhonePolicy.java | 231 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()
|
D | SilenceDeviceManager.java | 269 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged() local 270 if (headsetService != null) { in handleSilenceDeviceStateChanged() 271 headsetService.setSilenceMode(device, state); in handleSilenceDeviceStateChanged()
|
D | ActiveDeviceManager.java | 441 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice() local 442 if (headsetService == null) { in setHfpActiveDevice() 445 if (!headsetService.setActiveDevice(device)) { in setHfpActiveDevice()
|
D | BondStateMachine.java | 534 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority() local 545 if (headsetService != null) { in clearProfilePriority() 546 headsetService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED); in clearProfilePriority()
|