Searched defs:id (Results 1 - 25 of 163) sorted by relevance

1234567

/system/core/adf/libadf/include/adf/
H A Dadf.h29 adf_id_t id; member in struct:adf_device
50 int adf_device_open(adf_id_t id, int flags, struct adf_device *dev);
151 int adf_interface_open(struct adf_device *dev, adf_id_t id, int flags);
243 int adf_overlay_engine_open(struct adf_device *dev, adf_id_t id, int flags);
/system/nfc/src/nfa/sys/
H A Dnfa_sys_cback.c52 void nfa_sys_cback_notify_enable_complete(uint8_t id) { argument
53 nfa_sys_cb.enable_cplt_flags |= (0x0001 << id);
93 void nfa_sys_cback_notify_nfcc_power_mode_proc_complete(uint8_t id) { argument
94 nfa_sys_cb.proc_nfcc_pwr_mode_cplt_flags |= (0x0001 << id);
/system/core/logd/
H A DLogUtils.h71 static inline bool worstUidEnabledForLogid(log_id_t id) { argument
72 return (id == LOG_ID_MAIN) || (id == LOG_ID_SYSTEM) ||
73 (id == LOG_ID_RADIO) || (id == LOG_ID_EVENTS);
/system/bt/bta/test/
H A Dbta_closure_test.cc42 void fake_bta_sys_register(uint8_t id, const tBTA_SYS_REG* p_reg) { argument
/system/bt/btcore/src/
H A Dhal_util.cc42 const char* id = BT_STACK_MODULE_ID; local
61 // Check that the id matches.
62 if (strcmp(id, hmi->id) != 0) {
63 HULOGERR("id=%s does not match HAL module ID: %s", id, hmi->id);
70 LOG_INFO(LOG_TAG, "[%s] loaded HAL id=%s path=%s hmi=%p handle=%p", __func__,
71 id, kBluetoothLibraryName, hmi, handle);
/system/connectivity/wificond/net/
H A Dnl80211_packet.h93 // message type is a nl80211 message family id dynamiclly allocated by kernel.
113 bool HasAttribute(int id) const;
114 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
117 bool GetAttributeValue(int id, T* value) const { argument
124 if (!GetAttribute(id, &attribute)) {
132 bool GetAttribute(int id, NL80211Attr<T>* attribute) const { argument
138 id, &start, &end) ||
H A Dnetlink_manager.h36 // type like its name, and its id.
40 explicit MessageType(uint16_t id) { argument
41 family_id = id;
45 // a group id are extracted from the CTRL_CMD_NEWFAMILY message.
106 // This includes setting up socket and requesting nl80211 family id from kernel.
113 // Get NL80211 netlink family id,
242 // This handler revceives mapping from NL80211 family name to family id,
243 // as well as mapping from group name to group id.
277 // Mapping from family name to family id, and group name to group id
[all...]
H A Dnl80211_attribute.h45 // |id| atrribute locates.
62 NL80211Attr(int id, T value) { argument
66 InitHeaderAndResize(id, sizeof(T));
105 NL80211Attr(int id, const std::vector<uint8_t>& raw_buffer);
114 NL80211Attr(int id, const std::string& str);
135 explicit NL80211NestedAttr(int id);
142 bool HasAttribute(int id) const;
149 // attribute id, nested within different level of |this|.
150 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
153 bool GetAttributeValue(int id, argument
211 GetAttribute(int id, NL80211Attr<T>* attribute) const argument
[all...]
/system/core/adb/
H A Dshell_service_protocol.cpp56 bool ShellProtocol::Write(Id id, size_t length) { argument
57 buffer_[0] = id;
H A Dshell_service_protocol_test.cpp90 bool PacketEquals(const ShellProtocol* protocol, ShellProtocol::Id id, argument
93 return (protocol->id() == id &&
102 ShellProtocol::Id id = ShellProtocol::kIdStdout; local
106 ASSERT_TRUE(write_protocol_->Write(id, sizeof(data)));
109 ASSERT_TRUE(PacketEquals(read_protocol_, id, data, sizeof(data)));
114 ShellProtocol::Id id = ShellProtocol::kIdStdin; local
117 ASSERT_TRUE(write_protocol_->Write(id, 10));
121 ASSERT_TRUE(PacketEquals(read_protocol_, id, "1234", 4));
123 ASSERT_TRUE(PacketEquals(read_protocol_, id, "567
130 ShellProtocol::Id id = ShellProtocol::kIdStderr; local
184 ShellProtocol::Id id = ShellProtocol::kIdStdout; local
[all...]
H A Dsocket.h40 unsigned id; member in struct:asocket
113 asocket *create_remote_socket(unsigned id, atransport *t);
H A Dshell_service.h46 // if (p->ReadPacket() && p->id() == kIdStdout) {
92 int id() const { return buffer_[0]; } function in class:ShellProtocol
100 bool Write(Id id, size_t length);
/system/core/init/
H A Dkeychords.cpp55 keychord->id = keychords_count + 1;
57 svc->set_keychord_id(keychord->id);
69 __u16 id; local
71 ret = read(keychord_fd, &id, sizeof(id));
72 if (ret != sizeof(id)) {
73 PLOG(ERROR) << "could not read keychord id";
80 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id);
82 LOG(INFO) << "Starting service " << svc->name() << " from keychord " << id;
85 LOG(ERROR) << "Service for keychord " << id << " no
[all...]
/system/core/liblog/tests/
H A Dlog_id_test.cpp37 log_id_t id = static_cast<log_id_t>(i); local
38 const char* name = android_log_id_to_name(id);
39 if (id != android_name_to_log_id(name)) {
H A Dlog_read_test.cpp63 EXPECT_EQ(log_msg.id(), LOG_ID_MAIN);
88 log_id_t id = static_cast<log_id_t>(i); local
89 const char* name = android_log_id_to_name(id);
90 if (id != android_name_to_log_id(name)) {
95 EXPECT_TRUE(NULL != (logger = android_logger_open(logger_list, id)));
96 EXPECT_EQ(id, android_logger_get_id(logger));
/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp86 status_t BatteryPropertiesRegistrar::getProperty(int id, struct BatteryProperty *val) { argument
87 return healthd_get_property(id, val);
/system/extras/perfprofd/quipper/
H A Daddress_mapper.h32 // Like Map(real_addr, length, remove_existing_mappings). |id| is an
44 const uint64_t id,
54 uint64_t* id,
82 uint64_t id; member in struct:quipper::AddressMapper::MappedRange
/system/libufdt/utils/src/
H A Ddt_table.h50 uint32_t id; /* optional, must be zero if unused */ member in struct:dt_table_entry
/system/media/brillo/audio/audioservice/test/
H A Dbrillo_audio_client_test.cpp107 int id = 0; local
111 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0);
112 EXPECT_NE(id, 0);
120 int id = -1; local
125 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), 0);
126 EXPECT_NE(id, 0);
127 id = -1;
128 EXPECT_EQ(client_.RegisterAudioCallback(callback, &id), EINVAL);
129 EXPECT_EQ(id, 0);
137 int id local
[all...]
/system/nfc/src/nfc/nfc/
H A Dnfc_utils.c63 ** Description This function is called to set the connection id to the
64 ** connection control block and the id mapping table
90 tNFC_CONN_CB* nfc_find_conn_cb_by_handle(uint8_t id) { argument
95 if (nfc_cb.conn_cb[xx].id == id) {
108 ** the given connection id
116 uint8_t id; local
127 id = conn_id & NFC_CONN_ID_ID_MASK;
128 if (id < NFC_MAX_CONN_ID) {
129 handle = nfc_cb.conn_id[id];
[all...]
/system/bt/bta/sys/
H A Dbta_sys_int.h48 uint8_t id[MAX_COLLISION_REG]; member in struct:__anon540
/system/bt/stack/avct/
H A Davct_l2c.cc41 uint8_t id);
103 UNUSED_ATTR uint16_t psm, uint8_t id) {
137 L2CA_ConnectRsp(bd_addr, id, lcid, result, 0);
102 avct_l2c_connect_ind_cback(BD_ADDR bd_addr, uint16_t lcid, UNUSED_ATTR uint16_t psm, uint8_t id) argument
/system/bt/stack/avrc/
H A Davrc_pars_tg.cc518 uint16_t id; local
527 status = avrc_pars_pass_thru(&p_msg->pass, &id);
529 p_result->pdu = (uint8_t)id;
H A Davrc_utils.cc159 uint16_t id; local
167 BE_STREAM_TO_UINT16(id, p_data);
168 if (AVRC_IS_VALID_GROUP(id)) {
169 *p_vendor_unique_id = id;
/system/bt/stack/rfcomm/
H A Drfc_l2cap_if.cc44 uint8_t id);
89 uint8_t id) {
96 p_mcb->pending_id = id;
121 L2CA_ConnectRsp(bd_addr, id, lcid, L2CAP_CONN_NO_RESOURCES, 0);
126 rfc_mx_sm_execute(p_mcb, RFC_MX_EVENT_CONN_IND, &id);
88 RFCOMM_ConnectInd(BD_ADDR bd_addr, uint16_t lcid, UNUSED_ATTR uint16_t psm, uint8_t id) argument

Completed in 509 milliseconds

1234567