Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 99) sorted by relevance

1234

/system/apex/apexd/
Dapexd_private.cpp38 bool exists; in BindMount() local
44 exists = false; in BindMount()
49 exists = true; in BindMount()
53 exists = true; in BindMount()
59 if (exists && !is_dir) { in BindMount()
65 exists = false; in BindMount()
68 if (!exists) { in BindMount()
75 if (exists) { in BindMount()
Dapexd_verity.cpp168 auto exists = PathExists(hashtree_file); in PrepareHashTree() local
169 if (!exists.ok()) { in PrepareHashTree()
170 return exists.error(); in PrepareHashTree()
172 if (*exists) { in PrepareHashTree()
Dapex_file_test.cpp261 auto exists = PathExists(decompression_file_path); in TEST() local
262 ASSERT_RESULT_OK(exists); in TEST()
263 ASSERT_TRUE(*exists) << decompression_file_path << " does not exist"; in TEST()
300 auto exists = PathExists(decompression_file.path); in TEST() local
301 ASSERT_RESULT_OK(exists); in TEST()
302 ASSERT_TRUE(*exists) << decompression_file.path << " does not exist"; in TEST()
/system/incremental_delivery/incfs/tests/include/
DIncFsTestBase.h29 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/
Dfile_utils.py25 if os.path.exists(file_path):
29 if parent_dir and not os.path.exists(parent_dir):
/system/extras/systrace_analysis/
Danalyze_trace.py34 if not os.path.exists(chromium_trace_path):
38 if not os.path.exists(vinn_path):
/system/timezone/debug_tools/host/
Ddump-tzdata.py74 if not os.path.exists(output_dir):
87 if not os.path.exists(csvs_dir):
/system/keymaster/android_keymaster/
Dpure_soft_secure_key_storage.cpp102 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/update_engine/scripts/
Dota_stress_test.py67 assert otafile.exists()
71 assert update_device_script.exists()
Dsimulate_ota.py90 source, zipfile.ZipFile) or os.path.exists(source))
92 target, zipfile.ZipFile) or os.path.exists(target))
185 if not os.path.exists(args.output_dir):
/system/security/keystore2/src/
Did_rotation.rs94 assert!(!temp_file_path.exists()); in test_had_factory_reset_since_id_rotation()
100 assert!(temp_file_path.exists()); in test_had_factory_reset_since_id_rotation()
/system/core/rootdir/
Dinit.no_zygote.rc2 # It exists to support targets that do not include a zygote.
/system/timezone/
Dupdate-tzdata.py63 if not os.path.exists(zic_input_file):
138 if not os.path.exists(dir):
165 if not os.path.exists(zic_binary_file):
/system/keymaster/include/keymaster/
Dsecure_key_storage.h49 virtual keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) = 0;
Dpure_soft_secure_key_storage.h42 keymaster_error_t KeyExists(const km_id_t keyid, bool* exists) override;
/system/timezone/input_tools/android/zone_compactor/test/java/
DZoneCompactorTest.java70 assertTrue(Files.exists(resultTzdata)); in shouldFollowLinkChains_definedInForwardOrder()
99 assertTrue(Files.exists(resultTzdata)); in shouldFollowLinkChains_definedInBackwardsOrder()
/system/chre/pal/util/
Dwifi_scan_cache.c238 bool exists = isWifiScanResultInCache(result, &index); in chreWifiScanCacheScanEventAdd() local
239 if (!exists && gWifiCacheState.event.resultTotal >= in chreWifiScanCacheScanEventAdd()
244 if (!exists) { in chreWifiScanCacheScanEventAdd()
/system/core/trusty/test/driver/
Dtrusty_driver_test.py32 return os.path.exists("/dev/trusty-ipc-dev0")
/system/extras/simpleperf/scripts/
Dupdate.py125 if os.path.exists(install_dir):
131 if os.path.exists(install_dir):
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp285 ASSERT_FALSE(exists(dir_path)); in TEST_F()
287 ASSERT_TRUE(exists(dir_path)); in TEST_F()
292 ASSERT_FALSE(exists(dir_path)); in TEST_F()
294 ASSERT_TRUE(exists(dir_path)); in TEST_F()
298 ASSERT_TRUE(exists(nested)); in TEST_F()
309 ASSERT_FALSE(exists(test_file.c_str())) << "Present: " << test_file; in TEST_F()
313 ASSERT_TRUE(exists(test_file.c_str())) << "Missing: " << test_file; in TEST_F()
315 ASSERT_TRUE(exists(file_binded_path.c_str())) << "Missing: " << file_binded_path; in TEST_F()
353 ASSERT_FALSE(exists(file_path)); in TEST_F()
365 ASSERT_FALSE(exists(file_path)); in TEST_F()
[all …]
/system/sepolicy/tests/
Dsepolicy_tests.py170 if not os.path.exists(options.policy):
177 if not os.path.exists(f):
/system/tools/mkbootimg/
Drepack_bootimg.py202 if os.path.exists(ramdisk):
205 elif os.path.exists(vendor_ramdisk):
273 if not os.path.exists(dst_dir):
/system/sepolicy/tools/
Dfuzzer_bindings_check.py24 if not os.path.exists(file_name):
/system/timezone/debug_tools/host/main/java/
DZoneSplitter.java53 if (!(tzData.exists() && tzData.isFile() && tzData.canRead())) { in execute()
56 if (!(outputDir.exists() && outputDir.isDirectory())) { in execute()
/system/security/fsverity_init/
Dfsverity_init.cpp66 if (!std::filesystem::exists(dir)) { in LoadKeyFromDirectory()

1234