Searched refs:cableNumber (Results 1 – 3 of 3) sorted by relevance
160 public byte[] pullDecodedMidiPackets(int cableNumber) { in pullDecodedMidiPackets() argument161 return mUsbMidiDecoder.pullBytes(cableNumber); in pullDecodedMidiPackets()185 int cableNumber = (usbMidiBytes[i] >> 4) & 0x0f; in decode() local192 if (cableNumber >= mNumJacks) { in decode()193 Log.w(TAG, "cableNumber " + cableNumber + " invalid"); in decode()194 cableNumber = 0; in decode()196 mDecodedByteArrays[cableNumber].write(usbMidiBytes, i + 1, numPayloadBytes); in decode()200 public byte[] pullBytes(int cableNumber) { in pullBytes() argument202 if (cableNumber >= mNumJacks) { in pullBytes()203 Log.w(TAG, "cableNumber " + cableNumber + " invalid"); in pullBytes()[all …]
379 for (int cableNumber = 0; cableNumber < cableCount; cableNumber++) { in openLocked()380 MidiEventScheduler scheduler = multiScheduler.getEventScheduler(cableNumber); in openLocked()461 for (int cableNumber = 0; cableNumber < cableCountFinal; in openLocked()462 cableNumber++) { in openLocked()471 cableNumber); in openLocked()475 logByteArray("Input " + cableNumber in openLocked()485 || (outputReceivers[portStartFinal + cableNumber] in openLocked()491 outputReceivers[portStartFinal + cableNumber].send( in openLocked()567 for (int cableNumber = 0; cableNumber < cableCountFinal; in openLocked()568 cableNumber++) { in openLocked()[all …]
360 for (int cableNumber = 0; cableNumber < 4; cableNumber++) { in testEncoderLargePacketDoesNotCrash()362 usbMidiPacketConverter.encodeMidiPackets(input, input.length, cableNumber); in testEncoderLargePacketDoesNotCrash()376 for (int cableNumber = 0; cableNumber < numCables; cableNumber++) { in testEncodeDecode()377 rawMidi[cableNumber] = generateRandomByteStream(rnd, bufferSize); in testEncodeDecode()381 rawMidi[cableNumber][bufferSize - 1] = (byte) 0xF7; in testEncodeDecode()388 for (int cableNumber = 0; cableNumber < numCables; cableNumber++) { in testEncodeDecode()389 byte[] bytesToEncode = Arrays.copyOfRange(rawMidi[cableNumber], startByte, in testEncodeDecode()392 cableNumber); in testEncodeDecode()401 for (int cableNumber = 0; cableNumber < numCables; cableNumber++) { in testEncodeDecode()402 byte[] decodedRawMidi = usbMidiPacketConverter.pullDecodedMidiPackets(cableNumber); in testEncodeDecode()[all …]