• Home
  • Raw
  • Download

Lines Matching refs:c_str

170         return StringPrintf("%s/%s", GetOtaDirectoryPrefix().c_str(), GetTargetSlot().c_str());  in GetOTADataDirectory()
259 int result = setenv(ASEC_MOUNTPOINT_ENV_NAME, asec_mountpoint_.c_str(), 0); in CheckAndInitializeInstalldGlobals()
265 if (!init_globals_from_data_and_root(GetAndroidData().c_str(), GetAndroidRoot().c_str())) { in CheckAndInitializeInstalldGlobals()
272 if (access(GetOtaDirectoryPrefix().c_str(), R_OK) < 0) { in CheckAndInitializeInstalldGlobals()
306 environ_.push_back(StringPrintf("BOOTCLASSPATH=%s", boot_classpath_.c_str())); in PrepareEnvironment()
307 environ_.push_back(StringPrintf("ANDROID_DATA=%s", GetOTADataDirectory().c_str())); in PrepareEnvironment()
308 environ_.push_back(StringPrintf("ANDROID_ROOT=%s", android_root_.c_str())); in PrepareEnvironment()
311 putenv(const_cast<char*>(e.c_str())); in PrepareEnvironment()
330 if (access(dalvik_cache.c_str(), F_OK) != 0) { in PrepareBootImage()
336 if (access(isa_path.c_str(), F_OK) != 0) { in PrepareBootImage()
348 if (access(art_path.c_str(), F_OK) == 0 && access(oat_path.c_str(), F_OK) == 0) { in PrepareBootImage()
360 if (access(preopted_boot_art_path.c_str(), F_OK) == 0) { in PrepareBootImage()
378 if (mkdir(path.c_str(), 0711) == 0) { in CreatePath()
397 if (mkdir(path.c_str(), 0711) == 0) { in CreatePath()
405 DIR* c_dir = opendir(dir.c_str()); in ClearDirectory()
417 std::string file = StringPrintf("%s/%s", dir.c_str(), name); in ClearDirectory()
427 if (unlink(file.c_str()) != 0) { in ClearDirectory()
442 cmd.push_back(StringPrintf("--image=%s", art_path.c_str())); in Dex2oatBootImage()
444 cmd.push_back(StringPrintf("--dex-file=%s", boot_part.c_str())); in Dex2oatBootImage()
446 cmd.push_back(StringPrintf("--oat-file=%s", oat_path.c_str())); in Dex2oatBootImage()
482 StringPrintf("dalvik.vm.isa.%s.variant", isa).c_str(), in Dex2oatBootImage()
487 StringPrintf("dalvik.vm.isa.%s.features", isa).c_str(), in Dex2oatBootImage()
536 if (access(path.c_str(), F_OK) == 0) { in ShouldSkipPreopt()
663 out.push_back(StringPrintf("%s%s", prefix, value->c_str())); in AddCompilerOptionFromSystemProperty()
732 file_name.c_str(), in calculate_oat_file_path()
733 gOps.GetTargetSlot().c_str()); in calculate_oat_file_path()
761 path_component.c_str(), in calculate_odex_file_path()
763 name_component.c_str(), in calculate_odex_file_path()
764 gOps.GetTargetSlot().c_str()); in calculate_odex_file_path()
769 strcpy(path, new_path.c_str()); in calculate_odex_file_path()
791 gOps.GetOTADataDirectory().c_str(), in create_cache_path()
794 from_src.c_str(), in create_cache_path()
800 strcpy(path, assembled_path.c_str()); in create_cache_path()