/system/bt/stack/gatt/ |
H A D | gatt_api.cc | 175 if (el->type == BTGATT_DB_PRIMARY_SERVICE || 176 el->type == BTGATT_DB_SECONDARY_SERVICE || 177 el->type == BTGATT_DB_DESCRIPTOR || 178 el->type == BTGATT_DB_INCLUDED_SERVICE) 180 else if (el->type == BTGATT_DB_CHARACTERISTIC) 183 GATT_TRACE_ERROR("%s: Unknown element type: %d", __func__, el->type); 228 bool is_pri = (service->type == BTGATT_DB_PRIMARY_SERVICE) ? true : false; 294 if (el->type == BTGATT_DB_CHARACTERISTIC) { 315 } else if (el->type 846 GATTC_Read(uint16_t conn_id, tGATT_READ_TYPE type, tGATT_READ_PARAM* p_read) argument 930 GATTC_Write(uint16_t conn_id, tGATT_WRITE_TYPE type, tGATT_VALUE* p_write) argument [all...] |
H A D | gatt_attr.cc | 189 tGATTS_REQ_TYPE type, tGATTS_DATA* p_data) { 196 switch (type) { 219 GATT_TRACE_EVENT("Unknown/unexpected LE GAP ATT request: 0x%02x", type); 286 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = service_uuid}, 287 {.type = BTGATT_DB_CHARACTERISTIC, 328 if (p_data->type.uu.uuid16 == GATT_UUID_CHAR_CLIENT_CONFIG) { 188 gatt_request_cback(uint16_t conn_id, uint32_t trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA* p_data) argument
|
/system/extras/simpleperf/ |
H A D | inplace_sampler_lib.cpp | 110 if (msg.type == START_PROFILING) { 122 if (msg.type == END_PROFILING) { 126 LOG(ERROR) << "Unexpected msg type: " << msg.type; 179 msg->type = START_PROFILING_REPLY; 243 msg->type = THREAD_INFO; 281 msg->type = MAP_INFO; 314 msg->type = SAMPLE_INFO;
|
H A D | tracing.cpp | 144 for (const auto& type : trace_types) { 146 "/sys/kernel/debug/tracing/events/ftrace/%s/format", type.name.c_str()); 155 for (const auto& type : trace_types) { 157 "/sys/kernel/debug/tracing/events/%s/%s/format", type.system.c_str(), 158 type.name.c_str()); 165 std::make_pair(type.system, std::move(format_data))); 403 for (const auto& type : event_types) { 404 CHECK_EQ(PERF_TYPE_TRACEPOINT, type->type); 405 size_t pos = type [all...] |
/system/bt/stack/sdp/ |
H A D | sdp_discovery.cc | 325 uint8_t type; local 344 type = *p++; 345 p = sdpu_get_len_from_type(p, type, &list_len); 505 uint8_t type; local 633 type = *p++; 635 if ((type >> 3) != DATA_ELE_SEQ_DESC_TYPE) { 636 SDP_TRACE_WARNING("SDP - Wrong type: 0x%02x in attr_rsp", type); 639 p = sdpu_get_len_from_type(p, type, &seq_len); 673 uint8_t type, *p_seq_en local 778 uint8_t type; local [all...] |
/system/bt/stack/gap/ |
H A D | gap_ble.cc | 268 tGATT_STATUS gap_proc_read(UNUSED_ATTR tGATTS_REQ_TYPE type, argument 291 uint8_t gap_proc_write_req(UNUSED_ATTR tGATTS_REQ_TYPE type, argument 314 tGATTS_REQ_TYPE type, tGATTS_DATA* p_data) { 319 GAP_TRACE_EVENT("gap_ble_s_attr_request_cback : recv type (0x%02x)", type); 323 switch (type) { 326 status = gap_proc_read(type, &p_data->read_req, &rsp_msg); 333 status = gap_proc_write_req(type, &p_data->write_req); 347 GAP_TRACE_EVENT("Unknown/unexpected LE GAP ATT request: 0x%02x", type); 383 {.type 313 gap_ble_s_attr_request_cback(uint16_t conn_id, uint32_t trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA* p_data) argument [all...] |
/system/bt/btif/co/ |
H A D | bta_hh_co.cc | 97 switch (ev.type) { 115 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output))) { 117 __func__, ret, sizeof(ev.type) + sizeof(ev.u.output)); 121 APPL_TRACE_DEBUG("UHID_OUTPUT: Report type = %d, report_size = %d", 123 // Send SET_REPORT with feature report if the report type in output event 136 if (ret < (ssize_t)(sizeof(ev.type) + sizeof(ev.u.output_ev))) { 139 sizeof(ev.type) + sizeof(ev.u.output_ev)); 152 APPL_TRACE_DEBUG("Invalid event from uhid-dev: %u\n", ev.type); 234 ev.type = UHID_DESTROY; 245 ev.type [all...] |
/system/security/keystore/include/keystore/ |
H A D | keymaster_tags.h | 32 * numeric Tag to a type that the compiler understands. By means of the macro DECLARE_TYPED_TAG, 37 * to its value c++ type and the correct union element of KeyParameter. This is done by means of 39 * a typed tag to the corresponding c++ type, and access function, accessTagValue returning a 102 * Tag is expected, and because they encode the tag type it's possible to create 103 * function overloads that only operate on tags with a particular type. 107 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type 108 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile 115 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; }; typedef in struct:keystore::Tag2TypedTag 123 typedef typename Tag2TypedTag<Tag::name>::type TAG_##name##_t; \ 198 typedef decltype(static_cast<KeyParameter*>(nullptr)->field_name) type; \ 262 template <typename First> struct FirstOrNoneHelper<First> { typedef First type; }; typedef in struct:keystore::FirstOrNoneHelper 264 struct type {}; struct in struct:keystore::FirstOrNoneHelper [all...] |
/system/bt/tools/bdtool/ |
H A D | adapter.c | 41 bt_property_t* adapter_get_property(bt_property_type_t type) { argument 43 if (properties[i].type == type) { 194 switch (property->type) { 264 fprintf(stderr, "Unhandled property type:%d len:%d\n", property->type,
|
/system/core/adb/ |
H A D | adb_client.cpp | 49 void adb_set_transport(TransportType type, const char* serial) { argument 50 __adb_transport = type; 288 std::string format_host_command(const char* command, TransportType type, const char* serial) { argument 294 if (type == kTransportUsb) { 296 } else if (type == kTransportLocal) {
|
/system/tools/hidl/c2hal/ |
H A D | AST.cpp | 92 if(declarations->at(i)->decType() == VarDeclaration::type()) { 138 /* take interface-like structs out of the type file */ 144 if ((*it)->decType() == CompositeDeclaration::type() 155 /* take global function declarations out of the type file and into a new 163 if ((*it)->decType() == FunctionDeclaration::type()) { 190 if ((*it)->decType() == Include::type()) { 205 if ((*it)->decType() == Define::type() &&
|
/system/tpm/trunks/ |
H A D | session_manager_test.cc | 104 public_data.public_area.type = TPM_ALG_RSA; 120 public_data.public_area.type = TPM_ALG_RSA; 127 public_data.public_area.type = TPM_ALG_ECC; 138 public_data.public_area.type = TPM_ALG_RSA; 153 public_data.public_area.type = TPM_ALG_RSA;
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.cc | 289 tBTA_HF_CLIENT_AT_RESULT_TYPE type, 291 APPL_TRACE_DEBUG("%s: %u %u", __func__, type, cme); 314 bta_hf_client_at_result(client_cb, type, cme); 499 char* numstr, uint32_t type) { 500 APPL_TRACE_DEBUG("%s: %u %s", __func__, type, numstr); 506 char* numstr, uint32_t type) { 507 APPL_TRACE_DEBUG("%s: %u %s", __func__, type, numstr); 530 uint16_t type) { 535 APPL_TRACE_DEBUG("%s: number: %s type: %u", __func__, numstr, type); 288 bta_hf_client_handle_error(tBTA_HF_CLIENT_CB* client_cb, tBTA_HF_CLIENT_AT_RESULT_TYPE type, uint16_t cme) argument 498 bta_hf_client_handle_clip(tBTA_HF_CLIENT_CB* client_cb, char* numstr, uint32_t type) argument 505 bta_hf_client_handle_ccwa(tBTA_HF_CLIENT_CB* client_cb, char* numstr, uint32_t type) argument 526 bta_hf_client_handle_clcc(tBTA_HF_CLIENT_CB* client_cb, uint16_t idx, uint16_t dir, uint16_t status, uint16_t mode, uint16_t mpty, char* numstr, uint16_t type) argument 541 bta_hf_client_handle_cnum(tBTA_HF_CLIENT_CB* client_cb, char* numstr, uint16_t type, uint16_t service) argument 567 bta_hf_client_ind(tBTA_HF_CLIENT_CB* client_cb, tBTA_HF_CLIENT_IND_TYPE type, uint16_t value) argument 591 bta_hf_client_evt_val(tBTA_HF_CLIENT_CB* client_cb, tBTA_HF_CLIENT_EVT type, uint16_t value) argument 679 bta_hf_client_at_result(tBTA_HF_CLIENT_CB* client_cb, tBTA_HF_CLIENT_AT_RESULT_TYPE type, uint16_t cme) argument 1082 uint32_t type = 0; local 1114 uint32_t type = 0; local 1222 uint16_t type; local 1293 uint16_t type; local [all...] |
/system/bt/btif/src/ |
H A D | btif_storage.cc | 89 (p).type = (t); \ 98 (p).type = (t); \ 153 * Local type definitions 184 BTIF_TRACE_DEBUG("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, 188 BTIF_TRACE_ERROR("property type:%d, len:%d is invalid", prop->type, 192 switch (prop->type) { 255 BTIF_TRACE_ERROR("Unknown prop type:%d", prop->type); [all...] |
/system/core/adf/libadf/include/video/ |
H A D | adf.h | 60 __u8 type; member in struct:adf_set_event 65 __u8 type; member in struct:adf_event 161 __u32 type; member in struct:adf_interface_data
|
/system/core/adf/libadf/original-kernel-headers/video/ |
H A D | adf.h | 61 * @type: the type of event to (un)subscribe 72 __u8 type; member in struct:adf_set_event 79 * @type: event type 83 __u8 type; member in struct:adf_event 301 * @type: interface type (see enum @adf_interface_type) 302 * @id: which interface of type @type; 318 __u32 type; member in struct:adf_interface_data [all...] |
/system/core/init/parser/ |
H A D | tokenizer_test.cpp | 27 ASSERT_EQ(Tokenizer::TOK_START, tokenizer.current().type) 32 ASSERT_EQ(Tokenizer::TOK_TEXT, tokenizer.current().type) 36 ASSERT_EQ(Tokenizer::TOK_NEWLINE, tokenizer.current().type)
|
/system/tools/aidl/ |
H A D | ast_java.cpp | 74 to->Write("%s %s", this->variable->type->JavaType().c_str(), 95 : type(t), name(n), dimension(0) {} 98 : type(t), name(n), dimension(d) {} 105 to->Write("%s%s %s", this->type->JavaType().c_str(), dim.c_str(), 224 NewExpression::NewExpression(const Type* t) : type(t) {} 226 NewExpression::NewExpression(const Type* t, int argc = 0, ...) : type(t) { 241 to->Write("new %s(", this->type->InstantiableName().c_str()); 247 : type(t), size(s) {} 250 to->Write("new %s[", this->type->JavaType().c_str()); 268 Cast::Cast(const Type* t, Expression* e) : type( [all...] |
/system/update_engine/update_manager/ |
H A D | real_device_policy_provider.cc | 138 ConnectionType type = local 140 if (type != ConnectionType::kUnknown) { 141 allowed_types->insert(type); 143 LOG(WARNING) << "Policy includes unknown connection type: " << type_str;
|
/system/libhwbinder/ |
H A D | Parcel.cpp | 83 uint32_t type; member in struct:small_flat_data 101 switch (obj.type) { 127 ALOGD("Invalid object type 0x%08x", obj.type); 132 switch (obj.type) { 147 switch (obj.type) { 187 ALOGE("Invalid object type 0x%08x", obj.type); 209 obj.type = BINDER_TYPE_HANDLE; 222 obj.type [all...] |
/system/core/include/utils/ |
H A D | TypeHelpers.h | 45 // whether this type is a pointer 47 // whether this type's constructor is a no-op 49 // whether this type's destructor is a no-op 51 // whether this type type can be copy-constructed with memcpy 53 // whether this type can be moved with memmove 155 typename std::enable_if<traits<TYPE>::has_trivial_copy>::type 162 typename std::enable_if<!traits<TYPE>::has_trivial_copy>::type 195 typename std::enable_if<use_trivial_move<TYPE>::value>::type 202 typename std::enable_if<!use_trivial_move<TYPE>::value>::type [all...] |
/system/core/libdiskconfig/ |
H A D | diskconfig.c | 109 if (!(tmp = config_str(partnode, "type", NULL))) { 110 ALOGE("Partition type required: %s", pinfo->name); 116 pinfo->type = PC_PART_TYPE_LINUX; 118 pinfo->type = PC_PART_TYPE_FAT32; 120 ALOGE("Unsupported partition type found: %s", tmp); 363 if ((part->type != PC_PART_TYPE_LINUX) && 364 (part->type != PC_PART_TYPE_FAT32)) { 365 ALOGE("Unknown partition type (0x%x) encountered for partition " 366 "'%s'\n", part->type, part->name); 490 part->type [all...] |
/system/core/libutils/include/utils/ |
H A D | TypeHelpers.h | 45 // whether this type is a pointer 47 // whether this type's constructor is a no-op 49 // whether this type's destructor is a no-op 51 // whether this type type can be copy-constructed with memcpy 53 // whether this type can be moved with memmove 155 typename std::enable_if<traits<TYPE>::has_trivial_copy>::type 162 typename std::enable_if<!traits<TYPE>::has_trivial_copy>::type 195 typename std::enable_if<use_trivial_move<TYPE>::value>::type 202 typename std::enable_if<!use_trivial_move<TYPE>::value>::type [all...] |
/system/chre/core/ |
H A D | event_loop_manager.cc | 47 bool EventLoopManager::deferCallback(SystemCallbackType type, void *data, argument 52 return mEventLoops[0]->postEvent(static_cast<uint16_t>(type), data, callback,
|
/system/chre/platform/slpi/ |
H A D | init.cc | 62 typename std::aligned_storage<kStackSize>::type gStack; 70 typename std::aligned_storage<sizeof(Mutex), alignof(Mutex)>::type
|