Searched refs:mFileDescriptor (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 53 private ParcelFileDescriptor mFileDescriptor; field in UriImage 84 if (mFileDescriptor != null) { in openFileOrDownloadTempFile() 85 Utils.closeSilently(mFileDescriptor); in openFileOrDownloadTempFile() 86 mFileDescriptor = null; in openFileOrDownloadTempFile() 105 mFileDescriptor = mApplication.getContentResolver() in openOrDownloadInner() 127 mFileDescriptor = ParcelFileDescriptor.open( in openOrDownloadInner() 176 jc, mFileDescriptor.getFileDescriptor(), false); in run() 197 mFileDescriptor.getFileDescriptor(), options, targetSize, mType); in run() 276 if (mFileDescriptor != null) { in finalize() 277 Utils.closeSilently(mFileDescriptor); in finalize()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | TestNetworkInterface.java | 32 private final ParcelFileDescriptor mFileDescriptor; field in TestNetworkInterface 38 return (mFileDescriptor != null) ? Parcelable.CONTENTS_FILE_DESCRIPTOR : 0; in describeContents() 43 out.writeParcelable(mFileDescriptor, PARCELABLE_WRITE_RETURN_VALUE); in writeToParcel() 48 mFileDescriptor = pfd; in TestNetworkInterface() 53 mFileDescriptor = in.readParcelable(ParcelFileDescriptor.class.getClassLoader()); in TestNetworkInterface() 59 return mFileDescriptor; in getFileDescriptor()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 412 protected FileDescriptor mFileDescriptor; field in NetworkDiagnostics.SimpleSocketCheck 451 mFileDescriptor = Os.socket(mAddressFamily, sockType, protocol); in setupSocket() 458 Os.setsockoptTimeval(mFileDescriptor, in setupSocket() 460 Os.setsockoptTimeval(mFileDescriptor, in setupSocket() 463 mNetwork.bindSocket(mFileDescriptor); in setupSocket() 465 Os.bind(mFileDescriptor, mSource, 0); in setupSocket() 467 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket() 468 mSocketAddress = Os.getsockname(mFileDescriptor); in setupSocket() 481 IoUtils.closeQuietly(mFileDescriptor); in close() 536 Os.write(mFileDescriptor, icmpPacket, 0, icmpPacket.length); in run() [all …]
|