Home
last modified time | relevance | path

Searched defs:pfd (Results 1 – 25 of 77) 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.java74 ParcelFileDescriptor pfd = mService.openSerialPort(name); in openSerialPort() local
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapFactoryTest.java37 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromData(out.toByteArray(), null); in testBitmapParcelFileDescriptor() local
/frameworks/native/libs/binder/
DFdTrigger.cpp48 pollfd pfd[]{{.fd = fd.get(), .events = static_cast<int16_t>(event), .revents = 0}, in triggerablePoll() local
DUtilsHost.cpp114 auto handlePoll = [](android::base::unique_fd* fd, const pollfd* pfd, std::string* s) { in execute()
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java149 ParcelFileDescriptor pfd; in handleProtoTombstone() local
333 TombstoneFile(ParcelFileDescriptor pfd) { in TombstoneFile()
400 static Optional<TombstoneFile> parse(ParcelFileDescriptor pfd) { in parse()
542 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(new File(path), in getPfd() local
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DShellHelper.java49 ParcelFileDescriptor pfd = automan.executeShellCommand(command); in runShellCommandRaw() local
DWindowPerfTestBase.java119 final ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(command); in executeShellCommand() local
/frameworks/base/core/java/android/util/
DMemoryIntArray.java83 … ParcelFileDescriptor pfd = parcel.readParcelable(null, android.os.ParcelFileDescriptor.class); in MemoryIntArray() local
180 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.fromFd(mFd)) { in writeToParcel()
/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/core/java/android/os/
DParcelFileDescriptor.java287 public static @NonNull ParcelFileDescriptor wrap(@NonNull ParcelFileDescriptor pfd, in wrap()
305 final ParcelFileDescriptor pfd = new ParcelFileDescriptor(fd, comm[0]); in fromFd() local
988 public AutoCloseInputStream(ParcelFileDescriptor pfd) { in AutoCloseInputStream()
1039 public AutoCloseOutputStream(ParcelFileDescriptor pfd) { in AutoCloseOutputStream()
DShellCommand.java65 ParcelFileDescriptor pfd = getShellCallback().openFile(path, in openFileForSystem() local
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java332 ParcelFileDescriptor pfd = getStdInPFD(shellCommand); in getStdIn() local
337 ParcelFileDescriptor pfd = getLocalFilePFD(shellCommand, filePath); in getLocalFile() 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
DDownloadManagerBaseTest.java342 protected void verifyFileSize(ParcelFileDescriptor pfd, long size) { in verifyFileSize()
390 protected void verifyFileContents(ParcelFileDescriptor pfd, File file) throws IOException { in verifyFileContents()
490 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(requestId); in verifyAndCleanupSingleFileDownload() local
/frameworks/base/core/java/android/gesture/
DGestureLibraries.java47 public static GestureLibrary fromFileDescriptor(@NonNull ParcelFileDescriptor pfd) { in fromFileDescriptor()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DConnectUtil.kt68 val pfd = getInstrumentation().uiAutomation.executeShellCommand("svc wifi enable") in ensureWifiConnected() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DSysuiTestCase.java184 ParcelFileDescriptor pfd = mRealInstrumentation.getUiAutomation() in runShellCommand() local
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java141 try (ParcelFileDescriptor pfd = contentResolver.openFile(result.uri, "r", null)) { in testImageExport()
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/
DFusedLocationServiceTest.java208 ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation().getUiAutomation() in setMockLocation() local

1234