Home
last modified time | relevance | path

Searched refs:is_ok (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/
Dmain.rs51 assert!(count.is_ok()); in expect_sessions()
111 assert!(session.is_ok());
124 assert!(srv.holdBinder(Some(&binder)).is_ok());
127 assert!(held.is_ok());
134 assert!(session.is_ok());
137 assert!(session_name.is_ok());
141 assert!(srv.holdBinder(None).is_ok());
147 assert!(srv.nestMe(&binder, 10).is_ok());
152 assert!(a.is_ok());
155 assert!(b.is_ok());
[all …]
/frameworks/native/libs/input/rust/
Dinput_verifier.rs328 .is_ok()); in single_pointer_stream()
337 .is_ok()); in single_pointer_stream()
346 .is_ok()); in single_pointer_stream()
361 .is_ok()); in two_pointer_stream()
374 .is_ok()); in two_pointer_stream()
385 .is_ok()); in two_pointer_stream()
396 .is_ok()); in two_pointer_stream()
411 .is_ok()); in multi_device_stream()
420 .is_ok()); in multi_device_stream()
429 .is_ok()); in multi_device_stream()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DResult.h75 bool is_ok() const;
99 return is_ok();
104 CHECK(is_ok()) << "Result<T>::operator* called in ERROR state";
110 CHECK(is_ok()) << "Result<T>::operator* called in ERROR state";
116 CHECK(is_ok()) << "Result<T>::operator-> called in ERROR state";
122 CHECK(is_ok()) << "Result<T>::operator-> called in ERROR state";
128 CHECK(!is_ok()) << "Result<T>::GetErrorMessage called in OK state"; in GetErrorMessage()
134 CHECK(!is_ok()) << "Result<T>::GetError called in OK state"; in GetError()
139 inline bool Result<T>::is_ok() const { in is_ok() function
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs1236 assert!(custom.serialize(&mut parcel.borrowed()).is_ok()); in test_custom_parcelable()
1241 assert!(parcel.set_data_position(start).is_ok()); in test_custom_parcelable()
1260 assert!(bools.serialize(&mut parcel.borrowed()).is_ok()); in test_slice_parcelables()
1265 assert!(parcel.set_data_position(start).is_ok()); in test_slice_parcelables()
1276 assert!(parcel.set_data_position(start).is_ok()); in test_slice_parcelables()
1288 assert!(parcel.write(&u8s[..]).is_ok()); in test_slice_parcelables()
1293 assert!(parcel.set_data_position(start).is_ok()); in test_slice_parcelables()
1302 assert!(parcel.set_data_position(start).is_ok()); in test_slice_parcelables()
1313 assert!(parcel.set_data_position(start).is_ok()); in test_slice_parcelables()
1316 assert!(parcel.write(&i8s[..]).is_ok()); in test_slice_parcelables()
[all …]
/frameworks/native/libs/binder/rust/src/
Dparcel.rs751 assert!(parcel.set_data_position(str_start).is_ok()); in test_read_data()
761 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
769 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
777 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
785 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
793 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
801 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
809 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
818 assert!(parcel.set_data_position(start).is_ok()); in test_read_data()
827 assert!(parcel.set_data_position(str_start).is_ok()); in test_read_data()
[all …]
Derror.rs185 pub fn is_ok(&self) -> bool { in is_ok() method
330 if status.is_ok() { in from()
469 assert!(!status.is_ok()); in make_service_specific_error()
482 assert!(!status.is_ok()); in make_exception()
492 assert!(!status.is_ok()); in make_exception_null()
/frameworks/native/services/inputflinger/rust/
Dinput_filter.rs224 assert!(result.is_ok()); in test_not_enabled_with_default_filter()
233 assert!(input_filter.notifyKey(&event).is_ok()); in test_notify_key_with_no_filters()
246 assert!(input_filter.notifyKey(&event).is_ok()); in test_notify_key_with_filter()
260 .is_ok()); in test_notify_devices_changed()
272 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_bounce_keys()
274 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_bounce_keys()
286 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_sticky_keys()
288 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_sticky_keys()
300 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_slow_keys()
302 assert!(result.is_ok()); in test_notify_configuration_changed_enabled_slow_keys()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs427 assert!(sm.ping_binder().is_ok()); in check_get_service()
451 assert!(sm.ping_binder().is_ok()); in check_get_service_async()
480 assert!(sm.ping_binder().is_ok()); in check_check_service()
507 assert!(sm.ping_binder().is_ok()); in check_check_service_async()
537 assert!(sm.ping_binder().is_ok()); in check_wait_for_service()
Dserialization.rs288 assert!(status.is_ok()); in on_transact()