Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/av/media/liberror/
Dexpected_utils_test.cpp59 using Result = base::expected<Value, Status>; typedef
69 TEST(Result, ValueOrReturnSuccess) { in TEST() argument
78 TEST(Result, ValueOrReturnFailure) { in TEST() argument
87 TEST(Result, ValueOrReturnStatusSuccess) { in TEST() argument
96 TEST(Result, ValueOrReturnStatusFailure) { in TEST() argument
105 TEST(Result, ReturnIfErrorSuccess) { in TEST() argument
114 TEST(Result, ReturnIfErrorFailure) { in TEST() argument
123 TEST(Result, ReturnStatusIfErrorSuccess) { in TEST() argument
131 TEST(Result, ReturnStatusIfErrorFailure) { in TEST() argument
139 TEST(Result, ValueOrFatalSuccess) { in TEST() argument
[all …]
/frameworks/native/libs/binder/rust/src/
Dparcel.rs213 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
221 pub fn write_slice_size<T>(&mut self, slice: Option<&[T]>) -> Result<()> { in write_slice_size()
259 for<'b> F: FnOnce(&'b mut WritableSubParcel<'b>) -> Result<()>, in sized_write()
306 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
319 ) -> Result<()> { in append_from()
330 pub fn append_all_from(&mut self, other: &impl AsNative<sys::AParcel>) -> Result<()> { in append_all_from()
343 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
355 pub fn write<S: Serialize + ?Sized>(&mut self, parcelable: &S) -> Result<()> { in write()
363 pub fn write_slice_size<T>(&mut self, slice: Option<&[T]>) -> Result<()> { in write_slice_size()
396 for<'b> F: FnOnce(&'b mut WritableSubParcel<'b>) -> Result<()>, in sized_write()
[all …]
Dnative.rs178 pub fn set_extension(&mut self, extension: &mut SpIBinder) -> Result<()> { in set_extension()
392 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize()
448 pub fn add_service(identifier: &str, mut binder: SpIBinder) -> Result<()> { in add_service()
471 pub fn register_lazy_service(identifier: &str, mut binder: SpIBinder) -> Result<()> { in register_lazy_service()
563 ) -> Result<()> { in on_transact()
567 fn on_dump(&self, _file: &File, _args: &[&CStr]) -> Result<()> { in on_dump()
Dlib.rs122 pub type Result<T> = std::result::Result<T, Status>; typedef
Derror.rs33 pub type Result<T> = result::Result<T, StatusCode>; typedef
39 pub fn status_result(status: status_t) -> Result<()> { in status_result()
347 impl From<Status> for result::Result<(), Status> { implementation
348 fn from(status: Status) -> result::Result<(), Status> { in from()
Dbinder.rs64 fn dump(&self, _file: &File, _args: &[&CStr]) -> Result<()> { in dump()
161 ) -> Result<()>; in on_transact()
165 fn on_dump(&self, file: &File, args: &[&CStr]) -> Result<()>; in on_dump()
200 fn dump<F: AsRawFd>(&mut self, fp: &F, args: &[&str]) -> Result<()>; in dump()
264 fn link_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()>; in link_to_death()
269 fn unlink_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()>; in unlink_to_death()
272 fn ping_binder(&mut self) -> Result<()>; in ping_binder()
421 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
Dproxy.rs47 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
330 fn dump<F: AsRawFd>(&mut self, fp: &F, args: &[&str]) -> Result<()> { in dump()
379 fn link_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()> { in link_to_death()
399 fn unlink_to_death(&mut self, recipient: &mut DeathRecipient) -> Result<()> { in unlink_to_death()
415 fn ping_binder(&mut self) -> Result<()> { in ping_binder()
428 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize()
434 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
462 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
/frameworks/base/cmds/idmap2/include/idmap2/
DResult.h81 Result<T>::Result(const T& value) : data_(std::in_place_type<T>, value) { in Result() function
85 Result<T>::Result(T&& value) noexcept : data_(std::in_place_type<T>, std::forward<T>(value)) { in Result() function
89 Result<T>::Result(const Error& error) : data_(std::in_place_type<Error>, error) { in Result() function
93 Result<T>::Result(Error&& error) noexcept in Result() function
/frameworks/compile/mclinker/include/mcld/LD/
DResolver.h39 struct Result { struct
40 ResolveInfo* info;
64 Result& pResult) const { in resolveAgain() argument
/frameworks/base/libs/hwui/utils/
DResult.h32 Result(const R& r) : result(std::forward<R>(r)) {} in Result() function
33 Result(R&& r) : result(std::forward<R>(r)) {} in Result() function
34 Result(Error<E>&& error) : result(std::forward<Error<E>>(error)) {} in Result() function
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs42 fn write_to_parcel(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()>; in write_to_parcel()
50 fn read_from_parcel(&mut self, parcel: &BorrowedParcel<'_>) -> Result<()>; in read_from_parcel()
57 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()>; in serialize()
69 fn deserialize_from(&mut self, parcel: &BorrowedParcel<'_>) -> Result<()> { in deserialize_from()
84 fn serialize_array(slice: &[Self], parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_array()
198 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
223 fn deserialize_option_from(this: &mut Option<Self>, parcel: &BorrowedParcel<'_>) -> Result<()> { in deserialize_option_from()
437 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize()
449 fn serialize_array(slice: &[Self], parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_array()
468 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize()
[all …]
Dparcelable_holder.rs90 pub fn set_parcelable<T>(&mut self, p: Arc<T>) -> Result<(), StatusCode> in set_parcelable()
165 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<(), StatusCode> { in serialize()
185 fn write_to_parcel(&self, parcel: &mut BorrowedParcel<'_>) -> Result<(), StatusCode> { in write_to_parcel()
221 fn read_from_parcel(&mut self, parcel: &BorrowedParcel<'_>) -> Result<(), StatusCode> { in read_from_parcel()
Dfile_descriptor.rs74 fn serialize(&self, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize()
91 fn serialize_option(this: Option<&Self>, parcel: &mut BorrowedParcel<'_>) -> Result<()> { in serialize_option()
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DResult.kt19 sealed class Result<T> { class
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DSynchronousResultReceiver.java98 public static class Result<T> implements Parcelable { class in SynchronousResultReceiver
102 public Result(RuntimeException exception) { in Result() method in SynchronousResultReceiver.Result
107 public Result(@Nullable T object) { in Result() method in SynchronousResultReceiver.Result
135 private Result(Parcel in) { in Result() method in SynchronousResultReceiver.Result
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DResult.java21 class Result { class
25 Result() { in Result() method in Result
/frameworks/base/core/java/android/os/
DSynchronousResultReceiver.java35 public static class Result { class in SynchronousResultReceiver
39 public Result(int resultCode, @Nullable Bundle bundle) { in Result() method in SynchronousResultReceiver.Result
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dread_utils.rs40 ) -> std::result::Result<(), binder::StatusCode> { in write_to_parcel()
47 ) -> std::result::Result<(), binder::StatusCode> { in read_from_parcel()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontCustomizationParser.java50 public static class Result { class in FontCustomizationParser
55 public Result() { in Result() method in FontCustomizationParser.Result
60 public Result(Map<String, NamedFamilyList> additionalNamedFamilies, in Result() method in FontCustomizationParser.Result
/frameworks/av/media/liberror/include/error/
DResult.h28 using Result = base::expected<T, status_t>; variable
/frameworks/native/libs/binder/rust/sys/
Dlib.rs27 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
/frameworks/base/tools/aapt2/optimize/
DObfuscator.h46 enum class Result { Obfuscated, Keep_ExemptionList, Keep_Overlayable }; enum
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp450 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() typedef
484 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() typedef
517 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() typedef
550 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() typedef
584 using Result = std::tuple<Dataspace, ColorMode, RenderIntent>; in TEST_F() typedef
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h95 explicit Result(uint32_t value) : data_(value) {}; in Result() function
96 explicit Result(std::map<ConfigDescription, Res_value> value) : data_(std::move(value)) { in Result() function
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DStatementRetriever.kt54 data class Result( dataClass

123