Home
last modified time | relevance | path

Searched refs:pipes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java234 ParcelFileDescriptor[] pipes = null; in writeBackupData() local
236 pipes = ParcelFileDescriptor.createPipe(); in writeBackupData()
246 … KeyValueAdbBackupDataCopier runner = new KeyValueAdbBackupDataCopier(mCurrentPackage, pipes[1], in writeBackupData()
248 pipes[1].close(); // the runner has dup'd it in writeBackupData()
249 pipes[1] = null; in writeBackupData()
254 BackupManagerService.routeSocketDataToOutput(pipes[0], mOutput); in writeBackupData()
268 if (pipes != null) { in writeBackupData()
269 IoUtils.closeQuietly(pipes[0]); in writeBackupData()
270 IoUtils.closeQuietly(pipes[1]); in writeBackupData()
DBackupManagerService.java3687 ParcelFileDescriptor[] pipes = null; in backupObbs() local
3689 pipes = ParcelFileDescriptor.createPipe(); in backupObbs()
3693 mService.backupObbs(pkg.packageName, pipes[1], token, mBackupManagerBinder); in backupObbs()
3694 routeSocketDataToOutput(pipes[0], out); in backupObbs()
3701 if (pipes != null) { in backupObbs()
3702 if (pipes[0] != null) pipes[0].close(); in backupObbs()
3703 if (pipes[1] != null) pipes[1].close(); in backupObbs()
3942 ParcelFileDescriptor[] pipes = null; in backupOnePackage() local
3944 pipes = ParcelFileDescriptor.createPipe(); in backupOnePackage()
3959 FullBackupRunner runner = new FullBackupRunner(mPkg, mAgent, pipes[1], in backupOnePackage()
[all …]
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp275 vector<Pipe> pipes; in main() local
303 pipes.push_back(make_worker(i, iterations, workers, payload_size, cs_pair)); in main()
305 wait_all(pipes); in main()
312 signal_all(pipes); in main()
313 wait_all(pipes); in main()
322 signal_all(pipes); in main()
326 pipes[i].recv(tmp_results); in main()
333 signal_all(pipes); in main()
Dschd-dbg.cpp466 vector<Pipe> pipes; in main() local
478 pipes.push_back(make_process(i, iterations, no_process, payload_size)); in main()
481 wait_all(pipes); in main()
483 signal_all(pipes); in main()
485 wait_all(pipes); in main()
487 signal_all(pipes); in main()
491 pipes[i].signal(); in main()