1 /* 2 * This file is auto-generated. DO NOT MODIFY. 3 * Using: out/host/linux-x86/bin/aidl-cpp -dout/soong/.temp/sbox/a8f9401e4a6a0738b82469769f9c394354986721/out/android/net/wifi/nl80211/IInterfaceEventCallback.cpp.d --ninja -Isystem/connectivity/wificond/aidl -t --min_sdk_version=platform_apis -Isystem/connectivity/wificond/aidl/ system/connectivity/wificond/aidl/android/net/wifi/nl80211/IInterfaceEventCallback.aidl out/soong/.temp/sbox/a8f9401e4a6a0738b82469769f9c394354986721/out out/soong/.temp/sbox/a8f9401e4a6a0738b82469769f9c394354986721/out/android/net/wifi/nl80211/IInterfaceEventCallback.cpp 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 <android/net/wifi/nl80211/IApInterface.h> 12 #include <android/net/wifi/nl80211/IClientInterface.h> 13 #include <binder/IBinder.h> 14 #include <binder/IInterface.h> 15 #include <binder/Status.h> 16 #include <binder/Trace.h> 17 #include <utils/StrongPointer.h> 18 19 namespace android::net::wifi::nl80211 { 20 class IApInterface; 21 class IClientInterface; 22 } // namespace android::net::wifi::nl80211 23 namespace android { 24 namespace net { 25 namespace wifi { 26 namespace nl80211 { 27 class LIBBINDER_EXPORTED IInterfaceEventCallbackDelegator; 28 29 class LIBBINDER_EXPORTED IInterfaceEventCallback : public ::android::IInterface { 30 public: 31 typedef IInterfaceEventCallbackDelegator DefaultDelegator; 32 DECLARE_META_INTERFACE(InterfaceEventCallback) 33 virtual ::android::binder::Status OnClientInterfaceReady(const ::android::sp<::android::net::wifi::nl80211::IClientInterface>& network_interface) = 0; 34 virtual ::android::binder::Status OnApInterfaceReady(const ::android::sp<::android::net::wifi::nl80211::IApInterface>& network_interface) = 0; 35 virtual ::android::binder::Status OnClientTorndownEvent(const ::android::sp<::android::net::wifi::nl80211::IClientInterface>& network_interface) = 0; 36 virtual ::android::binder::Status OnApTorndownEvent(const ::android::sp<::android::net::wifi::nl80211::IApInterface>& network_interface) = 0; 37 }; // class IInterfaceEventCallback 38 39 class LIBBINDER_EXPORTED IInterfaceEventCallbackDefault : public IInterfaceEventCallback { 40 public: onAsBinder()41 ::android::IBinder* onAsBinder() override { 42 return nullptr; 43 } OnClientInterfaceReady(const::android::sp<::android::net::wifi::nl80211::IClientInterface> &)44 ::android::binder::Status OnClientInterfaceReady(const ::android::sp<::android::net::wifi::nl80211::IClientInterface>& /*network_interface*/) override { 45 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 46 } OnApInterfaceReady(const::android::sp<::android::net::wifi::nl80211::IApInterface> &)47 ::android::binder::Status OnApInterfaceReady(const ::android::sp<::android::net::wifi::nl80211::IApInterface>& /*network_interface*/) override { 48 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 49 } OnClientTorndownEvent(const::android::sp<::android::net::wifi::nl80211::IClientInterface> &)50 ::android::binder::Status OnClientTorndownEvent(const ::android::sp<::android::net::wifi::nl80211::IClientInterface>& /*network_interface*/) override { 51 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 52 } OnApTorndownEvent(const::android::sp<::android::net::wifi::nl80211::IApInterface> &)53 ::android::binder::Status OnApTorndownEvent(const ::android::sp<::android::net::wifi::nl80211::IApInterface>& /*network_interface*/) override { 54 return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION); 55 } 56 }; // class IInterfaceEventCallbackDefault 57 } // namespace nl80211 58 } // namespace wifi 59 } // namespace net 60 } // namespace android 61