Searched refs:parcelFileDescriptors (Results 1 – 3 of 3) sorted by relevance
42 ParcelFileDescriptor[] parcelFileDescriptors = ParcelFileDescriptor.createPipe(); in createFakeAudioStreamPipe() local44 new ParcelFileDescriptor.AutoCloseOutputStream(parcelFileDescriptors[1])) { in createFakeAudioStreamPipe()47 return parcelFileDescriptors; in createFakeAudioStreamPipe()50 public static void closeAudioStreamPipe(ParcelFileDescriptor[] parcelFileDescriptors) in closeAudioStreamPipe() argument52 if (parcelFileDescriptors != null) { in closeAudioStreamPipe()53 parcelFileDescriptors[0].close(); in closeAudioStreamPipe()54 parcelFileDescriptors[1].close(); in closeAudioStreamPipe()
45 ParcelFileDescriptor[] parcelFileDescriptors = in executeToBytesInternal() local48 parcelFileDescriptors[1].close(); in executeToBytesInternal()50 byte[] stdOut = readBytesAndClose(parcelFileDescriptors[0]); in executeToBytesInternal()51 byte[] stdErr = readBytesAndClose(parcelFileDescriptors[2]); in executeToBytesInternal()
759 final ParcelFileDescriptor[] parcelFileDescriptors = ParcelFileDescriptor.createPipe(); in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure() local774 parcelFileDescriptors[1])) { in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure()792 alwaysOnHotwordDetector.startRecognition(parcelFileDescriptors[0], in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure()797 parcelFileDescriptors[0].close(); in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure()798 parcelFileDescriptors[1].close(); in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure()