Home | History | Annotate | Download | only in os

Lines Matching refs:UEvent

23  * UEventObserver is an abstract class that receives UEvent's from the kernel.<p>
25 * Subclass UEventObserver, implementing onUEvent(UEvent event), then call
26 * startObserving() with a match string. The UEvent thread will then call your
27 * onUEvent() method when a UEvent occurs that contains your match string.<p>
29 * Call stopObserving() to stop receiving UEvent's.<p>
31 * There is only one UEvent thread per process, even if that process has
32 * multiple UEventObserver subclass instances. The UEvent thread starts when
34 * started the UEvent thread will not stop (although it can stop notifying
43 * Representation of a UEvent.
45 static public class UEvent {
46 // collection of key=value pairs parsed from the uevent message
49 public UEvent(String message) {
109 .onUEvent(new UEvent(bufferStr));
153 * Begin observation of UEvent's.<p>
154 * This method will cause the UEvent thread to start if this is the first
156 * Once called, the UEvent thread will call onUEvent() when an incoming
157 * UEvent matches the specified string.<p>
161 * @param match A substring of the UEvent to match. Use "" to match all
162 * UEvent's
170 * End observation of UEvent's.<p>
171 * This process's UEvent thread will never call onUEvent() on this
182 public abstract void onUEvent(UEvent event);