/aosp12/system/bt/gd/os/linux_generic/ |
H A D | files_test.cc | 26 using bluetooth::os::FileExists; 36 EXPECT_TRUE(FileExists(temp_file.string())); in TEST() 38 EXPECT_FALSE(FileExists(none_file.string())); in TEST()
|
/aosp12/art/runtime/ |
H A D | dex2oat_environment_test.h | 75 ASSERT_TRUE(OS::FileExists(GetSystemImageFile().c_str())) in SetUp() 77 ASSERT_TRUE(OS::FileExists(GetDexSrc1().c_str())) in SetUp() 79 ASSERT_TRUE(OS::FileExists(GetResourceOnlySrc1().c_str())) in SetUp() 85 ASSERT_TRUE(OS::FileExists(GetDexSrc2().c_str())) in SetUp()
|
H A D | prebuilt_tools_test.cc | 34 ASSERT_TRUE(OS::FileExists(path.c_str())) << path; in CheckToolsExist()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
H A D | DeviceFiles.cpp | 158 return mFileHandle.FileExists(keySetId + kLicenseFileNameExt); in LicenseExists() 176 if (!FileExists(fileName)) { in RetrieveHashedFile() 236 bool DeviceFiles::FileExists(const std::string& fileName) const { in FileExists() function in android::hardware::drm::V1_4::clearkey::DeviceFiles 237 return mFileHandle.FileExists(fileName); in FileExists()
|
/aosp12/art/imgdiag/ |
H A D | imgdiag_test.cc | 70 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetImgDiagFilePath() 84 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
|
/aosp12/art/dexlayout/ |
H A D | dexdiag_test.cc | 45 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath() 85 EXPECT_TRUE(OS::FileExists(executable_path.c_str())) << executable_path in Exec()
|
/aosp12/system/bt/gd/hal/ |
H A D | snoop_logger.cc | 93 if (os::FileExists(log_path)) { in delete_btsnoop_files() 101 if (os::FileExists(last_log_path)) { in delete_btsnoop_files() 224 if (os::FileExists(snoop_log_path_)) { in OpenNextSnoopLogFile() 326 if (os::FileExists(snooz_log_path_)) { in DumpSnoozLogToFile()
|
/aosp12/system/update_engine/cros/ |
H A D | p2p_manager_unittest.cc | 186 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F() 190 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F() 260 EXPECT_EQ(expect, utils::FileExists(file_name.c_str())); in TEST_F() 264 EXPECT_TRUE(utils::FileExists(file_name.c_str())); in TEST_F()
|
H A D | logging.cc | 44 if (utils::FileExists(symlink_path.c_str()) && in SetupLogSymlink()
|
/aosp12/system/core/storaged/ |
H A D | storaged_info.cpp | 52 bool FileExists(const std::string& filename) in FileExists() function 64 if (FileExists(emmc_info_t::emmc_sysfs)) return new emmc_info_t; in get_storage_info() 66 if (FileExists(ufs_info_t::health_file)) { in get_storage_info()
|
/aosp12/system/bt/gd/os/ |
H A D | files.h | 26 bool FileExists(const std::string& path);
|
/aosp12/art/libartbase/base/ |
H A D | os.h | 52 static bool FileExists(const char* name, bool check_file_type = true);
|
H A D | os_linux.cc | 73 bool OS::FileExists(const char* name, bool check_file_type) { in FileExists() function in art::OS
|
/aosp12/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_smoke_test.cpp | 263 void FileExists(const char* filename, uint32_t minsize, in FileExists() function in android::os::dumpstate::ZippedBugReportContentsTest 283 FileExists(bugreport_txt_name.c_str(), 1000000U); in TEST_F() 305 FileExists("proto/activity.proto", 100000U, 1000000U); in TEST_F() 311 FileExists("FS/proc/1/mountinfo", 0U, 100000U); in TEST_F()
|
/aosp12/art/odrefresh/ |
H A D | odrefresh.cc | 311 if (OS::FileExists(cache_info_filename_.c_str())) { in WriteCacheInfo() 455 if (!OS::FileExists(path)) { in ArtifactsExist() 525 if (!OS::FileExists(cache_info_filename_.c_str())) { in CheckArtifactsAreUpToDate() 696 if (OS::FileExists(profile_file.c_str(), /*check_file_type=*/true)) { in AddDex2OatProfileAndCompilerFilter() 715 if (!on_system && !OS::FileExists(image_location.c_str(), true)) { in VerifySystemServerArtifactsAreUpToDate() 756 if (OS::FileExists(profile_file.c_str())) { in VerifySystemServerArtifactsAreUpToDate() 961 if (OS::FileExists(location.c_str()) && unlink(location.c_str()) != 0) { in RemoveArtifacts() 1035 if (OS::FileExists(dirty_image_objects_file.c_str())) { in CompileBootExtensionArtifacts() 1187 if (!OS::FileExists(bcp_packages.c_str())) { in CompileSystemServerArtifacts()
|
H A D | odr_metrics_test.cc | 49 return OS::FileExists(path); in MetricsFileExists() 54 if (OS::FileExists(path)) { in RemoveMetricsFile()
|
/aosp12/system/update_engine/payload_consumer/ |
H A D | certificate_parser_android_unittest.cc | 38 ASSERT_TRUE(utils::FileExists(ota_cert.c_str())); in TEST()
|
/aosp12/art/tools/dexanalyze/ |
H A D | dexanalyze_test.cc | 30 CHECK(OS::FileExists(binary.c_str())) << binary << " should be a valid file path"; in DexAnalyzeExec()
|
/aosp12/art/dexdump/ |
H A D | dexdump_test.cc | 43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
|
/aosp12/art/dexlist/ |
H A D | dexlist_test.cc | 45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
|
/aosp12/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
H A D | DeviceFiles.h | 54 bool FileExists(const std::string& path) const;
|
H A D | MemoryFileSystem.h | 45 bool FileExists(const std::string& fileName) const;
|
/aosp12/system/bt/gd/storage/ |
H A D | legacy_config_file.cc | 78 if (!os::FileExists(path_)) { in Delete()
|
/aosp12/bionic/benchmarks/ |
H A D | bionic_benchmarks.cpp | 553 static bool FileExists(const std::string& file) { in FileExists() function 580 } else if (!FileExists(opts.xmlpath)) { in main() 583 if (opts.xmlpath[0] == '/' || !FileExists(file)) { in main()
|
/aosp12/system/core/fs_mgr/tests/ |
H A D | file_wait_test.cpp | 42 TEST_F(FileWaitTest, FileExists) { in TEST_F() argument
|