Home
last modified time | relevance | path

Searched refs:Handle (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DHandle.h48 class Handle {
50 constexpr Handle() = default;
51 constexpr Handle(const T& value) : mValue(value) {} in Handle() function
55 bool operator==(const Handle& that) const { return get() == that.get(); }
56 bool operator!=(const Handle& that) const { return get() != that.get(); }
64 using name = ::android::netdutils::Handle<type, _##name##Tag>;
67 inline std::ostream& operator<<(std::ostream& os, const Handle<T, TagT>& handle) {
/packages/modules/Virtualization/zipfuse/src/
Dmain.rs130 open_files: Mutex<HashMap<Handle, OpenFile>>,
131 open_dirs: Mutex<HashMap<Handle, OpenDirBuf>>,
155 type Handle = u64; typedef
215 type Handle = Handle; typedef
243 _handle: Option<Self::Handle>, in getattr() argument
254 ) -> io::Result<(Option<Self::Handle>, fuse::filesystem::OpenOptions)> { in open() argument
256 let handle = inode as Handle; in open()
303 _handle: Self::Handle, in release() argument
312 let handle = inode as Handle; in release()
328 handle: Self::Handle, in read() argument
[all …]
/packages/modules/Virtualization/authfs/src/
Dfusefs.rs52 type Handle = u64; typedef
185 type DirHandleTable = BTreeMap<Handle, Arc<DirEntriesSnapshot>>;
368 ) -> io::Result<(Option<Handle>, FuseOpenOptions)> { in open_dir_store_snapshot() argument
500 type Handle = Handle; typedef
607 _handle: Option<Handle>, in getattr() argument
640 ) -> io::Result<(Option<Self::Handle>, FuseOpenOptions)> { in open() argument
673 ) -> io::Result<(Entry, Option<Self::Handle>, FuseOpenOptions)> { in create() argument
708 _handle: Handle, in read() argument
740 _handle: Self::Handle, in write() argument
768 _handle: Option<Handle>, in setattr() argument
[all …]
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h637 using Handle = base::unique_fd; variable
638 using SharedHandle = std::shared_ptr<const Handle>;
656 using Handle = std::unique_ptr<AHardwareBuffer, Deleter>; member
657 Handle handle;
661 struct Handle { struct
665 Handle handle;
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_ble_conn_params.cc239 acl_ble_connection_parameters_request(p_lcb->Handle(), min_conn_int, in l2cble_start_conn_update()
260 p_lcb->Handle(), p_lcb->min_interval, p_lcb->max_interval, in l2cble_start_conn_update()
334 p_lcb->Handle(), p_dev_rec->conn_params.min_conn_int, in l2cble_use_preferred_conn_params()
345 p_lcb->Handle(), p_dev_rec->conn_params.min_conn_int, in l2cble_use_preferred_conn_params()
408 p_lcb->Handle(), p_lcb->subrate_min, p_lcb->subrate_max, in l2cble_start_subrate_change()
Dl2c_link.cc101 p_lcb->Handle()); in l2c_link_hci_conn_comp()
104 l2c_link_hci_disc_comp(p_lcb->Handle(), status); in l2c_link_hci_conn_comp()
120 log::debug("Link is dedicated bonding handle:0x{:04x}", p_lcb->Handle()); in l2c_link_hci_conn_comp()
160 log::info("Disconnecting link handle:0x{:04x} status:{}", p_lcb->Handle(), in l2c_link_hci_conn_comp()
391 btm_acl_removed(p_lcb->Handle()); in l2c_link_hci_disc_comp()
466 p_lcb->Handle(), HCI_ERR_PEER_USER, in l2c_link_timeout()
486 acl_disconnect_from_handle(p_lcb->Handle(), HCI_ERR_PEER_USER, in l2c_link_timeout()
816 log::debug("LCB(0x{:x}) is in PM pending state", p_lcb->Handle()); in l2c_link_check_power_mode()
1029 l2cb.controller_xmit_window, p_lcb->Handle(), p_lcb->link_xmit_quota, in l2c_link_send_to_lower_br_edr()
1045 l2cb.controller_le_xmit_window, p_lcb->Handle(), in l2c_link_send_to_lower_ble()
Dl2c_utils.cc110 if (p_lcb.Handle() != HCI_INVALID_HANDLE) { in l2cu_set_lcb_handle()
112 p_lcb.Handle(), handle); in l2cu_set_lcb_handle()
190 btm_acl_removed(p_lcb->Handle()); in l2cu_release_lcb()
309 UINT16_TO_STREAM(p, (p_lcb->Handle() | (L2CAP_PKT_START_NON_FLUSHABLE in l2cu_build_header()
312 UINT16_TO_STREAM(p, p_lcb->Handle() | l2cb.non_flushable_pbf); in l2cu_build_header()
778 UINT16_TO_STREAM(p, (p_ccb->p_lcb->Handle() | (L2CAP_PKT_START_NON_FLUSHABLE in l2cu_send_peer_config_rej()
781 UINT16_TO_STREAM(p, (p_ccb->p_lcb->Handle() | in l2cu_send_peer_config_rej()
1517 p_lcb->Handle(), HCI_ERR_PEER_USER, in l2cu_start_post_bond_timer()
1559 p_ccb->p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in l2cu_release_ccb()
1564 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in l2cu_release_ccb()
[all …]
Dl2c_main.cc329 log::warn("MTU rej Handle: {} MTU: {}", p_lcb->Handle(), rej_mtu); in process_l2cap_cmd()
405 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd()
408 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd()
447 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd()
450 p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid); in process_l2cap_cmd()
Dl2c_api.cc1589 l2c_acl_flush(p_lcb->Handle()); in L2CA_FlushChannel()
1701 av_media_channels[set_channel].p_ccb->p_lcb->Handle(), in L2CA_SetMediaStreamChannel()
1729 av_media_channels[set_channel].p_ccb->p_lcb->Handle(), in L2CA_SetMediaStreamChannel()
1768 handle == av_media_channels[i].p_ccb->p_lcb->Handle()) { in L2CA_isMediaChannel()
1788 LOG_DUMPSYS(fd, "handle:0x%04x", lcb.Handle()); in L2CA_Dumpsys()
Dl2c_csm.cc614 p_ccb->p_lcb->Handle(), HCI_ERR_AUTH_FAILURE, in l2c_csm_term_w4_sec_comp()
1117 p_ccb->p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid, in l2c_csm_config()
1201 p_ccb->p_lcb->Handle(), p_ccb->local_cid, p_ccb->remote_cid, in l2c_csm_config()
1261 p_ccb->p_lcb->Handle(), HCI_ERR_CONN_CAUSE_LOCAL_HOST, in l2c_csm_config()
/packages/modules/NeuralNetworks/tools/api/
DTypes.t163 using Handle = base::unique_fd;
164 using SharedHandle = std::shared_ptr<const Handle>;
182 using Handle = std::unique_ptr<AHardwareBuffer, Deleter>;
183 Handle handle;
187 struct Handle {
191 Handle handle;
/packages/modules/Bluetooth/flags/
Dmcp.aconfig7 description: "Handle LeAudio play same as in AVRCP in case player is not active"
Dmapclient.aconfig7 …description: "Handle DeliveryFailure and SendingFailure Event types of MAP-Event-Reports from the …
Dleaudio.aconfig225 description: "Handle command statuses to recover from errors"
/packages/modules/Bluetooth/system/stack/rfcomm/
Drfc_port_fsm.cc235 p_ccb->p_lcb->Handle(), p_port->rfc.p_mcb->lcid, p_port->dlci); in rfc_port_sm_sabme_wait_ua()
247 ccb->p_lcb->Handle(), lcid, p_port->dlci, p_port->uuid, in rfc_port_sm_sabme_wait_ua()
370 p_ccb->p_lcb->Handle(), p_port->rfc.p_mcb->lcid, p_port->dlci); in rfc_port_sm_term_wait_sec_check()
382 ccb->p_lcb->Handle(), lcid, p_port->dlci, p_port->uuid, in rfc_port_sm_term_wait_sec_check()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sco.h257 uint16_t Handle() const { return hci_handle; } in Handle() function
Dbtm_sco.cc1236 GetInterface().Disconnect(p->Handle(), HCI_ERR_PEER_USER); in BTM_RemoveSco()
1238 log::debug("Disconnecting link sco_handle:0x{:04x} peer:{}", p->Handle(), in BTM_RemoveSco()
1243 p->Handle(), sco_state_text(old_state).c_str())); in BTM_RemoveSco()
/packages/modules/NeuralNetworks/common/types/src/
DTypes.cpp127 return SyncFence(std::make_shared<const Handle>(std::move(fd))); in create()
DSharedMemoryAndroid.cpp247 Memory::HardwareBuffer handle = {.handle = Memory::HardwareBuffer::Handle(ahwb, deleter)}; in createSharedMemoryFromAHWB()
DTypeUtils.cpp596 static std::ostream& operator<<(std::ostream& os, const Handle& handle) { in operator <<()
625 static std::ostream& operator<<(std::ostream& os, const Memory::Unknown::Handle& handle) { in operator <<()
/packages/apps/Dialer/java/com/android/dialer/proguard/
Dproguard_base.flags72 # AOSP support library: Handle classes that use reflection.
/packages/modules/Bluetooth/system/stack/test/
Dstack_l2cap_test.cc82 ASSERT_EQ(0x1234, l2cb.lcb_pool[0].Handle()); in TEST_F()
/packages/modules/Bluetooth/system/stack/acl/
Dacl.h205 uint16_t Handle() const { return hci_handle; } in Handle() function
Dbtm_acl.cc236 btsnd_hcic_write_link_super_tout(link.Handle(), timeout); in hci_btm_set_link_supervision_timeout()
820 p_acl_cb->Handle()); in maybe_chain_more_commands_after_read_remote_version_complete()
1481 GetInterface().ChangeConnectionPacketType(link.Handle(), link.pkt_types_mask); in change_connection_packet_types()
2024 if (p_acl->Handle() == HCI_INVALID_HANDLE) { in btm_remove_acl()
/packages/modules/NeuralNetworks/runtime/
DCompilationBuilder.cpp144 return std::make_shared<const Handle>(std::move(duplicatedFd)); in createCacheHandle()

12