Lines Matching refs:promise
189 android::sp<KeystoreResponsePromise> promise(new KeystoreResponsePromise()); in addRandomNumberGeneratorEntropy() local
190 auto future = promise->get_future(); in addRandomNumberGeneratorEntropy()
193 keystore_->addRngEntropy(promise, blob2hidlVec(entropy), flags, &error_code); in addRandomNumberGeneratorEntropy()
210 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in generateKey() local
211 auto future = promise->get_future(); in generateKey()
213 promise, key_name16, in generateKey()
237 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in getKeyCharacteristics() local
238 auto future = promise->get_future(); in getKeyCharacteristics()
240 promise, key_name16, android::security::keymaster::KeymasterBlob(), in getKeyCharacteristics()
265 android::sp<KeyCharacteristicsPromise> promise(new KeyCharacteristicsPromise); in importKey() local
266 auto future = promise->get_future(); in importKey()
268 promise, key_name16, in importKey()
291 android::sp<KeystoreExportPromise> promise(new KeystoreExportPromise); in exportKey() local
292 auto future = promise->get_future(); in exportKey()
294 promise, key_name16, (int)export_format, android::security::keymaster::KeymasterBlob(), in exportKey()
331 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in beginOperation() local
332 auto future = promise->get_future(); in beginOperation()
334 promise, token, key_name16, (int)purpose, true /*pruneable*/, in beginOperation()
361 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in updateOperation() local
362 auto future = promise->get_future(); in updateOperation()
364 promise, active_operations_[handle], in updateOperation()
393 android::sp<OperationResultPromise> promise(new OperationResultPromise{}); in finishOperation() local
394 auto future = promise->get_future(); in finishOperation()
396 promise, active_operations_[handle], in finishOperation()
420 android::sp<KeystoreResponsePromise> promise(new KeystoreResponsePromise{}); in abortOperation() local
421 auto future = promise->get_future(); in abortOperation()
423 auto binder_result = keystore_->abort(promise, active_operations_[handle], &result); in abortOperation()