Lines Matching refs:ASEC
49 #include "Asec.h"
212 SLOGE("Couldn't find ASEC %s", id);
236 SLOGE("Couldn't find ASEC %s", id);
283 SLOGE("ASEC id '%s' currently exists", id);
291 SLOGE("ASEC file '%s' currently exists - destroy it first! (%s)",
299 int written = snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", asecDir, id);
306 SLOGE("ASEC file '%s' currently exists - destroy it first! (%s)",
324 SLOGE("ASEC image file creation failed (%s)", strerror(errno));
337 SLOGE("ASEC loop device creation failed (%s)", strerror(errno));
350 SLOGE("ASEC device mapping failed (%s)", strerror(errno));
405 SLOGE("ASEC fs format failed: couldn't construct mountPoint");
421 SLOGE("ASEC fs format failed (%s)", strerror(errno));
451 SLOGE("ASEC FAT mount failed (%s)", strerror(errno));
465 SLOGI("Cannot chown/chmod new ASEC mount point %s", mountPoint);
474 mActiveContainers->push_back(new ContainerData(strdup(id), ASEC));
484 SLOGE("Couldn't find ASEC %s", id);
508 SLOGE("ASEC finalize failed: couldn't construct mountPoint");
520 SLOGE("ASEC finalize mount failed (%s)", strerror(errno));
525 SLOGD("ASEC %s finalized", id);
541 SLOGE("Couldn't find ASEC %s", id);
636 SLOGE("ASEC fix permissions failed (%s)", strerror(errno));
641 SLOGD("ASEC %s permissions fixed", id);
654 SLOGE("Couldn't find ASEC %s", id1);
658 asprintf(&asecFilename2, "%s/%s.asec", dir, id2);
710 SLOGE("Couldn't find ASEC %s", id);
716 SLOGE("ASEC unmount failed for %s: couldn't construct mountpoint", id);
834 SLOGE("Couldn't find ASEC %s", id);
840 SLOGE("ASEC destroy failed for %s: couldn't construct mountpoint", id);
849 SLOGE("Failed to unmount asec %s for destroy (%s)", id, strerror(errno));
855 SLOGE("Failed to unlink asec '%s' (%s)", asecFileName, strerror(errno));
860 SLOGD("ASEC %s destroyed", id);
868 SLOGE("Couldn't open internal ASEC dir (%s)", strerror(errno));
889 if (asprintf(&asecName, "%s.asec", id) < 0) {
890 SLOGE("Couldn't allocate string to write ASEC name");
911 SLOGE("findAsec failed for %s: couldn't construct ASEC path", id);
926 SLOGE("Couldn't find ASEC %s", id);
932 SLOGE("ASEC mount failed: couldn't construct mountpoint", id);
937 SLOGE("ASEC %s already mounted", id);
951 SLOGE("ASEC loop device creation failed (%s)", strerror(errno));
988 SLOGE("ASEC device mapping failed (%s)", strerror(errno));
1037 SLOGE("ASEC mount failed (%s)", strerror(errno));
1045 mActiveContainers->push_back(new ContainerData(strdup(id), ASEC));
1047 SLOGD("ASEC %s mounted", id);
1128 SLOGE("ASEC device mapping failed (%s)", strerror(errno));
1462 #define ASEC_SUFFIX ".asec"
1469 SLOGE("Could not open asec dir %s", directory);
1478 SLOGE("Failed to allocate memory for asec dir");
1559 if (cd->type == ASEC) {
1572 SLOGI("Unmounting ASEC %s (dependant on %s)", cd->id, v->getMountpoint());