/frameworks/base/libs/utils/tests/ |
H A D | Looper_test.cpp | 44 DelayedWriteSignal(int delayMillis, Pipe* pipe) : argument 45 DelayedTask(delayMillis), mPipe(pipe) { 165 Pipe pipe; local 168 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); 183 Pipe pipe; local 186 ASSERT_EQ(OK, pipe.writeSignal()); 187 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT); 199 EXPECT_EQ(pipe.receiveFd, handler.fd) 200 << "callback should have received pipe fd as parameter"; 206 Pipe pipe; local 224 Pipe pipe; local 249 Pipe pipe; local 275 Pipe pipe; local 297 Pipe pipe; local 339 Pipe pipe; local 366 Pipe pipe; local 374 Pipe pipe; local 382 Pipe pipe; local 398 Pipe pipe; local 416 Pipe pipe; local [all...] |
H A D | TestHelpers.h | 31 ::pipe(fds);
|
/frameworks/base/core/java/android/net/http/ |
H A D | Connection.java | 164 LinkedList<Request> pipe = new LinkedList<Request>(); 171 states[state] + " pipe " + pipe.size()); 185 if (pipe.size() == maxPipe) { 251 pipe.addLast(req); 254 state = clearPipe(pipe) ? DONE : SEND; 259 pipe.addLast(req); 267 int pipeSize = pipe.size(); 278 req = (Request)pipe.removeFirst(); 300 pipe 328 clearPipe(LinkedList<Request> pipe) argument [all...] |
/frameworks/base/libs/gui/ |
H A D | SensorChannel.cpp | 36 if (pipe(fds) == 0) {
|
/frameworks/base/core/jni/ |
H A D | android_os_ParcelFileDescriptor.cpp | 58 if (pipe(fds) < 0) {
|
H A D | android_app_NativeActivity.cpp | 110 if (pipe(msgpipe)) { 111 LOGW("could not create pipe: %s", strerror(errno)); 117 SLOGW_IF(result != 0, "Could not make AInputQueue read pipe " 120 SLOGW_IF(result != 0, "Could not make AInputQueue write pipe " 676 if (pipe(msgpipe)) { 677 LOGW("could not create pipe: %s", strerror(errno)); 684 SLOGW_IF(result != 0, "Could not make main work read pipe " 687 SLOGW_IF(result != 0, "Could not make main work write pipe "
|
/frameworks/base/tools/localize/ |
H A D | Perforce.cpp | 28 err = pipe(outPipe); 29 err |= pipe(errPipe); 31 printf("couldn't create pipe. exiting.\n");
|
/frameworks/base/libs/ui/ |
H A D | InputTransport.cpp | 63 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make receive pipe " 67 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make send pipe " 109 if (pipe(forward)) { 111 LOGE("channel '%s' ~ Could not create forward pipe. errno=%d", 115 if (pipe(reverse)) { 117 LOGE("channel '%s' ~ Could not create reverse pipe. errno=%d",
|
/frameworks/base/cmds/dumpstate/ |
H A D | utils.c | 291 if (pipe(fds)) { 292 fprintf(stderr, "pipe: %s\n", strerror(errno));
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteConnection.java | 225 FileDescriptor[] pipeFds = Libcore.os.pipe(); 234 logAndPrintError(newStderr, "Exception creating pipe", ex); 236 logAndPrintError(newStderr, "Exception creating pipe", ex); 787 * @param pipeFd null-ok; pipe for communication back to Zygote. 885 * @param pipeFd null-ok; pipe for communication with child.
|
/frameworks/base/libs/utils/ |
H A D | Looper.cpp | 58 int result = pipe(wakeFds); 59 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno); 65 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d", 69 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d", 73 // Allocate the epoll instance and register the wake pipe. 82 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d", 85 // Add the wake pipe to the head of the request list with a null callback. 292 LOGW("Ignoring unexpected epoll events 0x%x on wake read pipe.", epollEvents); 320 LOGW("Ignoring unexpected poll events 0x%x on wake read pipe.", pollEvents);
|
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 177 result = pipe(wakeFds); 178 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno); 184 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d", 188 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d", 193 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d", 632 LOGW("Received unexpected epoll event 0x%08x for wake read pipe.",
|
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 2252 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, argument 2256 mPipe = ParcelFileDescriptor.dup(pipe.getFileDescriptor()); 2971 Slog.w(TAG, "Close of restore data pipe threw", e); 3168 // If the policy is satisfied, go ahead and set up to pipe the 3225 // restore data as well as a pipe for sending data to 3227 // pipe. 3266 FileOutputStream pipe = new FileOutputStream( 3276 // send it to the output pipe as long as things 3280 pipe.write(buffer, 0, nRead); 3282 Slog.e(TAG, "Failed to write to restore pipe", [all...] |