/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxStorageTest.java | 104 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/ |
D | SdkApi.java | 81 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/ |
D | RegisteredT3tIdentifiersCache.java | 245 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()
|
D | RegisteredNfcFServicesCache.java | 788 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()
|
D | RegisteredServicesCache.java | 1371 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/ |
D | IpSecService.java | 1307 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/ |
D | MainActivity.java | 623 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/ |
D | ISdkApi.aidl | 22 String parseFileDescriptor(in ParcelFileDescriptor pFd); in parseFileDescriptor() argument
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/ |
D | CtsSdkProviderApiImpl.java | 303 public void checkReadFileDescriptor(ParcelFileDescriptor pFd, String expectedValue) { in checkReadFileDescriptor() argument 306 FileInputStream fis = new FileInputStream(pFd.getFileDescriptor()); in checkReadFileDescriptor() 309 pFd.close(); in checkReadFileDescriptor()
|