IsValidWebMIDIData 128 content/browser/renderer_host/media/midi_host.cc if (!IsValidWebMIDIData(data)) IsValidWebMIDIData 54 content/browser/renderer_host/media/midi_host.h FRIEND_TEST_ALL_PREFIXES(MidiHostTest, IsValidWebMIDIData); IsValidWebMIDIData 65 content/browser/renderer_host/media/midi_host.h static bool IsValidWebMIDIData(const std::vector<uint8>& data); IsValidWebMIDIData 44 content/browser/renderer_host/media/midi_host_unittest.cc TEST(MidiHostTest, IsValidWebMIDIData) { IsValidWebMIDIData 46 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGMOn))); IsValidWebMIDIData 47 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kGSOn))); IsValidWebMIDIData 48 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kNoteOn))); IsValidWebMIDIData 49 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kChannelPressure))); IsValidWebMIDIData 50 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(AsVector(kTimingClock))); IsValidWebMIDIData 51 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData1))); IsValidWebMIDIData 52 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData2))); IsValidWebMIDIData 53 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kBrokenData3))); IsValidWebMIDIData 54 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(AsVector(kDataByte0))); IsValidWebMIDIData 57 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData( IsValidWebMIDIData 59 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData( IsValidWebMIDIData 70 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(buffer)); IsValidWebMIDIData 72 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_FALSE(MidiHost::IsValidWebMIDIData(buffer)); IsValidWebMIDIData 80 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData( IsValidWebMIDIData 86 content/browser/renderer_host/media/midi_host_unittest.cc EXPECT_TRUE(MidiHost::IsValidWebMIDIData(