/packages/modules/Bluetooth/tools/rootcanal/rust/src/ |
D | ffi.rs | 20 use std::rc::Rc; 95 Rc::into_raw(Rc::new(LinkManager::new(ops))) in link_manager_create() 111 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); 129 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); 141 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); in link_manager_tick() 161 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); in link_manager_ingest_hci() 190 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); 209 let _ = Rc::from_raw(lm); in link_manager_destroy() 218 Rc::into_raw(Rc::new(LinkLayer::new(ops))) in link_layer_create() 239 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); [all …]
|
/packages/modules/Bluetooth/system/rust/src/connection/mocks/ |
D | mock_le_manager.rs | 6 use std::{cell::RefCell, collections::HashSet, fmt::Debug, rc::Rc}; 21 active: Rc<RefCell<Option<Rc<MockActiveLeAclManager>>>>, 22 callbacks: Rc<RefCell<Option<Box<dyn LeAclManagerConnectionCallbacks>>>>, 27 Self { active: Rc::new(RefCell::new(None)), callbacks: Rc::new(RefCell::new(None)) } in new() 30 fn inner(&self) -> Rc<MockActiveLeAclManager> { in inner() 68 type ActiveManager = Rc<MockActiveLeAclManager>; 94 pub fn new() -> Rc<Self> { in new() 95 Rc::new(MockActiveLeAclManager { in new() 143 impl LeAclManager for Rc<MockActiveLeAclManager> { implementation
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/ |
D | gatt_database.rs | 5 use std::{cell::RefCell, collections::BTreeMap, ops::RangeInclusive, rc::Rc}; 91 listeners: RefCell<Vec<Rc<dyn GattDatabaseCallbacks>>>, 102 DynamicCharacteristic(Rc<dyn RawGattDatastore>), 103 DynamicDescriptor(Rc<dyn RawGattDatastore>), 139 pub fn register_listener(&self, callbacks: Rc<dyn GattDatabaseCallbacks>) { in register_listener() 169 datastore: Rc<dyn RawGattDatastore>, in add_service_with_handles() 563 Rc::new(gatt_datastore), in test_single_service() 593 let gatt_datastore = Rc::new(gatt_datastore); in test_service_removal() 688 Rc::new(gatt_datastore), in test_single_characteristic_declaration() 761 Rc::new(gatt_datastore), in test_all_characteristic_permissions() [all …]
|
D | att_server_bearer.rs | 220 use std::rc::Rc; 329 let datastore = Rc::new(datastore); in test_concurrent_transaction_failure()
|
/packages/modules/Bluetooth/system/rust/src/ |
D | lib.rs | 24 use std::{rc::Rc, sync::Mutex}; 52 pub gatt_outgoing_callbacks: Rc<dyn GattCallbacks>, 54 pub gatt_incoming_callbacks: Rc<gatt::callbacks::CallbackTransactionManager>, 69 gatt_callbacks: Rc<dyn GattCallbacks>, in start() 70 att_transport: Rc<dyn AttTransport>, in start() 95 Rc::new(gatt::callbacks::CallbackTransactionManager::new(gatt_callbacks.clone())); in start()
|
/packages/modules/Bluetooth/system/rust/src/core/ |
D | shared_box.rs | 10 rc::{Rc, Weak}, 18 pub struct SharedBox<T: ?Sized>(Rc<T>); 29 Self(Rc::new_cyclic(|weak| f(WeakBox(weak.clone())))) in new_cyclic() 34 WeakBox(Rc::downgrade(&self.0)) in downgrade() 39 WeakBoxRef(self.0.deref(), Rc::downgrade(&self.0)) in as_ref()
|
D | mod.rs | 9 use std::{pin::Pin, rc::Rc, thread}; 28 Rc::new(GattCallbacksImpl(gatt_server_callbacks)), in start() 29 Rc::new(AttTransportImpl()), in start()
|
D | shared_mutex.rs | 4 use std::{future::Future, rc::Rc, sync::Arc}; 16 on_death: Rc<Semaphore>, 22 Self { lock: Arc::new(Mutex::new(t)), on_death: Rc::new(Semaphore::new(0)) } in new()
|
/packages/modules/Bluetooth/system/rust/src/gatt/callbacks/ |
D | callback_transaction_manager.rs | 1 use std::{cell::RefCell, collections::HashMap, rc::Rc, time::Duration}; 34 callbacks: Rc<dyn GattCallbacks>, 60 pub fn new(callbacks: Rc<dyn GattCallbacks>) -> Self { in new() 91 pub fn get_datastore(self: &Rc<Self>, server_id: ServerId) -> impl RawGattDatastore { in get_datastore() 130 callback_transaction_manager: Rc<CallbackTransactionManager>,
|
/packages/modules/Bluetooth/system/rust/src/gatt/ |
D | server.rs | 19 rc::Rc, 51 transport: Rc<dyn AttTransport>, 66 transport: Rc<dyn AttTransport>, in new() 127 .add_service_with_handles(service, Rc::new(datastore)) in register_gatt_service()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/test/ |
D | test_att_db.rs | 11 use std::{cell::RefCell, collections::BTreeMap, rc::Rc}; 15 attributes: Rc<BTreeMap<AttHandle, TestAttributeWithData>>, 27 attributes: Rc::new( in new()
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/services/ |
D | gatt.rs | 3 use std::{cell::RefCell, collections::HashMap, ops::RangeInclusive, rc::Rc}; 153 let this = Rc::new(GattService::default()); in register_gatt_service() 347 let gatt_datastore = Rc::new(gatt_datastore); in test_single_registered_service_change_indication() 392 let gatt_datastore = Rc::new(gatt_datastore); in test_multiple_registered_service_change_indication() 430 let gatt_datastore = Rc::new(gatt_datastore); in test_one_unregistered_service_change_indication() 472 let gatt_datastore = Rc::new(gatt_datastore); in test_one_disconnected_service_change_indication()
|
D | gap.rs | 3 use std::rc::Rc; 90 Rc::new(GapService), in register_gap_service()
|
/packages/apps/Gallery2/jni/filters/ |
D | saturated.c | 43 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF() local 47 destination[RED] = CLAMP(Rc); in JNIFUNCF()
|
D | vibrance.c | 52 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF() local 56 destination[RED] = CLAMP(Rc); in JNIFUNCF()
|
D | wbalance.c | 158 float Rc = r*scaleR; in JNIFUNCF() local 162 rgb[RED] = clamp(Rc); in JNIFUNCF()
|
/packages/modules/Bluetooth/system/rust/tests/ |
D | gatt_callbacks_test.rs | 3 use std::{rc::Rc, time::Duration}; 32 ) -> (Rc<CallbackTransactionManager>, UnboundedReceiver<MockCallbackEvents>) { in initialize_manager_with_connection() 34 let callback_manager = Rc::new(CallbackTransactionManager::new(Rc::new(callbacks))); in initialize_manager_with_connection()
|
D | gatt_server_test.rs | 2 rc::Rc, 76 let gatt = GattModule::new(Rc::new(transport), Arc::new(Mutex::new(arbiter))); in start_gatt_module()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/ |
D | manager.rs | 20 use std::rc::{Rc, Weak}; 259 pub fn add_link(self: &Rc<Self>, peer: hci::Address) -> Result<(), LinkManagerError> { in add_link() 264 let context = LinkContext { index: index as u8, manager: Rc::downgrade(self) }; in add_link()
|
/packages/apps/DocumentsUI/tests/res/raw/ |
D | images_tar | 1586 V�����wqӯ^��,>C3Ƀ��O fS����M1�Rc���%�R�D�998=�鳬jrЁ�dրQ˷��9���O9��)#�z}jHС�@� �҄o%�E��,9… 1689 !l�ێ=hI��`��x��D����q�<Rc&W�[�P<��ݩH�k���0F!�a۵P�����D�K6����<������ۆ��n�����&�⸇2Ƞwt�… 2594 ��Ҏp"s��q���X7��w�U���P�0 l���2Ɓc�<�0pO4jI%�SП��F'�31c��:���T.�L%Rc`�rji �%d�Iܣ��@�v… 3569 �)�,���x�o.s��*%RcwA�t����A�� t��O 4337 …��4�A��ʣe��h$��a�M%�l#�{P!�)�0�9�����8���J�6����;��0�˴g�8�Rc�F$��ܓ��;� �;xc��HY… 6044 �����J��2����rA�ԗ�p!0���H�s~�H�;���;D�v�T�����Rc�jsƊ��c�:i ��C���\�;��'`�<���W�*�… 6762 …�wDZ���|;�%�8�^�7��*��6��{��>�������T*:"Y!������!W�}��X~�i��Z�~&X�Rc�--�L��*N�Ւ|���5̿ 8406 …�=;�T����ucoT�R[[��,kpg��2p�a�<���κ��iJ\�ߌ䎙�?�K�۟���B�/ a���Nk^�Ķ�ݚj0��Rc���t��E8�%��((���\… 9011 …�efk8sF�a�!���9v�1S�� �͍p���\ݎ��xH��T�98#��]-��l�al|��~�t&���2��np�Rc����,�rcw$¥[�T7�H�… 9660 7��,�� 3��'��z���rW���b����-�zdv��Rc��?�?����%��0�V$[j�y���k� m [all …]
|