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.java118 int mEncryptionState = HandshakeState.UNKNOWN; field in CarTrustAgentEnrollmentService
564 + mEnrollmentState + " Encryption State: " + mEncryptionState); in onRemoteDeviceDisconnected()
568 "Enrollment State: " + mEnrollmentState + " EncryptionState: " + mEncryptionState); in onRemoteDeviceDisconnected()
679 switch (mEncryptionState) { in processInitEncryptionMessage()
686 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
691 logEnrollmentEvent(ENROLLMENT_ENCRYPTION_STATE, mEncryptionState); in processInitEncryptionMessage()
700 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
703 Log.d(TAG, "Updated encryption state: " + mEncryptionState); in processInitEncryptionMessage()
708 if (mEncryptionState == HandshakeState.VERIFICATION_NEEDED) { in processInitEncryptionMessage()
732 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()