Lines Matching refs:std

74 using std::cout;
75 using std::endl;
76 using std::map;
77 using std::set;
78 using std::string;
79 using std::vector;
97 const std::string instance_name = manifest_instance.instance(); in ForEachHidlHalInstance()
100 std::async([&]() { fn(fq_name, instance_name, transport); }); in ForEachHidlHalInstance()
101 auto timeout = std::chrono::seconds(1); in ForEachHidlHalInstance()
102 std::future_status status = future_result.wait_for(timeout); in ForEachHidlHalInstance()
103 if (status != std::future_status::ready) { in ForEachHidlHalInstance()
117 const std::string &package = manifest_instance.package(); in ForEachAidlHalInstance()
118 const std::string &interface = manifest_instance.interface(); in ForEachAidlHalInstance()
119 const std::string &instance = manifest_instance.instance(); in ForEachAidlHalInstance()
122 std::async([&]() { fn(package, interface, instance); }); in ForEachAidlHalInstance()
123 auto timeout = std::chrono::seconds(1); in ForEachAidlHalInstance()
124 std::future_status status = future_result.wait_for(timeout); in ForEachAidlHalInstance()
125 if (status != std::future_status::ready) { in ForEachAidlHalInstance()
154 auto task = std::packaged_task<sp<IBase>()>([fq_name, instance_name]() { in GetHalService()
158 auto max_time = std::chrono::seconds(1); in GetHalService()
160 std::future<sp<IBase>> future = task.get_future(); in GetHalService()
161 std::thread(std::move(task)).detach(); in GetHalService()
164 if (status != std::future_status::ready) return nullptr; in GetHalService()
207 std::set<std::string> manifest_passthrough_hals_; in GetPassthroughHals()
232 std::set<std::string> manifest_hwbinder_hals_; in GetHwbinderHals()