Searched refs:mFileDescriptor (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 54 private ParcelFileDescriptor mFileDescriptor; field in UriImage 85 if (mFileDescriptor != null) { in openFileOrDownloadTempFile() 86 Utils.closeSilently(mFileDescriptor); in openFileOrDownloadTempFile() 87 mFileDescriptor = null; in openFileOrDownloadTempFile() 106 mFileDescriptor = mApplication.getContentResolver() in openOrDownloadInner() 128 mFileDescriptor = ParcelFileDescriptor.open( in openOrDownloadInner() 177 jc, mFileDescriptor.getFileDescriptor(), false); in run() 198 mFileDescriptor.getFileDescriptor(), options, targetSize, mType); in run() 277 if (mFileDescriptor != null) { in finalize() 278 Utils.closeSilently(mFileDescriptor); in finalize()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | TestNetworkInterface.java | 42 private final ParcelFileDescriptor mFileDescriptor; field in TestNetworkInterface 51 return (mFileDescriptor != null) ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents() 56 out.writeParcelable(mFileDescriptor, flags); in writeToParcel() 63 mFileDescriptor = pfd; in TestNetworkInterface() 87 mFileDescriptor = in.readParcelable(ParcelFileDescriptor.class.getClassLoader()); in TestNetworkInterface() 95 return mFileDescriptor; in getFileDescriptor()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsInterfaceSocket.java | 60 @NonNull private final ParcelFileDescriptor mFileDescriptor; field in MdnsInterfaceSocket 75 mFileDescriptor = ParcelFileDescriptor.fromDatagramSocket(mMulticastSocket); in MdnsInterfaceSocket() 77 final FileDescriptor fd = mFileDescriptor.getFileDescriptor(); in MdnsInterfaceSocket() 85 mPacketReader = new MulticastPacketReader(networkInterface.getName(), mFileDescriptor, in MdnsInterfaceSocket() 156 mFileDescriptor.close(); in destroy()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 501 protected FileDescriptor mFileDescriptor; field in NetworkDiagnostics.SimpleSocketCheck 540 mFileDescriptor = Os.socket(mAddressFamily, sockType, protocol); in setupSocket() 547 Os.setsockoptTimeval(mFileDescriptor, in setupSocket() 549 Os.setsockoptTimeval(mFileDescriptor, in setupSocket() 552 mNetwork.bindSocket(mFileDescriptor); in setupSocket() 554 Os.bind(mFileDescriptor, mSource, 0); in setupSocket() 556 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket() 557 mSocketAddress = Os.getsockname(mFileDescriptor); in setupSocket() 570 IoUtils.closeQuietly(mFileDescriptor); in close() 631 Os.write(mFileDescriptor, icmpPacket, 0, icmpPacket.length); in run() [all …]
|