Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/
DKeyStore.java494 KeystoreResultPromise promise = new KeystoreResultPromise(); in addRngEntropy() local
496 mBinder.asBinder().linkToDeath(promise, 0); in addRngEntropy()
497 int errorCode = mBinder.addRngEntropy(promise, data, flags); in addRngEntropy()
499 return promise.getFuture().get().getErrorCode() == NO_ERROR; in addRngEntropy()
510 mBinder.asBinder().unlinkToDeath(promise, 0); in addRngEntropy()
565 KeyCharacteristicsPromise promise = new KeyCharacteristicsPromise(); in generateKeyInternal() local
569 mBinder.asBinder().linkToDeath(promise, 0); in generateKeyInternal()
570 error = mBinder.generateKey(promise, alias, args, entropy, uid, flags); in generateKeyInternal()
575 result = promise.getFuture().get(); in generateKeyInternal()
577 mBinder.asBinder().unlinkToDeath(promise, 0); in generateKeyInternal()
[all …]
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp594 std::promise<void> go_barrier_promise; in ClientCommand()
598 std::promise<void> done_barrier_promise; in ClientCommand()
607 std::promise<BenchmarkResult> result_promise; in ClientCommand()
610 std::promise<void> ready_barrier_promise; in ClientCommand()
615 std::promise<BenchmarkResult> result, std::promise<void> ready) { in ClientCommand()
/frameworks/base/libs/hwui/tests/unit/
DThreadBaseTests.cpp55 std::promise<nsecs_t> ranAtPromise; in TEST()