/system/core/base/include/android-base/ |
H A D | test_utils.h | 30 char path[1024]; member in class:TemporaryFile 43 char path[1024]; member in class:TemporaryDir
|
/system/core/fastboot/ |
H A D | util_linux.cpp | 39 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 D | store_factory.cc | 41 StoreInterface* StoreFactory::CreateStore(const base::FilePath& path) { argument 43 return new JsonStore(path); 45 return new KeyFileStore(path);
|
H A D | crypto_provider.h | 46 void set_key_matter_file(const base::FilePath& path) { argument 47 key_matter_file_ = path;
|
H A D | file_reader_unittest.cc | 35 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 D | resolver.h | 48 virtual void set_path(const base::FilePath& path) { path_ = path; } argument
|
H A D | crypto_provider_unittest.cc | 56 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 D | udev_collector.h | 69 void set_log_config_path(const std::string& path) { argument 70 log_config_path_ = base::FilePath(path);
|
/system/firewalld/ |
H A D | firewall_service.cc | 46 void FirewallService::OnPermissionBrokerRemoved(const dbus::ObjectPath& path) { argument
|
/system/update_engine/payload_consumer/ |
H A D | file_writer_unittest.cc | 41 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 D | shill_proxy.cc | 38 const dbus::ObjectPath& path) { 40 return std::unique_ptr<ServiceProxyInterface>(new ServiceProxy(bus_, path)); 37 GetServiceForPath( const dbus::ObjectPath& path) argument
|
H A D | fake_shill_proxy.cc | 32 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 D | mock_modem.cc | 22 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 D | mock_cellular.cc | 34 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 D | modem_classic.cc | 29 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 D | stat.cpp | 28 // 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 D | openvpn_script.cc | 40 string service, path, reason; local 42 !environment->GetVariable(shill::kRPCTaskPathVariable, &path) || 54 shill::shims::TaskProxy proxy(bus, path, service);
|
H A D | task_proxy.cc | 29 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 D | mock_wimax.cc | 32 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 D | metrics_log.cc | 54 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 D | contents.h | 21 char *path; member in struct:dentry
|
H A D | setup_fs.c | 14 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 D | make_f2fs_main.c | 36 static void usage(char *path) argument 38 fprintf(stderr, "%s -l <len>\n", basename(path));
|
/system/extras/verity/ |
H A D | verity_verifier.cpp | 33 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 D | audio_device_handler_test.cpp | 43 h2w_file_path_ = temp_dir_.path().Append("h2wstate"); 141 FilePath path = h2w_file_path_; local
|