Lines Matching refs:string
53 const std::string& GetPath() const { in GetPath()
58 std::string path_;
68 explicit ScratchFile(const std::string& filename);
80 const std::string& GetFilename() const { in GetFilename()
94 std::string filename_;
116 static std::optional<std::string> GetOldValue(const char* variable) { in GetOldValue()
118 return value != nullptr ? std::optional<std::string>{value} : std::nullopt; in GetOldValue()
122 std::optional<std::string> old_value_;
130 android::base::ScopeGuard<std::function<void()>> ScopedInaccessible(const std::string& path);
145 static void SetUpAndroidDataDir(std::string& android_data);
147 static void TearDownAndroidDataDir(const std::string& android_data, bool fail_on_error);
152 virtual std::vector<std::string> GetLibCoreModuleNames() const;
155 std::vector<std::string> GetLibCoreDexFileNames(const std::vector<std::string>& modules) const;
158 std::vector<std::string> GetLibCoreDexFileNames() const;
161 std::vector<std::string> GetLibCoreDexLocations(const std::vector<std::string>& modules) const;
164 std::vector<std::string> GetLibCoreDexLocations() const;
166 static std::string GetClassPathOption(const char* option,
167 const std::vector<std::string>& class_path);
170 std::string GetTestDexFileName(const char* name) const;
173 bool MutateDexFile(File* output_dex, const std::string& input_jar, const Mutator& mutator) { in MutateDexFile()
175 std::string error_msg; in MutateDexFile()
219 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
222 static ForkAndExecResult ForkAndExec(const std::vector<std::string>& argv,
224 std::string* output);
227 static std::string GetAndroidTool(const char* name, InstructionSet isa = InstructionSet::kX86_64);
235 static std::string GetAndroidBuildTop();
238 static std::string GetAndroidHostOut();
244 static std::string GetHostBootClasspathInstallRoot();
247 static std::string GetCoreArtLocation();
250 static std::string GetCoreOatLocation();
265 std::string android_data_;
266 std::string android_system_ext_;
267 std::string dalvik_cache_;
275 std::string CreateClassPath(const std::vector<std::unique_ptr<const DexFile>>& dex_files);
278 std::string CreateClassPathWithChecksums(
281 static std::string GetImageDirectory();
282 static std::string GetCoreFileLocation(const char* suffix);
310 std::vector<pid_t> GetPidByName(const std::string& process_name);