Home
last modified time | relevance | path

Searched refs:getHandshakeState (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/EncryptionRunner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java48 .setHandshakeState(getHandshakeState()) in initHandshake()
70 .setHandshakeState(getHandshakeState()) in respondToInitRequest()
91 if (mUkey2client.getHandshakeState() != Ukey2Handshake.State.IN_PROGRESS) { in continueHandshake()
93 + mUkey2client.getHandshakeState()); in continueHandshake()
101 if (mUkey2client.getHandshakeState() == Ukey2Handshake.State.IN_PROGRESS) { in continueHandshake()
106 if (mUkey2client.getHandshakeState() == Ukey2Handshake.State.VERIFICATION_NEEDED) { in continueHandshake()
111 .setHandshakeState(getHandshakeState()) in continueHandshake()
169 .setHandshakeState(getHandshakeState()) in verifyPin()
178 private int getHandshakeState() { in getHandshakeState() method in Ukey2EncryptionRunner
180 switch (mUkey2client.getHandshakeState()) { in getHandshakeState()
DHandshakeMessage.java103 public int getHandshakeState() { in getHandshakeState() method in HandshakeMessage
/packages/apps/Car/libs/EncryptionRunner/src/android/car/encryptionrunner/
DUkey2EncryptionRunner.java76 .setHandshakeState(getHandshakeState()) in initHandshake()
104 .setHandshakeState(getHandshakeState()) in respondToInitRequest()
125 if (mUkey2client.getHandshakeState() != Ukey2Handshake.State.IN_PROGRESS) { in continueHandshake()
127 + mUkey2client.getHandshakeState()); in continueHandshake()
135 if (mUkey2client.getHandshakeState() == Ukey2Handshake.State.IN_PROGRESS) { in continueHandshake()
139 if (mUkey2client.getHandshakeState() == Ukey2Handshake.State.VERIFICATION_NEEDED) { in continueHandshake()
146 .setHandshakeState(handshakeMessage.getHandshakeState()) in continueHandshake()
152 .setHandshakeState(getHandshakeState()) in continueHandshake()
213 int state = getHandshakeState(); in verifyPin()
327 private int getHandshakeState() { in getHandshakeState() method in Ukey2EncryptionRunner
[all …]
DHandshakeMessage.java104 public int getHandshakeState() { in getHandshakeState() method in HandshakeMessage
/packages/services/Car/EncryptionRunner/test/android/car/encryptionrunner/
DEncryptionRunnerTest.java60 assertThat(finalServerMessage.getHandshakeState()) in verifyRunners()
66 assertThat(finalClientMessage.getHandshakeState()) in verifyRunners()
83 assertThat(initialClientMessage.getHandshakeState()) in verifyHandshake()
96 assertThat(initialServerMessage.getHandshakeState()) in verifyHandshake()
107 assertThat(clientMessage.getHandshakeState()) in verifyHandshake()
118 assertThat(serverMessage.getHandshakeState()) in verifyHandshake()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DSecureBleChannel.java140 mState = handshakeMessage.getHandshakeState(); in processHandshakeUnknown()
162 mState = handshakeMessage.getHandshakeState(); in processHandshakeInProgress()
211 mState = handshakeMessage.getHandshakeState(); in processHandshakeResumingSession()
302 if (message.getHandshakeState() != HandshakeState.FINISHED) { in notifyOutOfBandAccepted()
304 + "state: " + message.getHandshakeState() + "."); in notifyOutOfBandAccepted()
316 mState = message.getHandshakeState(); in notifyOutOfBandAccepted()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentUnlockService.java378 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processKeyExchangeHandshakeMessage()
392 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processKeyExchangeHandshakeMessage()
443 if (handshakeMessage.getHandshakeState() != HandshakeMessage.HandshakeState.FINISHED) { in showVerificationCode()
445 + handshakeMessage.getHandshakeState()); in showVerificationCode()
DCarTrustAgentEnrollmentService.java711 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
725 mEncryptionState = mHandshakeMessage.getHandshakeState(); in processInitEncryptionMessage()
820 if (message.getHandshakeState() != HandshakeState.FINISHED) { in setEnrollmentHandshakeAccepted()
822 + message.getHandshakeState()); in setEnrollmentHandshakeAccepted()