blob: 86494fa6844718ec3c144924701e15dfe7fa6ee6 (
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 IOldNameDelegator;
class IOldName : public ::android::IInterface {
public:
typedef IOldNameDelegator DefaultDelegator;
DECLARE_META_INTERFACE(OldName)
virtual ::android::binder::Status RealName(::android::String16* _aidl_return) = 0;
}; // class IOldName
class IOldNameDefault : public IOldName {
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 IOldNameDefault
} // namespace tests
} // namespace aidl
} // namespace android
|