Lines Matching defs:partial_path
80 std::string partial_path;
82 if (partial_path.back() != OS_PATH_SEPARATOR) partial_path += OS_PATH_SEPARATOR;
83 partial_path += path_component;
85 if (should_use_fs_config(partial_path)) {
86 fs_config(partial_path.c_str(), 1, nullptr, &uid, &gid, &mode, &capabilities);
88 if (adb_mkdir(partial_path.c_str(), mode) == -1) {
93 if (chown(partial_path.c_str(), uid, gid) == -1) return false;
96 selinux_android_restorecon(partial_path.c_str(), 0);
98 if (!update_capabilities(partial_path.c_str(), capabilities)) return false;