Home
last modified time | relevance | path

Searched refs:OemLock (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/guest/hals/oemlock/remote/
Dremote_oemlock.cpp42 OemLock::OemLock(transport::Channel& channel) : channel_(channel) {} in OemLock() function in aidl::android::hardware::oemlock::OemLock
44 ::ndk::ScopedAStatus OemLock::getName(std::string *out_name) { in getName()
49 ::ndk::ScopedAStatus OemLock::setOemUnlockAllowedByCarrier(bool in_allowed, in setOemUnlockAllowedByCarrier()
56 ::ndk::ScopedAStatus OemLock::isOemUnlockAllowedByCarrier(bool *out_allowed) { in isOemUnlockAllowedByCarrier()
60 ::ndk::ScopedAStatus OemLock::setOemUnlockAllowedByDevice(bool in_allowed) { in setOemUnlockAllowedByDevice()
64 ::ndk::ScopedAStatus OemLock::isOemUnlockAllowedByDevice(bool *out_allowed) { in isOemUnlockAllowedByDevice()
68 Result<void> OemLock::requestValue(secure_env::OemLockField field, bool *out) { in requestValue()
81 Result<void> OemLock::setValue(secure_env::OemLockField field, bool value) { in setValue()
Dservice.cpp25 using ::aidl::android::hardware::oemlock::OemLock;
43 std::shared_ptr<OemLock> oemlock = ndk::SharedRefBase::make<OemLock>(channel); in main()
45 const std::string instance = std::string() + OemLock::descriptor + "/default"; in main()
Dremote_oemlock.h32 struct OemLock : public BnOemLock { struct
34 OemLock(transport::Channel& channel);
/device/google/cuttlefish/host/commands/secure_env/oemlock/
Doemlock.cpp63 OemLock::OemLock(secure_env::Storage& storage) : storage_(storage) { in OemLock() function in cuttlefish::oemlock::OemLock
71 Result<bool> OemLock::IsOemUnlockAllowedByCarrier() const { in IsOemUnlockAllowedByCarrier()
75 Result<bool> OemLock::IsOemUnlockAllowedByDevice() const { in IsOemUnlockAllowedByDevice()
79 Result<bool> OemLock::IsOemUnlockAllowed() const { in IsOemUnlockAllowed()
87 Result<bool> OemLock::IsOemLocked() const { in IsOemLocked()
91 Result<void> OemLock::SetOemUnlockAllowedByCarrier(bool allowed) { in SetOemUnlockAllowedByCarrier()
96 Result<void> OemLock::SetOemUnlockAllowedByDevice(bool allowed) { in SetOemUnlockAllowedByDevice()
101 Result<void> OemLock::SetOemLocked(bool locked) { in SetOemLocked()
Doemlock_responder.h29 OemLockResponder(transport::Channel& channel, OemLock& oemlock,
36 OemLock& oemlock_;
Doemlock.h33 class OemLock {
35 OemLock(secure_env::Storage& storage);
Doemlock_responder.cpp24 OemLock& oemlock, std::timed_mutex& lock) in OemLockResponder()
/device/google/cuttlefish/host/commands/secure_env/
Dsecure_env_not_windows_main.cpp178 fruit::Component<fruit::Required<TpmResourceManager>, oemlock::OemLock>
194 .registerProvider([](secure_env::Storage& storage) -> oemlock::OemLock* { in ChooseOemlockComponent()
195 return new oemlock::OemLock(storage); in ChooseOemlockComponent()
200 fruit::Component<TpmResourceManager, gatekeeper::GateKeeper, oemlock::OemLock,
259 fruit::Injector<TpmResourceManager, gatekeeper::GateKeeper, oemlock::OemLock, in SecureEnvMain()
264 oemlock::OemLock* oemlock = injector.get<oemlock::OemLock*>(); in SecureEnvMain()