HomeSort by relevance Sort by last modified time
    Searched refs:ErrnoError (Results 1 - 8 of 8) sorted by null

  /system/core/init/
security.cpp 55 return ErrnoError() << "Failed to open /dev/hw_random";
61 return ErrnoError() << "Failed to open /dev/urandom";
70 return ErrnoError() << "Failed to read from /dev/hw_random";
77 return ErrnoError() << "Failed to write to /dev/urandom";
builtins.cpp 189 return ErrnoError() << "setenv() failed";
207 if (s < 0) return ErrnoError() << "opening socket failed";
210 return ErrnoError() << "ioctl(..., SIOCGIFFLAGS, ...) failed";
216 return ErrnoError() << "ioctl(..., SIOCSIFFLAGS, ...) failed";
235 if (fd == -1) return ErrnoError() << "open(\"" << filename << "\") failed";
238 if (rc == -1) return ErrnoError() << "finit_module for \"" << filename << "\" failed";
254 return ErrnoError() << "fchmodat() failed";
257 return ErrnoError() << "mkdir() failed";
276 return ErrnoError() << "lchown failed";
282 return ErrnoError() << "fchmodat failed"
    [all...]
util.cpp 70 if (!pwd) return ErrnoError() << "getpwnam failed";
77 if (errno) return ErrnoError() << "strtoul failed";
167 return ErrnoError() << "open() failed";
174 return ErrnoError() << "fstat failed()";
182 return ErrnoError() << "Unable to read file contents";
208 return ErrnoError() << "open() failed";
211 return ErrnoError() << "Unable to write file contents";
persistent_properties.cpp 58 return ErrnoError() << "Unable to open persistent property directory \""
177 return ErrnoError() << "Could not open temporary properties file";
184 return ErrnoError() << "Unable to write file contents";
result_test.cpp 91 // Error() and ErrnoError() aren't actually used to create a Result<T> object.
108 Result<Success> result = ErrnoError() << "failure" << 1;
120 Result<Success> result = ErrnoError();
165 Result<Success> result = ErrnoError() << error_text;
service.cpp 114 return ErrnoError() << "Could not remount(/) recursively as slave";
121 return ErrnoError() << "Could not umount(/proc)";
124 return ErrnoError() << "Could not mount(/proc)";
131 return ErrnoError() << "Could not umount(/sys)";
134 return ErrnoError() << "Could not mount(/sys)";
142 return ErrnoError() << "Could not set name";
147 return ErrnoError() << "Could not fork init inside the PID namespace";
177 return ErrnoError() << "Could not open namespace at " << path;
180 return ErrnoError() << "Could not setns() namespace at " << path;
815 return ErrnoError() << "Couldn't open console '" << console_ << "'"
    [all...]
subcontext.cpp 68 return ErrnoError();
87 return ErrnoError() << "send() failed to send message contents";
278 return ErrnoError() << "Failed to send message to subcontext";
result.h 40 // Error and ErrnoError are used to construct a Result<T> that has failed. The Error class takes
42 // ErrnoError() is a helper function to create an Error class that appends ": " + strerror(errno)
62 // return ErrnoError() << "c_api_function(" << output << ") failed";
149 inline Error ErrnoError() {

Completed in 235 milliseconds