Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/
DKeyStore.java483 KeystoreResultPromise promise = new KeystoreResultPromise(); in addRngEntropy() local
485 mBinder.asBinder().linkToDeath(promise, 0); in addRngEntropy()
486 int errorCode = mBinder.addRngEntropy(promise, data, flags); in addRngEntropy()
488 return interruptedPreservingGet(promise.getFuture()).getErrorCode() == NO_ERROR; in addRngEntropy()
499 mBinder.asBinder().unlinkToDeath(promise, 0); in addRngEntropy()
554 KeyCharacteristicsPromise promise = new KeyCharacteristicsPromise(); in generateKeyInternal() local
558 mBinder.asBinder().linkToDeath(promise, 0); in generateKeyInternal()
559 error = mBinder.generateKey(promise, alias, args, entropy, uid, flags); in generateKeyInternal()
564 result = interruptedPreservingGet(promise.getFuture()); in generateKeyInternal()
566 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()