/frameworks/native/include/binder/ |
D | unique_fd.h | 26 using android::base::borrowed_fd; 104 struct LIBBINDER_EXPORTED borrowed_fd { struct 105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() function 106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() function
|
/frameworks/native/libs/binder/include/binder/ |
D | unique_fd.h | 26 using android::base::borrowed_fd; 104 struct LIBBINDER_EXPORTED borrowed_fd { struct 105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() function 106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() function
|
D | RpcTransport.h | 91 const std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>* 96 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>* ancillaryFds) = 0;
|
D | RpcServer.h | 201 std::function<void(binder::borrowed_fd)>&& modifier); 287 std::function<void(binder::borrowed_fd)> mServerSocketModifier;
|
/frameworks/native/libs/binder/trusty/ |
D | OS.cpp | 34 using android::binder::borrowed_fd; 53 status_t setNonBlocking(borrowed_fd /*fd*/) { in setNonBlocking() argument 84 const std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in sendMessageOnSocket() argument 91 std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in receiveMessageFromSocket() argument
|
D | RpcTransportTipcTrusty.cpp | 33 using android::binder::borrowed_fd; 53 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override { in interruptableWriteFully() 122 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override { in interruptableReadFully()
|
/frameworks/native/libs/binder/ |
D | OS.h | 31 status_t setNonBlocking(borrowed_fd fd); 41 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds); 45 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds);
|
D | file.h | 36 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count); 37 bool WriteFully(borrowed_fd fd, const void* data, size_t byte_count);
|
D | RpcState.h | 195 const std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>* ancillaryFds = 200 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>* 208 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>&& ancillaryFds); 212 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>&& ancillaryFds); 216 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>>&& ancillaryFds); 258 std::vector<std::variant<binder::unique_fd, binder::borrowed_fd>> ancillaryFds;
|
D | file.cpp | 29 bool ReadFully(borrowed_fd fd, void* data, size_t byte_count) { in ReadFully() 45 bool WriteFully(borrowed_fd fd, const void* data, size_t byte_count) { in WriteFully()
|
D | RpcTransportRaw.cpp | 34 using android::binder::borrowed_fd; 63 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override { in interruptableWriteFully() 78 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override { in interruptableReadFully()
|
D | RpcTransportTls.cpp | 46 using android::binder::borrowed_fd; 62 borrowed_fd fd(static_cast<int>(reinterpret_cast<intptr_t>(BIO_get_data(bio)))); in socketRead() 72 borrowed_fd fd(static_cast<int>(reinterpret_cast<intptr_t>(BIO_get_data(bio)))); in socketWrite() 82 borrowed_fd fd(static_cast<int>(reinterpret_cast<intptr_t>(BIO_get_data(bio)))); in socketCtrl() 88 bssl::UniquePtr<BIO> newSocketBio(borrowed_fd fd) { in newSocketBio() 295 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override; 299 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override; 330 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) { in interruptableWriteFully() 376 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) { in interruptableReadFully()
|
D | OS_unix_base.cpp | 33 status_t setNonBlocking(borrowed_fd fd) { in setNonBlocking() 73 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) { in sendMessageOnSocket() 117 std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) { in receiveMessageFromSocket()
|
D | RpcTransportTipcAndroid.cpp | 30 using android::binder::borrowed_fd; 80 const std::vector<std::variant<unique_fd, borrowed_fd>>* ancillaryFds) override { in interruptableWriteFully() 97 std::vector<std::variant<unique_fd, borrowed_fd>>* /*ancillaryFds*/) override { in interruptableReadFully() argument
|
/frameworks/native/libs/binder/tests/ |
D | FileUtils.h | 42 bool ReadFdToString(borrowed_fd fd, std::string* content); 43 bool WriteStringToFd(std::string_view content, borrowed_fd fd);
|
D | FileUtils.cpp | 34 bool ReadFdToString(borrowed_fd fd, std::string* content) { in ReadFdToString() 53 bool WriteStringToFd(std::string_view content, borrowed_fd fd) { in WriteStringToFd()
|
D | binderRpcTestCommon.h | 179 static inline void writeString(binder::borrowed_fd fd, std::string_view str) { in writeString() 185 static inline std::string readString(binder::borrowed_fd fd) { in readString() 193 static inline void writeToFd(binder::borrowed_fd fd, const Parcelable& parcelable) { in writeToFd() 200 static inline T readFromFd(binder::borrowed_fd fd) { in readFromFd()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | random_parcel_seeds.cpp | 30 using android::binder::borrowed_fd; 90 void writeRandomBinder(borrowed_fd fd, vector<uint8_t>& fillParcelBuffer, in writeRandomBinder() 145 void writeParcelData(borrowed_fd fd, vector<uint8_t>& fillParcelBuffer, in writeParcelData() 169 size_t regenerateParcel(borrowed_fd fd, vector<uint8_t>& fillParcelBuffer, const Parcel& p, in regenerateParcel() 235 void generateSeedsFromRecording(borrowed_fd fd, in generateSeedsFromRecording()
|
/frameworks/native/libs/renderengine/skia/ |
D | SkiaGLRenderEngine.h | 65 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override; 73 bool waitGpuFence(base::borrowed_fd fenceFd);
|
D | GaneshVkRenderEngine.h | 29 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override;
|
D | GraphiteVkRenderEngine.h | 31 void waitFence(SkiaGpuContext* context, base::borrowed_fd fenceFd) override;
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/include_random_parcel_seeds/fuzzseeds/ |
D | random_parcel_seeds.h | 44 void generateSeedsFromRecording(binder::borrowed_fd fd,
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | FabricatedOverlay.h | 53 std::optional<android::base::borrowed_fd>&& binary_value, 72 std::optional<android::base::borrowed_fd> data_binary_value;
|
D | ResourceUtils.h | 45 std::optional<android::base::borrowed_fd> data_binary_value;
|
/frameworks/native/cmds/lshal/ |
D | PipeRelay.h | 44 android::base::borrowed_fd fd() const { return mWrite; } in fd()
|