Loading libs/binder/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ cc_library { "-Wextra", "-Werror", "-Wzero-as-null-pointer-constant", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", ], product_variables: { binder32bit: { Loading libs/binder/include/binder/ParcelFileDescriptor.h +6 −6 Original line number Diff line number Diff line Loading @@ -43,22 +43,22 @@ public: android::status_t readFromParcel(const android::Parcel* parcel) override; inline bool operator!=(const ParcelFileDescriptor& rhs) const { return mFd != rhs.mFd; return mFd.get() != rhs.mFd.get(); } inline bool operator<(const ParcelFileDescriptor& rhs) const { return mFd < rhs.mFd; return mFd.get() < rhs.mFd.get(); } inline bool operator<=(const ParcelFileDescriptor& rhs) const { return mFd <= rhs.mFd; return mFd.get() <= rhs.mFd.get(); } inline bool operator==(const ParcelFileDescriptor& rhs) const { return mFd == rhs.mFd; return mFd.get() == rhs.mFd.get(); } inline bool operator>(const ParcelFileDescriptor& rhs) const { return mFd > rhs.mFd; return mFd.get() > rhs.mFd.get(); } inline bool operator>=(const ParcelFileDescriptor& rhs) const { return mFd >= rhs.mFd; return mFd.get() >= rhs.mFd.get(); } private: android::base::unique_fd mFd; Loading Loading
libs/binder/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,7 @@ cc_library { "-Wextra", "-Werror", "-Wzero-as-null-pointer-constant", "-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION", ], product_variables: { binder32bit: { Loading
libs/binder/include/binder/ParcelFileDescriptor.h +6 −6 Original line number Diff line number Diff line Loading @@ -43,22 +43,22 @@ public: android::status_t readFromParcel(const android::Parcel* parcel) override; inline bool operator!=(const ParcelFileDescriptor& rhs) const { return mFd != rhs.mFd; return mFd.get() != rhs.mFd.get(); } inline bool operator<(const ParcelFileDescriptor& rhs) const { return mFd < rhs.mFd; return mFd.get() < rhs.mFd.get(); } inline bool operator<=(const ParcelFileDescriptor& rhs) const { return mFd <= rhs.mFd; return mFd.get() <= rhs.mFd.get(); } inline bool operator==(const ParcelFileDescriptor& rhs) const { return mFd == rhs.mFd; return mFd.get() == rhs.mFd.get(); } inline bool operator>(const ParcelFileDescriptor& rhs) const { return mFd > rhs.mFd; return mFd.get() > rhs.mFd.get(); } inline bool operator>=(const ParcelFileDescriptor& rhs) const { return mFd >= rhs.mFd; return mFd.get() >= rhs.mFd.get(); } private: android::base::unique_fd mFd; Loading