Searched refs:opResult (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyStoreCryptoOperationChunkedStreamer.java | 134 OperationResult opResult = mKeyStoreStream.update( in update() local 137 if (opResult == null) { in update() 139 } else if (opResult.resultCode != KeyStore.NO_ERROR) { in update() 140 throw KeyStore.getKeyStoreException(opResult.resultCode); in update() 142 if (opResult.inputConsumed <= 0) { in update() 145 } else if (opResult.inputConsumed > mChunkLength) { in update() 148 + mChunkLength + ", consumed: " + opResult.inputConsumed); in update() 150 mChunkLength -= opResult.inputConsumed; in update() 154 ArrayUtils.copy(mChunk, opResult.inputConsumed, mChunk, 0, mChunkLength); in update() 157 if ((opResult.output != null) && (opResult.output.length > 0)) { in update() [all …]
|
D | AndroidKeyStoreHmacSpi.java | 166 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local 174 if (opResult == null) { in ensureKeystoreOperationInitialized() 180 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized() 181 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized() 185 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreSignatureSpiBase.java | 202 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local 209 if (opResult == null) { in ensureKeystoreOperationInitialized() 215 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized() 216 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized() 220 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized() 232 mMessageStreamer = createMainDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized()
|
D | AndroidKeyStoreCipherSpiBase.java | 248 OperationResult opResult = mKeyStore.begin( in ensureKeystoreOperationInitialized() local 255 if (opResult == null) { in ensureKeystoreOperationInitialized() 261 mOperationToken = opResult.token; in ensureKeystoreOperationInitialized() 262 mOperationHandle = opResult.operationHandle; in ensureKeystoreOperationInitialized() 266 mKeyStore, mKey, opResult.resultCode); in ensureKeystoreOperationInitialized() 284 loadAlgorithmSpecificParametersFromBeginResult(opResult.outParams); in ensureKeystoreOperationInitialized() 285 mMainDataStreamer = createMainDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized() 287 createAdditionalAuthenticationDataStreamer(mKeyStore, opResult.token); in ensureKeystoreOperationInitialized()
|