Home
last modified time | relevance | path

Searched refs:mCarTrustedDeviceService (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/trust/
DCarTrustAgentEnrollmentServiceTest.java71 private CarTrustedDeviceService mCarTrustedDeviceService; field in CarTrustAgentEnrollmentServiceTest
100 mCarTrustedDeviceService = new CarTrustedDeviceService(mContext); in setUp()
102 mCarTrustedDeviceService, mMockCarTrustAgentBleManager); in setUp()
103 mCarTrustedDeviceService.init(); in setUp()
139 eq(Utils.uuidToBytes(mCarTrustedDeviceService.getUniqueId())), any(), eq(false)); in testEncryptionHandshake()
227 SharedPreferences sharedPrefs = mCarTrustedDeviceService.getSharedPrefs(); in testOnEscrowTokenRemoved_removeOneTrustedDevice()
234 assertThat(mCarTrustedDeviceService.getUserHandleByTokenHandle(TEST_HANDLE1)).isEqualTo( in testOnEscrowTokenRemoved_removeOneTrustedDevice()
244 assertThat(mCarTrustedDeviceService.getUserHandleByTokenHandle(TEST_HANDLE2)).isEqualTo( in testOnEscrowTokenRemoved_removeOneTrustedDevice()
253 assertThat(mCarTrustedDeviceService.getUserHandleByTokenHandle(TEST_HANDLE1)).isEqualTo(-1); in testOnEscrowTokenRemoved_removeOneTrustedDevice()
254 assertThat(mCarTrustedDeviceService.getUserHandleByTokenHandle(TEST_HANDLE2)).isEqualTo( in testOnEscrowTokenRemoved_removeOneTrustedDevice()
[all …]
/packages/services/Car/service/src/com/android/car/trust/
DCarBleTrustAgent.java55 private CarTrustedDeviceService mCarTrustedDeviceService; field in CarBleTrustAgent
72 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in onCreate()
73 if (mCarTrustedDeviceService == null) { in onCreate()
78 mCarTrustedDeviceService.getCarTrustAgentEnrollmentService(); in onCreate()
80 mCarTrustAgentUnlockService = mCarTrustedDeviceService.getCarTrustAgentUnlockService(); in onCreate()
258 if (mCarTrustedDeviceService != null) { in onBluetoothStateChanged()
259 mCarTrustedDeviceService.cleanupBleService(); in onBluetoothStateChanged()
DCarTrustAgentBleManager.java99 private CarTrustedDeviceService mCarTrustedDeviceService; field in CarTrustAgentBleManager
261 if (mCarTrustedDeviceService == null) { in getTrustedDeviceService()
262 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in getTrustedDeviceService()
264 return mCarTrustedDeviceService; in getTrustedDeviceService()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java102 private final CarTrustedDeviceService mCarTrustedDeviceService; field in ICarImpl
184 mCarTrustedDeviceService = new CarTrustedDeviceService(serviceContext); in ICarImpl()
190 CarLocalServices.addService(CarTrustedDeviceService.class, mCarTrustedDeviceService); in ICarImpl()
224 allServices.add(mCarTrustedDeviceService); in ICarImpl()
362 return mCarTrustedDeviceService.getCarTrustAgentEnrollmentService(); in getCarService()
737 mCarTrustedDeviceService.getCarTrustAgentEnrollmentService() in exec()
739 mCarTrustedDeviceService.getCarTrustAgentUnlockService() in exec()
743 mCarTrustedDeviceService.getCarTrustAgentEnrollmentService() in exec()