Searched refs:IsValidWebMIDIData (Results 1 – 3 of 3) sorted by relevance
44 TEST(MidiHostTest, IsValidWebMIDIData) { in TEST() argument46 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGMOn))); in TEST()47 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGSOn))); in TEST()48 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kNoteOn))); in TEST()49 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kChannelPressure))); in TEST()50 EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kTimingClock))); in TEST()51 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData1))); in TEST()52 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData2))); in TEST()53 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData3))); in TEST()54 EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kDataByte0))); in TEST()[all …]
55 FRIEND_TEST_ALL_PREFIXES(MidiHostTest, IsValidWebMIDIData);66 static bool IsValidWebMIDIData(const std::vector<uint8>& data);
105 if (!IsValidWebMIDIData(data)) in OnSendData()193 bool MidiHost::IsValidWebMIDIData(const std::vector<uint8>& data) { in IsValidWebMIDIData() function in content::MidiHost