Merge "trusty: Export ConfirmationUI helper classes"

This commit is contained in:
Treehugger Robot 2021-02-26 22:31:59 +00:00 committed by Gerrit Code Review
commit 1d9764209f
5 changed files with 7 additions and 4 deletions

View file

@ -15,7 +15,6 @@
*/
#include "TrustyApp.h"
#include "TrustyIpc.h"
#include <BufferAllocator/BufferAllocator.h>
#include <android-base/logging.h>
@ -27,6 +26,7 @@
namespace android {
namespace trusty {
namespace confirmationui {
using ::android::base::unique_fd;
@ -162,5 +162,6 @@ TrustyApp::~TrustyApp() {
LOG(INFO) << "Done shutting down TrustyApp";
}
} // namespace confirmationui
} // namespace trusty
} // namespace android

View file

@ -16,7 +16,7 @@
#pragma once
#include "TrustyIpc.h"
#include <TrustyIpc.h>
#include <android-base/logging.h>
#include <android-base/unique_fd.h>
@ -41,6 +41,7 @@
namespace android {
namespace trusty {
namespace confirmationui {
using ::teeui::Message;
using ::teeui::msg2tuple_t;
@ -148,5 +149,6 @@ class TrustyApp {
operator bool() const { return handle_ != kInvalidHandle; }
};
} // namespace confirmationui
} // namespace trusty
} // namespace android

View file

@ -50,7 +50,7 @@ namespace implementation {
using namespace secure_input;
using ::android::trusty::TrustyAppError;
using ::android::trusty::confirmationui::TrustyAppError;
using ::teeui::AbortMsg;
using ::teeui::DeliverTestCommandMessage;

View file

@ -43,7 +43,7 @@ using ::android::hardware::hidl_vec;
using ::android::hardware::Return;
using ::android::hardware::Void;
using ::android::trusty::TrustyApp;
using ::android::trusty::confirmationui::TrustyApp;
class TrustyConfirmationUI : public IConfirmationUI {
public: