Home
last modified time | relevance | path

Searched refs:fileDescriptors (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbMidiDevice.java181 FileDescriptor[] fileDescriptors = nativeOpen(mAlsaCard, mAlsaDevice, in openLocked() local
183 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
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java410 ParcelFileDescriptor[] fileDescriptors; in createPipe() local
412 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()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java1265 ParcelFileDescriptor[] fileDescriptors; in createPipe() local
1267 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()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java1205 ParcelFileDescriptor[] fileDescriptors; in createPipe() local
1207 fileDescriptors = ParcelFileDescriptor.createPipe(); in createPipe()
1213 return Pair.create(fileDescriptors[0], fileDescriptors[1]); in createPipe()