Home
last modified time | relevance | path

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

12

/external/libchrome/base/files/
Dimportant_file_writer_unittest.cc105 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()
111 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
117 EXPECT_FALSE(PathExists(writer.path())); in TEST_F()
125 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
135 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
145 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
162 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
178 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
194 ASSERT_TRUE(PathExists(writer.path())); in TEST_F()
Dfile_util.cc245 if (!PathExists(path) && in GetUniquePathNumber()
246 (!have_suffix || !PathExists(FilePath(path.value() + suffix)))) { in GetUniquePathNumber()
253 if (!PathExists(new_path) && in GetUniquePathNumber()
254 (!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));
/external/libmojo/base/android/
Dpath_utils_unittest.cc58 base::PathExists(path.Append("libbase_unittests.so")) || in TEST_F()
59 base::PathExists(path.Append("libbase_unittests.cr.so")) || in TEST_F()
60 base::PathExists(path.Append("lib_base_unittests__library.so")) || in TEST_F()
61 base::PathExists(path.Append("lib_base_unittests__library.cr.so"))); in TEST_F()
Dcontent_uri_utils_unittest.cc19 ASSERT_TRUE(PathExists(data_dir)); in TEST()
26 EXPECT_TRUE(PathExists(path)); in TEST()
/external/chromium-trace/catapult/devil/devil/android/
Dflag_changer_devicetest.py57 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy))
63 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy))
78 self.assertFalse(self.device.PathExists(self.cmdline_path))
82 self.assertTrue(self.device.PathExists(self.cmdline_path))
84 self.assertFalse(self.device.PathExists(self.cmdline_path))
Dflag_changer_test.py24 def PathExists(self, filepath): member in _FakeDevice
47 self.assertTrue(self.device.PathExists(self.cmdline_path_legacy))
53 self.assertFalse(self.device.PathExists(self.cmdline_path_legacy))
Dflag_changer.py83 if self._device.PathExists(cmdline_path_legacy):
99 if self._device.PathExists(self._cmdline_path):
Dinstall_commands.py30 return device.PathExists(paths)
/external/v8/
D.ycm_extra_conf.py51 def PathExists(*args): function
67 while not (PathExists(curdir, 'v8') and PathExists(curdir, 'v8', 'DEPS')
68 and (PathExists(curdir, '.gclient')
69 or PathExists(curdir, 'v8', '.git'))):
/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()
427 if (!base::PathExists(policy_path_) || !base::PathExists(keyfile_path_)) { in VerifyPolicyFiles()
/external/libmojo/base/
Dbase_paths.cc39 if (!PathExists(test_data_path)) // We don't want to create this. in PathProvider()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc675 ASSERT_FALSE(PathExists(file_path)); in TEST()
685 ASSERT_TRUE(PathExists(file_path)); in TEST()
738 ASSERT_FALSE(PathExists(file_path)); in TEST()
744 ASSERT_TRUE(PathExists(file_path)); in TEST()
788 ASSERT_FALSE(PathExists(file_path)); in TEST()
794 ASSERT_TRUE(PathExists(file_path)); in TEST()
/external/libmojo/third_party/catapult/devil/devil/android/
Dinstall_commands.py30 return device.PathExists(paths)
Dflag_changer.py36 if self._device.PathExists(self._cmdline_file):
/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/libbrillo/brillo/
Dfile_utils_unittest.cc38 EXPECT_TRUE(base::PathExists(file_path_)); in ExpectFileContains()
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dandroid_platform_backend.py441 def PathExists(self, device_path, timeout=None, retries=None): member in AndroidPlatformBackend
446 return self._device.PathExists(
632 if not self._device.PathExists(profile_dir):
Dcros_platform_backend.py156 def PathExists(self, path, timeout=None, retries=None): member in CrosPlatformBackend
/external/libchrome/base/
Dbase_nacl.gyp92 # For PathExists and ReadFromFD.

12