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

  /frameworks/av/services/oboeservice/
SharedRingBuffer.cpp 47 mFileDescriptor.reset(ashmem_create_region("AAudioSharedRingBuffer", mSharedMemorySizeInBytes));
48 if (mFileDescriptor.get() == -1) {
52 ALOGV("allocate() mFileDescriptor = %d\n", mFileDescriptor.get());
54 int err = ashmem_set_prot_region(mFileDescriptor.get(), PROT_READ|PROT_WRITE); // TODO error handling?
57 mFileDescriptor.reset();
65 mFileDescriptor.get(), 0);
68 mFileDescriptor.reset();
86 int fdIndex = endpointParcelable.addFileDescriptor(mFileDescriptor, mSharedMemorySizeInBytes);
SharedRingBuffer.h 55 android::base::unique_fd mFileDescriptor;
  /external/conscrypt/common/src/jni/main/include/conscrypt/
NetFd.h 28 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) {}
31 mFd = conscrypt::jniutil::jniGetFDFromFileDescriptor(mEnv, mFileDescriptor);
45 jobject mFileDescriptor;
  /developers/samples/android/ui/graphics/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicViewModel.java 58 private ParcelFileDescriptor mFileDescriptor;
153 mFileDescriptor = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
154 if (mFileDescriptor != null) {
155 mPdfRenderer = new PdfRenderer(mFileDescriptor);
167 if (mFileDescriptor != null) {
168 mFileDescriptor.close();
  /developers/build/prebuilts/gradle/PdfRendererBasic/Application/src/main/java/com/example/android/pdfrendererbasic/
PdfRendererBasicFragment.java 58 private ParcelFileDescriptor mFileDescriptor;
166 mFileDescriptor = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
168 if (mFileDescriptor != null) {
169 mPdfRenderer = new PdfRenderer(mFileDescriptor);
183 mFileDescriptor.close();
  /development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
PdfRendererBasicFragment.java 57 private ParcelFileDescriptor mFileDescriptor;
161 mFileDescriptor = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
163 mPdfRenderer = new PdfRenderer(mFileDescriptor);
176 mFileDescriptor.close();

Completed in 309 milliseconds