Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DCarBluetoothServiceTest.java71 private CarBluetoothService mCarBluetoothService; field in CarBluetoothServiceTest
139 if (mCarBluetoothService != null) { in tearDown()
140 mCarBluetoothService.release(); in tearDown()
141 mCarBluetoothService = null; in tearDown()
164 mCarBluetoothService = new CarBluetoothService(mMockContext, mMockUserSwitchService); in testConnectionResourceFlagTrue_doCreateDefaultConnectionPolicy()
165 mCarBluetoothService.init(); in testConnectionResourceFlagTrue_doCreateDefaultConnectionPolicy()
167 Assert.assertTrue(mCarBluetoothService.isUsingDefaultConnectionPolicy()); in testConnectionResourceFlagTrue_doCreateDefaultConnectionPolicy()
184 mCarBluetoothService = new CarBluetoothService(mMockContext, mMockUserSwitchService); in testConnectionResourceFlagFalse_doNotCreateDefaultConnectionPolicy()
185 mCarBluetoothService.init(); in testConnectionResourceFlagFalse_doNotCreateDefaultConnectionPolicy()
187 Assert.assertFalse(mCarBluetoothService.isUsingDefaultConnectionPolicy()); in testConnectionResourceFlagFalse_doNotCreateDefaultConnectionPolicy()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java115 private CarBluetoothService mCarBluetoothService; field in CarProjectionServiceTest
150 mCarBluetoothService); in setUp()
211 mContext, mHandler, mCarInputService, mCarBluetoothService); in startLohsWithStableCredentials_success()
348 mCarBluetoothService); in getProjectionOptions_staticLohsCredentialsApMode()
361 mCarBluetoothService); in getProjectionOptions_tetheredApMode()
480 mCarBluetoothService); in isBluetoothProfileInhibited()
481 when(mCarBluetoothService.isProfileInhibited(any(), anyInt(), any())) in isBluetoothProfileInhibited()
DCarInputRotaryServiceTest.java91 @Mock private CarBluetoothService mCarBluetoothService; field in CarInputRotaryServiceTest
300 mCarOccupantZoneService, mCarBluetoothService, mCarPowerManagementService, in init()
DCarInputServiceTest.java109 @Mock CarBluetoothService mCarBluetoothService; field in CarInputServiceTest
154 mCarOccupantZoneService, mCarBluetoothService, mCarPowerManagementService, in setUp()
629 verify(mCarBluetoothService, times(1)).startBluetoothVoiceRecognition(); in voiceKey_longPress_bluetoothVoiceRecognitionIsEnabled_triggersBluetoothAssist()
657 verify(mCarBluetoothService, never()).startBluetoothVoiceRecognition(); in voiceKey_shortPress_bluetoothVoiceRecognitionIsEnabled_triggersAssistUtils()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothDeviceConnectionPolicy.java65 private final CarBluetoothService mCarBluetoothService; field in BluetoothDeviceConnectionPolicy
282 mCarBluetoothService = bluetoothService; in BluetoothDeviceConnectionPolicy()
338 mCarBluetoothService.connectDevices(); in connectDevices()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java105 private final CarBluetoothService mCarBluetoothService; field in CarProjectionService
204 mCarBluetoothService = carBluetoothService; in CarProjectionService()
378 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit()
411 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit()
440 return mCarBluetoothService.isProfileInhibited(device, profile, token); in isBluetoothProfileInhibited()
DICarImpl.java154 private final CarBluetoothService mCarBluetoothService; field in ICarImpl
328 mCarBluetoothService = constructWithTrace(t, CarBluetoothService.class, in ICarImpl()
333 mCarOccupantZoneService, mCarBluetoothService, mCarPowerManagementService, in ICarImpl()
337 mCarBluetoothService), allServices); in ICarImpl()
DCarInputService.java216 private final CarBluetoothService mCarBluetoothService; field in CarInputService
345 mCarBluetoothService = bluetoothService; in CarInputService()
971 return mCarBluetoothService.startBluetoothVoiceRecognition(); in launchBluetoothVoiceRecognition()