Home
last modified time | relevance | path

Searched refs:subdir (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFileUtilFuncTest.java89 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_singleLevel() local
90 assertFalse(subdir.exists()); in testMkdirsRWX_singleLevel()
91 FileUtil.mkdirsRWX(subdir); in testMkdirsRWX_singleLevel()
92 assertTrue(subdir.exists()); in testMkdirsRWX_singleLevel()
93 assertUnixPerms(subdir, DPERMS_GRWX, ROOT_DPERMS_GRWX); in testMkdirsRWX_singleLevel()
103 File subdir = new File(tmpParentDir, "subdirectory"); in testMkdirsRWX_preExisting() local
104 subdir.mkdir(); in testMkdirsRWX_preExisting()
105 subdir.setExecutable(false, false); in testMkdirsRWX_preExisting()
106 subdir.setReadable(false, false); in testMkdirsRWX_preExisting()
107 subdir.setWritable(false, false); in testMkdirsRWX_preExisting()
[all …]
/tools/netsim/rust/common/src/util/
Dos_utils.rs36 subdir: &'static str, field
40 const DISCOVERY: DiscoveryDir = DiscoveryDir { root_env: "XDG_RUNTIME_DIR", subdir: "" };
43 DiscoveryDir { root_env: "HOME", subdir: "Library/Caches/TemporaryItems" };
45 const DISCOVERY: DiscoveryDir = DiscoveryDir { root_env: "LOCALAPPDATA", subdir: "Temp" };
62 path.push(DISCOVERY.subdir); in get_discovery_directory()
225 expected.push(DISCOVERY.subdir); in test_get_discovery_directory()
232 expected.push(DISCOVERY.subdir); in test_get_discovery_directory()
Dzip_artifact.rs41 let mut subdir = recurse_files(&entry.path())?; in recurse_files() localVariable
42 result.append(&mut subdir); in recurse_files()
/tools/treble/build/sandbox/
Doverlay.py184 for subdir in subdirs:
185 subdir_origin = os.path.join(current_dir_origin, subdir)
194 current_dir_relative, subdir)
225 for subdir in os.listdir(source_dir):
226 if subdir.startswith('out'):
227 out_origin = os.path.join(source_dir, subdir)
230 out_destination = os.path.join(destination_dir, subdir)
/tools/netsim/src/util/
Dos_utils.cc40 const char *subdir; member
68 return std::string(env_p) + netsim::filesystem::slash + discovery.subdir; in GetDiscoveryDirectory()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparer.java781 File subdir = null; in getRequestedFile() local
783 subdir = FileUtil.createNamedTempDir(destDir, subdirPathName); in getRequestedFile()
785 requestedFile = new File(subdir != null ? subdir : destDir, baseFileName); in getRequestedFile()
797 new File(subdir != null ? subdir : destDir, entry.getName()); in getRequestedFile()
/tools/test/connectivity/
DAndroid.mk19 include $(call all-subdir-makefiles)
/tools/acloud/internal/lib/
Dutils_test.py581 subdir = os.path.join(temp_dir, "subdir")
582 file_path = os.path.join(subdir, "file")
583 os.makedirs(subdir)
Dcvd_utils.py1208 subdir = os.path.join(image_dir, _TARGET_FILES_IMAGES_DIR_NAME)
1209 if glob.glob(os.path.join(subdir, "*.img")):
1210 return subdir
/tools/acloud/public/actions/
Dremote_host_gf_device_factory.py514 subdir = entries[0].split(sep, 1)[0]
515 if all(e.startswith(subdir + sep) for e in entries):
516 return subdir