HomeSort by relevance Sort by last modified time
    Searched refs:mFileDescriptor (Results 1 - 9 of 9) sorted by null

  /libcore/luni/src/main/native/
NetFd.h 26 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1)
31 mFd = jniGetFDFromFileDescriptor(mEnv, mFileDescriptor);
45 jobject mFileDescriptor;
  /frameworks/base/core/java/android/hardware/
SerialPort.java 41 private ParcelFileDescriptor mFileDescriptor;
61 mFileDescriptor = pfd;
68 if (mFileDescriptor != null) {
69 mFileDescriptor.close();
70 mFileDescriptor = null;
  /frameworks/base/core/java/android/os/
DropBoxManager.java 94 private final ParcelFileDescriptor mFileDescriptor;
104 mFileDescriptor = null;
116 mFileDescriptor = null;
133 mFileDescriptor = null;
150 mFileDescriptor = data;
165 mFileDescriptor = ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
171 try { if (mFileDescriptor != null) mFileDescriptor.close(); } catch (IOException e) { }
214 } else if (mFileDescriptor != null) {
215 is = new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
UriImage.java 53 private ParcelFileDescriptor mFileDescriptor;
84 if (mFileDescriptor != null) {
85 Utils.closeSilently(mFileDescriptor);
86 mFileDescriptor = null;
105 mFileDescriptor = mApplication.getContentResolver()
127 mFileDescriptor = ParcelFileDescriptor.open(
176 jc, mFileDescriptor.getFileDescriptor(), false);
197 mFileDescriptor.getFileDescriptor(), options, targetSize, mType);
276 if (mFileDescriptor != null) {
277 Utils.closeSilently(mFileDescriptor);
    [all...]
  /external/chromium_org/printing/android/java/src/org/chromium/printing/
PrintingControllerImpl.java 53 private int mFileDescriptor;
145 return mFileDescriptor;
185 closeFileDescriptor(mFileDescriptor);
186 mFileDescriptor = -1;
270 mFileDescriptor = destination.getFd();
272 mPrintingContext.updatePrintingContextMap(mFileDescriptor, false);
317 mPrintingContext.updatePrintingContextMap(mFileDescriptor, true);
322 closeFileDescriptor(mFileDescriptor);
323 mFileDescriptor = -1;
  /frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
AccessoryChat.java 53 private ParcelFileDescriptor mFileDescriptor;
123 if (mFileDescriptor != null) {
125 mFileDescriptor.close();
128 mFileDescriptor = null;
141 mFileDescriptor = mUsbManager.openAccessory(accessory);
142 if (mFileDescriptor != null) {
143 FileDescriptor fd = mFileDescriptor.getFileDescriptor();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
UsbAccessoryTestActivity.java 73 private ParcelFileDescriptor mFileDescriptor;
154 mFileDescriptor = mUsbManager.openAccessory(accessory);
155 if (mFileDescriptor != null) {
156 FileDescriptor fileDescriptor = mFileDescriptor.getFileDescriptor();
316 if (mFileDescriptor != null) {
318 mFileDescriptor.close();
322 mFileDescriptor = null;
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DemoKitActivity.java 50 ParcelFileDescriptor mFileDescriptor;
219 mFileDescriptor = mUsbManager.openAccessory(accessory);
220 if (mFileDescriptor != null) {
222 FileDescriptor fd = mFileDescriptor.getFileDescriptor();
238 if (mFileDescriptor != null) {
239 mFileDescriptor.close();
243 mFileDescriptor = null;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
AutoLockTest.java 93 private ParcelFileDescriptor mFileDescriptor;
164 mFileDescriptor = mUsbManager.openAccessory(accessory);
166 if (mFileDescriptor != null) {
168 FileDescriptor fd = mFileDescriptor.getFileDescriptor();
188 if (mFileDescriptor != null) {
189 mFileDescriptor.close();
193 mFileDescriptor = null;
    [all...]

Completed in 143 milliseconds