Searched refs:profile_file (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
H A Dutils.c1134 char profile_file[PKG_PATH_MAX]; local
1136 snprintf(profile_file, sizeof(profile_file), "%s/%s", profile_dir, pkgname);
1142 int fd = open(profile_file, O_WRONLY | O_CREAT | O_NOFOLLOW | O_CLOEXEC, 0660);
1148 ALOGE("cannot chown profile file '%s': %s\n", profile_file, strerror(errno));
1150 unlink(profile_file);
1155 ALOGE("cannot chmod profile file '%s': %s\n", profile_file, strerror(errno));
1157 unlink(profile_file);
1166 char profile_file[PKG_PATH_MAX]; local
1167 snprintf(profile_file, sizeo
[all...]
H A Dcommands.c766 char profile_file[PKG_PATH_MAX]; local
767 snprintf(profile_file, sizeof(profile_file), "%s/%s",
770 if ((stat(profile_file, &st) == 0) && (st.st_size > 0)) {
771 sprintf(profile_file_arg, "--profile-file=%s", profile_file);

Completed in 1739 milliseconds