/aosp14/frameworks/base/media/java/android/media/midi/ |
H A D | MidiDeviceServer.java | 153 mInputPort = inputPort; in OutputPortClient() 262 mInputPorts.add(inputPort); 279 MidiInputPort inputPort = null; 283 inputPort = client.getInputPort(); 287 if (inputPort != null) { 289 mInputPortClients.remove(inputPort); 308 dispatcher.getSender().connect(inputPort); 314 mInputPorts.add(inputPort); 320 mInputPortClients.put(inputPort, client); 424 for (MidiInputPort inputPort : mInputPorts) { in close() [all …]
|
H A 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()
|
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A 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()
|
H A D | Filter.java | 173 InputPort inputPort = getInputPort(portName); in getInputFormat() local 174 return inputPort.getSourceFormat(); in getInputFormat() 194 for (InputPort inputPort : mInputPorts.values()) { in getNumberOfConnectedInputs() 195 if (inputPort.isConnected()) { in getNumberOfConnectedInputs() 284 if (inputPort.getTarget() == program) { in initProgramInputs() 285 inputPort.transfer(context); in initProgramInputs() 515 for (InputPort inputPort : mInputPorts.values()) { in clearInputs() 516 inputPort.clear(); in clearInputs() 626 inputPort.transfer(context); in transferInputFrames() 684 inputPort.close(); in closePorts() [all …]
|
/aosp14/frameworks/base/media/native/midi/ |
H A D | amidi.cpp | 384 void AMIDI_API AMidiInputPort_close(const AMidiInputPort *inputPort) { in AMidiInputPort_close() argument 385 AMIDI_closePort((AMIDI_Port*)inputPort); in AMidiInputPort_close() 397 ssize_t AMIDI_API AMidiInputPort_send(const AMidiInputPort *inputPort, const uint8_t *buffer, in AMidiInputPort_send() argument 399 return AMidiInputPort_sendWithTimestamp(inputPort, buffer, numBytes, 0); in AMidiInputPort_send() 402 ssize_t AMIDI_API AMidiInputPort_sendWithTimestamp(const AMidiInputPort *inputPort, in AMidiInputPort_sendWithTimestamp() argument 404 if (inputPort == nullptr || data == nullptr || numBytes < 0 || timestamp < 0) { in AMidiInputPort_sendWithTimestamp() 422 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, in AMidiInputPort_sendWithTimestamp() 439 media_status_t AMIDI_API AMidiInputPort_sendFlush(const AMidiInputPort *inputPort) { in AMidiInputPort_sendFlush() argument 440 if (inputPort == nullptr) { in AMidiInputPort_sendFlush() 446 ssize_t numWritten = TEMP_FAILURE_RETRY(write(((AMIDI_Port*)inputPort)->ufd, &opCode, in AMidiInputPort_sendFlush()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerInternal.java | 185 public abstract void setTypeAssociation(@NonNull String inputPort, @NonNull String type); in setTypeAssociation() argument 192 public abstract void unsetTypeAssociation(@NonNull String inputPort); in unsetTypeAssociation() argument 204 public abstract void addKeyboardLayoutAssociation(@NonNull String inputPort, in addKeyboardLayoutAssociation() argument 212 public abstract void removeKeyboardLayoutAssociation(@NonNull String inputPort); in removeKeyboardLayoutAssociation() argument
|
H A D | ConfigurationProcessor.java | 100 String inputPort = parser.getAttributeValue(null, "input"); in processInputPortAssociations() local 102 if (TextUtils.isEmpty(inputPort) || TextUtils.isEmpty(displayPortStr)) { in processInputPortAssociations() 109 associations.put(inputPort, displayPort); in processInputPortAssociations()
|
H A D | InputManagerService.java | 1764 Objects.requireNonNull(inputPort); in addPortAssociation() 1785 Objects.requireNonNull(inputPort); in removePortAssociation() 1787 mRuntimeAssociations.remove(inputPort); in removePortAssociation() 1801 Objects.requireNonNull(inputPort); in addUniqueIdAssociation() 1817 Objects.requireNonNull(inputPort); in removeUniqueIdAssociation() 1819 mUniqueIdAssociations.remove(inputPort); in removeUniqueIdAssociation() 1825 Objects.requireNonNull(inputPort); in setTypeAssociationInternal() 1834 Objects.requireNonNull(inputPort); in unsetTypeAssociationInternal() 1843 Objects.requireNonNull(inputPort); in addKeyboardLayoutAssociation() 1855 Objects.requireNonNull(inputPort); in removeKeyboardLayoutAssociation() [all …]
|
/aosp14/frameworks/base/media/native/midi/include/amidi/ |
H A D | AMidi.h | 309 ssize_t AMIDI_API AMidiInputPort_send(const AMidiInputPort *inputPort, const uint8_t *buffer, 323 ssize_t AMIDI_API AMidiInputPort_sendWithTimestamp(const AMidiInputPort *inputPort, 337 media_status_t AMIDI_API AMidiInputPort_sendFlush(const AMidiInputPort *inputPort) __INTRODUCED_IN(… 344 void AMIDI_API AMidiInputPort_close(const AMidiInputPort *inputPort) __INTRODUCED_IN(29);
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/ |
H A D | InputManagerServiceTests.kt | 339 val inputPort = "inputPort" regex 342 localService.setTypeAssociation(inputPort, type) 344 assertThat(service.getDeviceTypeAssociations()).asList().containsExactly(inputPort, type) 350 val inputPort = "inputPort" regex 353 localService.setTypeAssociation(inputPort, type) 354 localService.unsetTypeAssociation(inputPort) 361 val inputPort = "input port" regex 364 localService.addKeyboardLayoutAssociation(inputPort, languageTag, layoutType) 367 localService.removeKeyboardLayoutAssociation(inputPort)
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 1135 public void addPortAssociation(@NonNull String inputPort, int displayPort) { in addPortAssociation() argument 1137 mIm.addPortAssociation(inputPort, displayPort); in addPortAssociation() 1152 public void removePortAssociation(@NonNull String inputPort) { in removePortAssociation() argument 1154 mIm.removePortAssociation(inputPort); in removePortAssociation() 1171 public void addUniqueIdAssociation(@NonNull String inputPort, in addUniqueIdAssociation() argument 1173 mGlobal.addUniqueIdAssociation(inputPort, displayUniqueId); in addUniqueIdAssociation() 1185 public void removeUniqueIdAssociation(@NonNull String inputPort) { in removeUniqueIdAssociation() argument 1186 mGlobal.removeUniqueIdAssociation(inputPort); in removeUniqueIdAssociation()
|
H A D | IInputManager.aidl | 177 void addPortAssociation(in String inputPort, int displayPort); in addPortAssociation() argument 180 void removePortAssociation(in String inputPort); in removePortAssociation() argument 183 void addUniqueIdAssociation(in String inputPort, in String displayUniqueId); in addUniqueIdAssociation() argument 185 void removeUniqueIdAssociation(in String inputPort); in removeUniqueIdAssociation() argument
|
H A D | InputManagerGlobal.java | 1277 public void addUniqueIdAssociation(@NonNull String inputPort, @NonNull String displayUniqueId) { in addUniqueIdAssociation() argument 1279 mIm.addUniqueIdAssociation(inputPort, displayUniqueId); in addUniqueIdAssociation() 1288 public void removeUniqueIdAssociation(@NonNull String inputPort) { in removeUniqueIdAssociation() argument 1290 mIm.removeUniqueIdAssociation(inputPort); in removeUniqueIdAssociation()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | Filter.java | 568 InputPort inputPort = targetFilter.newInputPort(inputName); in connect() local 570 outputPort.setTarget(inputPort); in connect() 573 targetFilter.onInputPortAttached(inputPort); in connect()
|
H A D | Signature.java | 178 InputPort inputPort = filter.getConnectedInputPort(portName); in checkInputPortsConform() local 179 if (inputPort == null && portInfo.isRequired()) { in checkInputPortsConform()
|
H A D | FilterGraph.java | 538 for (InputPort inputPort : filter.getConnectedInputPorts()) { in flushFrames() 539 inputPort.clear(); in flushFrames()
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 594 std::string inputPort = getStringElementFromJavaArray(env, portAssociations, 2 * i); in getReaderConfiguration() local 605 outConfig->portAssociations.insert({inputPort, displayPort}); in getReaderConfiguration()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |