Lines Matching full:let
59 let debug_id = super::next_debug_id(); in new()
60 let trd = &tr.transaction_data; in new()
61 let allow_fds = node_ref.node.flags & FLAT_BINDER_FLAG_ACCEPTS_FDS != 0; in new()
62 let txn_security_ctx = node_ref.node.flags & FLAT_BINDER_FLAG_TXN_SECURITY_CTX != 0; in new()
63 let mut txn_security_ctx_off = if txn_security_ctx { Some(0) } else { None }; in new()
64 let to = node_ref.node.owner.clone(); in new()
65 let mut alloc = match from.copy_transaction_data( in new()
80 let oneway_spam_detected = alloc.oneway_spam_detected; in new()
91 let target_node = node_ref.node.clone(); in new()
93 let data_address = alloc.ptr; in new()
121 let debug_id = super::next_debug_id(); in new_reply()
122 let trd = &tr.transaction_data; in new_reply()
123 let mut alloc = match from.copy_transaction_data(to.clone(), tr, debug_id, allow_fds, None) in new_reply()
131 let oneway_spam_detected = alloc.oneway_spam_detected; in new_reply()
169 if let Some(target_node) = &self.target_node { in debug_print_inner()
193 let mut it = &self.from_parent; in find_target_thread()
194 while let Some(transaction) = it { in find_target_thread()
205 let mut it = &self.from_parent; in find_from()
206 while let Some(transaction) = it { in find_from()
242 let mut _t_outdated; in submit()
244 let oneway = self.flags & TF_ONE_WAY != 0; in submit()
245 let process = self.to.clone(); in submit()
246 let mut process_inner = process.inner.lock(); in submit()
251 if let Some(target_node) = self.target_node.clone() { in submit()
255 if let Some(t_outdated) = in submit()
288 let res = if let Some(thread) = self.find_target_thread() { in submit()
318 let target_node_match = match (self.target_node.as_ref(), old.target_node.as_ref()) { in can_replace()
328 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in prepare_file_list()
350 let send_failed_reply = ScopeGuard::new(|| { in do_work()
352 let reply = Err(BR_FAILED_REPLY); in do_work()
358 let files = if let Ok(list) = self.prepare_file_list() { in do_work()
366 let mut tr_sec = BinderTransactionDataSecctx::default(); in do_work()
367 let tr = tr_sec.tr_data(); in do_work()
368 if let Some(target_node) = &self.target_node { in do_work()
369 let (ptr, cookie) = target_node.get_id(); in do_work()
387 let code = if self.target_node.is_none() { in do_work()
397 if let Some(off) = self.txn_security_ctx_off { in do_work()
404 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in do_work()
411 let close_on_free = files.commit(); in do_work()
429 let allocation = self.allocation.lock().take(); in cancel()
434 let reply = Err(BR_DEAD_REPLY); in cancel()