OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mFileDescriptor
(Results
1 - 12
of
12
) sorted by null
/external/conscrypt/src/compat/native/
NetFd.h
26
: mEnv(env),
mFileDescriptor
(fileDescriptor), mFd(-1)
31
mFd = jniGetFDFromFileDescriptor(mEnv,
mFileDescriptor
);
45
jobject
mFileDescriptor
;
/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
36
private ParcelFileDescriptor
mFileDescriptor
;
56
mFileDescriptor
= pfd;
63
if (
mFileDescriptor
!= null) {
64
mFileDescriptor
.close();
65
mFileDescriptor
= null;
/frameworks/base/core/java/android/os/
DropBoxManager.java
91
private final ParcelFileDescriptor
mFileDescriptor
;
101
mFileDescriptor
= null;
113
mFileDescriptor
= null;
130
mFileDescriptor
= null;
147
mFileDescriptor
= data;
162
mFileDescriptor
= ParcelFileDescriptor.open(data, ParcelFileDescriptor.MODE_READ_ONLY);
168
try { if (
mFileDescriptor
!= null)
mFileDescriptor
.close(); } catch (IOException e) { }
211
} else if (
mFileDescriptor
!= null) {
212
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
...]
/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();
/frameworks/base/services/core/java/com/android/server/connectivity/
NetworkDiagnostics.java
282
protected FileDescriptor
mFileDescriptor
;
309
mFileDescriptor
= Os.socket(mAddressFamily, sockType, protocol);
311
Os.setsockoptTimeval(
mFileDescriptor
,
313
Os.setsockoptTimeval(
mFileDescriptor
,
316
mNetwork.bindSocket(
mFileDescriptor
);
317
Os.connect(
mFileDescriptor
, mTarget, dstPort);
318
mSocketAddress = Os.getsockname(
mFileDescriptor
);
332
IoUtils.closeQuietly(
mFileDescriptor
);
391
Os.write(
mFileDescriptor
, icmpPacket, 0, icmpPacket.length);
399
Os.read(
mFileDescriptor
, reply)
[
all
...]
/developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicFragment.java
49
private ParcelFileDescriptor
mFileDescriptor
;
139
mFileDescriptor
= context.getAssets().openFd("sample.pdf").getParcelFileDescriptor();
141
mPdfRenderer = new PdfRenderer(
mFileDescriptor
);
154
mFileDescriptor
.close();
/developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicFragment.java
49
private ParcelFileDescriptor
mFileDescriptor
;
139
mFileDescriptor
= context.getAssets().openFd("sample.pdf").getParcelFileDescriptor();
141
mPdfRenderer = new PdfRenderer(
mFileDescriptor
);
154
mFileDescriptor
.close();
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
PdfRendererBasicFragment.java
49
private ParcelFileDescriptor
mFileDescriptor
;
139
mFileDescriptor
= context.getAssets().openFd("sample.pdf").getParcelFileDescriptor();
141
mPdfRenderer = new PdfRenderer(
mFileDescriptor
);
154
mFileDescriptor
.close();
/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;
Completed in 404 milliseconds