Lines Matching refs:string
32 using std::string;
40 static string GetDriverName(const CompSpec &comp_spec) { in GetDriverName()
44 string driver_name = in GetDriverName()
49 static string GetServiceName(const CompSpec &comp_spec) { in GetServiceName()
50 string hal_name = comp_spec.package(); in GetServiceName()
51 string hal_version = GetVersionString(comp_spec.component_type_version()); in GetServiceName()
52 string iface_name = comp_spec.component_name(); in GetServiceName()
68 string service_name = *instance_names.begin(); in GetServiceName()
70 for (const string &instance_name : instance_names) { in GetServiceName()
78 static void *Dlopen(string lib_name) { in Dlopen()
90 static void *Dlsym(void *handle, string function_name) { in Dlsym()
103 static void GetService(DriverBase *hal, string service_name, bool binder_mode) { in GetService()
135 string function_name = GetFunctionNamePrefix(comp_spec); in LoadInterface()
152 string name = comp_spec.component_name(); in ProtoFuzzerRunner()
158 void ProtoFuzzerRunner::Init(const string &iface_name, bool binder_mode) { in Init()
161 string driver_name = GetDriverName(*comp_spec); in Init()
165 string service_name = GetServiceName(*comp_spec); in Init()
187 string iface_name = func_call.hidl_interface_name(); in Execute()
203 static string StripNamespace(const string &type) { in StripNamespace()
205 if (idx == string::npos) { in StripNamespace()
218 string type = var.predefined_type(); in ProcessReturnValue()
219 string iface_name = StripNamespace(type); in ProcessReturnValue()
237 const CompSpec *ProtoFuzzerRunner::FindCompSpec(std::string name) { in FindCompSpec()