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()
210 mCarBluetoothService.connectDevices(); in connectDevices()
DICarImpl.java86 private final CarBluetoothService mCarBluetoothService; field in ICarImpl
141 mCarBluetoothService = new CarBluetoothService(serviceContext, mPerUserCarServiceHelper); in ICarImpl()
144 serviceContext, null /* handler */, mCarInputService, mCarBluetoothService); in ICarImpl()
194 allServices.add(mCarBluetoothService); in ICarImpl()
327 return mCarBluetoothService; in getCarService()
DCarProjectionService.java93 private final CarBluetoothService mCarBluetoothService; field in CarProjectionService
168 mCarBluetoothService = carBluetoothService; in CarProjectionService()
340 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit()
373 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit()