Home
last modified time | relevance | path

Searched refs:UnlockProxyLockHelper (Results 1 – 2 of 2) sorted by relevance

/system/security/keystore/include/keystore/
Dkeystore_concurrency.h25 template <typename LockedType> class UnlockProxyLockHelper {
32 UnlockProxyLockHelper() : value_(nullptr) {} in UnlockProxyLockHelper() function
33 UnlockProxyLockHelper(LockedType* value, std::function<void(LockedType*)>&& unlock) in UnlockProxyLockHelper() function
35 ~UnlockProxyLockHelper() { in ~UnlockProxyLockHelper()
38 UnlockProxyLockHelper(UnlockProxyLockHelper&& rhs) in UnlockProxyLockHelper() function
43 UnlockProxyLockHelper& operator=(UnlockProxyLockHelper&& rhs) {
45 UnlockProxyLockHelper dummy(std::move(*this));
53 UnlockProxyLockHelper(const UnlockProxyLockHelper& rhs) = delete;
54 UnlockProxyLockHelper& operator=(const UnlockProxyLockHelper& rhs) = delete;
/system/security/keystore/
Duser_state.h42 template <typename UserState> using LockedUserState = ProxyLock<UnlockProxyLockHelper<UserState>>;