/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 79 @Mock private HeadsetService mHeadsetService; 174 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_Connect() 191 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_StackConnected() 208 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectedToConnecting_StackConnecting() 242 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectingToDisconnected_StackDisconnected() 260 eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectingToDisconnected_Timeout() 303 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_ConnectingToConnected_StackSlcConnected() 325 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectingToDisconnected_StackDisconnected() 344 eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectingToDisconnected_Timeout() 366 mIntentArgument.capture(), eq(UserHandle.ALL), eq(HeadsetService.BLUETOOTH_PERM)); in testStateTransition_DisconnectingToConnected_StackSlcCconnected() [all …]
|
D | HeadsetServiceAndStateMachineTest.java | 95 private HeadsetService mHeadsetService; 218 mOriginalVrTimeoutMs = HeadsetService.sStartVrTimeoutMs; in setUp() 219 HeadsetService.sStartVrTimeoutMs = START_VR_TIMEOUT_MILLIS; in setUp() 220 TestUtils.startService(mServiceRule, HeadsetService.class); in setUp() 221 mHeadsetService = HeadsetService.getHeadsetService(); in setUp() 244 TestUtils.stopService(mServiceRule, HeadsetService.class); in tearDown() 245 HeadsetService.sStartVrTimeoutMs = mOriginalVrTimeoutMs; in tearDown() 247 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown() 266 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
|
D | HeadsetServiceTest.java | 73 private HeadsetService mHeadsetService; 145 TestUtils.startService(mServiceRule, HeadsetService.class); in setUp() 146 mHeadsetService = HeadsetService.getHeadsetService(); in setUp() 160 TestUtils.stopService(mServiceRule, HeadsetService.class); in tearDown() 161 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown() 177 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
|
D | HeadsetPhoneStateTest.java | 55 @Mock private HeadsetService mHeadsetService;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetService.java | 90 public class HeadsetService extends ProfileService { class 124 private static HeadsetService sHeadsetService; 414 private volatile HeadsetService mService; 416 BluetoothHeadsetBinder(HeadsetService svc) { in BluetoothHeadsetBinder() 425 private HeadsetService getService() { in getService() 426 final HeadsetService service = mService; in getService() 444 HeadsetService service = getService(); in connect() 453 HeadsetService service = getService(); in disconnect() 462 HeadsetService service = getService(); in getConnectedDevices() 471 HeadsetService service = getService(); in getDevicesMatchingConnectionStates() [all …]
|
D | HeadsetObjectsFactory.java | 74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine() 95 public HeadsetSystemInterface makeSystemInterface(HeadsetService service) { in makeSystemInterface()
|
D | HeadsetPhoneState.java | 48 private final HeadsetService mHeadsetService; 74 HeadsetPhoneState(HeadsetService headsetService) { in HeadsetPhoneState()
|
D | HeadsetStateMachine.java | 131 private final HeadsetService mHeadsetService; 170 HeadsetService headsetService, AdapterService adapterService, in HeadsetStateMachine() 197 HeadsetService headsetService, AdapterService adapterService, in make() 307 HeadsetService.BLUETOOTH_PERM); in broadcastConnectionState() 326 HeadsetService.BLUETOOTH_PERM); in broadcastAudioState() 1503 mHeadsetService.sendBroadcastAsUser(intent, UserHandle.ALL, HeadsetService.BLUETOOTH_PERM); in broadcastVendorSpecificEventIntent() 1957 mHeadsetService.sendBroadcast(intent, HeadsetService.BLUETOOTH_PERM); in sendIndicatorIntent()
|
D | HeadsetSystemInterface.java | 51 private final HeadsetService mHeadsetService; 78 HeadsetSystemInterface(HeadsetService headsetService) { in HeadsetSystemInterface()
|
D | HeadsetNativeInterface.java | 60 HeadsetService service = HeadsetService.getHeadsetService(); in sendMessageToService()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ServiceFactory.java | 22 import com.android.bluetooth.hfp.HeadsetService; 33 public HeadsetService getHeadsetService() { in getHeadsetService() 34 return HeadsetService.getHeadsetService(); in getHeadsetService()
|
D | PhonePolicy.java | 40 import com.android.bluetooth.hfp.HeadsetService; 259 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities() 355 HeadsetService hsService = mFactory.getHeadsetService(); in handleAllProfilesDisconnected() 436 final HeadsetService hsService = mFactory.getHeadsetService(); in autoConnectHeadset() 481 HeadsetService hsService = mFactory.getHeadsetService(); in processConnectOtherProfiles()
|
D | Config.java | 35 import com.android.bluetooth.hfp.HeadsetService; 68 new ProfileConfig(HeadsetService.class, R.bool.profile_supported_hs_hfp,
|
D | BondStateMachine.java | 35 import com.android.bluetooth.hfp.HeadsetService; 535 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority()
|
D | SilenceDeviceManager.java | 34 import com.android.bluetooth.hfp.HeadsetService; 269 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged()
|
D | ActiveDeviceManager.java | 40 import com.android.bluetooth.hfp.HeadsetService; 441 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice()
|
D | AdapterService.java | 90 import com.android.bluetooth.hfp.HeadsetService; 232 private HeadsetService mHeadsetService; 1028 mHeadsetService = HeadsetService.getHeadsetService(); in initProfileServices()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | SilenceDeviceManagerTest.java | 38 import com.android.bluetooth.hfp.HeadsetService; 64 @Mock private HeadsetService mHeadsetService;
|
D | ActiveDeviceManagerTest.java | 39 import com.android.bluetooth.hfp.HeadsetService; 65 @Mock private HeadsetService mHeadsetService;
|
D | PhonePolicyTest.java | 37 import com.android.bluetooth.hfp.HeadsetService; 65 @Mock private HeadsetService mHeadsetService;
|