Searched refs:inputPort (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 145 OutputPortClient(IBinder token, MidiInputPort inputPort) { in OutputPortClient() argument 147 mInputPort = inputPort; in OutputPortClient() 239 MidiInputPort inputPort = new MidiInputPort(pair[0], portNumber); 248 dispatcher.getSender().connect(inputPort); 254 mInputPorts.add(inputPort); 255 OutputPortClient client = new OutputPortClient(token, inputPort); 260 mInputPortClients.put(inputPort, client); 271 MidiInputPort inputPort = null; 275 inputPort = client.getInputPort(); 279 if (inputPort != null) { [all …]
|
D | MidiDevice.java | 79 MidiConnection(IBinder outputPortToken, MidiInputPort inputPort) { in MidiConnection() argument 80 mInputPortDeviceServer = inputPort.getDeviceServer(); in MidiConnection() 81 mInputPortToken = inputPort.getToken(); in MidiConnection() 202 public MidiConnection connectPorts(MidiInputPort inputPort, int outputPortNumber) { in connectPorts() argument 210 FileDescriptor fd = inputPort.claimFileDescriptor(); in connectPorts() 226 return new MidiConnection(token, inputPort); in connectPorts()
|
/frameworks/base/media/native/midi/ |
D | midi.h | 133 ssize_t AMIDI_getMaxMessageSizeInBytes(AMIDI_InputPort *inputPort); 144 ssize_t AMIDI_send(AMIDI_InputPort *inputPort, uint8_t *buffer, ssize_t numBytes); 156 ssize_t AMIDI_sendWithTimestamp(AMIDI_InputPort *inputPort, uint8_t *buffer, 166 status_t AMIDI_flush(AMIDI_InputPort *inputPort); 176 status_t AMIDI_closeInputPort(AMIDI_InputPort *inputPort);
|
D | midi.cpp | 213 status_t AMIDI_closeInputPort(AMIDI_InputPort *inputPort) { in AMIDI_closeInputPort() argument 214 return AMIDI_closePort((AMIDI_Port*)inputPort); in AMIDI_closeInputPort() 236 ssize_t AMIDI_send(AMIDI_InputPort *inputPort, uint8_t *buffer, ssize_t numBytes) { in AMIDI_send() argument 237 return AMIDI_sendWithTimestamp(inputPort, buffer, numBytes, 0); in AMIDI_send() 240 ssize_t AMIDI_sendWithTimestamp(AMIDI_InputPort *inputPort, uint8_t *data, in AMIDI_sendWithTimestamp() argument 251 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, numTransferBytes); in AMIDI_sendWithTimestamp() 261 status_t AMIDI_flush(AMIDI_InputPort *inputPort) { in AMIDI_flush() argument 264 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes); in AMIDI_flush()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterGraph.java | 225 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()
|
D | Filter.java | 175 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/ |
D | Filter.java | 568 InputPort inputPort = targetFilter.newInputPort(inputName); in connect() local 570 outputPort.setTarget(inputPort); in connect() 573 targetFilter.onInputPortAttached(inputPort); in connect()
|
D | Signature.java | 178 InputPort inputPort = filter.getConnectedInputPort(portName); in checkInputPortsConform() local 179 if (inputPort == null && portInfo.isRequired()) { in checkInputPortsConform()
|
D | FilterGraph.java | 538 for (InputPort inputPort : filter.getConnectedInputPorts()) { in flushFrames() 539 inputPort.clear(); in flushFrames()
|