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()
249 if (mCarTrustedDeviceService != null) { in onBluetoothStateChanged()
250 mCarTrustedDeviceService.cleanupBleService(); in onBluetoothStateChanged()
DCarTrustAgentBleManager.java91 private CarTrustedDeviceService mCarTrustedDeviceService; field in CarTrustAgentBleManager
239 if (mCarTrustedDeviceService == null) { in getTrustedDeviceService()
240 mCarTrustedDeviceService = CarLocalServices.getService(CarTrustedDeviceService.class); in getTrustedDeviceService()
242 return mCarTrustedDeviceService; in getTrustedDeviceService()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java91 private final CarTrustedDeviceService mCarTrustedDeviceService; field in ICarImpl
166 mCarTrustedDeviceService = new CarTrustedDeviceService(serviceContext); in ICarImpl()
172 CarLocalServices.addService(CarTrustedDeviceService.class, mCarTrustedDeviceService); in ICarImpl()
202 allServices.add(mCarTrustedDeviceService); in ICarImpl()
340 return mCarTrustedDeviceService.getCarTrustAgentEnrollmentService(); in getCarService()
695 mCarTrustedDeviceService.getCarTrustAgentEnrollmentService() in exec()
697 mCarTrustedDeviceService.getCarTrustAgentUnlockService() in exec()
701 mCarTrustedDeviceService.getCarTrustAgentEnrollmentService() in exec()