Searched refs:fileDescriptors (Results 1 – 4 of 4) sorted by relevance
181 FileDescriptor[] fileDescriptors = nativeOpen(mAlsaCard, mAlsaDevice, in openLocked() local183 if (fileDescriptors == null) { in openLocked()187 mFileDescriptors = fileDescriptors; in openLocked()193 FileDescriptor fd = fileDescriptors[i]; in openLocked()206 mOutputStreams[i] = new FileOutputStream(fileDescriptors[inputStreamCount + i]); in openLocked()368 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()
1265 ParcelFileDescriptor[] fileDescriptors; in createPipe() local1267 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()1273 if (fileDescriptors.length != 2) { in createPipe()1279 if (!fileDescriptors[0].getFileDescriptor().valid() in createPipe()1280 || !fileDescriptors[1].getFileDescriptor().valid()) { in createPipe()1286 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()
1205 ParcelFileDescriptor[] fileDescriptors; in createPipe() local1207 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()1213 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()