/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/ |
D | BpTestService.h | 11 class BpTestService : public ::ndk::BpCInterface<ITestService> { 13 explicit BpTestService(const ::ndk::SpAIBinder& binder); 16 ::ndk::ScopedAStatus UnimplementedMethod(int32_t in_arg, int32_t* _aidl_return) override; 17 …::ndk::ScopedAStatus Deprecated() override __attribute__((deprecated("to make sure we have somethi… 18 ::ndk::ScopedAStatus TestOneway() override; 19 ::ndk::ScopedAStatus RepeatBoolean(bool in_token, bool* _aidl_return) override; 20 ::ndk::ScopedAStatus RepeatByte(int8_t in_token, int8_t* _aidl_return) override; 21 ::ndk::ScopedAStatus RepeatChar(char16_t in_token, char16_t* _aidl_return) override; 22 ::ndk::ScopedAStatus RepeatInt(int32_t in_token, int32_t* _aidl_return) override; 23 ::ndk::ScopedAStatus RepeatLong(int64_t in_token, int64_t* _aidl_return) override; [all …]
|
D | ITestService.h | 28 class ITestService : public ::ndk::ICInterface { 160 static std::shared_ptr<ITestService> fromBinder(const ::ndk::SpAIBinder& binder); 165 virtual ::ndk::ScopedAStatus UnimplementedMethod(int32_t in_arg, int32_t* _aidl_return) = 0; 166 …virtual ::ndk::ScopedAStatus Deprecated() __attribute__((deprecated("to make sure we have somethin… 167 virtual ::ndk::ScopedAStatus TestOneway() = 0; 168 virtual ::ndk::ScopedAStatus RepeatBoolean(bool in_token, bool* _aidl_return) = 0; 169 virtual ::ndk::ScopedAStatus RepeatByte(int8_t in_token, int8_t* _aidl_return) = 0; 170 virtual ::ndk::ScopedAStatus RepeatChar(char16_t in_token, char16_t* _aidl_return) = 0; 171 virtual ::ndk::ScopedAStatus RepeatInt(int32_t in_token, int32_t* _aidl_return) = 0; 172 virtual ::ndk::ScopedAStatus RepeatLong(int64_t in_token, int64_t* _aidl_return) = 0; [all …]
|
D | IOldName.h | 18 class IOldName : public ::ndk::ICInterface { 26 static std::shared_ptr<IOldName> fromBinder(const ::ndk::SpAIBinder& binder); 31 virtual ::ndk::ScopedAStatus RealName(std::string* _aidl_return) = 0; 37 ::ndk::ScopedAStatus RealName(std::string* _aidl_return) override; 38 ::ndk::SpAIBinder asBinder() override;
|
D | INewName.h | 18 class INewName : public ::ndk::ICInterface { 26 static std::shared_ptr<INewName> fromBinder(const ::ndk::SpAIBinder& binder); 31 virtual ::ndk::ScopedAStatus RealName(std::string* _aidl_return) = 0; 37 ::ndk::ScopedAStatus RealName(std::string* _aidl_return) override; 38 ::ndk::SpAIBinder asBinder() override;
|
D | INamedCallback.h | 18 class INamedCallback : public ::ndk::ICInterface { 26 static std::shared_ptr<INamedCallback> fromBinder(const ::ndk::SpAIBinder& binder); 31 virtual ::ndk::ScopedAStatus GetName(std::string* _aidl_return) = 0; 37 ::ndk::ScopedAStatus GetName(std::string* _aidl_return) override; 38 ::ndk::SpAIBinder asBinder() override;
|
D | BpOldName.h | 11 class BpOldName : public ::ndk::BpCInterface<IOldName> { 13 explicit BpOldName(const ::ndk::SpAIBinder& binder); 16 ::ndk::ScopedAStatus RealName(std::string* _aidl_return) override;
|
D | BpNamedCallback.h | 11 class BpNamedCallback : public ::ndk::BpCInterface<INamedCallback> { 13 explicit BpNamedCallback(const ::ndk::SpAIBinder& binder); 16 ::ndk::ScopedAStatus GetName(std::string* _aidl_return) override;
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/android/aidl/tests/ |
D | ITestService.cpp | 25 …std::shared_ptr<BnTestService> _aidl_impl = std::static_pointer_cast<BnTestService>(::ndk::ICInter… in _aidl_onTransact() 34 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->UnimplementedMethod(in_arg, &_aidl_return); in _aidl_onTransact() 47 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->Deprecated(); in _aidl_onTransact() 57 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->TestOneway(); in _aidl_onTransact() 68 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatBoolean(in_token, &_aidl_return); in _aidl_onTransact() 86 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatByte(in_token, &_aidl_return); in _aidl_onTransact() 104 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatChar(in_token, &_aidl_return); in _aidl_onTransact() 122 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatInt(in_token, &_aidl_return); in _aidl_onTransact() 140 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatLong(in_token, &_aidl_return); in _aidl_onTransact() 158 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RepeatFloat(in_token, &_aidl_return); in _aidl_onTransact() [all …]
|
D | IOldName.cpp | 14 …std::shared_ptr<BnOldName> _aidl_impl = std::static_pointer_cast<BnOldName>(::ndk::ICInterface::as… in _aidl_onTransact() 19 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RealName(&_aidl_return); in _aidl_onTransact() 25 _aidl_ret_status = ::ndk::AParcel_writeString(_aidl_out, _aidl_return); in _aidl_onTransact() 34 static AIBinder_Class* _g_aidl_clazz = ::ndk::ICInterface::defineClass(IOldName::descriptor, _aidl_… 36 BpOldName::BpOldName(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpOldName() 39 ::ndk::ScopedAStatus BpOldName::RealName(std::string* _aidl_return) { in RealName() 41 ::ndk::ScopedAStatus _aidl_status; in RealName() 42 ::ndk::ScopedAParcel _aidl_in; in RealName() 43 ::ndk::ScopedAParcel _aidl_out; in RealName() 68 _aidl_ret_status = ::ndk::AParcel_readString(_aidl_out.get(), _aidl_return); in RealName() [all …]
|
D | INamedCallback.cpp | 14 …std::shared_ptr<BnNamedCallback> _aidl_impl = std::static_pointer_cast<BnNamedCallback>(::ndk::ICI… in _aidl_onTransact() 19 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->GetName(&_aidl_return); in _aidl_onTransact() 25 _aidl_ret_status = ::ndk::AParcel_writeString(_aidl_out, _aidl_return); in _aidl_onTransact() 34 static AIBinder_Class* _g_aidl_clazz = ::ndk::ICInterface::defineClass(INamedCallback::descriptor, … 36 BpNamedCallback::BpNamedCallback(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpNamedCallback() 39 ::ndk::ScopedAStatus BpNamedCallback::GetName(std::string* _aidl_return) { in GetName() 41 ::ndk::ScopedAStatus _aidl_status; in GetName() 42 ::ndk::ScopedAParcel _aidl_in; in GetName() 43 ::ndk::ScopedAParcel _aidl_out; in GetName() 68 _aidl_ret_status = ::ndk::AParcel_readString(_aidl_out.get(), _aidl_return); in GetName() [all …]
|
D | INewName.cpp | 14 …std::shared_ptr<BnNewName> _aidl_impl = std::static_pointer_cast<BnNewName>(::ndk::ICInterface::as… in _aidl_onTransact() 19 ::ndk::ScopedAStatus _aidl_status = _aidl_impl->RealName(&_aidl_return); in _aidl_onTransact() 25 _aidl_ret_status = ::ndk::AParcel_writeString(_aidl_out, _aidl_return); in _aidl_onTransact() 34 static AIBinder_Class* _g_aidl_clazz = ::ndk::ICInterface::defineClass(INewName::descriptor, _aidl_… 36 BpNewName::BpNewName(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpNewName() 39 ::ndk::ScopedAStatus BpNewName::RealName(std::string* _aidl_return) { in RealName() 41 ::ndk::ScopedAStatus _aidl_status; in RealName() 42 ::ndk::ScopedAParcel _aidl_in; in RealName() 43 ::ndk::ScopedAParcel _aidl_out; in RealName() 68 _aidl_ret_status = ::ndk::AParcel_readString(_aidl_out.get(), _aidl_return); in RealName() [all …]
|
D | ParcelableForToString.cpp | 30 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &intArray); in readFromParcel() 44 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &longArray); in readFromParcel() 58 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &doubleArray); in readFromParcel() 72 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &floatArray); in readFromParcel() 86 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &byteArray); in readFromParcel() 100 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &booleanArray); in readFromParcel() 107 _aidl_ret_status = ::ndk::AParcel_readString(parcel, &stringValue); in readFromParcel() 114 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &stringArray); in readFromParcel() 121 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &stringList); in readFromParcel() 128 _aidl_ret_status = ::ndk::AParcel_readParcelable(parcel, &parcelableValue); in readFromParcel() [all …]
|
D | IDeprecated.cpp | 21 static AIBinder_Class* _g_aidl_clazz = ::ndk::ICInterface::defineClass(IDeprecated::descriptor, _ai… 24 BpDeprecated::BpDeprecated(const ::ndk::SpAIBinder& binder) : BpCInterface(binder) {} in BpDeprecated() 30 ::ndk::SpAIBinder BnDeprecated::createBinder() { in createBinder() 35 return ::ndk::SpAIBinder(binder); in createBinder() 43 std::shared_ptr<IDeprecated> IDeprecated::fromBinder(const ::ndk::SpAIBinder& binder) { in fromBinder() 45 std::shared_ptr<::ndk::ICInterface> interface = ::ndk::ICInterface::asInterface(binder.get()); in fromBinder() 49 return ::ndk::SharedRefBase::make<BpDeprecated>(binder); in fromBinder() 56 ::ndk::SpAIBinder binder; in readFromParcel() 77 ::ndk::SpAIBinder IDeprecatedDefault::asBinder() { in asBinder() 78 return ::ndk::SpAIBinder(); in asBinder()
|
D | Union.cpp | 19 …if ((_aidl_ret_status = ::ndk::AParcel_readVector(_parcel, &_aidl_value)) != STATUS_OK) return _ai… in readFromParcel() 49 …if ((_aidl_ret_status = ::ndk::AParcel_readString(_parcel, &_aidl_value)) != STATUS_OK) return _ai… in readFromParcel() 58 ::ndk::SpAIBinder _aidl_value; in readFromParcel() 59 …if ((_aidl_ret_status = ::ndk::AParcel_readNullableStrongBinder(_parcel, &_aidl_value)) != STATUS_… in readFromParcel() 60 if constexpr (std::is_trivially_copyable_v<::ndk::SpAIBinder>) { in readFromParcel() 69 …if ((_aidl_ret_status = ::ndk::AParcel_readVector(_parcel, &_aidl_value)) != STATUS_OK) return _ai… in readFromParcel() 94 case ns: return ::ndk::AParcel_writeVector(_parcel, get<ns>()); in writeToParcel() 97 case s: return ::ndk::AParcel_writeString(_parcel, get<s>()); in writeToParcel() 98 case ibinder: return ::ndk::AParcel_writeNullableStrongBinder(_parcel, get<ibinder>()); in writeToParcel() 99 case ss: return ::ndk::AParcel_writeVector(_parcel, get<ss>()); in writeToParcel()
|
D | StructuredParcelable.cpp | 23 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &shouldContainThreeFs); in readFromParcel() 37 _aidl_ret_status = ::ndk::AParcel_readString(parcel, &shouldBeJerry); in readFromParcel() 65 …arcel_readByteArray(parcel, static_cast<void*>(&shouldContainTwoByteFoos), ndk::AParcel_stdVectorA… in readFromParcel() 72 …arcel_readInt32Array(parcel, static_cast<void*>(&shouldContainTwoIntFoos), ndk::AParcel_stdVectorA… in readFromParcel() 79 …rcel_readInt64Array(parcel, static_cast<void*>(&shouldContainTwoLongFoos), ndk::AParcel_stdVectorA… in readFromParcel() 86 _aidl_ret_status = ::ndk::AParcel_readString(parcel, &stringDefaultsToFoo); in readFromParcel() 142 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &arrayDefaultsTo123); in readFromParcel() 149 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &arrayDefaultsToEmpty); in readFromParcel() 205 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &checkStringArray1); in readFromParcel() 212 _aidl_ret_status = ::ndk::AParcel_readVector(parcel, &checkStringArray2); in readFromParcel() [all …]
|
/system/libfmq/tests/aidl/default/ |
D | TestAidlMsgQ.cpp | 25 ndk::ScopedAStatus TestAidlMsgQ::configureFmqSyncReadWrite( in configureFmqSyncReadWrite() 29 return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT); in configureFmqSyncReadWrite() 39 return ndk::ScopedAStatus::ok(); in configureFmqSyncReadWrite() 42 ndk::ScopedAStatus TestAidlMsgQ::getFmqUnsyncWrite( in getFmqUnsyncWrite() 66 return ndk::ScopedAStatus::ok(); in getFmqUnsyncWrite() 69 ndk::ScopedAStatus TestAidlMsgQ::requestBlockingRead(int32_t count) { in requestBlockingRead() 78 return ndk::ScopedAStatus::ok(); in requestBlockingRead() 81 ndk::ScopedAStatus TestAidlMsgQ::requestBlockingReadDefaultEventFlagBits(int32_t count) { in requestBlockingReadDefaultEventFlagBits() 89 return ndk::ScopedAStatus::ok(); in requestBlockingReadDefaultEventFlagBits() 92 ndk::ScopedAStatus TestAidlMsgQ::requestBlockingReadRepeat(int32_t count, int32_t numIter) { in requestBlockingReadRepeat() [all …]
|
D | TestAidlMsgQ.h | 48 ndk::ScopedAStatus configureFmqSyncReadWrite( 51 ndk::ScopedAStatus getFmqUnsyncWrite(bool configureFmq, bool userFd, 54 ndk::ScopedAStatus requestBlockingRead(int32_t count) override; 55 ndk::ScopedAStatus requestBlockingReadDefaultEventFlagBits(int32_t count) override; 56 ndk::ScopedAStatus requestBlockingReadRepeat(int32_t count, int32_t numIter) override; 57 ndk::ScopedAStatus requestReadFmqSync(int32_t count, bool* _aidl_return) override; 58 ndk::ScopedAStatus requestReadFmqUnsync(int32_t count, bool* _aidl_return) override; 59 ndk::ScopedAStatus requestWriteFmqSync(int32_t count, bool* _aidl_return) override; 60 ndk::ScopedAStatus requestWriteFmqUnsync(int32_t count, bool* _aidl_return) override;
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/android/aidl/loggable/ |
D | ILoggableInterface.cpp | 24 …bleInterface> _aidl_impl = std::static_pointer_cast<BnLoggableInterface>(::ndk::ICInterface::asInt… in _aidl_onTransact() 45 ::ndk::SpAIBinder in_binderValue; in _aidl_onTransact() 46 ::ndk::ScopedFileDescriptor in_pfdValue; in _aidl_onTransact() 47 std::vector<::ndk::ScopedFileDescriptor> in_pfdArray; in _aidl_onTransact() 54 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_boolArray); in _aidl_onTransact() 60 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_byteArray); in _aidl_onTransact() 66 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_charArray); in _aidl_onTransact() 72 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_intArray); in _aidl_onTransact() 78 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_longArray); in _aidl_onTransact() 84 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_floatArray); in _aidl_onTransact() [all …]
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/android/aidl/loggable/ |
D | ILoggableInterface.cpp | 24 …bleInterface> _aidl_impl = std::static_pointer_cast<BnLoggableInterface>(::ndk::ICInterface::asInt… in _aidl_onTransact() 45 ::ndk::SpAIBinder in_binderValue; in _aidl_onTransact() 46 ::ndk::ScopedFileDescriptor in_pfdValue; in _aidl_onTransact() 47 std::vector<::ndk::ScopedFileDescriptor> in_pfdArray; in _aidl_onTransact() 54 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_boolArray); in _aidl_onTransact() 60 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_byteArray); in _aidl_onTransact() 66 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_charArray); in _aidl_onTransact() 72 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_intArray); in _aidl_onTransact() 78 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_longArray); in _aidl_onTransact() 84 _aidl_ret_status = ::ndk::AParcel_readVector(_aidl_in, &in_floatArray); in _aidl_onTransact() [all …]
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/ |
D | ILoggableInterface.h | 22 class ILoggableInterface : public ::ndk::ICInterface { 30 static std::shared_ptr<ILoggableInterface> fromBinder(const ::ndk::SpAIBinder& binder); 35 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue… 41 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue… 42 ::ndk::SpAIBinder asBinder() override;
|
D | BpLoggableInterface.h | 15 class BpLoggableInterface : public ::ndk::BpCInterface<ILoggableInterface> { 17 explicit BpLoggableInterface(const ::ndk::SpAIBinder& binder); 20 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue…
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/include/aidl/android/aidl/loggable/ |
D | ILoggableInterface.h | 22 class ILoggableInterface : public ::ndk::ICInterface { 30 static std::shared_ptr<ILoggableInterface> fromBinder(const ::ndk::SpAIBinder& binder); 35 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue… 41 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue… 42 ::ndk::SpAIBinder asBinder() override;
|
D | BpLoggableInterface.h | 15 class BpLoggableInterface : public ::ndk::BpCInterface<ILoggableInterface> { 17 explicit BpLoggableInterface(const ::ndk::SpAIBinder& binder); 20 …ndk::ScopedAStatus LogThis(bool in_boolValue, std::vector<bool>* in_boolArray, int8_t in_byteValue…
|
/system/update_engine/stable/ |
D | update_engine_stable_client.cc | 73 ndk::ScopedAStatus onStatusUpdate(int status_code, float progress) override; 74 ndk::ScopedAStatus onPayloadApplicationComplete(int error_code) override; 79 const ndk::ScopedAIBinder_DeathRecipient death_recipient_{ 85 ndk::ScopedAStatus UpdateEngineClientAndroid::UECallback::onStatusUpdate( in onStatusUpdate() 88 return ndk::ScopedAStatus::ok(); in onStatusUpdate() 91 ndk::ScopedAStatus 102 service_ = aidl::android::os::IUpdateEngineStable::fromBinder(ndk::SpAIBinder( in Run() 111 callback_ = ndk::SharedRefBase::make<UECallback>(); in Run() 119 ndk::ScopedAStatus status; in Run() 127 ndk::ScopedFileDescriptor ufd( in Run()
|
/system/tools/hidl/hidl2aidl/test/ |
D | ndk_test_compile.cpp | 39 ndk::ScopedAStatus status1 = foo->someBar(std::string(), std::string()); in testIFoo() 42 ndk::ScopedAStatus status2 = foo->oneOutput(&f); in testIFoo() 48 ndk::ScopedAStatus status1 = bar->someBar(std::string(), 3, &out); in testIBar() 52 ndk::ScopedAStatus status2 = bar->extraMethod(inner); in testIBar() 64 ndk::ScopedAStatus status = foo->someFoo(3); in testIFoo2()
|