mirror of
				https://github.com/oplus-giulia-dev/android_hardware_oplus
				synced 2025-11-04 13:55:35 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			706 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			706 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * SPDX-FileCopyrightText: 2025 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:
 | 
						|
    ConsumerIr();
 | 
						|
 | 
						|
  private:
 | 
						|
    ::ndk::ScopedAStatus getCarrierFreqs(std::vector<ConsumerIrFreqRange>* _aidl_return) override;
 | 
						|
    ::ndk::ScopedAStatus transmit(int32_t carrierFreqHz,
 | 
						|
                                  const std::vector<int32_t>& pattern) override;
 | 
						|
 | 
						|
    std::vector<ConsumerIrFreqRange> supportedFreqs;
 | 
						|
};
 | 
						|
 | 
						|
}  // namespace ir
 | 
						|
}  // namespace hardware
 | 
						|
}  // namespace android
 | 
						|
}  // namespace aidl
 |