/system/nfc/src/nfa/sys/ |
H A D | nfa_sys_main.c | 335 void nfa_sys_start_timer(TIMER_LIST_ENT* p_tle, uint16_t type, argument 337 nfa_sys_ptim_start_timer(&nfa_sys_cb.ptim_cb, p_tle, type, timeout);
|
/system/security/keystore/ |
H A D | blob.h | 34 * the second is the blob's type, and the third byte is flags. Fields other 54 uint8_t type; member in struct:blob 68 TYPE_ANY = 0, // meta type that matches anything 81 BlobType type); 108 BlobType getType() const { return BlobType(mBlob.type); } 109 void setType(BlobType type) { mBlob.type = uint8_t(type); } argument
|
/system/sepolicy/tests/ |
H A D | sepol_wrap.cpp | 28 void *init_type_iter(void *policydbp, const char *type, bool is_attr) argument 35 std::cerr << "Failed to allocate type type iterator" << std::endl; 39 out->d = static_cast<type_datum *>(hashtab_search(db->p_types.table, type)); 41 std::cerr << "\"" << type << "\" MUST be an attribute in the policy" << std::endl; 45 std::cerr << "\"" << type << "\" MUST be a type in the policy" << std::endl; 86 std::cerr << "type name exceeds buffer size." << std::endl; 138 pf.type = PF_USE_MEMORY;
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | typecmp.c | 18 * ordered by source type, then target type, then 62 * the source type. The source type value 63 * is cleared as we want to compare against other type 69 /* Clear target type as well; this is a self rule. */ 79 * If the target type differs, then we also 81 * type. We clear the target type value so that 82 * we can compare against other type rule 161 struct type_datum *type; local [all...] |
/system/tools/aidl/ |
H A D | aidl_unittest.cpp | 216 const java::Type* type = java_types_.Find(ambiguous_type); local 217 ASSERT_TRUE(type); 218 EXPECT_EQ("one.IBar", type->CanonicalName());
|
/system/tools/hidl/ |
H A D | Method.cpp | 72 void Method::cppImpl(MethodImplType type, Formatter &out) const { argument 74 auto it = mCppImpl.find(type); 82 void Method::javaImpl(MethodImplType type, Formatter &out) const { argument 84 auto it = mJavaImpl.find(type); 96 bool Method::overridesCppImpl(MethodImplType type) const { 98 return mCppImpl.find(type) != mCppImpl.end(); 101 bool Method::overridesJavaImpl(MethodImplType type) const { 103 return mJavaImpl.find(type) != mJavaImpl.end(); 133 << elidedReturn->type().getCppResultType( specifyNamespaces) 160 out << arg->type() 239 TypedVar(const char *name, Type *type) argument 248 const Type &TypedVar::type() const { function in class:android::TypedVar [all...] |
/system/update_engine/ |
H A D | connection_manager.cc | 54 ConnectionType type, ConnectionTethering tethering) const { 55 switch (type) { 53 IsUpdateAllowedOver( ConnectionType type, ConnectionTethering tethering) const argument
|
/system/vold/ |
H A D | CryptCommandListener.cpp | 106 static int getType(const char* type) argument 108 if (!strcmp(type, "default")) { 110 } else if (!strcmp(type, "password")) { 112 } else if (!strcmp(type, "pin")) { 114 } else if (!strcmp(type, "pattern")) { 149 static int do_enablecrypto(char* arg2, char* arg4, int type, bool no_ui) { argument 153 if (type == CRYPT_TYPE_DEFAULT) { 156 rc = cryptfs_enable(arg2, type, arg4, no_ui); 211 int type = CRYPT_TYPE_DEFAULT; local 220 // Third parameter must be valid type 276 int type = getType(argv[2]); local [all...] |
/system/bt/bta/include/ |
H A D | bta_hd_api.h | 73 uint8_t type; member in struct:__anon358
|
/system/bt/btcore/src/ |
H A D | property.cc | 28 bt_property_type_t type); 54 if (!p1 || !p2 || p1->type != p2->type) { 66 if (p1->type == BT_PROPERTY_BDNAME && p1->len != p2->len) { 90 bt_property_t* property_new_device_type(bt_device_type_t type) { argument 91 return property_new_((void*)&type, sizeof(bt_device_type_t), 136 return property->type == BT_PROPERTY_BDADDR; 141 return property->type == BT_PROPERTY_CLASS_OF_DEVICE; 146 return property->type == BT_PROPERTY_TYPE_OF_DEVICE; 151 return property->type 218 property_new_(void* val, size_t len, bt_property_type_t type) argument [all...] |
/system/bt/btif/src/ |
H A D | btif_hd.cc | 536 static bt_status_t send_report(bthd_report_type_t type, uint8_t id, argument 540 APPL_TRACE_VERBOSE("%s: type=%d id=%d len=%d", __func__, type, id, len); 553 if (type == BTHD_REPORT_TYPE_INTRDATA) { 554 report.type = BTHD_REPORT_TYPE_INPUT; 557 report.type = (type & 0x03);
|
H A D | btif_sock_sdp.cc | 170 uint8_t type = UUID_DESC_TYPE; local 173 // Store the address of type buf in a pointer on the stack, so we can pass 190 &type, &type_len, &type_buf_ptr)) 377 // |channel|. This function attempts to identify the type of the service based
|
H A D | btif_util.cc | 64 * Local type definitions 91 /* if COD is 0, irrespective of the device type set it to Unclassified 208 const char* dump_property_type(bt_property_type_t type) { argument 209 switch (type) {
|
/system/bt/hci/src/ |
H A D | btsnoop.cc | 83 static void btsnoop_write_packet(packet_type_t type, uint8_t* packet, 225 uint8_t type; member in struct:__anon737 237 static void btsnoop_write_packet(packet_type_t type, uint8_t* packet, argument 242 switch (type) { 267 header.type = type;
|
/system/bt/osi/src/ |
H A D | metrics_linux.cc | 145 void BluetoothMetricsLogger::LogWakeEvent(wake_event_type_t type, argument 154 scan_tech_t type, uint32_t results, 152 LogScanEvent(bool start, const std::string& initator, scan_tech_t type, uint32_t results, uint64_t timestamp_ms) argument
|
/system/bt/service/ |
H A D | adapter.cc | 265 switch (property->type) { 295 << BtPropertyText(property->type); 338 // Sends a request to set the given HAL adapter property type and value. 339 bool SetAdapterProperty(bt_property_type_t type, void* value, int length) { argument 346 property.type = type;
|
/system/bt/service/common/bluetooth/ |
H A D | scan_settings.h | 49 // A callback type describes how scan results will be reported to applications 95 // Scan result type describes the contents of each scan result. 104 // asked for, if there are multiple apps using this type. 125 // Returns the callback type. 127 void set_callback_type(CallbackTypeBitField type) { callback_type_ = type; } argument 129 // Returns the scan result type. 131 void set_result_type(ResultType type) { result_type_ = type; } argument
|
/system/bt/stack/avct/ |
H A D | avct_bcb_act.cc | 78 AVCT_TRACE_WARNING("Pkt type=%d - fragmentation not allowed. drop it", 444 /* initialize packet type and other stuff */ 498 uint8_t label, type, cr_ipid; local 523 AVCT_PARSE_HDR(p, label, type, cr_ipid);
|
H A D | avct_lcb_act.cc | 114 AVCT_TRACE_WARNING("Pkt type=%d out of order", pkt_type); 474 /* initialize packet type and other stuff */ 539 /* update pkt type for next packet */ 580 uint8_t label, type, cr_ipid; local 599 AVCT_PARSE_HDR(p, label, type, cr_ipid);
|
/system/bt/stack/gatt/ |
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/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/srvc/ |
H A D | srvc_eng.cc | 48 /* type for action functions */ 255 tGATTS_REQ_TYPE type, 262 GATT_TRACE_EVENT("srvc_eng_s_request_cback : recv type (0x%02x)", type); 268 switch (type) { 291 GATT_TRACE_EVENT("Unknown/unexpected LE GAP ATT request: 0x%02x", type); 254 srvc_eng_s_request_cback(uint16_t conn_id, uint32_t trans_id, tGATTS_REQ_TYPE type, tGATTS_DATA* p_data) argument
|
/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/connectivity/wificond/net/ |
H A D | nl80211_packet.cpp | 36 NL80211Packet::NL80211Packet(uint16_t type, argument 48 nl_header->nlmsg_type = type; 68 // If type < NLMSG_MIN_TYPE, this should be a reserved control message,
|
/system/connectivity/wificond/scanning/ |
H A D | scan_utils.cpp | 101 LOG(ERROR) << "Wrong message type: " 199 uint8_t type = *ptr; local 206 if (type == kElemIdSsid) {
|