HomeSort by relevance Sort by last modified time
    Searched defs:oemlock (Results 1 - 9 of 9) sorted by null

  /external/nos/host/android/hals/oemlock/citadel/
service.cpp 25 #include <OemLock.h>
33 using ::android::hardware::oemlock::OemLock;
41 LOG(INFO) << "OemLock HAL service starting";
56 sp<OemLock> oemlock = new OemLock{avbClient}; local
57 const status_t status = oemlock->registerAsService();
59 LOG(FATAL) << "Failed to register OemLock as a service (status: " << status << ")";
  /external/nos/host/android/hals/oemlock/include/
OemLock.h 20 #include <android/hardware/oemlock/1.0/IOemLock.h>
26 namespace oemlock { namespace in namespace:android::hardware
28 using ::android::hardware::oemlock::V1_0::IOemLock;
29 using ::android::hardware::oemlock::V1_0::OemLockSecureStatus;
30 using ::android::hardware::oemlock::V1_0::OemLockStatus;
38 struct OemLock : public IOemLock {
39 OemLock(AvbClient& avbApp) : _avbApp{avbApp} {}
40 ~OemLock() override = default;
42 // Methods from ::android::hardware::oemlock::V1_0::IOemLock follow.
57 } // namespace oemlock
    [all...]
  /frameworks/base/services/core/java/com/android/server/oemlock/
OemLock.java 17 package com.android.server.oemlock;
21 abstract class OemLock {
PersistentDataBlockLock.java 17 package com.android.server.oemlock;
33 class PersistentDataBlockLock extends OemLock {
34 private static final String TAG = "OemLock";
OemLockService.java 17 package com.android.server.oemlock;
24 import android.hardware.oemlock.V1_0.IOemLock;
33 import android.service.oemlock.IOemLockService;
44 * The OemLock HAL will be used if it is available, otherwise the persistent data block will be
48 private static final String TAG = "OemLock";
54 private OemLock mOemLock;
61 private static OemLock getOemLock(Context context) {
76 OemLockService(Context context, OemLock oemLock) {
79 mOemLock = oemLock;
    [all...]
VendorLock.java 17 package com.android.server.oemlock;
21 import android.hardware.oemlock.V1_0.IOemLock;
22 import android.hardware.oemlock.V1_0.OemLockSecureStatus;
23 import android.hardware.oemlock.V1_0.OemLockStatus;
35 class VendorLock extends OemLock {
36 private static final String TAG = "OemLock";
45 Slog.i(TAG, "OemLock HAL not present on device");
52 VendorLock(Context context, IOemLock oemLock) {
54 mOemLock = oemLock;
  /frameworks/base/core/java/android/service/oemlock/
OemLockManager.java 17 package android.service.oemlock;
  /external/nos/host/android/hals/oemlock/
OemLock.cpp 17 #include "OemLock.h"
28 namespace oemlock { namespace in namespace:android::hardware
43 // Methods from ::android::hardware::oemlock::V1_0::IOemLock follow.
44 Return<void> OemLock::getName(getName_cb _hidl_cb) {
45 LOG(VERBOSE) << "Running OemLock::getName";
50 Return<OemLockSecureStatus> OemLock::setOemUnlockAllowedByCarrier(
52 LOG(INFO) << "Running OemLock::setOemUnlockAllowedByCarrier: " << allowed;
83 Return<void> OemLock::isOemUnlockAllowedByCarrier(isOemUnlockAllowedByCarrier_cb _hidl_cb) {
84 LOG(VERBOSE) << "Running OemLock::isOemUnlockAllowedByCarrier";
102 Return<OemLockStatus> OemLock::setOemUnlockAllowedByDevice(bool allowed)
    [all...]
  /hardware/interfaces/oemlock/1.0/vts/functional/
VtsHalOemLockV1_0TargetTest.cpp 16 #include <android/hardware/oemlock/1.0/IOemLock.h>
21 using ::android::hardware::oemlock::V1_0::IOemLock;
22 using ::android::hardware::oemlock::V1_0::OemLockStatus;
23 using ::android::hardware::oemlock::V1_0::OemLockSecureStatus;
28 // Test environment for OemLock HIDL HAL.
42 oemlock = ::testing::VtsHalHidlTargetTestBase::getService<IOemLock>(
44 ASSERT_NE(oemlock, nullptr);
49 sp<IOemLock> oemlock; member in struct:OemLockHidlTest
60 const auto ret = oemlock->getName([&](OemLockStatus s, hidl_string n) {
80 const auto ret = oemlock->isOemUnlockAllowedByDevice([&](OemLockStatus s, bool a)
    [all...]

Completed in 135 milliseconds