Home
last modified time | relevance | path

Searched refs:inputPort (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/midi/
DMidiDeviceServer.java135 OutputPortClient(IBinder token, MidiInputPort inputPort) { in OutputPortClient() argument
137 mInputPort = inputPort; in OutputPortClient()
217 MidiInputPort inputPort = new MidiInputPort(pair[0], portNumber);
220 dispatcher.getSender().connect(inputPort);
226 mInputPorts.add(inputPort);
227 OutputPortClient client = new OutputPortClient(token, inputPort);
259 MidiInputPort inputPort = new MidiInputPort(pfd, outputPortNumber);
262 dispatcher.getSender().connect(inputPort);
268 mInputPorts.add(inputPort);
269 OutputPortClient client = new OutputPortClient(token, inputPort);
[all …]
DMidiDevice.java61 MidiConnection(IBinder outputPortToken, MidiInputPort inputPort) { in MidiConnection() argument
62 mInputPortDeviceServer = inputPort.getDeviceServer(); in MidiConnection()
63 mInputPortToken = inputPort.getToken(); in MidiConnection()
181 public MidiConnection connectPorts(MidiInputPort inputPort, int outputPortNumber) { in connectPorts() argument
189 ParcelFileDescriptor pfd = inputPort.claimFileDescriptor(); in connectPorts()
205 return new MidiConnection(token, inputPort); in connectPorts()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java225 InputPort inputPort = outputPort.getBasePort(); in updateOutputs() local
226 if (inputPort != null) { in updateOutputs()
227 FrameFormat inputFormat = inputPort.getSourceFormat(); in updateOutputs()
240 for (InputPort inputPort : filter.getInputPorts()) { in runTypeCheckOn()
241 if (mLogVerbose) Log.v(TAG, "Type checking port " + inputPort); in runTypeCheckOn()
242 FrameFormat sourceFormat = inputPort.getSourceFormat(); in runTypeCheckOn()
243 FrameFormat targetFormat = inputPort.getPortFormat(); in runTypeCheckOn()
250 inputPort.setChecksType(false); in runTypeCheckOn()
254 inputPort.setChecksType(true); in runTypeCheckOn()
258 inputPort.setChecksType(false); in runTypeCheckOn()
DFilter.java175 InputPort inputPort = getInputPort(portName); in getInputFormat() local
176 return inputPort.getSourceFormat(); in getInputFormat()
196 for (InputPort inputPort : mInputPorts.values()) { in getNumberOfConnectedInputs()
197 if (inputPort.isConnected()) { in getNumberOfConnectedInputs()
285 for (InputPort inputPort : mInputPorts.values()) { in initProgramInputs()
286 if (inputPort.getTarget() == program) { in initProgramInputs()
287 inputPort.transfer(context); in initProgramInputs()
517 for (InputPort inputPort : mInputPorts.values()) { in clearInputs()
518 inputPort.clear(); in clearInputs()
627 for (InputPort inputPort : mInputPorts.values()) { in transferInputFrames()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFilter.java568 InputPort inputPort = targetFilter.newInputPort(inputName); in connect() local
570 outputPort.setTarget(inputPort); in connect()
573 targetFilter.onInputPortAttached(inputPort); in connect()
DSignature.java178 InputPort inputPort = filter.getConnectedInputPort(portName); in checkInputPortsConform() local
179 if (inputPort == null && portInfo.isRequired()) { in checkInputPortsConform()
DFilterGraph.java538 for (InputPort inputPort : filter.getConnectedInputPorts()) { in flushFrames()
539 inputPort.clear(); in flushFrames()