Lines Matching refs:std

49 void FailureHalMissing(const FQName &fq_name, const std::string &instance) {  in FailureHalMissing()
82 static string RangeInstancesToString(const std::pair<It, It> &range) { in RangeInstancesToString()
83 std::stringstream ss; in RangeInstancesToString()
93 std::stringstream ss; in InstancesToString()
180 instances.emplace(transport, std::move(fqInstance)); in TEST_P()
188 << static_cast<std::underlying_type_t<Transport>>(it->first) << ")" in TEST_P()
195 std::transform( in TEST_P()
197 std::inserter(passthrough_declared, passthrough_declared.begin()), in TEST_P()
226 std::transform( in TEST_P()
227 chain.begin(), chain.end(), std::back_inserter(fq_instances), in TEST_P()
246 std::set_difference( in TEST_P()
249 std::inserter(passthrough_not_allowed, passthrough_not_allowed.begin())); in TEST_P()
333 std::set<std::string> manifest_hwbinder_hals_ = GetHwbinderHals(manifest); in TEST_P()
337 if (std::string(name).find(IBase::descriptor) == 0) continue; in TEST_P()
367 std::set<std::string> manifest_passthrough_hals_ = in TEST_P()
394 if (std::string(interface) == IBase::descriptor) continue; in TEST_P()
396 const std::string instance = in TEST_P()
397 std::string(interface) + "/" + instance_name; in TEST_P()
478 static std::vector<std::string> hashesForInterface(const std::string &name) { in hashesForInterface()
480 if (std::find(module.types.begin(), module.types.end(), name) != in hashesForInterface()
489 static std::string getInterfaceHash(const sp<IBinder> &binder) { in getInterfaceHash()
502 std::string str; in getInterfaceHash()
514 const std::string type = package + "." + interface; in TEST_P()
515 const std::string name = type + "/" + instance; in TEST_P()
520 const std::string hash = getInterfaceHash(binder); in TEST_P()
521 const std::vector<std::string> hashes = hashesForInterface(type); in TEST_P()
527 std::find(hashes.begin(), hashes.end(), hash) != hashes.end(); in TEST_P()
538 std::cout << "INFO: using unfrozen hash '" << hash << "' for " << type in TEST_P()
539 << ". This will become an error upon release." << std::endl; in TEST_P()
552 std::cout << "INFO: missing hash for " << type in TEST_P()
553 << ". This will become an error upon release." << std::endl; in TEST_P()