Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a76deb57 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Rename IKeymaster back to IKeymaserDevice"

parents fbe95d5c 32aa7ecb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ hidl_interface {
    },
    srcs: [
        "types.hal",
        "IKeymaster.hal",
        "IKeymasterDevice.hal",
    ],
    interfaces: [
        "android.hardware.keymaster@3.0",
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import android.hardware.keymaster@3.0::KeyFormat;
 * Keymaster device definition.  For thorough documentation see the implementer's reference, at
 * https://source.android.com/security/keystore/implementer-ref.html
 */
interface IKeymaster {
interface IKeymasterDevice {

    /**
     * Returns information about the underlying keymaster hardware.
+3 −3
Original line number Diff line number Diff line
@@ -16,13 +16,13 @@
*/

#include <android-base/logging.h>
#include <android/hardware/keymaster/4.0/IKeymaster.h>
#include <android/hardware/keymaster/4.0/IKeymasterDevice.h>
#include <hidl/HidlTransportSupport.h>

#include <AndroidKeymaster4.h>
#include <AndroidKeymaster4Device.h>

int main() {
    auto keymaster = ::keymaster::V4_0::ng::CreateKeymaster();
    auto keymaster = ::keymaster::V4_0::ng::CreateKeymasterDevice();
    auto status = keymaster->registerAsService();
    if (status != android::OK) {
        LOG(FATAL) << "Could not register service for Keymaster 4.0 (" << status << ")";
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
#ifndef HARDWARE_INTERFACES_KEYMASTER_40_VTS_FUNCTIONAL_ATTESTATION_RECORD_H_
#define HARDWARE_INTERFACES_KEYMASTER_40_VTS_FUNCTIONAL_ATTESTATION_RECORD_H_

#include <android/hardware/keymaster/4.0/IKeymaster.h>
#include <android/hardware/keymaster/4.0/IKeymasterDevice.h>

namespace android {
namespace hardware {
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@
 * value1.isOk() yields false, but value2.isOk() yields true, thus value2.value() is save to access.
 */

#include <android/hardware/keymaster/4.0/IKeymaster.h>
#include <android/hardware/keymaster/4.0/IKeymasterDevice.h>

#include <type_traits>

Loading