Home
last modified time | relevance | path

Searched refs:directory (Results 1 – 25 of 26) sorted by relevance

12

/system/extras/ext4_utils/
Dext4_crypt.cpp74 int do_policy_set(const char *directory, const char *policy, int policy_length) in do_policy_set() argument
84 if (!is_path_valid(directory)) { in do_policy_set()
88 stat(directory, &st); in do_policy_set()
90 KLOG_ERROR(TAG, "Can only set policy on a directory (%s)\n", directory); in do_policy_set()
94 if (!is_dir_empty(directory)) { in do_policy_set()
96 directory); in do_policy_set()
100 int fd = open(directory, O_DIRECTORY); in do_policy_set()
102 KLOG_ERROR(TAG, "Failed to open directory (%s)\n", directory); in do_policy_set()
118 directory, strerror(preserve_errno)); in do_policy_set()
123 directory, policy[0], policy[1], policy[2], policy[3]); in do_policy_set()
Dunencrypted_properties.cpp76 std::string directory(folder_ + "/" + name); in GetChild() local
77 if (mkdir(directory.c_str(), 700) == -1 && errno != EEXIST) { in GetChild()
81 up.folder_ = directory; in GetChild()
Dmake_ext4fs.c500 char *directory = NULL; in make_ext4fs_internal() local
513 directory = canonicalize_rel_slashes(_directory); in make_ext4fs_internal()
604 assert(!directory); in make_ext4fs_internal()
607 if (directory) in make_ext4fs_internal()
608 root_inode_num = build_directory_structure(directory, mountpoint, target_out_directory, 0, in make_ext4fs_internal()
639 size_t dirlen = directory ? strlen(directory) : 0; in make_ext4fs_internal()
642 if (directory && strncmp(p->filename, directory, dirlen) == 0) { in make_ext4fs_internal()
671 free(directory); in make_ext4fs_internal()
Dmake_ext4fs_main.c67 const char *directory = NULL; in main() local
218 directory = argv[optind++]; in main()
239 …exitcode = make_ext4fs_internal(fd, directory, target_out_directory, mountpoint, fs_config_func, g… in main()
Dext4_crypt_init_extensions.h13 int do_policy_set(const char *directory, const char *policy, int policy_length);
Dext4_utils.h158 int make_ext4fs_internal(int fd, const char *directory, const char *_target_out_directory,
/system/security/keystore/tests/
DMakefile71 genhtml coverage.info --output-directory coverage
74 lcov --capture --directory=. --directory=.. -b . --output-file coverage.info
79 lcov --capture --directory=. --output-file coverage.info
80 genhtml coverage.info --output-directory coverage
/system/extras/tests/bionic/libc/
DREADME.TXT1 This directory contains a set of tests for Android's Bionic C library.
9 All test programs, except those in the 'other' directory, should exit
12 The directory layout is simple:
/system/bt/doc/
Ddirectory_layout.md3 ### General directory layout
4 Each directory should be a self contained subsystem consisting
11 ### Top level directory layout
Dstyle_guide.md11 For a subsystem that contains code, its directory structure should look like:
18 Further, the directory structure inside `src/` and `include/` should be
197 In general, every source file (`.c` or `.cpp`) in a `src/` directory should
198 have a corresponding header (`.h`) in the `include/` directory.
/system/extras/tests/sdcard/
DREADME1 This directory contains tools to profile the sdcard performance.
13 Build, install and mount debugfs. In this directory with a properly
27 directory, chdir and run:
Dsysutil.cpp408 void resetDirectory(const char *directory) in resetDirectory() argument
410 DIR *dir = opendir(directory); in resetDirectory()
425 strcpy(name_buffer, directory); in resetDirectory()
432 mkdir(directory, S_IRWXU); in resetDirectory()
Dsysutil.h125 void resetDirectory(const char *directory);
/system/keymaster/
DMakefile138 genhtml coverage.info --output-directory coverage
141 lcov --capture --directory=. --output-file coverage.info
146 lcov --capture --directory=. --output-file coverage.info
147 genhtml coverage.info --output-directory coverage
/system/vold/
DCommandListener.h53 void listAsecsInDirectory(SocketClient *c, const char *directory);
DVolumeManager.h145 const char **directory = NULL) const;
DCommandListener.cpp348 void CommandListener::AsecCmd::listAsecsInDirectory(SocketClient *cli, const char *directory) { in listAsecsInDirectory() argument
349 DIR *d = opendir(directory); in listAsecsInDirectory()
/system/core/logcat/
Dlogcat.cpp391 std::string directory; in lastLogTime() local
394 directory = "."; in lastLogTime()
398 directory = outputFileName; in lastLogTime()
404 std::unique_ptr<DIR, int(*)(DIR*)>dir(opendir(directory.c_str()), closedir); in lastLogTime()
415 std::string file_name = directory; in lastLogTime()
/system/core/adb/
DSYNC.TXT39 Lists files in the directory specified by the remote filename. The server will
40 respond with zero or more directory entries or "dents".
42 The directory entries will be returned in the following form
/system/extras/tests/mmc_tracepoints/
DREADME1 The code in this directory is used to process data from the mmc tracepoints
/system/core/init/
Dreadme.txt218 Create a directory at <path>, optionally with the given mode, owner, and
219 group. If not provided, the directory is created with permissions 755 and
221 will be updated if the directory exists already.
227 Attempt to mount the named device at the directory <dir>
248 Recursively restore the directory tree named by <path> to the
/system/extras/perfprofd/tests/
Dperfprofd_test.cc322 W: unable to open config directory /does/not/exist: (No such file or directory) in TEST_F()
323 I: profile collection skipped (missing config directory) in TEST_F()
/system/core/adb/tests/
Dtest_adb.py175 def sync(self, directory=""): argument
176 return call_checked(self.adb_cmd + "sync {}".format(directory))
/system/extras/tests/net_test/
DREADME22 where <test> is the name of a test binary in the net_test directory. This can
/system/core/rootdir/
Dinit.rc361 # create directory for DRM plug-ins - give drm the read/write access to
362 # the following directory.
365 # create directory for MediaDrm plug-ins - give drm the read/write access to
366 # the following directory.

12