Searched refs:tokens (Results 1 – 12 of 12) sorted by relevance
/system/bt/service/ipc/ |
D | linux_ipc_host.cpp | 274 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/ |
D | socket_info_reader.cc | 88 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 …]
|
D | connection_info_reader.cc | 85 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/ |
D | openvpn_driver.cc | 520 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/ |
D | uuid.cpp | 94 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/ |
D | fingerprintd.te | 17 # Need to add auth tokens to KeyStore
|
D | gatekeeperd.te | 13 # Need to add auth tokens to KeyStore
|
/system/core/init/ |
D | perfboot.py | 249 tokens = l.split(' ') 250 if len(tokens) >= 2: 251 supported_tags.add(tokens[1])
|
D | readme.txt | 8 All of these are line-oriented, consisting of tokens separated by 11 whitespace from breaking text into multiple tokens. The backslash,
|
/system/core/metricsd/ |
D | metrics_collector.cc | 541 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/ |
D | aidl_language_y.yy | 71 /* A couple of tokens that are keywords elsewhere are identifiers when 74 * aforementioned keyword tokens.
|
/system/extras/libfec/ |
D | fec_verity.cpp | 350 auto tokens = android::base::Split(table.get(), " "); in parse_table() local 352 for (const auto token : tokens) { in parse_table()
|