Lines Matching refs:string

55     odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA));  in SetUp()
61 std::string error_msg; in SetUp()
121 void Copy(std::string src, std::string dst) { in Copy()
132 std::string GetImageDirectory() { in GetImageDirectory()
136 return std::string(host_dir) + "/framework"; in GetImageDirectory()
138 return std::string("/data/art-test"); in GetImageDirectory()
142 std::string GetImageLocation() { in GetImageLocation()
146 std::string GetImageFile() { in GetImageFile()
151 std::string GetDexSrc1() { in GetDexSrc1()
157 std::string GetStrippedDexSrc1() { in GetStrippedDexSrc1()
161 std::string GetMultiDexSrc1() { in GetMultiDexSrc1()
167 std::string GetMultiDexSrc2() { in GetMultiDexSrc2()
171 std::string GetDexSrc2() { in GetDexSrc2()
177 std::string GetScratchDir() { in GetScratchDir()
183 std::string GetOdexDir() { in GetOdexDir()
189 void GenerateOdexForTest(const std::string& dex_location, in GenerateOdexForTest()
190 const std::string& odex_location, in GenerateOdexForTest()
194 std::string android_data_tmp = GetScratchDir() + "AndroidDataTmp"; in GenerateOdexForTest()
196 std::vector<std::string> args; in GenerateOdexForTest()
210 std::string error_msg; in GenerateOdexForTest()
215 void GeneratePicOdexForTest(const std::string& dex_location, in GeneratePicOdexForTest()
216 const std::string& odex_location) { in GeneratePicOdexForTest()
249 std::string error_msg; in ReserveImageSpaceChunk()
268 std::string scratch_dir_;
269 std::string odex_oat_dir_;
270 std::string odex_dir_;
287 std::string error_msg; in GenerateOatForTest()
294 std::string dex_location = GetScratchDir() + "/DexNoOat.jar"; in TEST_F()
318 std::string dex_location = GetScratchDir() + "/NoDexNoOat.jar"; in TEST_F()
326 std::string error_msg; in TEST_F()
337 std::string dex_location = GetScratchDir() + "/OatUpToDate.jar"; in TEST_F()
359 std::string dex_location = GetScratchDir() + "/MultiDexOatUpToDate.jar"; in TEST_F()
379 std::string dex_location = GetScratchDir() + "/MultiDexSecondaryOutOfDate.jar"; in TEST_F()
398 std::string dex_location = GetScratchDir() + "/RelativeEncodedDexLocation.jar"; in TEST_F()
399 std::string oat_location = GetOdexDir() + "/RelativeEncodedDexLocation.oat"; in TEST_F()
405 std::vector<std::string> args; in TEST_F()
407 args.push_back("--dex-location=" + std::string("RelativeEncodedDexLocation.jar")); in TEST_F()
410 std::string error_msg; in TEST_F()
428 std::string dex_location = GetScratchDir() + "/OatOutOfDate.jar"; in TEST_F()
452 std::string dex_location = GetScratchDir() + "/DexOdexNoOat.jar"; in TEST_F()
453 std::string odex_location = GetOdexDir() + "/DexOdexNoOat.odex"; in TEST_F()
478 std::string dex_location = GetScratchDir() + "/StrippedDexOdexNoOat.jar"; in TEST_F()
479 std::string odex_location = GetOdexDir() + "/StrippedDexOdexNoOat.odex"; in TEST_F()
503 std::string error_msg; in TEST_F()
529 std::string dex_location = GetScratchDir() + "/StrippedDexOdexOat.jar"; in TEST_F()
530 std::string odex_location = GetOdexDir() + "/StrippedDexOdexOat.odex"; in TEST_F()
559 std::string error_msg; in TEST_F()
587 std::string dex_location = GetScratchDir() + "/ResourceOnlyDex.jar"; in TEST_F()
607 std::string error_msg; in TEST_F()
627 std::string dex_location = GetScratchDir() + "/SelfRelocation.jar"; in TEST_F()
628 std::string oat_location = GetOdexDir() + "/SelfRelocation.oat"; in TEST_F()
651 std::string error_msg; in TEST_F()
679 std::string dex_location = GetScratchDir() + "/OdexOatOverlap.jar"; in TEST_F()
680 std::string odex_location = GetOdexDir() + "/OdexOatOverlap.odex"; in TEST_F()
681 std::string oat_location = GetOdexDir() + "/OdexOatOverlap.oat"; in TEST_F()
731 std::string dex_location = GetScratchDir() + "/DexPicOdexNoOat.jar"; in TEST_F()
732 std::string odex_location = GetOdexDir() + "/DexPicOdexNoOat.odex"; in TEST_F()
756 std::string dex_location = GetScratchDir() + "/LoadOatUpToDate.jar"; in TEST_F()
775 std::string dex_location = GetScratchDir() + "/LoadNoExecOatUpToDate.jar"; in TEST_F()
795 std::string dex_location = GetScratchDir() + "/LoadDexNoAlternateOat.jar"; in TEST_F()
796 std::string oat_location = GetScratchDir() + "/LoadDexNoAlternateOat.oat"; in TEST_F()
802 std::string error_msg; in TEST_F()
821 static std::string MakePathRelative(std::string target) { in MakePathRelative()
823 std::string cwd = getcwd(buf, MAXPATHLEN); in MakePathRelative()
826 std::vector<std::string> target_path; in MakePathRelative()
827 std::vector<std::string> cwd_path; in MakePathRelative()
858 std::string abs_dex_location = GetScratchDir() + "/NonAbsoluteDexLocation.jar"; in TEST_F()
861 std::string dex_location = MakePathRelative(abs_dex_location); in TEST_F()
877 std::string dex_location = "/xx"; in TEST_F()
892 std::string error_msg; in TEST_F()
900 std::string dex_location = GetScratchDir() + "/LongDexExtension.jarx"; in TEST_F()
919 explicit RaceGenerateTask(const std::string& dex_location, const std::string& oat_location) in RaceGenerateTask()
931 std::vector<std::string> error_msgs; in Run()
943 std::string dex_location_;
944 std::string oat_location_;
954 std::string dex_location = GetScratchDir() + "/RaceToGenerate.jar"; in TEST_F()
955 std::string oat_location = GetOdexDir() + "/RaceToGenerate.oat"; in TEST_F()
984 std::string dex_location = GetScratchDir() + "/LoadDexOdexNoOat.jar"; in TEST_F()
985 std::string odex_location = GetOdexDir() + "/LoadDexOdexNoOat.odex"; in TEST_F()
1006 std::string dex_location = GetScratchDir() + "/LoadMultiDexOdexNoOat.jar"; in TEST_F()
1007 std::string odex_location = GetOdexDir() + "/LoadMultiDexOdexNoOat.odex"; in TEST_F()
1025 std::string error_msg; in TEST()
1026 std::string odex_file; in TEST()