aboutsummaryrefslogtreecommitdiff
path: root/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/INewName.h
blob: b2615cc8110023db0d66ba55f2ed815c7d3dcc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once

#include <binder/IBinder.h>
#include <binder/IInterface.h>
#include <binder/Status.h>
#include <binder/Trace.h>
#include <utils/String16.h>
#include <utils/StrongPointer.h>

namespace android {
namespace aidl {
namespace tests {
class INewNameDelegator;

class INewName : public ::android::IInterface {
public:
  typedef INewNameDelegator DefaultDelegator;
  DECLARE_META_INTERFACE(NewName)
  virtual ::android::binder::Status RealName(::android::String16* _aidl_return) = 0;
};  // class INewName

class INewNameDefault : public INewName {
public:
  ::android::IBinder* onAsBinder() override {
    return nullptr;
  }
  ::android::binder::Status RealName(::android::String16* /*_aidl_return*/) override {
    return ::android::binder::Status::fromStatusT(::android::UNKNOWN_TRANSACTION);
  }
};  // class INewNameDefault
}  // namespace tests
}  // namespace aidl
}  // namespace android