Home
last modified time | relevance | path

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

12345

/system/timezone/distro/core/src/test/com/android/timezone/distro/
DFileUtilsTest.java54 File dir = createTempDir(); in testDeleteRecursive() local
81 File dir = createTempDir(); in testIsSymlink() local
129 File dir = createTempDir(); in testEnsureDirectoryExists() local
153 File dir = createTempDir(); in testEnsureDirectoriesExist_noPermissions() local
173 File dir = createTempDir(); in testEnsureFileDoesNotExist() local
202 File dir = createTempDir(); in testEnsureFileDoesNotExist_noPermission() local
219 File dir = createTempDir(); in testCheckFilesExist() local
229 File dir = createTempDir(); in testReadBytes() local
257 File dir = createTempDir(); in testCreateEmptyFile() local
266 File dir = createTempDir(); in testCreateEmptyFile_isDir() local
[all …]
DTimeZoneDistroTest.java109 File dir = createTempDir(); in testExtractZipSafely_goodZip() local
142 File dir = createTempDir(); in doExtractZipFails() local
/system/core/init/
Dfscrypt_init_extensions.cpp60 static void delete_dir_contents(const std::string& dir) { in delete_dir_contents()
122 static bool EnsurePolicyOrLog(const EncryptionPolicy& policy, const std::string& dir) { in EnsurePolicyOrLog()
132 static bool SetPolicyOn(const std::string& ref_basename, const std::string& dir) { in SetPolicyOn()
140 const std::string& dir) { in FscryptSetDirectoryPolicy()
Dpersistent_properties.cpp57 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in LoadLegacyPersistentProperties() local
106 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in RemoveLegacyPersistentPropertyFiles() local
200 auto dir = Dirname(persistent_property_filename); in WritePersistentPropertyFile() local
Dueventd.cpp159 auto& dir = restorecon_queue_[i]; in RestoreConHandler() local
166 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(directory.c_str()), &closedir); in GenerateRestoreCon() local
Dueventd_test.cpp71 TemporaryDir dir; in TEST() local
106 TemporaryDir dir; in TEST() local
Dmount_namespace.cpp113 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(from_dir.c_str()), closedir); in ActivateFlattenedApexesFrom() local
165 for (const auto& dir : kBuiltinDirsForApexes) { in ActivateFlattenedApexesIfPossible() local
Dfirst_stage_init.cpp60 void FreeRamdisk(DIR* dir, dev_t dev) { in FreeRamdisk()
318 std::string dir = android::base::Dirname(dest); in FirstStageMain() local
/system/vold/
DKeyStorage.cpp223 static bool CommitUpgradedKey(Keymaster& keymaster, const std::string& dir) { in CommitUpgradedKey()
254 for (auto& dir : key_dirs_to_commit) { in DeferredCommitKeys() local
263 static bool IsKeyCommitPending(const std::string& dir) { in IsKeyCommitPending()
272 static void ScheduleKeyCommit(const std::string& dir) { in ScheduleKeyCommit()
277 static void CancelPendingKeyCommit(const std::string& dir) { in CancelPendingKeyCommit()
329 static KeymasterOperation BeginKeymasterOp(Keymaster& keymaster, const std::string& dir, in BeginKeymasterOp()
378 static bool encryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in encryptWithKeymasterKey()
406 static bool decryptWithKeymasterKey(Keymaster& keymaster, const std::string& dir, in decryptWithKeymasterKey()
575 bool storeKey(const std::string& dir, const KeyAuthentication& auth, const KeyBuffer& key) { in storeKey()
625 bool retrieveKey(const std::string& dir, const KeyAuthentication& auth, KeyBuffer* key) { in retrieveKey()
[all …]
/system/libvintf/
DVintfFm.cpp201 auto dir = argv[0]; in main() local
209 int VintfFm::update(const FsFactory& vintfFsFactory, const std::string& dir, Level level) { in update()
228 int VintfFm::check(const FsFactory& vintfFsFactory, const std::string& dir) { in check()
259 bool VintfFm::dumpMatrix(const HalManifest& frameworkManifest, const std::string& dir, in dumpMatrix()
271 std::optional<VintfFm::FrozenMatrices> VintfFm::loadMatrices(const std::string& dir) { in loadMatrices()
/system/bpf/bpfloader/
DBpfLoader.cpp55 const char* const dir; member
72 DIR* dir; in loadAllElfObjects() local
/system/core/libmodprobe/
Dlibmodprobe_test.cpp141 TemporaryDir dir; in TEST() local
210 TemporaryDir dir; in TEST() local
/system/memory/libmeminfo/libdmabufinfo/
Ddmabuf_sysfs_stats.cpp56 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(dmabuf_sysfs_stats_path.c_str()), closedir); in GetDmabufSysfsStats() local
118 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(dmabuf_sysfs_stats_path.c_str()), closedir); in GetDmabufTotalExportedKb() local
/system/extras/tests/storage/
Dopentest.c31 char *dir; in main() local
/system/libbase/include/android-base/
Dprocess.h32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator()
/system/core/libcutils/
Dfs_config.cpp242 static int fs_config_open(int dir, int which, const char* target_out_path) { in fs_config_open()
276 static bool fs_config_cmp(bool dir, const char* prefix, size_t len, const char* path, size_t plen) { in fs_config_cmp()
319 void fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, in fs_config()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h72 void SetMountDir(std::string dir) { fs_mount_dir_ = std::move(dir); } in SetMountDir()
/system/core/libvndksupport/tests/
Dlinker_test.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib() local
/system/apex/libs/libapexutil/
Dapexutil.cpp56 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages() local
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/
DTestUtils.java39 public 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/fs_mgr/tests/src/com/android/tests/vendoroverlay/
DVendorOverlayHostTest.java67 private void assumeMkdirSuccess(String dir) throws DeviceNotAvailableException { in assumeMkdirSuccess()
/system/bt/test/
Drun_host_unit_tests.py46 def check_dir_exists(dir, dirname): argument
/system/apex/apexd/
Dapex_file_repository.cpp41 Result<void> ApexFileRepository::ScanBuiltInDir(const std::string& dir) { in ScanBuiltInDir()
97 for (const auto& dir : prebuilt_dirs) { in AddPreInstalledApex() local
/system/bt/include/hardware/avrcp/
Davrcp_logging_helper.h216 inline std::string DirectionText(const Direction& dir) { in DirectionText()

12345