Lines Matching refs:Ok
108 assert_eq!(result, Ok(())); in test_oneway()
117 assert_eq!(result, Ok(value));
164 assert_eq!(result.as_ref(), Ok(input)); in test_repeat_string()
180 assert_eq!(result, Ok(array));
249 assert_eq!(got.GetName().as_ref().map(String::as_ref), Ok(NAME)); in test_binder_exchange()
250 assert_eq!(service.VerifyName(&got, NAME), Ok(true)); in test_binder_exchange()
368 assert_eq!(result, Ok(value));
371 assert_eq!(result, Ok(None));
416 assert_eq!(result, Ok(value)); in test_nullable_parcelable()
419 assert_eq!(result, Ok(None)); in test_nullable_parcelable()
437 assert_eq!(service.TakesAnIBinder(&binder), Ok(())); in test_binder()
438 assert_eq!(service.TakesANullableIBinder(None), Ok(())); in test_binder()
439 assert_eq!(service.TakesANullableIBinder(Some(&binder)), Ok(())); in test_binder()
447 assert_eq!(result, Ok(None));
459 assert_eq!(result, Ok(Some(array)));
476 assert_eq!(result.as_ref().map(String::as_str), Ok(*input)); in test_utf8_string()
479 assert_eq!(result.as_ref().map(Option::as_deref), Ok(Some(*input))); in test_utf8_string()
483 assert_eq!(result, Ok(None)); in test_utf8_string()
536 assert_eq!(result, Ok(())); in test_parcelable()
593 Ok(EXPECTED_RETURN_VALUE) in UnimplementedMethod()
604 assert_eq!(result, Ok(EXPECTED_RETURN_VALUE)); in test_default_impl()
614 assert_eq!(version, Ok(1)); in test_versioned_interface_version()
626 Ok("9e7be1859820c59d9d55dd133e71a3687b5d2e5b") in test_versioned_interface_hash()
636 assert_eq!(service.acceptUnionAndReturnString(&BazUnion::IntNum(42)), Ok(String::from("42"))); in test_versioned_known_union_field_is_ok()
667 assert_eq!(ret, Ok(foos.len() as i32)); in test_array_of_parcelable_with_new_field()
680 assert_eq!(ret, Ok(43)); in test_read_data_correctly_after_parcelable_with_new_field()
706 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_old()
719 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_new()
732 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_new()
745 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_old()