diff options
Diffstat (limited to 'tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h')
-rw-r--r-- | tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h b/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h index 2c2cfb93..98527e5a 100644 --- a/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h +++ b/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ILoggableInterface.h @@ -2,26 +2,36 @@ #include <android/aidl/loggable/Data.h> #include <android/binder_to_string.h> +#include <binder/Delegate.h> #include <binder/IBinder.h> #include <binder/IInterface.h> #include <binder/ParcelFileDescriptor.h> #include <binder/Status.h> +#include <binder/Trace.h> #include <cstdint> #include <functional> #include <optional> #include <utils/String16.h> #include <utils/StrongPointer.h> -#include <utils/Trace.h> #include <vector> +namespace android::aidl::loggable { +class Data; +} // namespace android::aidl::loggable namespace android { namespace aidl { namespace loggable { +class ILoggableInterfaceDelegator; + class ILoggableInterface : public ::android::IInterface { public: + typedef ILoggableInterfaceDelegator DefaultDelegator; DECLARE_META_INTERFACE(LoggableInterface) + class ISubDelegator; + class ISub : public ::android::IInterface { public: + typedef ISubDelegator DefaultDelegator; DECLARE_META_INTERFACE(Sub) virtual ::android::binder::Status Log(int32_t value) = 0; }; // class ISub @@ -80,8 +90,9 @@ public: class ISubDelegator : public BnSub { public: - explicit ISubDelegator(::android::sp<ISub> &impl) : _aidl_delegate(impl) {} + explicit ISubDelegator(const ::android::sp<ISub> &impl) : _aidl_delegate(impl) {} + ::android::sp<ISub> getImpl() { return _aidl_delegate; } ::android::binder::Status Log(int32_t value) override { return _aidl_delegate->Log(value); } |