1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=ndk -Weverything -Wno-missing-permission-annotation -t --min_sdk_version 30 --ninja -d out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/staging/com/android/server/thread/openthread/IOtDaemon.cpp.d -h out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/include/staging -o out/soong/.intermediates/external/ot-br-posix/src/android/aidl/ot-daemon-aidl-ndk-source/gen/staging -Nexternal/ot-br-posix/src/android/aidl -Npackages/modules/Connectivity/thread/framework/java external/ot-br-posix/src/android/aidl/com/android/server/thread/openthread/IOtDaemon.aidl
4  *
5  * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
6  * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
7  * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
8  */
9 #pragma once
10 
11 #include "aidl/com/android/server/thread/openthread/IOtDaemon.h"
12 
13 #include <android/binder_ibinder.h>
14 #include <cassert>
15 
16 #ifndef __BIONIC__
17 #ifndef __assert2
18 #define __assert2(a,b,c,d) ((void)0)
19 #endif
20 #endif
21 
22 namespace aidl {
23 namespace com {
24 namespace android {
25 namespace server {
26 namespace thread {
27 namespace openthread {
28 class BnOtDaemon : public ::ndk::BnCInterface<IOtDaemon> {
29 public:
30   BnOtDaemon();
31   virtual ~BnOtDaemon();
32 protected:
33   ::ndk::SpAIBinder createBinder() override;
34 private:
35 };
36 class IOtDaemonDelegator : public BnOtDaemon {
37 public:
IOtDaemonDelegator(const std::shared_ptr<IOtDaemon> & impl)38   explicit IOtDaemonDelegator(const std::shared_ptr<IOtDaemon> &impl) : _impl(impl) {
39   }
40 
initialize(bool in_enabled,const::aidl::com::android::server::thread::openthread::OtDaemonConfiguration & in_configuration,const::ndk::ScopedFileDescriptor & in_tunFd,const std::shared_ptr<::aidl::com::android::server::thread::openthread::INsdPublisher> & in_nsdPublisher,const::aidl::com::android::server::thread::openthread::MeshcopTxtAttributes & in_meshcopTxts,const std::string & in_countryCode,bool in_trelEnabled,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtDaemonCallback> & in_callback)41   ::ndk::ScopedAStatus initialize(bool in_enabled, const ::aidl::com::android::server::thread::openthread::OtDaemonConfiguration& in_configuration, const ::ndk::ScopedFileDescriptor& in_tunFd, const std::shared_ptr<::aidl::com::android::server::thread::openthread::INsdPublisher>& in_nsdPublisher, const ::aidl::com::android::server::thread::openthread::MeshcopTxtAttributes& in_meshcopTxts, const std::string& in_countryCode, bool in_trelEnabled, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtDaemonCallback>& in_callback) override {
42     return _impl->initialize(in_enabled, in_configuration, in_tunFd, in_nsdPublisher, in_meshcopTxts, in_countryCode, in_trelEnabled, in_callback);
43   }
terminate()44   ::ndk::ScopedAStatus terminate() override {
45     return _impl->terminate();
46   }
setThreadEnabled(bool in_enabled,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)47   ::ndk::ScopedAStatus setThreadEnabled(bool in_enabled, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
48     return _impl->setThreadEnabled(in_enabled, in_receiver);
49   }
registerStateCallback(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtDaemonCallback> & in_callback,int64_t in_listenerId)50   ::ndk::ScopedAStatus registerStateCallback(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtDaemonCallback>& in_callback, int64_t in_listenerId) override {
51     return _impl->registerStateCallback(in_callback, in_listenerId);
52   }
join(const std::vector<uint8_t> & in_activeOpDatasetTlvs,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)53   ::ndk::ScopedAStatus join(const std::vector<uint8_t>& in_activeOpDatasetTlvs, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
54     return _impl->join(in_activeOpDatasetTlvs, in_receiver);
55   }
leave(bool in_eraseDataset,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)56   ::ndk::ScopedAStatus leave(bool in_eraseDataset, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
57     return _impl->leave(in_eraseDataset, in_receiver);
58   }
scheduleMigration(const std::vector<uint8_t> & in_pendingOpDatasetTlvs,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)59   ::ndk::ScopedAStatus scheduleMigration(const std::vector<uint8_t>& in_pendingOpDatasetTlvs, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
60     return _impl->scheduleMigration(in_pendingOpDatasetTlvs, in_receiver);
61   }
setCountryCode(const std::string & in_countryCode,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)62   ::ndk::ScopedAStatus setCountryCode(const std::string& in_countryCode, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
63     return _impl->setCountryCode(in_countryCode, in_receiver);
64   }
setConfiguration(const::aidl::com::android::server::thread::openthread::OtDaemonConfiguration & in_config,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)65   ::ndk::ScopedAStatus setConfiguration(const ::aidl::com::android::server::thread::openthread::OtDaemonConfiguration& in_config, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
66     return _impl->setConfiguration(in_config, in_receiver);
67   }
setInfraLinkInterfaceName(const std::optional<std::string> & in_interfaceName,const::ndk::ScopedFileDescriptor & in_icmp6Socket,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)68   ::ndk::ScopedAStatus setInfraLinkInterfaceName(const std::optional<std::string>& in_interfaceName, const ::ndk::ScopedFileDescriptor& in_icmp6Socket, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
69     return _impl->setInfraLinkInterfaceName(in_interfaceName, in_icmp6Socket, in_receiver);
70   }
setInfraLinkNat64Prefix(const std::optional<std::string> & in_nat64Prefix,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)71   ::ndk::ScopedAStatus setInfraLinkNat64Prefix(const std::optional<std::string>& in_nat64Prefix, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
72     return _impl->setInfraLinkNat64Prefix(in_nat64Prefix, in_receiver);
73   }
setNat64Cidr(const std::optional<std::string> & in_nat64Cidr,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)74   ::ndk::ScopedAStatus setNat64Cidr(const std::optional<std::string>& in_nat64Cidr, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
75     return _impl->setNat64Cidr(in_nat64Cidr, in_receiver);
76   }
setInfraLinkDnsServers(const std::vector<std::string> & in_dnsServers,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)77   ::ndk::ScopedAStatus setInfraLinkDnsServers(const std::vector<std::string>& in_dnsServers, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
78     return _impl->setInfraLinkDnsServers(in_dnsServers, in_receiver);
79   }
getChannelMasks(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IChannelMasksReceiver> & in_receiver)80   ::ndk::ScopedAStatus getChannelMasks(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IChannelMasksReceiver>& in_receiver) override {
81     return _impl->getChannelMasks(in_receiver);
82   }
setChannelMaxPowers(const std::vector<::aidl::android::net::thread::ChannelMaxPower> & in_channelMaxPowers,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)83   ::ndk::ScopedAStatus setChannelMaxPowers(const std::vector<::aidl::android::net::thread::ChannelMaxPower>& in_channelMaxPowers, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
84     return _impl->setChannelMaxPowers(in_channelMaxPowers, in_receiver);
85   }
runOtCtlCommand(const std::string & in_command,bool in_isInteractive,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtOutputReceiver> & in_receiver)86   ::ndk::ScopedAStatus runOtCtlCommand(const std::string& in_command, bool in_isInteractive, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtOutputReceiver>& in_receiver) override {
87     return _impl->runOtCtlCommand(in_command, in_isInteractive, in_receiver);
88   }
activateEphemeralKeyMode(int64_t in_lifetimeMillis,const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)89   ::ndk::ScopedAStatus activateEphemeralKeyMode(int64_t in_lifetimeMillis, const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
90     return _impl->activateEphemeralKeyMode(in_lifetimeMillis, in_receiver);
91   }
deactivateEphemeralKeyMode(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver> & in_receiver)92   ::ndk::ScopedAStatus deactivateEphemeralKeyMode(const std::shared_ptr<::aidl::com::android::server::thread::openthread::IOtStatusReceiver>& in_receiver) override {
93     return _impl->deactivateEphemeralKeyMode(in_receiver);
94   }
95 protected:
96 private:
97   std::shared_ptr<IOtDaemon> _impl;
98 };
99 
100 }  // namespace openthread
101 }  // namespace thread
102 }  // namespace server
103 }  // namespace android
104 }  // namespace com
105 }  // namespace aidl
106