/system/core/libcutils/ |
D | native_handle.cpp | 56 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); in native_handle_clone() local 57 if (clone == NULL) return NULL; in native_handle_clone() 60 clone->data[i] = dup(handle->data[i]); in native_handle_clone() 61 if (clone->data[i] == -1) { in native_handle_clone() 62 clone->numFds = i; in native_handle_clone() 63 native_handle_close(clone); in native_handle_clone() 64 native_handle_delete(clone); in native_handle_clone() 69 memcpy(&clone->data[handle->numFds], &handle->data[handle->numFds], in native_handle_clone() 72 return clone; in native_handle_clone()
|
/system/bt/gd/rust/hci/src/ |
D | controller_facade.rs | 42 let clone = self.clone(); in get_mac_address() localVariable 45 address.set_address(clone.exports.address.bytes.to_vec()); in get_mac_address() 51 let mut clone = self.clone(); in write_local_name() localVariable 55 clone.hci.commands.send(builder.build()).await; in write_local_name() 61 let mut clone = self.clone(); in get_local_name() localVariable 64 clone.hci.commands.send(ReadLocalNameBuilder {}).await.get_local_name(), in get_local_name()
|
D | facade.rs | 69 self.events.register(EventCode::from_u32(code).unwrap(), self.evt_tx.clone()).await; in register_event() 75 .register_le(SubeventCode::from_u32(code).unwrap(), self.le_evt_tx.clone()) in register_le_event() 89 let mut commands = self.commands.clone(); in send_command() 90 let evt_tx = self.evt_tx.clone(); in send_command() 99 let mut clone = self.clone(); in request_event() localVariable 101 clone.register_event(req.get_code()).await; in request_event() 112 let mut clone = self.clone(); in request_le_subevent() localVariable 114 clone.register_le_event(req.get_code()).await; in request_le_subevent() 120 let acl_tx = self.acl_tx.clone(); in send_acl()
|
/system/bt/gd/rust/linux/service/src/ |
D | main.rs | 36 let bluetooth = Arc::new(Mutex::new(Bluetooth::new(tx.clone(), intf.clone()))); in main() 37 let bluetooth_gatt = Arc::new(Mutex::new(BluetoothGatt::new(intf.clone()))); in main() 56 conn.clone(), in main() 65 topstack::get_runtime().spawn(Stack::dispatch(rx, bluetooth.clone())); in main() 69 disconnect_watcher.lock().unwrap().setup_watch(conn.clone()).await; in main() 74 conn.clone(), in main() 77 disconnect_watcher.clone(), in main() 82 conn.clone(), in main() 85 disconnect_watcher.clone(), in main()
|
/system/bt/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 25 let ori_item: proc_macro2::TokenStream = item.clone().into(); in dbus_method() 36 let ori_item: proc_macro2::TokenStream = item.clone().into(); in generate_dbus_exporter() 38 let args = Punctuated::<Expr, Comma>::parse_separated_nonempty.parse(attr.clone()).unwrap(); in generate_dbus_exporter() 52 let ast: ItemImpl = syn::parse(item.clone()).unwrap(); in generate_dbus_exporter() 70 Some(meta_list.nested[0].clone()) in generate_dbus_exporter() 91 let ident = pat_ident.ident.clone(); in generate_dbus_exporter() 118 conn_clone.clone(), in generate_dbus_exporter() 120 dc_watcher_clone.clone(), in generate_dbus_exporter() 151 let conn_clone = conn.clone(); in generate_dbus_exporter() 152 let dc_watcher_clone = disconnect_watcher.clone(); in generate_dbus_exporter() [all …]
|
/system/bt/gd/rust/linux/mgmt/src/bin/btmanagerd/ |
D | main.rs | 33 c.clone(), in main() 46 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main() 61 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main() 75 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main() 93 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main() 95 let result = proxy.register_state_change_observer(object_path.clone()).await; in main() 112 cr.data_mut::<state_machine::StateMachineProxy>(ctx.path()).unwrap().clone(); in main() 114 let result = proxy.unregister_state_change_observer(object_path.clone()).await; in main()
|
/system/bt/gd/rust/gddi/macros/ |
D | lib.rs | 19 let ident = function.sig.ident.clone(); in provides() 25 return t.ty.clone(); in provides() 30 let local_var_idents_for_call = local_var_idents.clone(); in provides() 137 let init_ident = module.name.clone(); in module() 139 let types = providers.clone().map(|p| p.ty.clone()); in module() 141 providers.clone().map(|p| format_ident!("__gddi_{}_injected", p.ident.clone())); in module() 182 let struct_ident = struct_.ident.clone(); in part_out() 183 let fields = match struct_.fields.clone() { in part_out() 189 let field_names = fields.iter().map(|f| f.ident.clone().expect("field without a name")); in part_out() 190 let field_types = fields.iter().map(|f| f.ty.clone()); in part_out()
|
/system/bt/gd/rust/linux/adapter/src/ |
D | main.rs | 34 let (tx1, tx2, tx3, tx4, tx5) = (tx.clone(), tx.clone(), tx.clone(), tx.clone(), tx.clone()); in make_context() 37 let txl = tx1.clone(); in make_context() 43 let txl = tx2.clone(); in make_context() 49 let txl = tx5.clone(); in make_context() 55 let txl = tx3.clone(); in make_context() 61 let txl = tx4.clone(); in make_context() 169 if !context.intf.initialize(context.callbacks.clone(), args) { in main()
|
/system/bt/gd/rust/linux/stack/btif_macros/src/ |
D | lib.rs | 25 let ori_item: proc_macro2::TokenStream = item.clone().into(); in stack_message() 38 let args = Punctuated::<Expr, Comma>::parse_separated_nonempty.parse(attr.clone()).unwrap(); in btif_callbacks_generator() 52 let ast: ItemTrait = syn::parse(item.clone()).unwrap(); in btif_callbacks_generator() 69 Some(meta_list.nested[0].clone()) in btif_callbacks_generator() 96 let tx_clone = tx.clone(); in btif_callbacks_generator() 98 let tx = tx_clone.clone(); in btif_callbacks_generator() 110 let ori_item = proc_macro2::TokenStream::from(item.clone()); in btif_callbacks_generator()
|
/system/bt/gd/rust/hal/src/ |
D | facade.rs | 23 evt_rx: RxAdapter::from_arc(control.rx.clone()), in provide_facade() 24 acl_rx: RxAdapter::from_arc(acl.rx.clone()), in provide_facade() 25 iso_rx: RxAdapter::from_arc(iso.rx.clone()), in provide_facade() 51 let cmd_tx = self.control.tx.clone(); in send_command() 59 let acl_tx = self.acl.tx.clone(); in send_acl() 71 let iso_tx = self.iso.tx.clone(); in send_iso()
|
D | snoop.rs | 146 if let Err(e) = evt_up_tx.send(evt.clone()).await { in provide_snooped_hal() 153 if let Err(e) = raw_hal.cmd_tx.send(cmd.clone()) { in provide_snooped_hal() 160 if let Err(e) = raw_hal.acl_tx.send(acl.clone()) { in provide_snooped_hal() 167 if let Err(e) = acl_up_tx.send(acl.clone()).await { in provide_snooped_hal() 174 if let Err(e) = raw_hal.iso_tx.send(iso.clone()) { in provide_snooped_hal() 181 if let Err(e) = iso_up_tx.send(iso.clone()).await { in provide_snooped_hal() 234 remove_file(config.path.clone() + ".last").await.ok(); in new() 236 remove_file(config.path.clone() + ".filtered").await.ok(); in new() 237 remove_file(config.path.clone() + ".filtered.last").await.ok(); in new() 305 rename(&self.config.path, self.config.path.clone() + ".last").await.ok(); in open_next_file()
|
/system/bt/gd/rust/gddi/src/ |
D | lib.rs | 84 return value.downcast_ref::<T>().expect("was not correct type").clone(); in get() 89 let provider = { self.providers.lock().await[&typeid].clone() }; in get() 90 let result = (provider.f)(self.clone()).await; in get() 91 (*result.downcast::<T>().expect("was not correct type")).clone() in get() 95 instances.insert(typeid, Box::new(casted.clone())); in get() 98 start_order.push(Box::new(casted.clone())); in get()
|
/system/extras/profcollectd/libprofcollectd/ |
D | scheduler.rs | 53 let config = config.clone(); in schedule_periodic() 54 let trace_provider = self.trace_provider.clone(); in schedule_periodic() 85 let trace_provider = self.trace_provider.clone(); in one_shot() 91 let trace_provider = self.trace_provider.clone(); in process()
|
/system/media/camera/docs/ |
D | metadata_validate.py | 201 for clone in soup.find_all("clone"): 202 clone_entry = clone['entry'] 203 clone_kind = clone['kind'] 205 parent_kind = find_kind(clone) 218 clone_name = fully_qualified_name(clone) 235 clone_hal_version = clone.get('hal_version')
|
/system/bt/btcore/src/ |
D | property.cc | 34 bt_property_t* clone = in property_copy_array() local 37 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); in property_copy_array() 39 clone[i].val = osi_calloc(clone[i].len); in property_copy_array() 40 memcpy(clone[i].val, properties[i].val, clone[i].len); in property_copy_array() 43 return clone; in property_copy_array()
|
/system/bt/gd/rust/shim/src/ |
D | hci.rs | 43 let mut commands = hci.internal.commands.clone(); in hci_send_command() 56 let tx = hci.internal.acl_tx.clone(); in hci_send_acl() 66 let mut hci_facade = hci.internal.clone(); in hci_register_event() 73 let mut hci_facade = hci.internal.clone(); in hci_register_le_event()
|
/system/bt/gd/rust/main/src/ |
D | lib.rs | 28 registry.inject(rt.clone()).await; in new() 79 let rt = self.rt.clone(); in stop_blocking() 85 self.rt.clone() in get_runtime()
|
/system/security/keystore2/src/ |
D | globals.rs | 59 let mut db = KeystoreDB::new(&db_path, Some(GC.clone())).expect("Failed to open database."); in create_thread_local_db() 105 .map(|(dev, hw_info)| ((*dev).clone(), (*hw_info).clone(), *uuid)) in dev_by_uuid() 131 self.devices_by_sec_level.get(sec_level).map(|dev| (*dev).clone()) in dev_by_sec_level() 166 static ref GC: Arc<Gc> = Arc::new(Gc::new_init_with(ASYNC_TASK.clone(), || { 177 SUPER_KEY.clone(), 336 Ok(dev.clone()) in get_timestamp_service() 339 *ts_device = Some(dev.clone()); in get_timestamp_service()
|
/system/bt/gd/rust/link/src/acl/classic/ |
D | mod.rs | 142 let local_rt = rt.clone(); in provide_acl_manager() 150 events.register(EventCode::ConnectionComplete, evt_tx.clone()).await; in provide_acl_manager() 151 events.register(EventCode::ConnectionRequest, evt_tx.clone()).await; in provide_acl_manager() 199 shared: shared.clone(), in provide_acl_manager() 208 hci_evt_tx: core_conn.evt_tx.clone(), in provide_acl_manager() 212 … rt.spawn(run_connection(handle, evt_tx, req_rx, core_conn, connections.clone(), hci.clone())); in provide_acl_manager()
|
/system/keymaster/contexts/ |
D | soft_attestation_cert.cpp | 306 retval = CertificateChain::clone(kRsaAttestChain); in getAttestationChain() 310 retval = CertificateChain::clone(kEcAttestChain); in getAttestationChain()
|
/system/bt/gd/rust/facade/src/ |
D | lib.rs | 32 rt: rt.clone(), in create() 122 let local_rt = rt.clone(); in create() 128 let stack = Stack::new(local_rt.clone()).await; in create() 130 stack.configure_snoop(snoop_path.clone()).await; in create()
|
/system/bt/build/dpkg/modp_b64/ |
D | gen-src-pkg.sh | 20 git clone --branch "${branch}" https://chromium.googlesource.com/chromiumos/platform2 || exit 1 27 git clone --branch "${branch}" https://chromium.googlesource.com/aosp/platform/external/modp_b64 ||…
|
/system/bt/build/dpkg/libchrome-822064/ |
D | gen-src-pkg.sh | 20 git clone --branch "${branch}" https://chromium.googlesource.com/chromiumos/platform2 || exit 1 27 git clone --branch "${branch}" https://chromium.googlesource.com/aosp/platform/external/libchrome |…
|
/system/bt/build/dpkg/libchrome/ |
D | gen-src-pkg.sh | 20 git clone --branch "${branch}" https://chromium.googlesource.com/chromiumos/platform2 || exit 1 27 git clone --branch "${branch}" https://chromium.googlesource.com/aosp/platform/external/libchrome |…
|
/system/bt/gd/rust/facade/helpers/ |
D | lib.rs | 41 let clone_rx = self.rx.clone(); in stream_grpc() 62 let clone_rx = self.rx.clone(); in stream_runnable()
|