hardware_xiaomi/aidl/ir/ConsumerIr.h
Sebastiano Barezzi a271b57c99 Rewrite IR HAL in AIDL
Change-Id: Ie27056c065766ab802ee337ced921876726de5cb
2024-08-31 12:10:28 +00:00

28 lines
682 B
C++

/*
* SPDX-FileCopyrightText: 2024 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <aidl/android/hardware/ir/BnConsumerIr.h>
namespace aidl {
namespace android {
namespace hardware {
namespace ir {
class ConsumerIr : public BnConsumerIr {
public:
::ndk::ScopedAStatus getCarrierFreqs(
::std::vector<::aidl::android::hardware::ir::ConsumerIrFreqRange>* _aidl_return)
override;
::ndk::ScopedAStatus transmit(int32_t carrierFreqHz,
const ::std::vector<int32_t>& pattern) override;
};
} // namespace ir
} // namespace hardware
} // namespace android
} // namespace aidl