Home
last modified time | relevance | path

Searched refs:inFd (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/incident_report/
Dmain.cpp354 int inFd; in main() local
358 inFd = STDIN_FILENO; in main()
360 inFd = open(inFilename, O_RDONLY | O_CLOEXEC); in main()
361 if (inFd < 0) { in main()
411 inFd = pfd[0]; in main()
430 FileInputStream infile(inFd); in main()
/frameworks/base/core/java/android/app/backup/
DBackupTransport.java330 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) { in performBackup() argument
331 return performBackup(packageInfo, inFd); in performBackup()
338 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd) { in performBackup() argument
766 public void performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags, in performBackup() argument
769 int result = BackupTransport.this.performBackup(packageInfo, inFd, flags); in performBackup()
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl157 void performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd, int flags, in performBackup() argument
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DBackupTransportClient.java169 public int performBackup(PackageInfo packageInfo, ParcelFileDescriptor inFd, int flags) in performBackup() argument
173 mTransportBinder.performBackup(packageInfo, inFd, flags, callback); in performBackup()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java321 final ParcelFileDescriptor inFd = getStdInPFD(shellCommand); in onPrepareImage() local
322 mConnector.writeData(file.getName(), 0, file.getLengthBytes(), inFd); in onPrepareImage() local
/frameworks/native/libs/binder/ndk/tests/
Dlibbinder_ndk_unit_test.cpp1037 int inFd[2] = {-1, -1}; in shellCmdToString() local
1041 EXPECT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, inFd)); in shellCmdToString()
1052 status_t error = IBinder::shellCommand(unitTestService, inFd[0], outFd[0], errFd[0], argsVec, in shellCmdToString()
1059 close(inFd[0]); in shellCmdToString()
1060 close(inFd[1]); in shellCmdToString()
/frameworks/base/tests/UpdatableSystemFontTest/src/com/android/updatablesystemfont/
DUpdatableSystemFontTest.java481 ParcelFileDescriptor inFd = rwe[1];
484 try (OutputStream os = new FileOutputStream(inFd.getFileDescriptor())) {
490 inFd.close();
/frameworks/av/services/camera/libcameraservice/
DCameraService.h1447 status_t handleWatchCommand(const Vector<String16> &args, int inFd, int outFd);
1467 status_t printWatchedTagsUntilInterrupt(const Vector<String16> &args, int inFd, int outFd);
DCameraService.cpp6220 status_t CameraService::handleWatchCommand(const Vector<String16>& args, int inFd, int outFd) { in handleWatchCommand() argument
6228 return printWatchedTagsUntilInterrupt(args, inFd, outFd); in handleWatchCommand()
6407 bool shouldInterruptWatchCommand(int inFd, int outFd, long timeoutMs) { in shouldInterruptWatchCommand() argument
6416 struct pollfd pollFd = { .fd = inFd, .events = POLLIN, .revents = 0 }; in shouldInterruptWatchCommand()
6452 ssize_t sizeRead = read(inFd, buffer, sizeof(buffer) - 1); in shouldInterruptWatchCommand()
6472 int inFd, int outFd) { in printWatchedTagsUntilInterrupt() argument
6522 if (shouldInterruptWatchCommand(inFd, outFd, refreshTimeoutMs)) { in printWatchedTagsUntilInterrupt()