Home
last modified time | relevance | path

Searched refs:PathExists (Results 1 – 25 of 28) sorted by relevance

12

/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc104 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()
Dfile_util.cc244 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()
Dfile_unittest.cc104 EXPECT_FALSE(base::PathExists(file_path)); in TEST()
149 EXPECT_FALSE(base::PathExists(file_path)); in TEST()
491 ASSERT_FALSE(base::PathExists(file_path));
Dfile_util.h121 BASE_EXPORT bool PathExists(const FilePath& path);
Dfile_util_posix.cc266 if (PathExists(real_to_path)) { in CopyDirectory()
364 bool PathExists(const FilePath& path) { in PathExists() function
Dfile_path_watcher_linux.cc433 (change_on_target_path && created && PathExists(target_))) { in OnFilePathChanged()
/external/libchrome/sandbox/linux/services/
Dnamespace_utils.cc67 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()
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc416 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()
Djson_file_value_serializer.cc76 if (!base::PathExists(json_file_path_)) in ReadFileToString()
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dsysfs_power_monitor_unittest.py225 def PathExists(self, path): member in SysfsPowerMonitorMonitorTest.testGetCpuStateForAndroidDevices.PlatformStub
259 def PathExists(self, path): member in SysfsPowerMonitorMonitorTest.testStandAlone.PlatformStub
Dsysfs_power_monitor.py97 if not self._platform.PathExists(cpu_idle_path):
121 if not self._platform.PathExists(cpu_freq_path):
/external/libbrillo/policy/
Ddevice_policy_impl.cc29 if (!base::PathExists(key_file)) in ReadPublicKeyFromFile()
394 if (!base::PathExists(policy_path_) || !base::PathExists(keyfile_path_)) { in VerifyPolicyFiles()
/external/chromium-trace/catapult/devil/devil/android/
Dinstall_commands.py30 return device.PathExists(paths)
Dflag_changer.py36 if self._device.PathExists(self._cmdline_file):
Ddevice_utils.py477 if cached_result and not self.PathExists(cached_result):
1455 return self.PathExists(device_path, timeout=timeout, retries=retries)
1458 def PathExists(self, device_paths, as_root=False, timeout=None, retries=None): member in DeviceUtils
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/
Dchrome_tracing_agent_unittest.py325 self.assertTrue(platform_backend.device.PathExists(agent.trace_config_file))
333 self.assertFalse(platform_backend.device.PathExists(config_file_path))
337 self.assertFalse(platform_backend.device.PathExists(config_file_path))
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dandroid_command_line_backend.py101 if self._device.PathExists(self.command_line_file):
/external/libbrillo/brillo/
Dfile_utils_unittest.cc38 EXPECT_TRUE(base::PathExists(file_path_)); in ExpectFileContains()
/external/libchrome/base/
Dbase_nacl.gyp88 # For PathExists and ReadFromFD.
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py418 def PathExists(self, device_path, timeout=None, retries=None): member in AndroidPlatformBackend
423 return self._device.PathExists(
603 if not self._device.PathExists(profile_dir):
Dcros_platform_backend.py156 def PathExists(self, path, timeout=None, retries=None): member in CrosPlatformBackend
Dplatform_backend.py286 def PathExists(self, path, timeout=None, retries=None): member in PlatformBackend
/external/v8/build/android/
Dtombstones.py41 if not device.PathExists('/data/tombstones', as_root=True):
Dprovision_devices.py299 if any(device.PathExists(p) for p in _SYSTEM_WEBVIEW_PATHS):
437 if device.PathExists(path):
/external/chromium-trace/catapult/devil/devil/android/tools/
Dprovision_devices.py237 if device.PathExists(path):
338 if any(device.PathExists(p) for p in _SYSTEM_WEBVIEW_PATHS):

12