You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
693 B
34 lines
693 B
/*
|
|
* Copyright (C) 2024 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <aidl/android/hardware/biometrics/common/BnCancellationSignal.h>
|
|
|
|
#include "Session.h"
|
|
|
|
using ::aidl::android::hardware::biometrics::common::BnCancellationSignal;
|
|
|
|
namespace aidl {
|
|
namespace android {
|
|
namespace hardware {
|
|
namespace biometrics {
|
|
namespace fingerprint {
|
|
|
|
class CancellationSignal : public BnCancellationSignal {
|
|
public:
|
|
CancellationSignal(Session* session);
|
|
ndk::ScopedAStatus cancel() override;
|
|
|
|
private:
|
|
Session* mSession;
|
|
};
|
|
|
|
} // namespace fingerprint
|
|
} // namespace biometrics
|
|
} // namespace hardware
|
|
} // namespace android
|
|
} // namespace aidl
|
|
|