/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 | 66 MidiConnection(IBinder outputPortToken, MidiInputPort inputPort) { in MidiConnection() argument 67 mInputPortDeviceServer = inputPort.getDeviceServer(); in MidiConnection() 68 mInputPortToken = inputPort.getToken(); in MidiConnection() 190 public MidiConnection connectPorts(MidiInputPort inputPort, int outputPortNumber) { in connectPorts() argument 198 FileDescriptor fd = inputPort.claimFileDescriptor(); in connectPorts() 214 return new MidiConnection(token, inputPort); in connectPorts()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterGraph.java | 228 InputPort inputPort = outputPort.getBasePort(); in updateOutputs() local 229 if (inputPort != null) { in updateOutputs() 230 FrameFormat inputFormat = inputPort.getSourceFormat(); in updateOutputs() 243 for (InputPort inputPort : filter.getInputPorts()) { in runTypeCheckOn() 244 if (mLogVerbose) Log.v(TAG, "Type checking port " + inputPort); in runTypeCheckOn() 245 FrameFormat sourceFormat = inputPort.getSourceFormat(); in runTypeCheckOn() 246 FrameFormat targetFormat = inputPort.getPortFormat(); in runTypeCheckOn() 253 inputPort.setChecksType(false); in runTypeCheckOn() 257 inputPort.setChecksType(true); in runTypeCheckOn() 261 inputPort.setChecksType(false); in runTypeCheckOn()
|
D | Filter.java | 179 InputPort inputPort = getInputPort(portName); in getInputFormat() local 180 return inputPort.getSourceFormat(); in getInputFormat() 200 for (InputPort inputPort : mInputPorts.values()) { in getNumberOfConnectedInputs() 201 if (inputPort.isConnected()) { in getNumberOfConnectedInputs() 289 for (InputPort inputPort : mInputPorts.values()) { in initProgramInputs() 290 if (inputPort.getTarget() == program) { in initProgramInputs() 291 inputPort.transfer(context); in initProgramInputs() 521 for (InputPort inputPort : mInputPorts.values()) { in clearInputs() 522 inputPort.clear(); in clearInputs() 631 for (InputPort inputPort : mInputPorts.values()) { in transferInputFrames() [all …]
|
/frameworks/base/media/native/midi/include/amidi/ |
D | AMidi.h | 213 ssize_t AMIDI_API AMidiInputPort_send(const AMidiInputPort *inputPort, const uint8_t *buffer, 227 ssize_t AMIDI_API AMidiInputPort_sendWithTimestamp(const AMidiInputPort *inputPort, 241 media_status_t AMIDI_API AMidiInputPort_sendFlush(const AMidiInputPort *inputPort) __INTRODUCED_IN(… 248 void AMIDI_API AMidiInputPort_close(const AMidiInputPort *inputPort) __INTRODUCED_IN(29);
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 376 void AMIDI_API AMidiInputPort_close(const AMidiInputPort *inputPort) { in AMidiInputPort_close() argument 377 AMIDI_closePort((AMIDI_Port*)inputPort); in AMidiInputPort_close() 389 ssize_t AMIDI_API AMidiInputPort_send(const AMidiInputPort *inputPort, const uint8_t *buffer, in AMidiInputPort_send() argument 391 return AMidiInputPort_sendWithTimestamp(inputPort, buffer, numBytes, 0); in AMidiInputPort_send() 394 ssize_t AMIDI_API AMidiInputPort_sendWithTimestamp(const AMidiInputPort *inputPort, in AMidiInputPort_sendWithTimestamp() argument 396 if (inputPort == nullptr || data == nullptr) { in AMidiInputPort_sendWithTimestamp() 410 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, numTransferBytes); in AMidiInputPort_sendWithTimestamp() 426 media_status_t AMIDI_API AMidiInputPort_sendFlush(const AMidiInputPort *inputPort) { in AMidiInputPort_sendFlush() argument 427 if (inputPort == nullptr) { in AMidiInputPort_sendFlush() 433 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes); in AMidiInputPort_sendFlush()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | ConfigurationProcessor.java | 103 String inputPort = parser.getAttributeValue(null, "input"); in processInputPortAssociations() local 105 if (TextUtils.isEmpty(inputPort) || TextUtils.isEmpty(displayPort)) { in processInputPortAssociations() 116 associations.add(new Pair<>(inputPort, displayPort)); in processInputPortAssociations()
|
/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()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 500 std::string inputPort = getStringElementFromJavaArray(env, portAssociations, 2 * i); in getReaderConfiguration() local 511 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1105 const std::string& inputPort = mIdentifier.location; in configure() local 1106 if (!inputPort.empty()) { in configure() 1108 const auto& displayPort = ports.find(inputPort); in configure()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 201 void addInputPortAssociation(const std::string& inputPort, uint8_t displayPort) { in addInputPortAssociation() argument 202 mConfig.portAssociations.insert({inputPort, displayPort}); in addInputPortAssociation()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |