Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarBluetoothServiceTest.java58 private CarBluetoothService mCarBluetoothService; field in CarBluetoothServiceTest
117 if (mCarBluetoothService != null) { in tearDown()
118 mCarBluetoothService.release(); in tearDown()
119 mCarBluetoothService = null; in tearDown()
141 mCarBluetoothService = new CarBluetoothService(mMockContext, mMockUserSwitchService); in testResourceFlagTrue_doCreateDefaultPolicy()
142 mCarBluetoothService.init(); in testResourceFlagTrue_doCreateDefaultPolicy()
144 Assert.assertTrue(mCarBluetoothService.isUsingDefaultConnectionPolicy()); in testResourceFlagTrue_doCreateDefaultPolicy()
161 mCarBluetoothService = new CarBluetoothService(mMockContext, mMockUserSwitchService); in testResourceFlagFalse_doNotCreateDefaultPolicy()
162 mCarBluetoothService.init(); in testResourceFlagFalse_doNotCreateDefaultPolicy()
164 Assert.assertFalse(mCarBluetoothService.isUsingDefaultConnectionPolicy()); in testResourceFlagFalse_doNotCreateDefaultPolicy()
DCarProjectionServiceTest.java102 private CarBluetoothService mCarBluetoothService; field in CarProjectionServiceTest
110 mCarBluetoothService); in setUp()
/packages/services/Car/service/src/com/android/car/
DBluetoothDeviceConnectionPolicy.java47 private final CarBluetoothService mCarBluetoothService; field in BluetoothDeviceConnectionPolicy
155 mCarBluetoothService = bluetoothService; in BluetoothDeviceConnectionPolicy()
209 mCarBluetoothService.connectDevices(); in connectDevices()
DICarImpl.java97 private final CarBluetoothService mCarBluetoothService; field in ICarImpl
155 mCarBluetoothService = new CarBluetoothService(serviceContext, mPerUserCarServiceHelper); in ICarImpl()
158 serviceContext, null /* handler */, mCarInputService, mCarBluetoothService); in ICarImpl()
216 allServices.add(mCarBluetoothService); in ICarImpl()
349 return mCarBluetoothService; in getCarService()
DCarProjectionService.java94 private final CarBluetoothService mCarBluetoothService; field in CarProjectionService
183 mCarBluetoothService = carBluetoothService; in CarProjectionService()
355 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit()
388 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit()