Name Description Size Coverage CI issues
AlsaCompatibility.cpp 1229 0 %
crashtests -
MIDIAccess.cpp 8632 76 %
MIDIAccess.h MIDIAccess is the DOM object that is handed to the user upon MIDI permissions being successfully granted. It manages access to MIDI ports, and fires events for device connection and disconnection. New MIDIAccess objects are created every time RequestMIDIAccess is called. MIDIAccess objects are managed via MIDIAccessManager. 3286 100 %
MIDIAccessManager.cpp 5511 90 %
MIDIAccessManager.h MIDIAccessManager manages creation and lifetime of MIDIAccess objects for the process it lives in. It is in charge of dealing with permission requests, creating new MIDIAccess objects, and updating live MIDIAccess objects with new device listings. While a process/window can have many MIDIAccess objects, there is only one MIDIAccessManager for any one process. 2802 100 %
MIDIInput.cpp 3101 93 %
MIDIInput.h Represents a MIDI Input Port, handles generating incoming message events. 1530 100 %
MIDIInputMap.cpp 993 80 %
MIDIInputMap.h Maplike DOM object that holds a list of all MIDI input ports available for access. Almost all functions are implemented automatically by WebIDL. 1429 100 %
MIDIIPCUtils.h 914 -
MIDILog.cpp 1707 0 %
MIDILog.h 849 -
MIDIManagerChild.cpp 769 93 %
MIDIManagerChild.h Actor implementation for the Child side of MIDIManager (represented in DOM by MIDIAccess). Manages actor lifetime so that we know to shut down services when all MIDIManagers are gone. Also receives port list update on MIDIAccess object creation. 999 50 %
MIDIManagerParent.cpp 1138 100 %
MIDIManagerParent.h Actor implementation for the Parent (PBackground thread) side of MIDIManager (represented in DOM by MIDIAccess). Manages actor lifetime so that we know to shut down services when all MIDIManagers are gone. 1015 67 %
MIDIMessageEvent.cpp 3229 92 %
MIDIMessageEvent.h Event that fires whenever a MIDI message is received by the MIDIInput object. 1825 100 %
MIDIMessageQueue.cpp 1741 64 %
MIDIMessageQueue.h Since some MIDI Messages can be scheduled to be sent in the future, the MIDIMessageQueue is responsible for making sure all MIDI messages are scheduled and sent in order. 1716 100 %
MIDIOutput.cpp 3281 56 %
MIDIOutput.h Represents a MIDI Output Port, handles sending message to devices. 1323 100 %
MIDIOutputMap.cpp 1004 80 %
MIDIOutputMap.h Maplike DOM object that holds a list of all MIDI output ports available for access. Almost all functions are implemented automatically by WebIDL. 1442 88 %
MIDIPermissionRequest.cpp 7121 90 %
MIDIPermissionRequest.h Handles permission dialog management when requesting MIDI permissions. 1610 100 %
MIDIPlatformRunnables.cpp 1294 92 %
MIDIPlatformRunnables.h Base class for runnables to be fired to the platform-specific MIDI service thread in PBackground. 3617 96 %
MIDIPlatformService.cpp 8537 88 %
MIDIPlatformService.h Base class for platform specific MIDI implementations. Handles aggregation of IPC service objects, as well as sending/receiving updates about port connection events and messages. 6429 83 %
MIDIPort.cpp 7357 90 %
MIDIPort.h Implementation of WebIDL DOM MIDIPort class. Handles all port representation and communication. 3443 94 %
MIDIPortChild.cpp 1994 100 %
MIDIPortChild.h Child actor for a MIDIPort object. Each MIDIPort DOM object in JS has a its own child actor. The lifetime of the actor object is dependent on the lifetime of the JS object. 1524 100 %
MIDIPortInterface.cpp 1000 100 %
MIDIPortInterface.h Base class for MIDIPort Parent/Child Actors. Makes sure both sides of the MIDIPort IPC connection need to a synchronized set of info/state. 1526 89 %
MIDIPortParent.cpp 3243 88 %
MIDIPortParent.h Actor representing the parent (PBackground thread) side of a MIDIPort object. 1779 100 %
midir_impl 0 %
midirMIDIPlatformService.cpp Runnable used for to send messages asynchronously on the I/O thread. 6648 0 %
midirMIDIPlatformService.h Platform service implementation using the midir crate. 2296 0 %
MIDITypes.ipdlh 878 -
MIDIUtils.cpp 5323 90 %
MIDIUtils.h Set of utility functions for dealing with MIDI Messages. 940 -
moz.build 2083 -
PMIDIManager.ipdl Send an updated list of MIDI ports to the child 528 -
PMIDIPort.ipdl 567 -
TestMIDIPlatformService.cpp Runnable used for making sure ProcessMessages only happens on the IO thread. 9610 96 %
TestMIDIPlatformService.h Platform service implementation used for mochitests. Emulates what a real platform service should look like, including using an internal IO thread for message IO. 2074 100 %
<1%tests -