Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 70) sorted by relevance

123

/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java53 File dir = createTempDir(); in testDeleteRecursive() local
80 File dir = createTempDir(); in testIsSymlink() local
128 File dir = createTempDir(); in testEnsureDirectoryExists() local
152 File dir = createTempDir(); in testEnsureDirectoriesExist_noPermissions() local
172 File dir = createTempDir(); in testEnsureFileDoesNotExist() local
201 File dir = createTempDir(); in testEnsureFileDoesNotExist_noPermission() local
218 File dir = createTempDir(); in testCheckFilesExist() local
228 File dir = createTempDir(); in testReadBytes() local
256 File dir = createTempDir(); in testCreateEmptyFile() local
265 File dir = createTempDir(); in testCreateEmptyFile_isDir() local
[all …]
DTimeZoneDistroTest.java108 File dir = createTempDir(); in testExtractZipSafely_goodZip() local
141 File dir = createTempDir(); in doExtractZipFails() local
/system/core/adb/
Dremount_service.cpp40 static std::string find_proc_mount(const char* dir) { in find_proc_mount()
56 static std::string find_fstab_mount(const char* dir) { in find_fstab_mount()
65 static std::string find_mount(const char* dir, bool is_root) { in find_mount()
85 static bool remount_partition(int fd, const char* dir) { in remount_partition()
/system/core/toolbox/upstream-netbsd/bin/dd/
Ddd.h63 #define ddop_open(dir, a1, a2, ...) dir.ops->op_open(a1, a2, __VA_ARGS__) argument
64 #define ddop_close(dir, a1) dir.ops->op_close(a1) argument
65 #define ddop_fcntl(dir, a1, a2, ...) dir.ops->op_fcntl(a1, a2, __VA_ARGS__) argument
66 #define ddop_ioctl(dir, a1, a2, ...) dir.ops->op_ioctl(a1, a2, __VA_ARGS__) argument
67 #define ddop_fsync(dir, a1) dir.ops->op_fsync(a1) argument
68 #define ddop_ftruncate(dir, a1, a2) dir.ops->op_ftruncate(a1, a2) argument
69 #define ddop_lseek(dir, a1, a2, a3) dir.ops->op_lseek(a1, a2, a3) argument
70 #define ddop_read(dir, a1, a2, a3) dir.ops->op_read(a1, a2, a3) argument
71 #define ddop_write(dir, a1, a2, a3) dir.ops->op_write(a1, a2, a3) argument
/system/extras/ext4_utils/
Dext4_crypt_init_extensions.cpp61 int e4crypt_set_directory_policy(const char* dir) in e4crypt_set_directory_policy()
103 static int set_system_de_policy_on(char const* dir) { in set_system_de_policy_on()
/system/tools/hidl/docs/src/writer/files/
Dresources.kt44 val dir = outPath.parent.toFile() //dir name in copyToFile() constant
DAbstractFileWriter.kt48 val dir = this.path.parent.toFile() //dir name in writeToFile() constant
/system/vold/
DKeyStorage.cpp201 static KeymasterOperation begin(Keymaster& keymaster, const std::string& dir, in begin()
234 static bool encryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in encryptWithKeymasterKey()
262 static bool decryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in decryptWithKeymasterKey()
447 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key) { in storeKey()
505 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key) { in retrieveKey()
538 static bool deleteKey(const std::string& dir) { in deleteKey()
555 static bool recursiveDeleteKey(const std::string& dir) { in recursiveDeleteKey()
563 bool destroyKey(const std::string& dir) { in destroyKey()
/system/extras/tests/storage/
Dopentest.c31 char *dir; in main() local
/system/core/libvndksupport/tests/
Dlinker_test.cpp37 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib() local
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp40 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); in populate_open_files_list() local
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTestUtils.java39 static String createFile(Path dir, String... lines) throws IOException { in createFile()
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir() local
/system/core/init/
Dpersistent_properties.cpp56 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in LoadLegacyPersistentProperties() local
105 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in RemoveLegacyPersistentPropertyFiles() local
Dueventd_test.cpp76 TemporaryDir dir; in TEST() local
111 TemporaryDir dir; in TEST() local
Dbootchart.cpp107 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes() local
/system/bt/test/
Drun_host_unit_tests.py44 def check_dir_exists(dir, dirname): argument
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h216 inline std::string DirectionText(const Direction& dir) { in DirectionText()
/system/extras/libpagemap/
Dpm_kernel.c64 struct dirent *dir; in pm_kernel_pids() local
/system/core/libcutils/
Dfs_config.cpp220 static int fs_config_open(int dir, int which, const char* target_out_path) { in fs_config_open()
289 void fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, in fs_config()
Dcanned_fs_config.cpp95 void canned_fs_config(const char* path, int dir, const char* target_out_path, in canned_fs_config()
/system/timezone/
Dupdate-tzdata.py110 def ExtractTarFile(tar_file, dir): argument
/system/core/bootstat/
Dboot_event_record_store.cpp116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents() local
/system/core/libprocessgroup/
Dprocessgroup.cpp116 dirent* dir; in RemoveUidProcessGroups() local
141 dirent* dir; in removeAllProcessGroups() local
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DFileUtils.java62 public static void ensureDirectoriesExist(File dir, boolean makeWorldReadable) in ensureDirectoriesExist()

123