Home
last modified time | relevance | path

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

/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxStorageTest.java104 ParcelFileDescriptor pFd = in testSdkCanReadAppFileDescriptor() local
106 sdk.checkReadFileDescriptor(pFd, FD_VALUE); in testSdkCanReadAppFileDescriptor()
123 ParcelFileDescriptor pFd = sdk.createFileDescriptor(FD_VALUE); in testAppCanReadSdkFileDescriptor() local
124 FileInputStream fis = new FileInputStream(pFd.getFileDescriptor()); in testAppCanReadSdkFileDescriptor()
127 pFd.close(); in testAppCanReadSdkFileDescriptor()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/
DSdkApi.java81 ParcelFileDescriptor pFd = in getFileDescriptor() local
83 return pFd; in getFileDescriptor()
90 public String parseFileDescriptor(ParcelFileDescriptor pFd) { in parseFileDescriptor() argument
94 FileInputStream fis = new FileInputStream(pFd.getFileDescriptor()); in parseFileDescriptor()
98 pFd.close(); in parseFileDescriptor()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredT3tIdentifiersCache.java245 ParcelFileDescriptor pFd; in dump() local
247 pFd = ParcelFileDescriptor.dup(fd); in dump()
252 entry.getValue().dump(pFd, pw, args); in dump()
257 pFd.close(); in dump()
DRegisteredNfcFServicesCache.java788 ParcelFileDescriptor pFd; in dump() local
790 pFd = ParcelFileDescriptor.dup(fd); in dump()
798 service.dump(pFd, pw, args); in dump()
804 pFd.close(); in dump()
DRegisteredServicesCache.java1371 ParcelFileDescriptor pFd; in dump() local
1373 pFd = ParcelFileDescriptor.dup(fd); in dump()
1381 service.dump(pFd, pw, args); in dump()
1387 pFd.close(); in dump()
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java1307 ParcelFileDescriptor pFd = null; in openUdpEncapsulationSocket() local
1316 pFd = ParcelFileDescriptor.dup(sockFd); in openUdpEncapsulationSocket()
1321 mUidFdTagger.tag(pFd.getFileDescriptor(), callingUid); in openUdpEncapsulationSocket()
1324 pFd.getFileDescriptor(), in openUdpEncapsulationSocket()
1329 mNetd.ipSecSetEncapSocketOwner(pFd, callingUid); in openUdpEncapsulationSocket()
1332 Os.bind(pFd.getFileDescriptor(), localAddr, port); in openUdpEncapsulationSocket()
1334 port = bindToRandomPort(pFd.getFileDescriptor(), family, localAddr); in openUdpEncapsulationSocket()
1340 new EncapSocketRecord(resourceId, pFd.getFileDescriptor(), port, in openUdpEncapsulationSocket()
1344 pFd.getFileDescriptor()); in openUdpEncapsulationSocket()
1347 if (pFd != null) { in openUdpEncapsulationSocket()
[all …]
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DMainActivity.java623 ParcelFileDescriptor pFd = sdkApi.getFileDescriptor(inputValueString); in onGetFileDescriptorPressed() local
624 FileInputStream fis = new FileInputStream(pFd.getFileDescriptor()); in onGetFileDescriptorPressed()
629 pFd.close(); in onGetFileDescriptorPressed()
650 ParcelFileDescriptor pFd = in onSendFileDescriptorPressed() local
654 String parsedValue = sdkApi.parseFileDescriptor(pFd); in onSendFileDescriptorPressed()
655 pFd.close(); in onSendFileDescriptorPressed()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/sdkinterfaces/src/android/app/sdksandbox/interfaces/
DISdkApi.aidl22 String parseFileDescriptor(in ParcelFileDescriptor pFd); in parseFileDescriptor() argument
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java303 public void checkReadFileDescriptor(ParcelFileDescriptor pFd, String expectedValue) { in checkReadFileDescriptor() argument
306 FileInputStream fis = new FileInputStream(pFd.getFileDescriptor()); in checkReadFileDescriptor()
309 pFd.close(); in checkReadFileDescriptor()