Home
last modified time | relevance | path

Searched refs:binder_status_t (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_parcel.h70 binder_status_t AParcel_setDataPosition(const AParcel* parcel, int32_t position)
186 typedef binder_status_t (*AParcel_writeParcelableElement)(AParcel* parcel, const void* arrayData,
200 typedef binder_status_t (*AParcel_readParcelableElement)(const AParcel* parcel, void* arrayData,
405 binder_status_t AParcel_writeStrongBinder(AParcel* parcel, AIBinder* binder) __INTRODUCED_IN(29);
418 binder_status_t AParcel_readStrongBinder(const AParcel* parcel, AIBinder** binder)
434 binder_status_t AParcel_writeParcelFileDescriptor(AParcel* parcel, int fd) __INTRODUCED_IN(29);
451 binder_status_t AParcel_readParcelFileDescriptor(const AParcel* parcel, int* fd)
470 binder_status_t AParcel_writeStatusHeader(AParcel* parcel, const AStatus* status)
484 binder_status_t AParcel_readStatusHeader(const AParcel* parcel, AStatus** status)
500 binder_status_t AParcel_writeString(AParcel* parcel, const char* string, int32_t length)
[all …]
Dbinder_ibinder.h169 typedef binder_status_t (*AIBinder_Class_onTransact)(AIBinder* binder, transaction_code_t code,
205 typedef binder_status_t (*AIBinder_onDump)(AIBinder* binder, int fd, const char** args,
300 binder_status_t AIBinder_ping(AIBinder* binder) __INTRODUCED_IN(29);
316 binder_status_t AIBinder_dump(AIBinder* binder, int fd, const char** args, uint32_t numArgs)
338 binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient,
363 binder_status_t AIBinder_unlinkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient,
509 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) __INTRODUCED_IN(29);
535 binder_status_t AIBinder_transact(AIBinder* binder, transaction_code_t code, AParcel** in,
672 binder_status_t AIBinder_getExtension(AIBinder* binder, AIBinder** outExt) __INTRODUCED_IN(30);
725 binder_status_t AIBinder_setExtension(AIBinder* binder, AIBinder* ext) __INTRODUCED_IN(30);
Dbinder_status.h88 typedef int32_t binder_status_t; typedef
211 __attribute__((warn_unused_result)) AStatus* AStatus_fromStatus(binder_status_t status)
263 binder_status_t AStatus_getStatus(const AStatus* status) __INTRODUCED_IN(29);
/frameworks/native/libs/binder/ndk/
Dparcel.cpp49 static binder_status_t WriteAndValidateArraySize(AParcel* parcel, bool isNullArray, in WriteAndValidateArraySize()
71 static binder_status_t ReadAndValidateArraySize(const AParcel* parcel, int32_t* length) { in ReadAndValidateArraySize()
84 binder_status_t WriteArray(AParcel* parcel, const T* array, int32_t length) { in WriteArray()
85 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray()
102 binder_status_t WriteArray<char16_t>(AParcel* parcel, const char16_t* array, int32_t length) { in WriteArray()
103 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray()
122 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, in ReadArray()
127 if (binder_status_t status = ReadAndValidateArraySize(parcel, &length); status != STATUS_OK) { in ReadArray()
150 binder_status_t ReadArray<char16_t>(const AParcel* parcel, void* arrayData, in ReadArray()
155 if (binder_status_t status = ReadAndValidateArraySize(parcel, &length); status != STATUS_OK) { in ReadArray()
[all …]
Dprocess.cpp38 binder_status_t ABinderProcess_setupPolling(int* fd) { in ABinderProcess_setupPolling()
42 binder_status_t ABinderProcess_handlePolledCommands() { in ABinderProcess_handlePolledCommands()
Dibinder.cpp193 binder_status_t status = getClass()->onTransact(this, code, &in, &out); in onTransact()
228 binder_status_t status = getClass()->handleShellCommand( in onTransact()
426 binder_status_t AIBinder_DeathRecipient::linkToDeath(const sp<IBinder>& binder, void* cookie) { in linkToDeath()
447 binder_status_t AIBinder_DeathRecipient::unlinkToDeath(const sp<IBinder>& binder, void* cookie) { in unlinkToDeath()
507 binder_status_t AIBinder_ping(AIBinder* binder) { in AIBinder_ping()
515 binder_status_t AIBinder_dump(AIBinder* binder, int fd, const char** args, uint32_t numArgs) { in AIBinder_dump()
539 binder_status_t AIBinder_linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_linkToDeath()
550 binder_status_t AIBinder_unlinkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient, in AIBinder_unlinkToDeath()
626 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) { in AIBinder_prepareTransaction()
646 binder_status_t ret = PruneStatusT(status); in AIBinder_prepareTransaction()
[all …]
Dstatus.cpp47 AStatus* AStatus_fromStatus(binder_status_t status) { in AStatus_fromStatus()
63 binder_status_t AStatus_getStatus(const AStatus* status) { in AStatus_getStatus()
88 binder_status_t PruneStatusT(status_t status) { in PruneStatusT()
Dstatus_internal.h35 binder_status_t PruneStatusT(android::status_t status);
Dibinder_internal.h178 binder_status_t linkToDeath(const ::android::sp<::android::IBinder>&, void* cookie);
179 binder_status_t unlinkToDeath(const ::android::sp<::android::IBinder>& binder, void* cookie);
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_parcel_utils.h290 static inline binder_status_t AParcel_writeNullableStrongBinder(AParcel* parcel,
298 static inline binder_status_t AParcel_readNullableStrongBinder(const AParcel* parcel,
301 binder_status_t status = AParcel_readStrongBinder(parcel, &readBinder);
311 static inline binder_status_t AParcel_writeRequiredStrongBinder(AParcel* parcel,
323 static inline binder_status_t AParcel_readRequiredStrongBinder(const AParcel* parcel,
326 binder_status_t ret = AParcel_readStrongBinder(parcel, &readBinder);
340 static inline binder_status_t AParcel_writeNullableParcelFileDescriptor(
348 static inline binder_status_t AParcel_readNullableParcelFileDescriptor(const AParcel* parcel,
351 binder_status_t status = AParcel_readParcelFileDescriptor(parcel, &readFd);
361 static inline binder_status_t AParcel_writeRequiredParcelFileDescriptor(
[all …]
Dbinder_parcelable_utils.h40 binder_status_t _status = (expr); \
68 binder_status_t writeToParcel(AParcel* parcel) const {
93 binder_status_t readFromParcel(const AParcel* parcel) {
111 binder_status_t status = AParcel_readInt32(parcel, &dataSize);
139 binder_status_t setParcelable(const T& p) {
158 binder_status_t getParcelable(std::optional<T>* ret) const {
174 binder_status_t status = AParcel_readString(mParcel.get(), &parcelableDescInParcel);
Dbinder_interface_utils.h140 virtual inline binder_status_t dump(int fd, const char** args, uint32_t numArgs);
146 virtual inline binder_status_t handleShellCommand(int in, int out, int err, const char** argv,
174 static inline binder_status_t onDump(AIBinder* binder, int fd, const char** args,
178 static inline binder_status_t handleShellCommand(AIBinder* binder, int in, int out, int err,
222 binder_status_t dump(int fd, const char** args, uint32_t numArgs) override { in dump()
232 binder_status_t ICInterface::dump(int /*fd*/, const char** /*args*/, uint32_t /*numArgs*/) { in dump()
237 binder_status_t ICInterface::handleShellCommand(int /*in*/, int /*out*/, int /*err*/, in handleShellCommand()
289 binder_status_t ICInterface::ICInterfaceData::onDump(AIBinder* binder, int fd, const char** args, in defineClass()
296 binder_status_t ICInterface::ICInterfaceData::handleShellCommand(AIBinder* binder, int in, int out, in defineClass()
/frameworks/native/libs/binder/ndk/tests/
Diface.cpp45 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()
144 binder_status_t IFoo::addService(const char* instance) { in addService()
147 binder_status_t status = AServiceManager_addService(binder, instance); in addService()
Dlibbinder_ndk_unit_test.cpp77 binder_status_t handleShellCommand(int /*in*/, int out, int /*err*/, const char** args, in handleShellCommand()
149 binder_status_t doubleNumber(int32_t in, int32_t* out) override { in doubleNumber()
155 binder_status_t die() override { in die()
207 binder_status_t status = AServiceManager_registerLazyService(binder.get(), instance); in lazyService()
496 binder_status_t doubleNumber(int32_t in, int32_t* out) override { in doubleNumber()
501 binder_status_t die() override { in die()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dbinder_ndk.cpp28 binder_status_t writeToParcel(AParcel* /*parcel*/) { return STATUS_OK; } in writeToParcel()
29 binder_status_t readFromParcel(const AParcel* parcel) { in readFromParcel()
41 static binder_status_t readFromParcel(const AParcel* parcel,
45 static binder_status_t onTransact(AIBinder*, transaction_code_t, const AParcel*, AParcel*) { in onTransact()
57 binder_status_t ISomeInterface::readFromParcel(const AParcel* parcel, in readFromParcel()
60 binder_status_t status = AParcel_readStrongBinder(parcel, binder.getR()); in readFromParcel()
76 binder_status_t status = FUN(p.aParcel(), &t); \
85 binder_status_t status = AParcel_setDataPosition(p.aParcel(), pos); in __anon80e3ea3b0102()
91 binder_status_t status = AParcel_readStatusHeader(p.aParcel(), t.getR()); in __anon80e3ea3b0202()
102 binder_status_t status = AParcel_readParcelable(p.aParcel(), &ph); in __anon80e3ea3b0402()
[all …]
/frameworks/native/libs/binder/ndk/tests/include/iface/
Diface.h38 binder_status_t addService(const char* instance);
48 virtual binder_status_t doubleNumber(int32_t in, int32_t* out) = 0;
49 virtual binder_status_t die() = 0;
/frameworks/native/libs/binder/ndk/include_platform/android/
Dbinder_process.h58 __attribute__((weak)) binder_status_t ABinderProcess_setupPolling(int* fd) __INTRODUCED_IN(31);
66 __attribute__((weak)) binder_status_t ABinderProcess_handlePolledCommands() __INTRODUCED_IN(31);
Dbinder_shell.h38 typedef binder_status_t (*AIBinder_handleShellCommand)(AIBinder* binder, int in, int out, int err,
Dbinder_manager.h90 binder_status_t AServiceManager_registerLazyService(AIBinder* binder, const char* instance)
/frameworks/base/core/jni/
Dcom_android_internal_os_LongMultiStateCounter.cpp107 static void throwWriteRE(JNIEnv *env, binder_status_t status) { in throwWriteRE()
114 binder_status_t status = expr; \
133 static void throwReadRE(JNIEnv *env, binder_status_t status) { in throwReadRE()
140 binder_status_t status = expr; \
Dcom_android_internal_os_LongArrayMultiStateCounter.cpp97 static void throwWriteRE(JNIEnv *env, binder_status_t status) { in throwWriteRE()
104 binder_status_t status = expr; \
128 static void throwReadRE(JNIEnv *env, binder_status_t status) { in throwReadRE()
135 binder_status_t status = expr; \
/frameworks/av/services/tuner/
Dmain_tunerservice.cpp37 binder_status_t status = TunerHidlService::instantiate(); in main()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DService.cpp39 binder_status_t status = in main()
DServiceLazy.cpp39 binder_status_t status = in main()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/
DDrmFactory.h51 binder_status_t dump(int fd, const char** args, uint32_t numArgs) override;

12