Home
last modified time | relevance | path

Searched refs:dir_name (Results 1 – 7 of 7) sorted by relevance

/system/apex/apexer/
Dapexer_test.py178 dir_name = tempfile.mkdtemp(prefix=self._testMethodName+"_container_files_")
179 self._to_cleanup.append(dir_name)
181 zip_obj.extractall(path=dir_name)
186 file_path = os.path.join(dir_name, i)
203 dir_name = tempfile.mkdtemp(prefix=self._testMethodName+"_extracted_payload_")
204 self._to_cleanup.append(dir_name)
205 cmd = ["debugfs_static", '-R', 'rdump ./ %s' % dir_name, img_file_path]
210 if os.path.exists(os.path.join(dir_name, i)):
211 os.remove(os.path.join(dir_name, i))
212 if os.path.isdir(os.path.join(dir_name, "lost+found")):
[all …]
Dapexer.py205 def GetDirSize(dir_name): argument
207 for dirpath, _, filenames in os.walk(dir_name):
217 def GetFilesAndDirsCount(dir_name): argument
219 for root, dirs, files in os.walk(dir_name):
/system/timezone/
Dtzdatautil.py23 def GetIanaTarFile(dir_name, file_prefix): argument
25 for filename in os.listdir(dir_name):
32 return '%s/%s' % (dir_name, matching_files[0])
/system/update_engine/payload_generator/
Dext2_filesystem.cc262 char* dir_name = nullptr; in GetFiles() local
263 errcode_t error = ext2fs_get_pathname(filsys_, dir_ino, 0, &dir_name); in GetFiles()
271 inodes[dir_ino].name = dir_name; in GetFiles()
275 ext2fs_free_mem(&dir_name); in GetFiles()
/system/core/init/
Ddevices.h88 Subsystem(std::string name, DevnameSource source, std::string dir_name) in Subsystem() argument
89 : name_(std::move(name)), devname_source_(source), dir_name_(std::move(dir_name)) {} in Subsystem()
/system/tools/aidl/tests/
Dfake_io_delegate.cpp93 const string dir_name = dir.back() == OS_PATH_SEPARATOR ? dir : dir + OS_PATH_SEPARATOR; in ListFiles() local
96 if (android::base::StartsWith(it->first, dir_name)) { in ListFiles()
/system/libbase/
Dfile_test.cpp292 std::string dir_name = android::base::Dirname(td.path); in TEST() local
293 std::string base_dir_name = android::base::Basename(dir_name); in TEST()
296 std::string path = dir_name + "/../" + base_dir_name + "/" + basename; in TEST()
306 ASSERT_EQ(dir_name, result); in TEST()