Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortSelector.java40 protected HashSet<MidiPortWrapper> mBusyPorts = new HashSet<MidiPortWrapper>(); field in MidiPortSelector
147 if (!mBusyPorts.contains(wrapper)) { in onDeviceStatusChanged()
149 mBusyPorts.add(wrapper); in onDeviceStatusChanged()
154 if (mBusyPorts.remove(wrapper)) { in onDeviceStatusChanged()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortSelector.java40 protected HashSet<MidiPortWrapper> mBusyPorts = new HashSet<MidiPortWrapper>(); field in MidiPortSelector
147 if (!mBusyPorts.contains(wrapper)) { in onDeviceStatusChanged()
149 mBusyPorts.add(wrapper); in onDeviceStatusChanged()
154 if (mBusyPorts.remove(wrapper)) { in onDeviceStatusChanged()