Searched refs:kStagingDirectory (Results 1 – 1 of 1) sorted by relevance
235 static constexpr const char* kStagingDirectory = "/data/misc/apexdata/com.android.art/staging"; in PaletteCreateOdrefreshStagingDirectory() local238 if (std::filesystem::exists(kStagingDirectory, ec)) { in PaletteCreateOdrefreshStagingDirectory()239 if (!std::filesystem::remove_all(kStagingDirectory, ec)) { in PaletteCreateOdrefreshStagingDirectory()241 << "Could not remove existing staging directory: " << kStagingDirectory; in PaletteCreateOdrefreshStagingDirectory()247 if (mkdir(kStagingDirectory, S_IRWXU) != 0) { in PaletteCreateOdrefreshStagingDirectory()248 PLOG(ERROR) << "Could not set permissions on staging directory: " << kStagingDirectory; in PaletteCreateOdrefreshStagingDirectory()252 if (setfilecon(kStagingDirectory, "u:object_r:apex_art_staging_data_file:s0") != 0) { in PaletteCreateOdrefreshStagingDirectory()253 PLOG(ERROR) << "Could not set label on staging directory: " << kStagingDirectory; in PaletteCreateOdrefreshStagingDirectory()257 *staging_dir = kStagingDirectory; in PaletteCreateOdrefreshStagingDirectory()