Searched defs:SEC_STG_SECIMGDIR (Results 1 - 2 of 2) sorted by relevance

/system/vold/
H A DVolume.h43 static const char *SEC_STG_SECIMGDIR; member in class:Volume
H A DVolume.cpp69 const char *Volume::SEC_STG_SECIMGDIR = "/mnt/secure/staging/.android_secure"; member in class:Volume
474 access(SEC_STG_SECIMGDIR, R_OK | X_OK)) {
475 if (rename("/mnt/secure/staging/android_secure", SEC_STG_SECIMGDIR)) {
483 if (access(SEC_STG_SECIMGDIR, R_OK | X_OK)) {
485 if (mkdir(SEC_STG_SECIMGDIR, 0777)) {
486 SLOGE("Failed to create %s (%s)", SEC_STG_SECIMGDIR, strerror(errno));
490 SLOGE("Failed to access %s (%s)", SEC_STG_SECIMGDIR, strerror(errno));
496 if (stat(SEC_STG_SECIMGDIR, &sbuf)) {
497 SLOGE("Failed to stat %s (%s)", SEC_STG_SECIMGDIR, strerror(errno));
501 SLOGE("%s is not a directory", SEC_STG_SECIMGDIR);
[all...]

Completed in 59 milliseconds