Searched refs:PathExists (Results 1 – 25 of 25) sorted by relevance
104 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()110 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()116 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()124 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()134 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()144 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()161 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()177 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()193 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
244 if (!PathExists(path) && in GetUniquePathNumber()245 (!have_suffix || !PathExists(FilePath(path.value() + suffix)))) { in GetUniquePathNumber()252 if (!PathExists(new_path) && in GetUniquePathNumber()253 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) { in GetUniquePathNumber()
104 EXPECT_FALSE(base::PathExists(file_path)); in TEST()149 EXPECT_FALSE(base::PathExists(file_path)); in TEST()491 ASSERT_FALSE(base::PathExists(file_path));
121 BASE_EXPORT bool PathExists(const FilePath& path);
266 if (PathExists(real_to_path)) { in CopyDirectory()364 bool PathExists(const FilePath& path) { in PathExists() function
433 (change_on_target_path && created && PathExists(target_))) { in OnFilePathChanged()
67 if (!base::PathExists(base::FilePath("/proc/self/ns/user"))) { in KernelSupportsUnprivilegedNamespace()95 return base::PathExists(base::FilePath(path)); in KernelSupportsUnprivilegedNamespace()100 return base::PathExists(base::FilePath(kProcSelfSetgroups)); in KernelSupportsDenySetgroups()
416 ASSERT_TRUE(PathExists(original_file_path)); in TEST_F()448 ASSERT_FALSE(PathExists(written_file_path)); in TEST_F()451 ASSERT_TRUE(PathExists(written_file_path)); in TEST_F()464 ASSERT_TRUE(PathExists(original_file_path)); in TEST_F()475 ASSERT_FALSE(PathExists(written_file_path)); in TEST_F()478 ASSERT_TRUE(PathExists(written_file_path)); in TEST_F()490 ASSERT_TRUE(PathExists(source_file_path)); in TEST_F()
76 if (!base::PathExists(json_file_path_)) in ReadFileToString()
553 ASSERT_TRUE(base::PathExists(path)); in TEST()
225 def PathExists(self, path): member in SysfsPowerMonitorMonitorTest.testGetCpuStateForAndroidDevices.PlatformStub259 def PathExists(self, path): member in SysfsPowerMonitorMonitorTest.testStandAlone.PlatformStub
97 if not self._platform.PathExists(cpu_idle_path):121 if not self._platform.PathExists(cpu_freq_path):
29 if (!base::PathExists(key_file)) in ReadPublicKeyFromFile()394 if (!base::PathExists(policy_path_) || !base::PathExists(keyfile_path_)) { in VerifyPolicyFiles()
298 self.assertTrue(platform_backend.device.PathExists(agent.trace_config_file))306 self.assertFalse(platform_backend.device.PathExists(config_file_path))310 self.assertFalse(platform_backend.device.PathExists(config_file_path))
30 return device.PathExists(paths)
36 if self._device.PathExists(self._cmdline_file):
414 if cached_result and not self.PathExists(cached_result):1372 return self.PathExists(device_path, timeout=timeout, retries=retries)1375 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): member in DeviceUtils
1516 self.assertTrue(self.device.PathExists('/path/file exists'))1524 self.assertTrue(self.device.PathExists(('/path 1', '/path2')))1532 self.assertFalse(self.device.PathExists('/path/file.not.exists'))1541 self.device.PathExists('/root/path/exists', as_root=True))
101 if self._device.PathExists(self.command_line_file):
38 EXPECT_TRUE(base::PathExists(file_path_)); in ExpectFileContains()
88 # For PathExists and ReadFromFD.
286 def PathExists(self, path, timeout=None, retries=None): member in PlatformBackend
160 def PathExists(self, path, timeout=None, retries=None): member in CrosPlatformBackend
414 def PathExists(self, device_path, timeout=None, retries=None): member in AndroidPlatformBackend419 return self._device.PathExists(
117 if (!base::PathExists(database_dir)) in GetInitialConfigDirectory()