/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_parcel.h | 71 binder_status_t AParcel_setDataPosition(const AParcel* parcel, int32_t position) 187 typedef binder_status_t (*AParcel_writeParcelableElement)(AParcel* parcel, const void* arrayData, 201 typedef binder_status_t (*AParcel_readParcelableElement)(const AParcel* parcel, void* arrayData, 406 binder_status_t AParcel_writeStrongBinder(AParcel* parcel, AIBinder* binder) __INTRODUCED_IN(29); 419 binder_status_t AParcel_readStrongBinder(const AParcel* parcel, AIBinder** binder) 435 binder_status_t AParcel_writeParcelFileDescriptor(AParcel* parcel, int fd) __INTRODUCED_IN(29); 452 binder_status_t AParcel_readParcelFileDescriptor(const AParcel* parcel, int* fd) 471 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status) 485 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status) 501 binder_status_t AParcel_writeString(AParcel* parcel, const char* string, int32_t length) [all …]
|
D | binder_ibinder.h | 166 typedef binder_status_t (*AIBinder_Class_onTransact)(AIBinder* binder, transaction_code_t code, 202 typedef binder_status_t (*AIBinder_onDump)(AIBinder* binder, int fd, const char** args, 281 binder_status_t AIBinder_ping(AIBinder* binder) __INTRODUCED_IN(29); 297 binder_status_t AIBinder_dump(AIBinder* binder, int fd, const char** args, uint32_t numArgs) 319 binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, 340 binder_status_t AIBinder_unlinkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, 476 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) __INTRODUCED_IN(29); 502 binder_status_t AIBinder_transact(AIBinder* binder, transaction_code_t code, AParcel** in, 589 binder_status_t AIBinder_getExtension(AIBinder* binder, AIBinder** outExt) __INTRODUCED_IN(30); 642 binder_status_t AIBinder_setExtension(AIBinder* binder, AIBinder* ext) __INTRODUCED_IN(30);
|
D | binder_status.h | 64 typedef int32_t binder_status_t; typedef 182 __attribute__((warn_unused_result)) AStatus* AStatus_fromStatus(binder_status_t status) 234 binder_status_t AStatus_getStatus(const AStatus* status) __INTRODUCED_IN(29);
|
/frameworks/native/libs/binder/ndk/ |
D | parcel.cpp | 49 binder_status_t WriteAndValidateArraySize(AParcel* parcel, bool isNullArray, int32_t length) { in WriteAndValidateArraySize() 71 binder_status_t WriteArray(AParcel* parcel, const T* array, int32_t length) { in WriteArray() 72 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() 89 binder_status_t WriteArray<char16_t>(AParcel* parcel, const char16_t* array, int32_t length) { in WriteArray() 90 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() 109 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, in ReadArray() 138 binder_status_t ReadArray<char16_t>(const AParcel* parcel, void* arrayData, in ReadArray() 167 binder_status_t WriteArray(AParcel* parcel, const void* arrayData, int32_t length, in WriteArray() 171 binder_status_t status = WriteAndValidateArraySize(parcel, arrayIsNull, length); in WriteArray() 187 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, ArrayAllocator<T> allocator, in ReadArray() [all …]
|
D | ibinder.cpp | 169 binder_status_t status = getClass()->onTransact(this, code, &in, &out); in onTransact() 204 binder_status_t status = getClass()->handleShellCommand( in onTransact() 357 binder_status_t AIBinder_DeathRecipient::linkToDeath(sp<IBinder> binder, void* cookie) { in linkToDeath() 376 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(sp<IBinder> binder, void* cookie) { in unlinkToDeath() 432 binder_status_t AIBinder_ping(AIBinder* binder) { in AIBinder_ping() 440 binder_status_t AIBinder_dump(AIBinder* binder, int fd, const char** args, uint32_t numArgs) { in AIBinder_dump() 464 binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_linkToDeath() 475 binder_status_t AIBinder_unlinkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_unlinkToDeath() 547 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) { in AIBinder_prepareTransaction() 569 binder_status_t ret = PruneStatusT(status); in AIBinder_prepareTransaction() [all …]
|
D | process.cpp | 38 binder_status_t ABinderProcess_setupPolling(int* fd) { in ABinderProcess_setupPolling() 42 binder_status_t ABinderProcess_handlePolledCommands() { in ABinderProcess_handlePolledCommands()
|
D | status.cpp | 45 AStatus* AStatus_fromStatus(binder_status_t status) { in AStatus_fromStatus() 61 binder_status_t AStatus_getStatus(const AStatus* status) { in AStatus_getStatus() 84 binder_status_t PruneStatusT(status_t status) { in PruneStatusT()
|
D | ibinder_internal.h | 159 binder_status_t linkToDeath(::android::sp<::android::IBinder>, void* cookie); 160 binder_status_t unlinkToDeath(::android::sp<::android::IBinder> binder, void* cookie);
|
D | status_internal.h | 36 binder_status_t PruneStatusT(android::status_t status);
|
D | service_manager.cpp | 31 binder_status_t AServiceManager_addService(AIBinder* binder, const char* instance) { in AServiceManager_addService()
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_parcel_utils.h | 158 static inline binder_status_t AParcel_writeNullableStrongBinder(AParcel* parcel, in AParcel_writeNullableStrongBinder() 166 static inline binder_status_t AParcel_readNullableStrongBinder(const AParcel* parcel, in AParcel_readNullableStrongBinder() 169 binder_status_t status = AParcel_readStrongBinder(parcel, &readBinder); in AParcel_readNullableStrongBinder() 179 static inline binder_status_t AParcel_writeRequiredStrongBinder(AParcel* parcel, in AParcel_writeRequiredStrongBinder() 190 static inline binder_status_t AParcel_readRequiredStrongBinder(const AParcel* parcel, in AParcel_readRequiredStrongBinder() 193 binder_status_t ret = AParcel_readStrongBinder(parcel, &readBinder); in AParcel_readRequiredStrongBinder() 207 static inline binder_status_t AParcel_writeNullableParcelFileDescriptor( in AParcel_writeNullableParcelFileDescriptor() 215 static inline binder_status_t AParcel_readNullableParcelFileDescriptor(const AParcel* parcel, in AParcel_readNullableParcelFileDescriptor() 218 binder_status_t status = AParcel_readParcelFileDescriptor(parcel, &readFd); in AParcel_readNullableParcelFileDescriptor() 228 static inline binder_status_t AParcel_writeRequiredParcelFileDescriptor( in AParcel_writeRequiredParcelFileDescriptor() [all …]
|
D | binder_interface_utils.h | 122 virtual inline binder_status_t dump(int fd, const char** args, uint32_t numArgs); 128 virtual inline binder_status_t handleShellCommand(int in, int out, int err, const char** argv, 156 static inline binder_status_t onDump(AIBinder* binder, int fd, const char** args, 160 static inline binder_status_t handleShellCommand(AIBinder* binder, int in, int out, int err, 204 binder_status_t dump(int fd, const char** args, uint32_t numArgs) override { in dump() 214 binder_status_t ICInterface::dump(int /*fd*/, const char** /*args*/, uint32_t /*numArgs*/) { in dump() 219 binder_status_t ICInterface::handleShellCommand(int /*in*/, int /*out*/, int /*err*/, in handleShellCommand() 267 binder_status_t ICInterface::ICInterfaceData::onDump(AIBinder* binder, int fd, const char** args, in onDump() 274 binder_status_t ICInterface::ICInterfaceData::handleShellCommand(AIBinder* binder, int in, int out, in handleShellCommand()
|
D | binder_auto_utils.h | 226 binder_status_t getStatus() const { return AStatus_getStatus(get()); } in getStatus() 258 static ScopedAStatus fromStatus(binder_status_t status) { in fromStatus()
|
/frameworks/native/libs/binder/ndk/tests/ |
D | iface.cpp | 45 binder_status_t IFoo_Class_onTransact(AIBinder* binder, transaction_code_t code, const AParcel* in, in IFoo_Class_onTransact() 47 binder_status_t stat = STATUS_FAILED_TRANSACTION; in IFoo_Class_onTransact() 80 virtual binder_status_t doubleNumber(int32_t in, int32_t* out) { in doubleNumber() 81 binder_status_t stat = STATUS_OK; in doubleNumber() 100 virtual binder_status_t die() { in die() 101 binder_status_t stat = STATUS_OK; in die() 121 binder_status_t IFoo::addService(const char* instance) { in addService() 137 binder_status_t status = AServiceManager_addService(binder, instance); in addService()
|
D | libbinder_ndk_unit_test.cpp | 68 binder_status_t handleShellCommand(int /*in*/, int out, int /*err*/, const char** args, in handleShellCommand() 86 binder_status_t status = AServiceManager_addService(binder.get(), kBinderNdkUnitTestService); in generatedService() 99 binder_status_t doubleNumber(int32_t in, int32_t* out) override { in doubleNumber() 105 binder_status_t die() override { in die() 113 binder_status_t status = (new MyFoo)->addService(instance); in manualService() 246 binder_status_t doubleNumber(int32_t in, int32_t* out) override { in doubleNumber() 251 binder_status_t die() override { in die()
|
/frameworks/native/libs/binder/ndk/tests/include/iface/ |
D | iface.h | 34 binder_status_t addService(const char* instance); 44 virtual binder_status_t doubleNumber(int32_t in, int32_t* out) = 0; 45 virtual binder_status_t die() = 0;
|
/frameworks/native/libs/binder/ndk/include_platform/android/ |
D | binder_process.h | 58 __attribute__((weak)) binder_status_t ABinderProcess_setupPolling(int* fd) __INTRODUCED_IN(31); 66 __attribute__((weak)) binder_status_t ABinderProcess_handlePolledCommands() __INTRODUCED_IN(31);
|
D | binder_manager.h | 33 binder_status_t AServiceManager_addService(AIBinder* binder, const char* instance);
|
D | binder_shell.h | 38 typedef binder_status_t (*AIBinder_handleShellCommand)(AIBinder* binder, int in, int out, int err,
|
/frameworks/native/libs/binder/tests/ |
D | binderStabilityTest.cpp | 231 binder_status_t NdkBadStableBinder_Class_onTransact( in NdkBadStableBinder_Class_onTransact()
|