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/INsdDiscoverServiceCallback.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/INsdDiscoverServiceCallback.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/INsdDiscoverServiceCallback.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 BnNsdDiscoverServiceCallback : public ::ndk::BnCInterface<INsdDiscoverServiceCallback> {
29 public:
30   BnNsdDiscoverServiceCallback();
31   virtual ~BnNsdDiscoverServiceCallback();
32 protected:
33   ::ndk::SpAIBinder createBinder() override;
34 private:
35 };
36 class INsdDiscoverServiceCallbackDelegator : public BnNsdDiscoverServiceCallback {
37 public:
INsdDiscoverServiceCallbackDelegator(const std::shared_ptr<INsdDiscoverServiceCallback> & impl)38   explicit INsdDiscoverServiceCallbackDelegator(const std::shared_ptr<INsdDiscoverServiceCallback> &impl) : _impl(impl) {
39   }
40 
onServiceDiscovered(const std::string & in_name,const std::string & in_type,bool in_isFound)41   ::ndk::ScopedAStatus onServiceDiscovered(const std::string& in_name, const std::string& in_type, bool in_isFound) override {
42     return _impl->onServiceDiscovered(in_name, in_type, in_isFound);
43   }
44 protected:
45 private:
46   std::shared_ptr<INsdDiscoverServiceCallback> _impl;
47 };
48 
49 }  // namespace openthread
50 }  // namespace thread
51 }  // namespace server
52 }  // namespace android
53 }  // namespace com
54 }  // namespace aidl
55