Searched refs:path (Results 126 - 150 of 399) sorted by relevance

1234567891011>>

/system/connectivity/shill/cellular/
H A Dmock_modem.h31 const std::string& path,
H A Dmodem_1.cc30 const string& path,
33 : Modem(service, path, modem_info, control_interface) {}
29 Modem1(const string& service, const string& path, ModemInfo* modem_info, ControlInterface* control_interface) 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/connectivity/shill/
H A Dhttp_url.h45 const std::string& path() const { return path_; } function in class:shill::HTTPURL
/system/connectivity/shill/shims/
H A Dtask_proxy.h34 const std::string& path,
/system/connectivity/shill/wimax/
H A Dmock_wimax_network_proxy.h33 MOCK_CONST_METHOD0(path, RpcIdentifier());
H A Dwimax_network_proxy_interface.h43 virtual RpcIdentifier path() const = 0;
/system/core/init/
H A Dutil.cpp176 bool read_file(const char* path, std::string* content) { argument
179 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY|O_NOFOLLOW|O_CLOEXEC));
188 ERROR("fstat failed for '%s': %s\n", path, strerror(errno));
192 ERROR("skipping insecure file '%s'\n", path);
201 int write_file(const char* path, const char* content) { argument
202 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY|O_CREAT|O_NOFOLLOW|O_CLOEXEC, 0600));
204 NOTICE("write_file: Unable to open '%s': %s\n", path, strerror(errno));
209 NOTICE("write_file: Unable to write to '%s': %s\n", path, strerror(errno));
316 ERROR("path too long for mkdir_recursive\n");
380 char path[25 local
441 make_dir(const char *path, mode_t mode) argument
[all...]
/system/core/libbacktrace/
H A DBacktraceMap.cpp100 char path[sizeof(pid_t)*3 + sizeof("/proc//maps") + 1];
109 // path is guaranteed to always be big enough to hold this string.
110 snprintf(path, sizeof(path), "/proc/%d/maps", pid_);
111 FILE* fp = fopen(path, "r");
/system/core/libnativeloader/include/nativeloader/
H A Dnative_loader.h42 const char* path,
/system/firewalld/
H A Dfirewall_service.cc46 void FirewallService::OnPermissionBrokerRemoved(const dbus::ObjectPath& path) { argument
/system/nativepower/daemon/
H A Dwake_lock_manager.cc34 // Writes |data| to |path|, returning true on success or logging an error and
36 bool WriteToFile(const base::FilePath& path, const std::string& data) { argument
40 VLOG(1) << "Writing \"" << data << "\" to " << path.value();
41 if (!base::AppendToFile(path, data.data(), data.size())) {
42 PLOG(ERROR) << "Failed to write \"" << data << "\" to " << path.value();
/system/update_engine/
H A Dhardware_chromeos.cc143 bool HardwareChromeOS::GetNonVolatileDirectory(base::FilePath* path) const {
144 *path = base::FilePath(constants::kNonVolatileDirectory);
148 bool HardwareChromeOS::GetPowerwashSafeDirectory(base::FilePath* path) const {
149 *path = base::FilePath(kPowerwashSafeDirectory);
H A Dshill_proxy_interface.h42 // Return a ServiceProxy for the given path. The ownership of the returned
45 GetServiceForPath(const dbus::ObjectPath& path) = 0;
/system/update_engine/payload_consumer/
H A Dfile_descriptor.cc29 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument
31 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0);
34 bool EintrSafeFileDescriptor::Open(const char* path, int flags) { argument
36 return ((fd_ = HANDLE_EINTR(open(path, flags))) >= 0);
/system/core/libcutils/
H A Dfs_config.c73 ** should start with the most specific path and work their
110 ** should start with the most specific path and work their
168 /* target_out_path is the path to the directory holding content of system partition
189 const char *path, size_t plen)
198 return !strncmp(prefix, path, len - 1);
204 return !strncmp(prefix, path, len);
207 void fs_config(const char *path, int dir, const char *target_out_path, argument
213 if (path[0] == '/') {
214 path++;
217 plen = strlen(path);
188 fs_config_cmp(bool dir, const char *prefix, size_t len, const char *path, size_t plen) argument
[all...]
/system/core/libutils/
H A DProcessCallStack.cpp53 char path[PATH_MAX]; local
58 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
59 if ((fp = fopen(path, "r"))) {
81 char path[PATH_MAX]; local
86 snprintf(path, sizeof(path), PATH_THREAD_NAME, tid);
87 if ((fp = fopen(path, "r"))) {
91 ALOGE("%s: Failed to open %s", __FUNCTION__, path);
/system/update_engine/payload_generator/
H A Ddelta_diff_utils_unittest.cc73 ASSERT_TRUE(utils::MakeTempFile(pattern.c_str(), &part->path, &fd));
80 // Writes to the |partition| path blocks such they are all different and they
100 return test_utils::WriteFileVector(part.path, file_data);
120 unlink(old_part_.path.c_str());
121 unlink(new_part_.path.c_str());
135 old_part_.path,
136 new_part_.path,
172 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob));
173 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob));
178 old_part_.path,
[all...]
/system/vold/
H A DMoveTask.cpp63 static status_t pushBackContents(const std::string& path, std::vector<std::string>& cmd) { argument
64 DIR* dir = opendir(path.c_str());
74 cmd.push_back(StringPrintf("%s/%s", path.c_str(), ent->d_name));
81 static status_t execRm(const std::string& path, int startProgress, int stepProgress) { argument
84 uint64_t expectedBytes = GetTreeBytes(path);
85 uint64_t startFreeBytes = GetFreeBytes(path);
91 if (pushBackContents(path, cmd) != OK) {
92 LOG(WARNING) << "No contents in " << path;
111 uint64_t deltaFreeBytes = GetFreeBytes(path) - startFreeBytes;
/system/core/adb/
H A Dsysdeps.h206 extern int adb_unlink(const char* path);
210 extern int adb_mkdir(const std::string& path, int mode);
215 extern int adb_open(const char* path, int options);
216 extern int adb_creat(const char* path, int mode);
251 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument
253 return adb_open(path, options);
257 extern int unix_open(const char* path, int options, ...);
306 static __inline__ int adb_is_absolute_host_path(const char* path) { argument
307 return isalpha(path[0]) && path[
523 unix_open(const char* path, int options,...) argument
[all...]
/system/connectivity/shill/dbus/
H A Dchromeos_mm1_modem_simple_proxy.h32 // object proxy at |path| owned by |service|.
34 const std::string& path,
55 const dbus::ObjectPath& path);
H A Dchromeos_modem_gobi_proxy.cc38 const string& path,
42 bus, service, dbus::ObjectPath(path))) {}
36 ChromeosModemGobiProxy( const scoped_refptr<dbus::Bus>& bus, const string& path, const string& service) argument
/system/core/libnativeloader/
H A Dnative_loader.cpp44 // System.load() with an absolute path which is outside of the classloader library search path.
71 // classloaders and calling System.load() with an absolute path which
72 // is outside of the classloader library search path.
79 ScopedUtfChars path(env, java_permitted_path);
80 if (path.c_str() != nullptr && path.size() > 0) {
81 permitted_path = permitted_path + ":" + path.c_str();
193 // namespace. The second argument specifies the search path for the anonymous
275 const char* path,
273 OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, jobject class_loader, jstring library_path) argument
[all...]
/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/update_engine/common/
H A Dfake_hardware.h65 bool GetNonVolatileDirectory(base::FilePath* path) const override {
69 bool GetPowerwashSafeDirectory(base::FilePath* path) const override {

Completed in 5745 milliseconds

1234567891011>>