Searched refs:directory (Results 1 - 22 of 22) sorted by relevance

/system/extras/ext4_utils/include/ext4_utils/
H A Dmake_ext4fs.h30 const char *directory, unsigned eraseblk,
34 const char *directory);
39 const char *directory);
45 const char *directory, unsigned eraseblk, unsigned logicalblk);
H A Dext4_crypt.h28 int e4crypt_policy_ensure(const char *directory, const char *policy,
H A Dext4_utils.h163 int make_ext4fs_internal(int fd, const char *directory, const char *_target_out_directory,
/system/extras/ext4_utils/
H A Dext4_crypt.cpp86 PLOG(ERROR) << "Unable to read directory: " << dirname;
94 PLOG(ERROR) << "Unable to read directory: " << dirname;
126 static bool e4crypt_policy_set(const char *directory, const char *policy, argument
134 int fd = open(directory, O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC);
136 PLOG(ERROR) << "Failed to open directory " << directory;
147 PLOG(ERROR) << "Failed to set encryption policy for " << directory;
155 LOG(INFO) << "Policy for " << directory << " set to " << policy_hex;
159 static bool e4crypt_policy_get(const char *directory, char *policy, argument
168 int fd = open(directory, O_DIRECTOR
196 e4crypt_policy_check(const char *directory, const char *policy, size_t policy_length, int contents_encryption_mode, int filenames_encryption_mode) argument
219 LOG(INFO) << "Found policy " << existing_policy_hex << " at " << directory local
224 e4crypt_policy_ensure(const char *directory, const char *policy, size_t policy_length, const char *contents_encryption_mode, const char *filenames_encryption_mode) argument
[all...]
H A Dmake_ext4fs.c144 /* Read a local directory and create the same tree in the generated filesystem.
145 Calls itself recursively with each directory in the given directory.
147 directory on disk that should be copied, or NULL if this is a directory
149 dir_path is an absolute path, with trailing slash, to the same directory
185 /* root directory, check if lost+found already exists */
275 /* insert a lost+found directory at the beginning of the dentries */
442 const char *directory)
444 return make_ext4fs_sparse_fd_directory_align(fd, len, mountpoint, sehnd, directory,
440 make_ext4fs_sparse_fd_directory(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
447 make_ext4fs_sparse_fd_directory_align(int fd, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory, unsigned eraseblk, unsigned logicalblk) argument
467 make_ext4fs_directory(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory) argument
474 make_ext4fs_directory_align(const char *filename, long long len, const char *mountpoint, struct selabel_handle *sehnd, const char *directory, unsigned eraseblk, unsigned logicalblk) argument
579 extract_base_fs_allocations(const char *directory, const char *mountpoint, FILE* base_alloc_file_in) argument
725 char *directory = NULL; local
[all...]
H A Dmake_ext4fs_main.c62 fprintf(stderr, " <filename> [[<directory>] <target_out_directory>]\n");
69 const char *directory = NULL; local
242 directory = argv[optind++];
263 exitcode = make_ext4fs_internal(fd, directory, target_out_directory, mountpoint, fs_config_func, gzip,
/system/extras/tests/sdcard/
H A Dsysutil.h46 // .resetDirectory Delete (non-recursive) files in a directory.
121 // Delete all the files in the given directory. If the directory does
123 // make sure you have a clean existing directory, previous run may
125 void resetDirectory(const char *directory);
H A Dsysutil.cpp408 void resetDirectory(const char *directory) argument
410 DIR *dir = opendir(directory);
425 strcpy(name_buffer, directory);
432 mkdir(directory, S_IRWXU);
/system/ca-certificates/
H A DAndroid.mk31 # $(3): destination directory
32 define include-prebuilt-with-destination-directory
47 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,target-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_target_directory))))
56 $(foreach cacert, $(cacerts), $(eval $(call include-prebuilt-with-destination-directory,host-cacert-$(notdir $(cacert)),$(cacert),$(cacerts_host_directory))))
/system/security/keystore/tests/
H A DMakefile81 genhtml coverage.info --output-directory coverage
84 lcov --capture --directory=. --directory=.. -b . --output-file coverage.info
89 lcov --capture --directory=. --output-file coverage.info
90 genhtml coverage.info --output-directory coverage
/system/ca-certificates/google/
H A DAndroid.mk21 $(foreach cacert, $(cacerts_google), $(eval $(call include-prebuilt-with-destination-directory,target-cacert-google-$(notdir $(cacert)),$(cacert),$(cacerts_google_target_directory))))
30 $(foreach cacert, $(cacerts_google), $(eval $(call include-prebuilt-with-destination-directory,host-cacert-google-$(notdir $(cacert)),$(cacert),$(cacerts_google_host_directory))))
/system/core/trusty/keymaster/
H A DMakefile8 # This Makefile expects to find BoringSSL in a directory adjacent to $ANDROID_BUILD_TOP.
118 genhtml coverage.info --output-directory coverage
121 lcov --capture --directory=. --output-file coverage.info
126 lcov --capture --directory=. --output-file coverage.info
127 genhtml coverage.info --output-directory coverage
/system/vold/
H A DCommandListener.h53 void listAsecsInDirectory(SocketClient *c, const char *directory);
H A DVolumeManager.h145 const char **directory = NULL) const;
H A DCommandListener.cpp356 void CommandListener::AsecCmd::listAsecsInDirectory(SocketClient *cli, const char *directory) { argument
357 DIR *d = opendir(directory);
759 PLOG(ERROR) << "Failed to unmount directory.";
763 PLOG(ERROR) << "Failed to remove the mount directory.";
811 PLOG(ERROR) << "Failed to prepare directory " << path;
H A DVolumeManager.cpp515 // already created this directory.
1295 // We don't care about the lost+found directory.
1331 // Finally make the directory readable by everyone.
1334 SLOGE("Couldn't change owner of existing directory %s: %s", mountPoint, strerror(errno));
1656 const char **directory) const {
1680 if (directory != NULL) {
1681 *directory = dir;
/system/keymaster/
H A DMakefile10 # This Makefile expects to find BoringSSL in a directory adjacent to $ANDROID_BUILD_TOP.
159 genhtml coverage.info --output-directory coverage
162 lcov --capture --directory=. --output-file coverage.info
167 lcov --capture --directory=. --output-file coverage.info
168 genhtml coverage.info --output-directory coverage
/system/bt/doc/
H A Ddirectory_layout.md3 ### General directory layout
4 Each directory should be a self contained subsystem consisting
11 ### Top level directory layout
/system/core/rootdir/
H A DAndroid.mk152 # The A/B updater uses a top-level /postinstall directory to mount the new
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc44 // test_dir is the directory containing the test executable and
344 // version of GMS core, then the config directory we're interested in
365 W: unable to open config directory /does/not/exist: (No such file or directory)
366 I: profile collection skipped (missing config directory)
/system/core/logcat/
H A Dlogcat.cpp643 std::string directory;
646 directory = ".";
649 directory = std::string(outputFileName, file - outputFileName);
653 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(directory.c_str()),
670 std::string file_name = directory;
/system/sepolicy/
H A DAndroid.mk85 $(error BOARD_PLAT_PUBLIC_SEPOLICY_DIR must only contain one directory)
93 $(error BOARD_PLAT_PRIVATE_SEPOLICY_DIR must only contain one directory)

Completed in 553 milliseconds