/frameworks/native/libs/binder/rust/binder_tokio/ |
D | lib.rs | 52 Ok(Ok(service)) => Ok(service), in get_interface() 53 Ok(Err(err)) => Err(err), in get_interface() 78 Ok(Ok(service)) => Ok(service), in check_interface() 79 Ok(Err(err)) => Err(err), in check_interface() 102 Ok(Ok(service)) => Ok(service), in wait_for_interface() 103 Ok(Err(err)) => Err(err), in wait_for_interface() 146 Ok(res) => after_spawn(res).await, in spawn()
|
/frameworks/compile/slang/ |
D | slang_rs_export_reduce.cpp | 109 Ok(true), in StateOfAnalyzeTranslationUnit() 139 bool Ok; member 182 S.Ok = false; in lookupFunction() 193 S.Ok = false; in lookupFunction() 201 S.Ok = false; in lookupFunction() 205 S.Ok = false; in lookupFunction() 211 S.Ok = false; in notOk() 263 S.Ok = false; in analyzeInitializer() 274 S.Ok = false; in analyzeInitializer() 285 S.Ok = false; in analyzeInitializer() [all …]
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/service/ |
D | main.rs | 65 Ok(self.name.clone()) in getName() 72 Ok(()) in sendString() 76 Ok(ss) in doubleString() 79 Ok(self.port) in getClientPort() 89 Ok(()) => Ok(StatusCode::OK as i32), in pingMe() 95 Some(x) => Ok(Some(x.clone())), in repeatBinder() 101 Ok(()) in holdBinder() 104 Ok((*HOLD_BINDER.lock().unwrap()).clone()) in getHeldBinder() 112 Ok(()) in nestMe() 119 Ok((*locked) in alwaysGiveMeTheSameBinder() [all …]
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable_holder.rs | 101 Ok(()) in set_parcelable() 124 ParcelableHolderData::Empty => Ok(None), in get_parcelable() 132 Ok(x) => Ok(Some(x)), in get_parcelable() 143 return Ok(None); in get_parcelable() 153 Ok(Some(result)) in get_parcelable() 196 Ok(parcelable) in deserialize() 229 Ok(()) in write_to_parcel() 251 return Ok(()); in read_from_parcel() 271 Ok(()) in read_from_parcel()
|
D | parcelable.rs | 78 Ok(()) in read_from_parcel() 120 Ok(()) in deserialize_from() 199 Ok(vec) in deserialize_array() 231 Ok(e) => e, in deserialize_element() 275 Ok(None) in deserialize_option() 286 Ok(()) in deserialize_option_from() 393 Ok(val) 445 Ok(vec) 836 Ok(unsafe { Status::from_ptr(status_ptr) }) in deserialize() 1015 Ok(result) [all …]
|
D | file_descriptor.rs | 117 Ok(None) in deserialize_option() 123 Ok(Some(ParcelFileDescriptor::new(file))) in deserialize_option()
|
/frameworks/native/libs/binder/rust/tests/ |
D | ndk_rust_interop.rs | 45 Ok(service) => service, in rust_call_ndk() 49 Ok(s) => { in rust_call_ndk() 66 Ok(_) => { in rust_call_ndk() 81 Ok(s.to_string()) in echo() 96 Ok(_) => StatusCode::OK as c_int, in rust_start_service()
|
D | integration.rs | 105 _ if c == TestTransactionCode::Test as u32 => Ok(TestTransactionCode::Test), in try_from() 107 Ok(TestTransactionCode::GetDumpArgs) in try_from() 110 Ok(TestTransactionCode::GetSelinuxContext) in try_from() 113 Ok(TestTransactionCode::GetIsHandlingTransaction) in try_from() 124 Ok(()) in dump() 130 Ok(self.s.clone()) in test() 135 Ok(args) in get_dump_args() 145 Ok(binder::is_handling_transaction()) in get_is_handling_transaction() 208 self.binder.transact(TestTransactionCode::Test as TransactionCode, 0, |_| Ok(()))?; in test() 215 .transact(TestTransactionCode::GetDumpArgs as TransactionCode, 0, |_| Ok(()))?; in get_dump_args() [all …]
|
/frameworks/native/cmds/evemu-record/ |
D | evdev.rs | 157 Ok(len) if len < 0 => { in buf_from_ioctl() 160 Ok(len) => { in buf_from_ioctl() 162 Ok(buf) in buf_from_ioctl() 171 Ok(Device { fd: OwnedFd::from(File::open(path)?) }) in open() 190 Ok(String::from_utf8_lossy(buf.as_slice()).into_owned()) in name() 236 Ok(len) if len < 0 => { in bitmap_for_event_type() 239 Ok(len) => { in bitmap_for_event_type() 241 Ok(buf) in bitmap_for_event_type() 258 Ok(axes) in supported_axes_of_type()
|
D | main.rs | 87 Ok(dev) => { in pick_input_device() 102 Ok(PathBuf::from(format!("/dev/input/event{choice}"))) in pick_input_device() 140 Ok(()) in print_device_description() 162 Ok(()) in print_device_description() 181 Ok(()) in print_events() 212 Ok(()) in main()
|
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/ |
D | read_utils.rs | 49 Ok(result) => { in read_from_parcel() 51 Ok(()) in read_from_parcel() 110 Ok(result) => result, 119 Ok(result) => result, 129 Ok(result) => result,
|
D | parcel_fuzzer.rs | 87 Ok(result) => result, in do_append_fuzz() 94 Ok(result) => result, in do_append_fuzz() 112 Ok(result) => result, in do_read_fuzz() 127 Ok(result) => result, in do_read_fuzz()
|
/frameworks/native/libs/binder/rust/src/ |
D | parcel.rs | 273 Ok(()) in sized_write() 512 Ok(()) in sized_read() 531 Ok(()) in resize_out_vec() 556 Ok(()) in resize_nullable_out_vec() 682 Ok(unsafe { SpIBinder::from_raw(binder) }) in read_binder() 723 assert_eq!(parcel.read::<Option<String>>(), Ok(None)); in test_read_write() 921 assert_eq!(Ok(()), parcel2.append_all_from(&parcel1)); in test_append_from() 923 assert_eq!(Ok(()), parcel2.append_all_from(&parcel1)); in test_append_from() 930 assert_eq!(Ok(42), parcel2.read::<i32>()); in test_append_from() 931 assert_eq!(Ok(42), parcel2.read::<i32>()); in test_append_from() [all …]
|
D | native.rs | 289 Ok(()) => 0i32, in on_transact() 371 Ok(()) => 0, in on_dump() 445 Ok(Binder { ibinder: ibinder.as_native_mut(), rust_object: userdata as *mut B }) in try_from() 477 Ok(()) in on_transact() 481 Ok(()) in on_dump()
|
D | binder.rs | 66 Ok(()) in dump() 132 0 => Ok(Local), in try_from() 133 1 => Ok(Vintf), in try_from() 883 Ok(Self { binder, $($fname: $finit),* }) 973 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder… 980 if let Ok(service) = service { 983 return Ok($crate::Strong::new(Box::new(service))); 986 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder… 1041 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder… 1046 …return Ok($crate::Strong::new(Box::new(<$proxy as $crate::binder_impl::Proxy>::from_binder(ibinder… [all …]
|
/frameworks/native/services/inputflinger/rust/ |
D | input_filter.rs | 86 Result::Ok(self.state.lock().unwrap().enabled) in isEnabled() 92 Result::Ok(()) in notifyKey() 98 Result::Ok(()) in notifyInputDevicesChanged() 132 Result::Ok(()) in notifyConfigurationChanged() 149 Ok(_) => (), in notify_key() 459 Result::Ok(()) in sendKeyEvent() 471 Result::Ok(()) in onModifierStateChanged() 481 Result::Ok(BnInputThread::new_binder(test_thread, BinderFeatures::default())) in createInputFilterThread() 552 Result::Ok(()) in finish() 559 Result::Ok(()) in wake() [all …]
|
D | lib.rs | 92 Ok(callback) => { in create_inputflinger_rust() 118 Result::Ok(filter) in createInputFilter()
|
/frameworks/native/libs/binder/rust/rpcbinder/src/server/ |
D | android.rs | 104 Ok(s) => s, in new_inet() 129 Ok(unsafe { RpcServer::from_ptr(ptr) }) in checked_from_ptr() 182 Ok(()) in shutdown()
|
D | trusty.rs | 139 Ok(ConnectResult::Accept(conn)) in on_connect() 154 Ok(MessageResult::MaintainConnection) in on_message()
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/ |
D | main.rs | 71 assert_eq!(srv.as_binder().ping_binder(), Ok(())); 75 assert_eq!(srv.sendString("Foo"), Ok(())); 79 assert_eq!(srv.doubleString("Foo"), Ok(String::from("FooFoo"))); 85 assert_eq!(srv.doubleString(&single), Ok(String::from(single.clone() + &single))); 98 assert_eq!(result, Ok(0));
|
/frameworks/native/cmds/sfdo/ |
D | sfdo.rs | 27 Ok(_) => println!("{}: Operation successful!", function_name), in print_result() 87 Ok(service) => service, in main()
|
/frameworks/base/services/incremental/ |
D | IncrementalServiceValidation.h | 26 binder::Status Ok();
|
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/fuzz_service_test/ |
D | service_fuzzer.rs | 32 Ok(token) in repeatData()
|
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/binder_rpc_test_session/ |
D | lib.rs | 59 Ok(self.name.clone()) in getName() 97 Ok(()) in nestMe()
|
/frameworks/native/libs/binder/rust/rpcbinder/src/ |
D | session.rs | 113 Ok(s) => s, in setup_unix_domain_client() 159 Ok(s) => s, in setup_inet_client()
|