Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 13 of 13) sorted by relevance

/system/bt/service/ipc/
Dlinux_ipc_host.cpp274 std::vector<std::string> tokens = base::SplitString( in OnMessage() local
276 switch (tokens.size()) { in OnMessage()
278 if (tokens[0] == kSetAdapterNameCommand) in OnMessage()
279 return OnSetAdapterName(tokens[1]); in OnMessage()
280 if (tokens[0] == kCreateServiceCommand) in OnMessage()
281 return OnCreateService(tokens[1]); in OnMessage()
282 if (tokens[0] == kDestroyServiceCommand) in OnMessage()
283 return OnDestroyService(tokens[1]); in OnMessage()
284 if (tokens[0] == kStartServiceCommand) in OnMessage()
285 return OnStartService(tokens[1]); in OnMessage()
[all …]
/system/connectivity/shill/
Dsocket_info_reader.cc88 vector<string> tokens = base::SplitString(input, base::kWhitespaceASCII, in ParseSocketInfo() local
91 if (tokens.size() < 10) { in ParseSocketInfo()
98 if (!ParseIPAddressAndPort(tokens[1], &ip_address, &port)) { in ParseSocketInfo()
104 if (!ParseIPAddressAndPort(tokens[2], &ip_address, &port)) { in ParseSocketInfo()
112 if (!ParseConnectionState(tokens[3], &connection_state)) { in ParseSocketInfo()
119 tokens[4], &transmit_queue_value, &receive_queue_value)) { in ParseSocketInfo()
126 if (!ParseTimerState(tokens[5], &timer_state)) { in ParseSocketInfo()
136 vector<string> tokens = base::SplitString( in ParseIPAddressAndPort() local
138 if (tokens.size() != 2 || in ParseIPAddressAndPort()
139 !ParseIPAddress(tokens[0], ip_address) || in ParseIPAddressAndPort()
[all …]
Dconnection_info_reader.cc85 vector<string> tokens = base::SplitString(input, base::kWhitespaceASCII, in ParseConnectionInfo() local
88 if (tokens.size() < 10) { in ParseConnectionInfo()
95 if (!ParseProtocol(tokens[++index], &protocol)) { in ParseConnectionInfo()
101 if (!ParseTimeToExpireSeconds(tokens[++index], &time_to_expire_seconds)) { in ParseConnectionInfo()
113 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || !is_source) { in ParseConnectionInfo()
117 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || is_source) { in ParseConnectionInfo()
122 if (!ParsePort(tokens[++index], &port, &is_source) || !is_source) { in ParseConnectionInfo()
126 if (!ParsePort(tokens[++index], &port, &is_source) || is_source) { in ParseConnectionInfo()
131 if (tokens[index + 1] == kUnrepliedTag) { in ParseConnectionInfo()
138 if (!ParseIPAddress(tokens[++index], &ip_address, &is_source) || !is_source) { in ParseConnectionInfo()
[all …]
/system/connectivity/shill/vpn/
Dopenvpn_driver.cc520 vector<string> tokens = SplitString(option, " ", base::TRIM_WHITESPACE, in ParseForeignOption() local
522 if (tokens.size() != 3 || in ParseForeignOption()
523 !base::LowerCaseEqualsASCII(tokens[0], "dhcp-option")) { in ParseForeignOption()
526 if (base::LowerCaseEqualsASCII(tokens[1], "domain")) { in ParseForeignOption()
527 domain_search->push_back(tokens[2]); in ParseForeignOption()
528 } else if (base::LowerCaseEqualsASCII(tokens[1], "dns")) { in ParseForeignOption()
529 dns_servers->push_back(tokens[2]); in ParseForeignOption()
586 vector<string> tokens = SplitString(host, ":", base::TRIM_WHITESPACE, in SplitPortFromHost() local
589 if (tokens.size() != 2 || tokens[0].empty() || tokens[1].empty() || in SplitPortFromHost()
590 !base::IsAsciiDigit(tokens[1][0]) || in SplitPortFromHost()
[all …]
/system/bt/service/common/bluetooth/
Duuid.cpp94 std::vector<std::string> tokens = base::SplitString( in UUID() local
97 if (tokens.size() != 5) in UUID()
100 uuid = base::JoinString(tokens, ""); in UUID()
/system/sepolicy/
Dfingerprintd.te17 # Need to add auth tokens to KeyStore
Dgatekeeperd.te13 # Need to add auth tokens to KeyStore
/system/core/init/
Dperfboot.py249 tokens = l.split(' ')
250 if len(tokens) >= 2:
251 supported_tags.add(tokens[1])
Dreadme.txt7 All of these are line-oriented, consisting of tokens separated by
10 whitespace from breaking text into multiple tokens. The backslash,
/system/core/metricsd/
Dmetrics_collector.cc541 vector<string> tokens = in FillMeminfo() local
544 if (strcmp((*fields)[ifield].match, tokens[0].c_str()) == 0) { in FillMeminfo()
546 if (!base::StringToInt(tokens[1], &(*fields)[ifield].value)) { in FillMeminfo()
547 LOG(WARNING) << "Cound not convert " << tokens[1] << " to int"; in FillMeminfo()
/system/tools/aidl/
Daidl_language_y.yy71 /* A couple of tokens that are keywords elsewhere are identifiers when
74 * aforementioned keyword tokens.
/system/extras/libfec/
Dfec_verity.cpp350 auto tokens = android::base::Split(table.get(), " "); in parse_table() local
352 for (const auto token : tokens) { in parse_table()
/system/core/fs_mgr/
Dfs_mgr_verity.cpp919 auto tokens = android::base::Split(*table, " "); in update_verity_table_blk_device() local
921 for (const auto token : tokens) { in update_verity_table_blk_device()