/system/bt/gd/hal/ |
D | snoop_logger_test.cc | 79 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_)); in SetUp() 80 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_last_)); in SetUp() 81 ASSERT_FALSE(std::filesystem::exists(temp_snooz_log_)); in SetUp() 82 ASSERT_FALSE(std::filesystem::exists(temp_snooz_log_last_)); in SetUp() 90 if (std::filesystem::exists(temp_snoop_log_)) { in DeleteSnoopLogFiles() 93 if (std::filesystem::exists(temp_snoop_log_last_)) { in DeleteSnoopLogFiles() 96 if (std::filesystem::exists(temp_snooz_log_)) { in DeleteSnoopLogFiles() 99 if (std::filesystem::exists(temp_snooz_log_last_)) { in DeleteSnoopLogFiles() 120 ASSERT_TRUE(std::filesystem::exists(temp_snoop_log_)); in TEST_F() 121 ASSERT_FALSE(std::filesystem::exists(temp_snoop_log_last_)); in TEST_F() [all …]
|
/system/apex/apexd/ |
D | apexd_private.cpp | 40 bool exists; in BindMount() local 46 exists = false; in BindMount() 51 exists = true; in BindMount() 55 exists = true; in BindMount() 61 if (exists && !is_dir) { in BindMount() 67 exists = false; in BindMount() 70 if (!exists) { in BindMount() 77 if (exists) { in BindMount()
|
D | apexd_verity.cpp | 166 auto exists = PathExists(hashtree_file); in PrepareHashTree() local 167 if (!exists.ok()) { in PrepareHashTree() 168 return exists.error(); in PrepareHashTree() 170 if (*exists) { in PrepareHashTree()
|
D | apex_file_test.cpp | 243 auto exists = PathExists(decompression_file_path); in TEST() local 244 ASSERT_RESULT_OK(exists); in TEST() 245 ASSERT_TRUE(*exists) << decompression_file_path << " does not exist"; in TEST() 277 auto exists = PathExists(decompression_file.path); in TEST() local 278 ASSERT_RESULT_OK(exists); in TEST() 279 ASSERT_TRUE(*exists) << decompression_file.path << " does not exist"; in TEST()
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 131 File exists = new File(dir, "exists"); in testEnsureDirectoryExists() local 132 assertTrue(exists.mkdir()); in testEnsureDirectoryExists() 133 assertTrue(exists.setReadable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 134 assertTrue(exists.setExecutable(true /* readable */, true /* ownerOnly */)); in testEnsureDirectoryExists() 135 FileUtils.ensureDirectoriesExist(exists, true /* makeWorldReadable */); in testEnsureDirectoryExists() 136 assertDirExistsAndIsAccessible(exists, false /* requireWorldReadable */); in testEnsureDirectoryExists() 139 assertFalse(subDir.exists()); in testEnsureDirectoryExists() 169 assertFalse(toCreate.exists()); in testEnsureDirectoriesExist_noPermissions() 178 assertTrue(exists1.exists()); in testEnsureFileDoesNotExist() 180 assertFalse(exists1.exists()); in testEnsureFileDoesNotExist() [all …]
|
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstaller.java | 160 if (oldStagedDataDir.exists()) { in stageInstallWithErrorCode() 163 if (workingDir.exists()) { in stageInstallWithErrorCode() 221 if (!tzLookupFile.exists()) { in stageInstallWithErrorCode() 237 if (!telephonyLookupFile.exists()) { in stageInstallWithErrorCode() 258 if (!stagedTzDataDir.exists()) { in stageInstallWithErrorCode() 293 if (oldStagedDataDir.exists()) { in stageUninstall() 297 if (workingDir.exists()) { in stageUninstall() 303 if (!stagedTzDataDir.exists()) { in stageUninstall() 314 if (!currentTzDataDir.exists()) { in stageUninstall() 343 if (!currentTzDataDir.exists()) { in getInstalledDistroVersion() [all …]
|
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstallerTest.java | 102 if (tempDir.exists()) { in tearDown() 535 assertFalse(workingDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 536 assertFalse(oldStagedDataDir.exists()); in testStageUninstall_oldDirsAlreadyExists() 662 assertTrue(testInstallDir.exists()); in assertInstallDistroStaged() 665 assertTrue(stagedTzDataDir.exists()); in assertInstallDistroStaged() 669 assertTrue(distroVersionFile.exists()); in assertInstallDistroStaged() 672 assertTrue(tzdataFile.exists()); in assertInstallDistroStaged() 675 assertTrue(icuFile.exists()); in assertInstallDistroStaged() 678 assertTrue(tzLookupFile.exists()); in assertInstallDistroStaged() 682 assertTrue(telephonyLookupFile.exists()); in assertInstallDistroStaged() [all …]
|
/system/incremental_delivery/incfs/tests/include/ |
D | IncFsTestBase.h | 29 static bool exists(std::string_view path) { in exists() function 40 ASSERT_TRUE(exists(image_dir_path_)); in SetUp() 41 ASSERT_TRUE(exists(mount_dir_path_)); in SetUp() 62 EXPECT_FALSE(exists(image_dir_path_)); in TearDown() 63 EXPECT_FALSE(exists(mount_dir_path_)); in TearDown()
|
/system/sepolicy/build/ |
D | file_utils.py | 25 if os.path.exists(file_path): 29 if parent_dir and not os.path.exists(parent_dir):
|
/system/bt/gd/storage/ |
D | storage_module_test.cc | 112 ASSERT_FALSE(std::filesystem::exists(temp_config_)); in SetUp() 113 ASSERT_FALSE(std::filesystem::exists(temp_backup_config_)); in SetUp() 121 if (std::filesystem::exists(temp_config_)) { in DeleteConfigFiles() 124 if (std::filesystem::exists(temp_backup_config_)) { in DeleteConfigFiles() 144 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F() 228 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F() 283 ASSERT_TRUE(std::filesystem::exists(temp_config_)); in TEST_F()
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 34 if not os.path.exists(chromium_trace_path): 38 if not os.path.exists(vinn_path):
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 72 if (!dirToCheck.exists()) { in ensureDirectoriesExist() 109 if (file.exists()) { in ensureFileDoesNotExist() 154 if (!file.exists()) { in filesExist()
|
/system/bt/tools/scripts/ |
D | dump_metrics_ascii.py | 31 if 'PROTOC' in os.environ and os.path.exists(os.environ['PROTOC']): 43 if not os.path.exists(proto_path): 47 if not os.path.exists(output_dir):
|
/system/timezone/debug_tools/host/ |
D | dump-tzdata.py | 76 if not os.path.exists(output_dir): 89 if not os.path.exists(csvs_dir):
|
/system/keymaster/android_keymaster/ |
D | pure_soft_secure_key_storage.cpp | 102 keymaster_error_t PureSoftSecureKeyStorage::KeyExists(const km_id_t keyid, bool* exists) { in KeyExists() argument 108 *exists = pure_soft_secure_storage_map_->KeyExists(keyid); in KeyExists()
|
/system/sepolicy/tests/ |
D | sepolicy_tests.py | 137 if not os.path.exists(options.libpath): 143 if not os.path.exists(options.policy): 150 if not os.path.exists(f):
|
/system/security/keystore2/src/ |
D | id_rotation.rs | 92 assert!(!temp_file_path.exists()); in test_had_factory_reset_since_id_rotation() 98 assert!(temp_file_path.exists()); in test_had_factory_reset_since_id_rotation()
|
/system/update_engine/scripts/ |
D | ota_stress_test.py | 67 assert otafile.exists() 71 assert update_device_script.exists()
|
D | simulate_ota.py | 129 assert os.path.exists(args.source[0]), \ 131 assert os.path.exists(args.target[0]), \
|
/system/keymaster/include/keymaster/ |
D | secure_key_storage.h | 49 virtual keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) = 0;
|
D | pure_soft_secure_key_storage.h | 42 keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) override;
|
/system/timezone/ |
D | update-tzdata.py | 62 if not os.path.exists(zic_input_file): 134 if not os.path.exists(dir): 161 if not os.path.exists(zic_binary_file):
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 80 if (!f.exists()) { in main() 132 if (!file.exists()) { in getMandatoryPropertyFile()
|
/system/bt/build/toolchain/clang/ |
D | get_clang_suffix.py | 10 if os.path.exists(clang_path):
|
/system/chre/pal/util/ |
D | wifi_scan_cache.c | 238 bool exists = isWifiScanResultInCache(result, &index); in chreWifiScanCacheScanEventAdd() local 239 if (!exists && gWifiCacheState.event.resultTotal >= in chreWifiScanCacheScanEventAdd() 244 if (!exists) { in chreWifiScanCacheScanEventAdd()
|