Home
last modified time | relevance | path

Searched refs:jacks (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/media/midi/
Dusb_midi_descriptor_parser_unittest.cc15 std::vector<UsbMidiJack> jacks; in TEST() local
16 EXPECT_TRUE(parser.Parse(NULL, NULL, 0, &jacks)); in TEST()
17 EXPECT_TRUE(jacks.empty()); in TEST()
22 std::vector<UsbMidiJack> jacks; in TEST() local
24 EXPECT_FALSE(parser.Parse(NULL, data, arraysize(data), &jacks)); in TEST()
25 EXPECT_TRUE(jacks.empty()); in TEST()
30 std::vector<UsbMidiJack> jacks; in TEST() local
38 EXPECT_FALSE(parser.Parse(NULL, data, arraysize(data), &jacks)); in TEST()
39 EXPECT_TRUE(jacks.empty()); in TEST()
45 std::vector<UsbMidiJack> jacks; in TEST() local
[all …]
Dusb_midi_descriptor_parser.cc73 std::vector<UsbMidiJack>* jacks) { in Parse() argument
74 jacks->clear(); in Parse()
75 bool result = ParseInternal(device, data, size, jacks); in Parse()
77 jacks->clear(); in Parse()
85 std::vector<UsbMidiJack>* jacks) { in ParseInternal() argument
121 if (!ParseCSEndpoint(current, length, jacks)) in ParseInternal()
190 std::vector<UsbMidiJack>* jacks) { in ParseCSEndpoint() argument
222 jacks->push_back(*it); in ParseCSEndpoint()
Dmidi_manager_usb.cc84 std::vector<UsbMidiJack> jacks; in OnEnumerateDevicesDone() local
88 &jacks); in OnEnumerateDevicesDone()
94 for (size_t j = 0; j < jacks.size(); ++j) { in OnEnumerateDevicesDone()
95 if (jacks[j].direction() == UsbMidiJack::DIRECTION_OUT) { in OnEnumerateDevicesDone()
96 output_streams_.push_back(new UsbMidiOutputStream(jacks[j])); in OnEnumerateDevicesDone()
108 DCHECK_EQ(jacks[j].direction(), UsbMidiJack::DIRECTION_IN); in OnEnumerateDevicesDone()
109 input_jacks.push_back(jacks[j]); in OnEnumerateDevicesDone()
Dusb_midi_input_stream_unittest.cc59 std::vector<UsbMidiJack> jacks; in UsbMidiInputStreamTest() local
61 jacks.push_back(UsbMidiJack(&device1_, in UsbMidiInputStreamTest()
65 jacks.push_back(UsbMidiJack(&device2_, in UsbMidiInputStreamTest()
69 jacks.push_back(UsbMidiJack(&device2_, in UsbMidiInputStreamTest()
73 jacks.push_back(UsbMidiJack(&device1_, in UsbMidiInputStreamTest()
78 stream_.reset(new UsbMidiInputStream(jacks, &delegate_)); in UsbMidiInputStreamTest()
Dusb_midi_input_stream.cc40 UsbMidiInputStream::UsbMidiInputStream(const std::vector<UsbMidiJack>& jacks, in UsbMidiInputStream() argument
43 for (size_t i = 0; i < jacks.size(); ++i) { in UsbMidiInputStream()
45 std::make_pair(JackUniqueKey(jacks[i].device, in UsbMidiInputStream()
46 jacks[i].endpoint_number(), in UsbMidiInputStream()
47 jacks[i].cable_number), in UsbMidiInputStream()
Dusb_midi_descriptor_parser.h33 std::vector<UsbMidiJack>* jacks);
39 std::vector<UsbMidiJack>* jacks);
45 std::vector<UsbMidiJack>* jacks);
Dusb_midi_input_stream.h48 UsbMidiInputStream(const std::vector<UsbMidiJack>& jacks,
/external/chromium_org/third_party/sqlite/src/test/
Dfts1porter.test11170 jacks jack