Home
last modified time | relevance | path

Searched refs:portCount (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortSelector.java99 int portCount = (mType == MidiDeviceInfo.PortInfo.TYPE_INPUT) in getInfoPortCount() local
101 return portCount; in getInfoPortCount()
106 int portCount = getInfoPortCount(info); in onDeviceAdded() local
107 for (int i = 0; i < portCount; ++i) { in onDeviceAdded()
117 int portCount = getInfoPortCount(info); in onDeviceRemoved() local
118 for (int i = 0; i < portCount; ++i) { in onDeviceRemoved()
142 int portCount = info.getInputPortCount(); in onDeviceStatusChanged() local
143 for (int i = 0; i < portCount; ++i) { in onDeviceStatusChanged()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortSelector.java99 int portCount = (mType == MidiDeviceInfo.PortInfo.TYPE_INPUT) in getInfoPortCount() local
101 return portCount; in getInfoPortCount()
106 int portCount = getInfoPortCount(info); in onDeviceAdded() local
107 for (int i = 0; i < portCount; ++i) { in onDeviceAdded()
117 int portCount = getInfoPortCount(info); in onDeviceRemoved() local
118 for (int i = 0; i < portCount; ++i) { in onDeviceRemoved()
142 int portCount = info.getInputPortCount(); in onDeviceStatusChanged() local
143 for (int i = 0; i < portCount; ++i) { in onDeviceStatusChanged()