Searched refs:fileDescriptors (Results 1 – 4 of 4) sorted by relevance
189 FileDescriptor[] fileDescriptors = nativeOpen(mAlsaCard, mAlsaDevice, in openLocked() local191 if (fileDescriptors == null) { in openLocked()195 mFileDescriptors = fileDescriptors; in openLocked()201 FileDescriptor fd = fileDescriptors[i]; in openLocked()214 mOutputStreams[i] = new FileOutputStream(fileDescriptors[inputStreamCount + i]); in openLocked()381 private native void nativeClose(FileDescriptor[] fileDescriptors); in nativeClose() argument
410 ParcelFileDescriptor[] fileDescriptors; in createPipe() local412 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()418 if (fileDescriptors.length != 2) { in createPipe()424 if (!fileDescriptors[0].getFileDescriptor().valid() in createPipe()425 || !fileDescriptors[1].getFileDescriptor().valid()) { in createPipe()431 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()
833 ParcelFileDescriptor[] fileDescriptors; in createPipe() local835 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()841 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()
1781 ParcelFileDescriptor[] fileDescriptors; in createPipe() local1783 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()1789 if (fileDescriptors.length != 2) { in createPipe()1795 if (!fileDescriptors[0].getFileDescriptor().valid() in createPipe()1796 || !fileDescriptors[1].getFileDescriptor().valid()) { in createPipe()1802 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()