Searched refs:spec (Results 1 - 10 of 10) sorted by relevance
/system/core/adb/ |
H A D | socket_spec.h | 22 bool is_socket_spec(const std::string& spec); 23 bool is_local_socket_spec(const std::string& spec); 25 int socket_spec_connect(const std::string& spec, std::string* error); 26 int socket_spec_listen(const std::string& spec, std::string* error, 30 bool parse_tcp_socket_spec(const std::string& spec, std::string* hostname, int* port,
|
H A D | socket_spec.cpp | 67 bool parse_tcp_socket_spec(const std::string& spec, std::string* hostname, int* port, argument 69 if (!StartsWith(spec, "tcp:")) { 70 *error = StringPrintf("specification is not tcp: '%s'", spec.c_str()); 77 // If the spec is tcp:<port>, parse it ourselves. 79 if (android::base::ParseInt(&spec[4], &port_value)) { 87 std::string addr = spec.substr(4); 97 *error = StringPrintf("missing port in specification: '%s'", spec.c_str()); 118 bool is_socket_spec(const std::string& spec) { argument 121 if (StartsWith(spec, prefix)) { 125 return StartsWith(spec, "tc 128 is_local_socket_spec(const std::string& spec) argument 144 socket_spec_connect(const std::string& spec, std::string* error) argument 189 socket_spec_listen(const std::string& spec, std::string* error, int* resolved_tcp_port) argument [all...] |
H A D | file_sync_service.cpp | 367 static bool do_send(int s, const std::string& spec, std::vector<char>& buffer) { argument 368 // 'spec' is of the form "/some/path,0755". Break it up. 369 size_t comma = spec.find_last_of(','); 375 std::string path = spec.substr(0, comma); 378 mode_t mode = strtoul(spec.substr(comma + 1).c_str(), nullptr, 0);
|
/system/chre/platform/linux/ |
H A D | system_timer.cc | 106 struct itimerspec spec = {}; local 107 int ret = timer_gettime(mTimerId, &spec); 112 isActive = (spec.it_value.tv_sec > 0 || spec.it_value.tv_nsec > 0); 120 struct itimerspec spec = {}; local 123 NanosecondsToTimespec(delayNs, &spec.it_value); 124 NanosecondsToTimespec(0, &spec.it_interval); 126 int ret = timer_settime(mTimerId, kFlags, &spec, nullptr);
|
/system/nfc/ |
H A D | run_unit_tests.sh | 89 for spec in "${tests[@]}" 91 name="${spec%%.*}" 96 if [ "${name}" != "${spec}" ]; then 97 filter="${spec#*.}"
|
/system/extras/verity/ |
H A D | Utils.java | 38 import java.security.spec.ECPublicKeySpec; 39 import java.security.spec.ECPrivateKeySpec; 40 import java.security.spec.X509EncodedKeySpec; 41 import java.security.spec.PKCS8EncodedKeySpec; 42 import java.security.spec.InvalidKeySpecException; 50 import javax.crypto.spec.PBEKeySpec; 166 PKCS8EncodedKeySpec spec = decryptPrivateKey(der); 168 if (spec == null) { 169 spec = new PKCS8EncodedKeySpec(der); 172 ASN1InputStream bIn = new ASN1InputStream(new ByteArrayInputStream(spec [all...] |
/system/bt/test/ |
H A D | run_unit_tests.sh | 112 for spec in "${tests[@]}" 114 name="${spec%%.*}" 123 if [ "${name}" != "${spec}" ]; then 124 filter="${spec#*.}"
|
/system/nvram/messages/include/nvram/messages/ |
H A D | proto.hpp | 337 constexpr auto spec = kFieldSpec; local 339 spec.Get(*static_cast<const StructType*>(object)), writer); 345 constexpr auto spec = kFieldSpec; local 347 spec.Get(*static_cast<StructType*>(object)), reader);
|
/system/core/base/ |
H A D | logging.cpp | 301 std::string spec(specs[i]); 302 if (spec.size() == 3 && StartsWith(spec, "*:")) { 303 switch (spec[2]) { 329 LOG(FATAL) << "unsupported '" << spec << "' in ANDROID_LOG_TAGS (" << tags
|
/system/bt/doc/ |
H A D | power_management.md | 103 - The power spec state table (`bta_dm_pm_spec`) is checked to see if 107 connection if it's supposed to be managed according to the power spec 108 state tables. If the spec specifies `BTA_DM_PM_NO_PREF`, then any 132 - If a timeout is specified in the power spec table, then an unused timer
|
Completed in 239 milliseconds