Searched defs:path (Results 1 - 25 of 201) sorted by relevance

123456789

/system/core/base/include/android-base/
H A Dtest_utils.h30 char path[1024]; member in class:TemporaryFile
43 char path[1024]; member in class:TemporaryDir
/system/core/fastboot/
H A Dutil_linux.cpp39 void get_my_path(char *path) argument
45 int err = readlink(proc, path, PATH_MAX - 1);
48 path[0] = 0;
50 path[err] = 0;
51 x = strrchr(path,'/');
/system/connectivity/shill/
H A Dstore_factory.cc41 StoreInterface* StoreFactory::CreateStore(const base::FilePath& path) { argument
43 return new JsonStore(path);
45 return new KeyFileStore(path);
H A Dcrypto_provider.h46 void set_key_matter_file(const base::FilePath& path) { argument
47 key_matter_file_ = path;
H A Dfile_reader_unittest.cc35 void VerifyReadLines(const FilePath& path, const vector<string>& lines) { argument
38 EXPECT_TRUE(reader_.Open(path));
59 FilePath path; local
60 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path));
62 EXPECT_TRUE(reader_.Open(path));
78 FilePath path; local
79 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &path));
83 base::WriteFile(path, conten
[all...]
H A Dresolver.h48 virtual void set_path(const base::FilePath& path) { path_ = path; } argument
H A Dcrypto_provider_unittest.cc56 FilePath path = dir.Append(kKeyMatterFile); local
58 base::WriteFile(path, matter.data(), matter.size());
59 return path;
72 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path()));
93 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path()));
104 provider_.set_key_matter_file(InitKeyMatterFile(temp_dir.path()));
/system/core/crash_reporter/
H A Dudev_collector.h69 void set_log_config_path(const std::string& path) { argument
70 log_config_path_ = base::FilePath(path);
/system/firewalld/
H A Dfirewall_service.cc46 void FirewallService::OnPermissionBrokerRemoved(const dbus::ObjectPath& path) { argument
/system/update_engine/payload_consumer/
H A Dfile_writer_unittest.cc41 string path; local
42 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr));
43 ScopedPathUnlinker path_unlinker(path);
46 EXPECT_EQ(0, file_writer.Open(path.c_str(),
51 EXPECT_TRUE(utils::ReadFile(path, &actual_data));
59 const string path("/tmp/ENOENT/FileWriterTest");
60 EXPECT_EQ(-ENOENT, file_writer.Open(path.c_str(),
66 string path; local
67 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr));
68 ScopedPathUnlinker path_unlinker(path);
[all...]
/system/update_engine/
H A Dshill_proxy.cc38 const dbus::ObjectPath& path) {
40 return std::unique_ptr<ServiceProxyInterface>(new ServiceProxy(bus_, path));
37 GetServiceForPath( const dbus::ObjectPath& path) argument
H A Dfake_shill_proxy.cc32 const dbus::ObjectPath& path) {
33 auto it = service_proxy_mocks_.find(path.value());
35 << path.value();
42 const dbus::ObjectPath& path,
44 service_proxy_mocks_[path.value()] = std::move(service_proxy);
31 GetServiceForPath( const dbus::ObjectPath& path) argument
41 SetServiceForPath( const dbus::ObjectPath& path, std::unique_ptr<ServiceProxyInterface> service_proxy) argument
/system/connectivity/shill/cellular/
H A Dmock_modem.cc22 const std::string& path,
25 : Modem(service, path, modem_info, control_interface) {}
21 MockModem(const std::string& service, const std::string& path, ModemInfo* modem_info, ControlInterface* control_interface) argument
H A Dmock_cellular.cc34 const std::string& path)
36 service, path) {}
28 MockCellular(ModemInfo* modem_info, const std::string& link_name, const std::string& address, int interface_index, Type type, const std::string& service, const std::string& path) argument
H A Dmodem_classic.cc29 const string& path,
32 : Modem(service, path, modem_info, control_interface) {}
28 ModemClassic(const string& service, const string& path, ModemInfo* modem_info, ControlInterface* control_interface) argument
/system/core/adb/sysdeps/win32/
H A Dstat.cpp28 // Version of stat() that takes a UTF-8 path.
29 int adb_stat(const char* path, struct adb_stat* s) { argument
42 if (!android::base::UTF8ToWide(path, &path_wide)) {
47 // If the path has a trailing slash, stat will fail with ENOENT regardless of whether the path
/system/connectivity/shill/shims/
H A Dopenvpn_script.cc40 string service, path, reason; local
42 !environment->GetVariable(shill::kRPCTaskPathVariable, &path) ||
54 shill::shims::TaskProxy proxy(bus, path, service);
H A Dtask_proxy.cc29 const string& path,
31 : proxy_(bus, dbus::ObjectPath(path)) {}
28 TaskProxy(scoped_refptr<dbus::Bus> bus, const string& path, const string& service) argument
/system/connectivity/shill/wimax/
H A Dmock_wimax.cc32 const RpcIdentifier& path)
34 interface_index, path) {
25 MockWiMax(ControlInterface* control, EventDispatcher* dispatcher, Metrics* metrics, Manager* manager, const string& link_name, const string& address, int interface_index, const RpcIdentifier& path) argument
/system/core/metricsd/uploader/
H A Dmetrics_log.cc54 bool MetricsLog::SaveToFile(const base::FilePath& path) { argument
59 base::WriteFile(path, encoded_log.data(), encoded_log.size())) {
60 LOG(ERROR) << "Failed to persist the current log to " << path.value();
/system/extras/ext4_utils/
H A Dcontents.h21 char *path; member in struct:dentry
H A Dsetup_fs.c14 char buf[256], path[128]; local
20 n = readlink(blockdev, path, sizeof(path) - 1);
22 path[n] = 0;
23 if (!memcmp(path, "/dev/block/", 11))
24 blockdev = path + 11;
/system/extras/f2fs_utils/
H A Dmake_f2fs_main.c36 static void usage(char *path) argument
38 fprintf(stderr, "%s -l <len>\n", basename(path));
/system/extras/verity/
H A Dverity_verifier.cpp33 static RSAPublicKey* load_key(const char* path) { argument
35 if (!android::base::ReadFileToString(path, &content)) {
36 fprintf(stderr, "Failed to load key from %s\n", path);
107 fec::io input(tf.path);
/system/media/brillo/audio/audioservice/test/
H A Daudio_device_handler_test.cpp43 h2w_file_path_ = temp_dir_.path().Append("h2wstate");
141 FilePath path = h2w_file_path_; local

Completed in 311 milliseconds

123456789