/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 54 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 …]
|
D | TimeZoneDistroTest.java | 109 File dir = createTempDir(); in testExtractZipSafely_goodZip() local 142 File dir = createTempDir(); in doExtractZipFails() local
|
/system/core/init/ |
D | fscrypt_init_extensions.cpp | 60 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()
|
D | persistent_properties.cpp | 57 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
|
D | ueventd.cpp | 159 auto& dir = restorecon_queue_[i]; in RestoreConHandler() local 166 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(directory.c_str()), &closedir); in GenerateRestoreCon() local
|
D | ueventd_test.cpp | 71 TemporaryDir dir; in TEST() local 106 TemporaryDir dir; in TEST() local
|
D | mount_namespace.cpp | 113 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
|
D | first_stage_init.cpp | 60 void FreeRamdisk(DIR* dir, dev_t dev) { in FreeRamdisk() 318 std::string dir = android::base::Dirname(dest); in FirstStageMain() local
|
/system/vold/ |
D | KeyStorage.cpp | 223 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/ |
D | VintfFm.cpp | 201 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/ |
D | BpfLoader.cpp | 55 const char* const dir; member 72 DIR* dir; in loadAllElfObjects() local
|
/system/core/libmodprobe/ |
D | libmodprobe_test.cpp | 141 TemporaryDir dir; in TEST() local 210 TemporaryDir dir; in TEST() local
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabuf_sysfs_stats.cpp | 56 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/ |
D | opentest.c | 31 char *dir; in main() local
|
/system/libbase/include/android-base/ |
D | process.h | 32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator()
|
/system/core/libcutils/ |
D | fs_config.cpp | 242 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/ |
D | postinstall_runner_action.h | 72 void SetMountDir(std::string dir) { fs_mount_dir_ = std::move(dir); } in SetMountDir()
|
/system/core/libvndksupport/tests/ |
D | linker_test.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib() local
|
/system/apex/libs/libapexutil/ |
D | apexutil.cpp | 56 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/ |
D | TestUtils.java | 39 public static String createFile(Path dir, String... lines) throws IOException { in createFile()
|
/system/extras/iotop/ |
D | tasklist.cpp | 32 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/ |
D | VendorOverlayHostTest.java | 67 private void assumeMkdirSuccess(String dir) throws DeviceNotAvailableException { in assumeMkdirSuccess()
|
/system/bt/test/ |
D | run_host_unit_tests.py | 46 def check_dir_exists(dir, dirname): argument
|
/system/apex/apexd/ |
D | apex_file_repository.cpp | 41 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/ |
D | avrcp_logging_helper.h | 216 inline std::string DirectionText(const Direction& dir) { in DirectionText()
|