Searched refs:fileDescriptors (Results 1 – 2 of 2) sorted by relevance
174 FileDescriptor[] fileDescriptors = nativeOpen(mAlsaCard, mAlsaDevice, mSubdeviceCount); in openLocked() local175 if (fileDescriptors == null) { in openLocked()180 mFileDescriptors = fileDescriptors; in openLocked()181 int inputStreamCount = fileDescriptors.length; in openLocked()184 int outputStreamCount = fileDescriptors.length - 1; in openLocked()189 FileDescriptor fd = fileDescriptors[i]; in openLocked()200 mOutputStreams[i] = new FileOutputStream(fileDescriptors[i]); in openLocked()359 private native void nativeClose(FileDescriptor[] fileDescriptors); in nativeClose() argument
1142 ParcelFileDescriptor[] fileDescriptors; in createPipe() local1144 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()1150 if (fileDescriptors.length != 2) { in createPipe()1156 if (!fileDescriptors[0].getFileDescriptor().valid() in createPipe()1157 || !fileDescriptors[1].getFileDescriptor().valid()) { in createPipe()1163 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()