Searched defs:paths (Results 1 - 7 of 7) sorted by relevance

/system/core/libcutils/tests/
H A Dfs_config.cpp65 static bool check_unique(std::vector<const char*>& paths, const std::string& config_name, argument
71 for (size_t idx = 0; idx < paths.size(); ++idx) {
73 std::string path(paths[idx]);
74 // check if there are multiple identical paths
75 for (second = idx + 1; second < paths.size(); ++second) {
76 if (path == paths[second]) {
77 GTEST_LOG_(ERROR) << "duplicate paths in " << config_name << ": " << paths[idx]; local
87 for (second = 0; second < paths.size(); ++second) {
88 if (path == paths[secon
90 << paths[idx] << " and " << paths[second] local
116 check_unique(const fs_path_config* paths, const char* type_name, const std::string& prefix) argument
211 check_two(const fs_path_config* paths, const char* type_name, const char* prefix) argument
[all...]
/system/vold/
H A DIdleMaint.cpp75 static void addFromVolumeManager(std::list<std::string>* paths, argument
84 paths->push_back(vol->getPath());
90 paths->push_back(std::string("/sys/fs/") + fs_type +
99 static void addFromFstab(std::list<std::string>* paths, PathTypes path_type) { argument
129 paths->push_back(fstab->recs[i].mount_point);
134 paths->push_back(std::string("/sys/fs/") + fstab->recs[i].fs_type +
147 std::list<std::string> paths; local
148 addFromFstab(&paths, PathTypes::kMountPoint);
149 addFromVolumeManager(&paths, PathTypes::kMountPoint);
151 for (const auto& path : paths) {
197 waitForGc(const std::list<std::string>& paths) argument
232 startGc(const std::list<std::string>& paths) argument
245 stopGc(const std::list<std::string>& paths) argument
327 std::list<std::string> paths; local
[all...]
H A DExt4Crypt.cpp148 const std::vector<std::string>& paths,
150 if (paths.empty()) {
156 if (paths[0] < candidate) {
167 const std::vector<std::string>& paths) {
168 for (auto const other_path: paths) {
186 auto const paths = get_ce_key_paths(directory_path); local
187 for (auto const ce_key_path: paths) {
191 fixate_user_ce_key(directory_path, ce_key_path, paths);
242 auto const paths = get_ce_key_paths(directory_path); local
244 if (!get_ce_key_new_path(directory_path, paths,
147 get_ce_key_new_path(const std::string& directory_path, const std::vector<std::string>& paths, std::string *ce_key_path) argument
166 fixate_user_ce_key(const std::string& directory_path, const std::string &to_fix, const std::vector<std::string>& paths) argument
568 auto const paths = get_ce_key_paths(directory_path); local
580 auto const paths = get_ce_key_paths(directory_path); local
[all...]
/system/core/adb/
H A Dadb_auth_host.cpp395 static void adb_auth_inotify_init(const std::set<std::string>& paths) { argument
404 for (const std::string& path : paths) {
/system/sepolicy/tools/
H A Dcheckfc.c240 static void do_compare_and_die_on_error(struct selinux_opt opts[], unsigned int backend, char *paths[]) argument
249 opts[1].value = paths[i];
252 fprintf(stderr, "Error: could not load context file from %s\n", paths[i]);
/system/core/init/
H A Dbuiltins.cpp394 /* Imports .rc files from the specified paths. Default ones are applied if none is given.
666 // compatible with new paths, therefore we skip reporting this error.
787 char* paths[] = {const_cast<char*>(args[1].data()), nullptr}; local
789 fts_open(paths, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, nullptr), fts_close);
888 return Error() << "flags must precede paths";
/system/libhidl/transport/
H A DServiceManagement.cpp312 std::vector<std::string> paths = {HAL_LIBRARY_PATH_ODM, HAL_LIBRARY_PATH_VENDOR, local
333 paths.insert(paths.begin(), halLibraryPathVtsOverride);
338 for (const std::string& path : paths) {

Completed in 679 milliseconds