/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 50 * and that events do appear in the event log. 53 * - Invoking a device configuration change and then watching for it in the event log. 144 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); 146 UsageEvents.Event event = new UsageEvents.Event(); local 147 assertTrue(events.getNextEvent(event)); 148 eventList.add(event); 151 // Find the last Activity's MOVE_TO_FOREGROUND event. 154 UsageEvents.Event event = eventList.get(end - 1) local 173 UsageEvents.Event event = eventList.get(index); local [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
EventLogTest.java | 21 import android.util.EventLog.Event; 44 List<EventLog.Event> events = getEventsAfterMarker(markerData, ANSWER_TAG); 76 List<Event> events = getEventsAfterMarker(markerData, ANSWER_TAG); 127 List<EventLog.Event> events = getEventsAfterMarker(markerData, ANSWER_TAG); 150 List<Event> events = getEventsAfterMarker(markerData, ANSWER_TAG, PI_TAG, E_TAG); 166 /** Return elements after and the event that has the marker data and matching tag. */ 167 private List<Event> getEventsAfterMarker(Object marker, int... tags) 169 List<Event> events = new ArrayList<Event>(); 174 for (Iterator<Event> itr = events.iterator(); itr.hasNext(); ) 175 Event event = itr.next(); local [all...] |
/frameworks/base/core/java/android/app/admin/ |
SecurityLog.java | 23 import android.util.EventLog.Event; 43 * There is no extra payload in the log event. 75 * There is no extra payload in the log event. 90 * There is no extra payload in the log event. 117 * A class representing a security event log entry. 120 private Event mEvent; 124 mEvent = Event.fromBytes(data); 128 * Returns the timestamp in nano seconds when this event was logged.
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
GoogleAccountType.java | 22 import android.provider.ContactsContract.CommonDataKinds.Event; 160 DataKind kind = addKind(new DataKind(Event.CONTENT_ITEM_TYPE, 161 R.string.eventLabelsGroup, Weight.EVENT, true)); 163 kind.actionBody = new SimpleInflater(Event.START_DATE); 165 kind.typeColumn = Event.TYPE; 169 kind.typeList.add(buildEventType(Event.TYPE_BIRTHDAY, true).setSpecificMax(1)); 170 kind.typeList.add(buildEventType(Event.TYPE_ANNIVERSARY, false)); 171 kind.typeList.add(buildEventType(Event.TYPE_OTHER, false)); 172 kind.typeList.add(buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true) 173 .setCustomColumn(Event.LABEL)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
PointTestCases.java | 21 import org.eclipse.swt.widgets.Event; 36 Event event = new Event(); local 37 event.x = x; 38 event.y = y; 39 event.stateMask = stateMask; 40 event.widget = mCanvas; 41 MouseEvent mouseEvent = new MouseEvent(event);
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
TabView.java | 10 import com.google.gwt.user.client.Event; 123 Event event = Event.getCurrentEvent(); local 124 boolean middleMouseButton = (event.getButton() & Event.BUTTON_MIDDLE) != 0; 127 return event.getCtrlKey() || event.getMetaKey() || middleMouseButton;
|
ToggleLink.java | 3 import com.google.gwt.event.dom.client.ClickEvent; 4 import com.google.gwt.event.dom.client.ClickHandler; 5 import com.google.gwt.event.dom.client.DomEvent; 6 import com.google.gwt.event.shared.HandlerRegistration; 7 import com.google.gwt.user.client.Event; 39 public void onClick(ClickEvent event) { 41 // re-fire the event with this as the source 42 DomEvent.fireNativeEvent(Event.getCurrentEvent(), this);
|
/external/clang/test/SemaTemplate/ |
deduction-crash.cpp | 41 template<class Event> 42 int process(Event) 47 template<class Event> 48 int ant(Event)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_trace.h | 39 // Represents a thread event (from most significant bit): 42 typedef u64 Event;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 25 import org.eclipse.swt.widgets.Event; 94 public void handleEvent(Event event) { 109 // send FocusOut event 111 Event e = new Event(); 113 e.time = event.time; 120 public void handleEvent(Event event) { 133 public void handleEvent(Event event) [all...] |
/external/webrtc/webrtc/base/ |
nullsocketserver.h | 14 #include "webrtc/base/event.h" 56 rtc::Event event_;
|
/frameworks/av/include/media/nbaio/ |
NBLog.h | 17 // Non-blocking event logger intended for safe communication between processes via shared memory 39 enum Event { 49 Entry(Event event, const void *data, size_t length) 50 : mEvent(event), mLength(length), mData(data) { } 57 Event mEvent; // event type 59 const void *mData; // event type-specific data 141 void log(Event event, const void *data, size_t length) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/ |
LaunchTvTaskEvent.java | 24 public class LaunchTvTaskEvent extends EventBus.Event {
|
PackagesChangedEvent.java | 24 * This event is sent by {@link RecentsPackageMonitor} when a package on the the system changes. 25 * {@link TaskStackView}s listen for this event, and remove the tasks associated with the removed 28 public class PackagesChangedEvent extends EventBus.Event {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/ |
TaskViewDismissedEvent.java | 25 * This event is sent when a {@link TaskView} has been dismissed and is no longer visible. 27 public class TaskViewDismissedEvent extends EventBus.Event {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/ |
DragStartEvent.java | 26 * This event is sent whenever a drag starts. 28 public class DragStartEvent extends EventBus.Event {
|
DragStartInitializeDropTargetsEvent.java | 25 * This event is sent by the drag manager when it requires drop targets to register themselves for 28 public class DragStartInitializeDropTargetsEvent extends EventBus.Event {
|
/external/mesa3d/include/CL/ |
cl.hpp | 18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 112 * cl::Event event; 120 * &event); 122 * event.wait(); 3398 Event event; local 3416 Event event; local 3437 Event event; local 3460 Event event; local 3485 Event event; local 3512 Event event; local 3542 Event event; local 3574 Event event; local 3608 Event event; local 3644 Event event; local 3682 Event event; local 3723 Event event; local 3766 Event event; local 3811 Event event; local 3858 Event event; local 3907 Event event; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WordComposer.java | 20 import com.android.inputmethod.event.CombinerChain; 21 import com.android.inputmethod.event.Event; 55 private final ArrayList<Event> mEvents; 156 * Process an event and return an event, and return a processed event to apply. 157 * @param event the unprocessed event. 158 * @return the processed event. Never null, but may be marked as consumed [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ |
EventBus.java | 46 * Represents a subscriber, which implements various event bus handler methods. 70 * Represents an event handler with a priority. 90 * Represents the low level method handling a particular event. 94 Class<? extends EventBus.Event> eventType; 96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) { 102 public void invoke(Object target, EventBus.Event event) 104 mMethod.invoke(target, event); 114 * A simple in-process event bus. It is simple because we can make assumptions about the state of 118 * Currently, there is a single EventBus that handles {@link EventBus.Event}s for each subscribe [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyCanonicalTest.java | 25 import org.yaml.snakeyaml.events.Event; 64 List<Event> tokens = canonicalParse(input);
|
/frameworks/av/include/media/stagefright/foundation/ |
ALooper.h | 67 struct Event { 77 List<Event> mEventQueue;
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
Event.java | 28 public class Event { 77 return "Event{id=" + mId 89 private Event mEvent; 92 mEvent = new Event(); 127 public Event build() { 129 throw new IllegalStateException("No event id"); 131 throw new IllegalStateException("Event does not contain a command"); 158 public Event getNextEvent() throws IOException { 159 Event e = null; 161 Event.Builder eb = new Event.Builder() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sched.py | 1 """A generally useful event scheduler class. 19 event means calling the action function, passing it the argument 36 Event = namedtuple('Event', 'time, priority, action, argument') 47 """Enter a new event in the queue at an absolute time. 49 Returns an ID for the event which can be used to remove it, 53 event = Event(time, priority, action, argument) 54 heapq.heappush(self._queue, event) 55 return event # The I [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sched.py | 1 """A generally useful event scheduler class. 19 event means calling the action function, passing it the argument 36 Event = namedtuple('Event', 'time, priority, action, argument') 47 """Enter a new event in the queue at an absolute time. 49 Returns an ID for the event which can be used to remove it, 53 event = Event(time, priority, action, argument) 54 heapq.heappush(self._queue, event) 55 return event # The I [all...] |