Home
last modified time | relevance | path

Searched refs:mEncryptionState (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentUnlockService.java144 private int mEncryptionState = HandshakeMessage.HandshakeState.UNKNOWN; field in CarTrustAgentUnlockService
371 switch (mEncryptionState) { in processKeyExchangeHandshakeMessage()
378 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processKeyExchangeHandshakeMessage()
383 logUnlockEvent(UNLOCK_ENCRYPTION_STATE, mEncryptionState); in processKeyExchangeHandshakeMessage()
392 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processKeyExchangeHandshakeMessage()
395 Log.d(TAG, "Updated encryption state: " + mEncryptionState); in processKeyExchangeHandshakeMessage()
400 if (mEncryptionState == HandshakeMessage.HandshakeState.VERIFICATION_NEEDED) { in processKeyExchangeHandshakeMessage()
401 logUnlockEvent(UNLOCK_ENCRYPTION_STATE, mEncryptionState); in processKeyExchangeHandshakeMessage()
421 Log.w(TAG, "Encountered invalid handshake state: " + mEncryptionState); in processKeyExchangeHandshakeMessage()
450 mEncryptionState = HandshakeMessage.HandshakeState.FINISHED; in showVerificationCode()
[all …]
DCarTrustAgentEnrollmentService.java121 int mEncryptionState = HandshakeState.UNKNOWN; field in CarTrustAgentEnrollmentService
589 + mEnrollmentState + " Encryption State: " + mEncryptionState); in onRemoteDeviceDisconnected()
593 "Enrollment State: " + mEnrollmentState + " EncryptionState: " + mEncryptionState); in onRemoteDeviceDisconnected()
704 switch (mEncryptionState) { in processInitEncryptionMessage()
711 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
716 logEnrollmentEvent(ENROLLMENT_ENCRYPTION_STATE, mEncryptionState); in processInitEncryptionMessage()
725 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
728 Log.d(TAG, "Updated encryption state: " + mEncryptionState); in processInitEncryptionMessage()
733 if (mEncryptionState == HandshakeState.VERIFICATION_NEEDED) { in processInitEncryptionMessage()
757 Log.w(TAG, "Encountered invalid handshake state: " + mEncryptionState); in processInitEncryptionMessage()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/trust/
DCarTrustAgentEnrollmentServiceTest.java135 assertThat(mCarTrustAgentEnrollmentService.mEncryptionState).isEqualTo( in testEncryptionHandshake()
144 assertThat(mCarTrustAgentEnrollmentService.mEncryptionState).isEqualTo( in testEncryptionHandshake()
152 assertThat(mCarTrustAgentEnrollmentService.mEncryptionState).isEqualTo( in testEncryptionHandshake()
161 assertThat(mCarTrustAgentEnrollmentService.mEncryptionState).isEqualTo( in testEncryptionHandshake()