/system/extras/simpleperf/nonlinux_support/include/linux/ |
H A D | ioctl.h | 17 #define __IO(type, nr) 18 #define __IOR(type, nr, size) 19 #define __IOW(type, nr, size)
|
/system/core/property_service/libpropertyinfoserializer/ |
H A D | property_info_serializer_test.cpp | 49 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); 62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); 72 EXPECT_STREQ("2nd", property_info_area->type(prefix->type_index)); 88 EXPECT_STREQ("3rd", property_info_area->type(match1->type_index)); 89 EXPECT_STREQ("3rd", property_info_area->type(match2->type_index)); 90 EXPECT_STREQ("3rd", property_info_area->type(match3->type_index)); 123 EXPECT_STREQ("4th", property_info_area->type(final_match->type_index)); 146 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); 149 const char* type; local 150 property_info_area->GetPropertyInfo("abc", &context, &type); 780 const char* type; local 825 const char* type; local 864 const char* type; local [all...] |
H A D | trie_builder.h | 29 PropertyEntryBuilder() : context(nullptr), type(nullptr) {} 30 PropertyEntryBuilder(const std::string& name, const std::string* context, const std::string* type) argument 31 : name(name), context(context), type(type) {} 34 const std::string* type; member in struct:android::properties::PropertyEntryBuilder 58 const std::string* type) { 64 prefixes_.emplace_back(prefix, context, type); 69 const std::string* type) { 76 exact_matches_.emplace_back(exact_match, context, type); 83 const std::string* type() cons function in class:android::properties::TrieBuilderNode 57 AddPrefixContext(const std::string& prefix, const std::string* context, const std::string* type) argument 68 AddExactMatchContext(const std::string& exact_match, const std::string* context, const std::string* type) argument 84 set_type(const std::string* type) argument [all...] |
H A D | trie_builder_test.cpp | 45 ASSERT_NE(nullptr, builder_root.type()); 46 EXPECT_EQ("default_type", *builder_root.type()); 58 ASSERT_NE(nullptr, test_node->type()); 59 EXPECT_EQ("1st_type", *test_node->type()); 68 ASSERT_NE(nullptr, property_entry.type); 69 EXPECT_EQ("2nd_type", *property_entry.type); 83 ASSERT_NE(nullptr, test_node->exact_matches()[0].type); 84 ASSERT_NE(nullptr, test_node->exact_matches()[1].type); 85 ASSERT_NE(nullptr, test_node->exact_matches()[2].type); 86 EXPECT_EQ("3rd_type", *test_node->exact_matches()[0].type); [all...] |
/system/core/adb/sysdeps/ |
H A D | network.h | 21 int network_loopback_client(int port, int type, std::string* error); 22 int network_loopback_server(int port, int type, std::string* error);
|
/system/chre/util/nanoapp/ |
H A D | sensor.cc | 30 SensorType type = getSensorTypeFromUnsignedInt(sensorType); local 31 return getSensorTypeName(type);
|
/system/bt/stack/avct/ |
H A D | avct_defs.h | 32 /* packet type */ 51 #define AVCT_BUILD_HDR(p, label, type, cr_ipid) \ 52 *(p)++ = ((label) << 4) | ((type) << 2) | (cr_ipid); 54 #define AVCT_PARSE_HDR(p, label, type, cr_ipid) \ 57 (type) = (*(p) >> 2) & 3; \
|
/system/core/init/ |
H A D | property_type.cpp | 36 auto type = type_strings[0]; local 38 if (type == "string") { 41 if (type == "bool") { 44 if (type == "int") { 48 if (type == "uint") { 55 if (type == "double") { 59 if (type == "size") { 70 if (type == "enum") {
|
H A D | selinux.h | 33 bool SelabelLookupFileContext(const std::string& key, int type, std::string* result); 35 const std::vector<std::string>& aliases, int type,
|
/system/tools/hidl/ |
H A D | Scope.cpp | 36 void Scope::addType(NamedType* type) { argument 38 mTypes.push_back(type); 39 mTypeIndexByName[type->localName()] = index; 43 for (const auto* type : mTypes) { 44 if (mTypes[mTypeIndexByName.at(type->localName())] != type) { 45 std::cerr << "ERROR: A type named '" << type->localName() 46 << "' is already declared in the scope at " << type->location() << std::endl; 56 std::cerr << "ERROR: " << fqName.string() << " does not refer to a type [all...] |
/system/bt/btif/include/ |
H A D | btif_sock_thread.h | 42 typedef void (*btsock_signaled_cb)(int fd, int type, int flags, 44 typedef void (*btsock_cmd_cb)(int cmd_fd, int type, int size, uint32_t user_id); 47 int btsock_thread_add_fd(int handle, int fd, int type, int flags,
|
/system/bt/osi/include/socket_utils/ |
H A D | sockets.h | 65 extern int osi_socket_local_server(const char* name, int namespaceId, int type); 69 int namespaceId, int type); 70 extern int osi_socket_local_client(const char* name, int namespaceId, int type);
|
/system/core/adb/sysdeps/posix/ |
H A D | network.cpp | 53 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) { argument 54 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); 79 int network_loopback_client(int port, int type, std::string* error) { argument 81 int rc = _network_loopback_client(false, port, type, error); 83 return _network_loopback_client(true, port, type, error); 88 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error) { argument 89 unique_fd s(socket(ipv6 ? AF_INET6 : AF_INET, type, 0)); 107 if (type == SOCK_STREAM || type == SOCK_SEQPACKET) { 117 int network_loopback_server(int port, int type, st argument [all...] |
/system/tools/hidl/c2hal/ |
H A D | VarDeclaration.h | 26 VarDeclaration(Type *type, const std::string &name); 33 static std::string type() { return "var"; } function in struct:android::VarDeclaration 34 const std::string decType() const override { return type(); }
|
/system/bt/hci/include/ |
H A D | btsnoop_mem.h | 27 typedef void (*btsnoop_data_cb)(const uint16_t type, const uint8_t* p_data,
|
H A D | hci_hal.h | 35 typedef void (*data_ready_cb)(serial_data_type_t type); 39 // Data |type| may be ACL, SCO, or EVENT. 64 // callback of the corresponding type. 65 size_t (*read_data)(serial_data_type_t type, uint8_t* buffer, 68 // reading a packet of the specified |type|. Underlying implementations that 71 void (*packet_finished)(serial_data_type_t type); 81 uint16_t (*transmit_data)(serial_data_type_t type, uint8_t* data,
|
/system/core/include/cutils/ |
H A D | sockets.h | 74 * return type. The idea is to be able to use this return value with the 88 cutils_socket_t socket_network_client(const char* host, int port, int type); 89 int socket_network_client_timeout(const char* host, int port, int type, 91 int socket_local_server(const char* name, int namespaceId, int type); 94 int type); 95 int socket_local_client(const char* name, int namespaceId, int type); 96 cutils_socket_t socket_inaddr_any_server(int port, int type);
|
/system/core/libcutils/include/cutils/ |
H A D | sockets.h | 74 * return type. The idea is to be able to use this return value with the 88 cutils_socket_t socket_network_client(const char* host, int port, int type); 89 int socket_network_client_timeout(const char* host, int port, int type, 91 int socket_local_server(const char* name, int namespaceId, int type); 94 int type); 95 int socket_local_client(const char* name, int namespaceId, int type); 96 cutils_socket_t socket_inaddr_any_server(int port, int type);
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | sockets.h | 74 * return type. The idea is to be able to use this return value with the 88 cutils_socket_t socket_network_client(const char* host, int port, int type); 89 int socket_network_client_timeout(const char* host, int port, int type, 91 int socket_local_server(const char* name, int namespaceId, int type); 94 int type); 95 int socket_local_client(const char* name, int namespaceId, int type); 96 cutils_socket_t socket_inaddr_any_server(int port, int type);
|
/system/connectivity/wificond/scanning/offload/ |
H A D | hidl_call_util.h | 35 // the same type as the argument, but with const and reference 40 typename std::remove_reference<ArgT>::type>::type; 57 typename std::remove_reference<Arg1T>::type>::type, 59 typename std::remove_reference<Arg2T>::type>::type>; 75 typename std::remove_reference<ArgT>::type>::type...>; 126 std::remove_reference<decltype(*strong_pointer)>::type [all...] |
/system/update_engine/common/ |
H A D | fake_prefs.cc | 42 // Compile-time type-dependent constants definitions. 44 FakePrefs::PrefType const FakePrefs::PrefConsts<string>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts 51 FakePrefs::PrefType const FakePrefs::PrefConsts<int64_t>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts 58 FakePrefs::PrefType const FakePrefs::PrefConsts<bool>::type = member in class:chromeos_update_engine::FakePrefs::FakePrefs::PrefConsts 108 string FakePrefs::GetTypeName(PrefType type) { argument 109 switch (type) { 120 void FakePrefs::CheckKeyType(const string& key, PrefType type) const { 122 EXPECT_TRUE(it == values_.end() || it->second.type == type) 123 << "Key \"" << key << "\" if defined as " << GetTypeName(it->second.type) [all...] |
/system/update_engine/scripts/update_payload/ |
H A D | update_metadata_pb2.py | 29 type=None), variable 33 type=None), variable 37 type=None), variable 41 type=None), variable 45 type=None), variable 49 type=None), variable 53 type=None), variable 57 type=None), variable 61 type=None), variable 65 type variable 69 type=None), variable [all...] |
/system/bt/tools/scripts/ |
H A D | btsnooz.py | 32 # Enumeration of the values the 'type' field can take in a btsnooz 43 def type_to_direction(type): 45 Returns the inbound/outbound direction of a packet given its type. 49 if type in [TYPE_IN_EVT, TYPE_IN_ACL, TYPE_IN_SCO]: 54 def type_to_hci(type): 56 Returns the HCI type of a packet given its btsnooz type. 58 if type == TYPE_OUT_CMD: 60 if type == TYPE_IN_ACL or type [all...] |
/system/netd/tests/dns_responder/ |
H A D | dns_responder.h | 40 * for that type. Class is assumed to be IN. If no response is registered, the 49 void addMapping(const char* name, ns_type type, const char* addr); 50 void removeMapping(const char* name, ns_type type); 69 unsigned type; member in struct:test::DNSResponder::QueryKey 70 QueryKey(std::string n, unsigned t) : name(n), type(t) {} 72 return name == o.name && type == o.type; 77 return type < o.type; 84 static_cast<size_t>(key.type); [all...] |
/system/extras/simpleperf/ |
H A D | event_type.h | 33 // EventType represents one type of event, like cpu_cycle_event, cache_misses_event. 34 // The user knows one event type by its name, and the kernel knows one event type by its 35 // (type, config) pair. EventType connects the two representations, and tells the user if 36 // the event type is supported by the kernel. 39 EventType(const std::string& name, uint32_t type, uint64_t config, argument 41 : name(name), type(type), config(config), description(description), 45 EventType() : type(0), config(0) { 49 uint32_t type; member in struct:EventType [all...] |