Home
last modified time | relevance | path

Searched defs:pfd (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java188 ParcelFileDescriptor pfd = null; in verifyFileDownloadSucceeded() local
239 ParcelFileDescriptor pfd = null; in runLargeDownloadOverWiFi() local
321 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); in runDownloadMultipleSwitching() local
389 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); in runDownloadMultipleWiFiEnableDisable() local
460 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); in runDownloadMultipleAirplaneModeEnableDisable() local
/frameworks/base/core/java/android/hardware/
DSerialPort.java56 public void open(ParcelFileDescriptor pfd, int speed) throws IOException { in open()
126 private native void native_open(FileDescriptor pfd, int speed) throws IOException; in native_open()
DSerialManager.java77 ParcelFileDescriptor pfd = mService.openSerialPort(name); in openSerialPort() local
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java178 ParcelFileDescriptor pfd; in handleProtoTombstone() local
362 TombstoneFile(ParcelFileDescriptor pfd) { in TombstoneFile()
429 static Optional<TombstoneFile> parse(ParcelFileDescriptor pfd) { in parse()
571 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(new File(path), in getPfd() local
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapFactoryTest.java37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null); in testBitmapParcelFileDescriptor() local
/frameworks/base/services/core/java/com/android/server/security/
DFileIntegrity.java49 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, MODE_READ_ONLY)) { in setUpFsVerity()
/frameworks/native/libs/binder/
DFdTrigger.cpp70 pollfd pfd[]{ in triggerablePoll() local
DUtilsHost.cpp126 auto handlePoll = [](unique_fd* fd, const pollfd* pfd, std::string* s) { in execute()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java534 ParcelFileDescriptor pfd = in getWallpaperWithFeature_getCropped_returnsCropFile() local
557 ParcelFileDescriptor pfd = in getWallpaperWithFeature_notGetCropped_returnsOriginalFile() local
612 private static void assertPfdAndFileContentsEqual(ParcelFileDescriptor pfd, File file) in assertPfdAndFileContentsEqual()
/frameworks/base/core/java/android/util/
DMemoryIntArray.java87 … ParcelFileDescriptor pfd = parcel.readParcelable(null, android.os.ParcelFileDescriptor.class); in MemoryIntArray() local
183 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.fromFd(mFd)) { in writeToParcel()
/frameworks/base/services/core/java/com/android/server/resources/
DResourcesManagerShellCommand.java65 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.dup(getOutFileDescriptor())) { in dumpResources()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStaging.java138 ParcelFileDescriptor pfd = afd != null ? afd.getParcelFileDescriptor() : null; in onResume() local
185 @Nullable ParcelFileDescriptor pfd, @NonNull String debugPathName) { in createSessionParams()
/frameworks/base/core/java/android/os/
DVintfObject.java128 var pfd = automation.executeShellCommand(command); in runShellCommand() local
DShellCommand.java65 ParcelFileDescriptor pfd = getShellCallback().openFile(path, in openFileForSystem() local
DParcelFileDescriptor.java298 public static @NonNull ParcelFileDescriptor wrap(@NonNull ParcelFileDescriptor pfd, in wrap()
317 final ParcelFileDescriptor pfd = new ParcelFileDescriptor(fd, comm[0]); in fromFd() local
1039 public AutoCloseInputStream(ParcelFileDescriptor pfd) { in AutoCloseInputStream()
1091 public AutoCloseOutputStream(ParcelFileDescriptor pfd) { in AutoCloseOutputStream()
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java59 public DrmOutputStream(DrmManagerClient client, ParcelFileDescriptor pfd, String mimeType) in DrmOutputStream()
/frameworks/native/cmds/lshal/
DPipeRelay.cpp58 pollfd pfd[2]; in thread() local
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DNetworkWatchlistShellCommand.java72 final ParcelFileDescriptor pfd = openFileForSystem(configXmlPath, "r"); in runSetTestConfig() local
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DShellHelper.java90 ParcelFileDescriptor pfd = automan.executeShellCommand(command); in runShellCommandRaw() local
DWindowPerfTestBase.java119 final ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(command); in executeShellCommand() local
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DNetworkStagedRollbackTest.java199 ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation().getUiAutomation() in runShellCommand() local
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java135 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); in testDownloadLargeFile() local
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java389 ParcelFileDescriptor pfd = getStdInPFD(shellCommand); in getStdIn() local
394 ParcelFileDescriptor pfd = getLocalFilePFD(shellCommand, filePath); in getLocalFile() local
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java47 public static GestureLibrary fromFileDescriptor(@NonNull ParcelFileDescriptor pfd) { in fromFileDescriptor()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java65 /* package */ boolean open(String name, ParcelFileDescriptor pfd, @NonNull Context context) { in open()
431 private native boolean native_open(String deviceName, FileDescriptor pfd); in native_open()

1234