/external/snakeyaml/src/test/java/org/pyyaml/ |
PyStructureTest.java | 32 import org.yaml.snakeyaml.events.Event; 49 private void compareEvents(List<Event> events1, List<Event> events2, boolean full) { 51 Iterator<Event> iter1 = events1.iterator(); 52 Iterator<Event> iter2 = events2.iterator(); 54 Event event1 = iter1.next(); 55 Event event2 = iter2.next(); 87 List<Event> events1 = parse(input); 93 List<Event> events2 = canonicalParse(new FileInputStream(canonical)); 110 List<Event> events1 = parse(input) [all...] |
CanonicalParser.java | 24 import org.yaml.snakeyaml.events.Event; 41 private ArrayList<Event> events; 46 events = new ArrayList<Event>(); 155 public Event getEvent() { 163 * Check the type of the next event. 165 public boolean checkEvent(Event.ID choice) { 178 * Get the next event. 180 public Event peekEvent() {
|
/external/v8/test/unittests/heap/ |
memory-reducer-unittest.cc | 31 MemoryReducer::Event MarkCompactEvent(double time_ms, 33 MemoryReducer::Event event; local 34 event.type = MemoryReducer::kMarkCompact; 35 event.time_ms = time_ms; 36 event.next_gc_likely_to_collect_more = next_gc_likely_to_collect_more; 37 return event; 41 MemoryReducer::Event MarkCompactEventGarbageLeft(double time_ms) { 46 MemoryReducer::Event MarkCompactEventNoGarbageLeft(double time_ms) { 51 MemoryReducer::Event TimerEvent(double time_ms 54 MemoryReducer::Event event; local 79 MemoryReducer::Event event; local [all...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
Sensor.h | 142 * Interrupt event servicing from the sensor. Only triggers for sensor 146 enum Event { 150 virtual void onSensorEvent(uint32_t frameNumber, Event e,
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
RightClickTable.java | 3 import com.google.gwt.event.dom.client.ContextMenuEvent; 4 import com.google.gwt.event.dom.client.ContextMenuHandler; 5 import com.google.gwt.event.dom.client.DomEvent; 6 import com.google.gwt.event.dom.client.HasContextMenuHandlers; 7 import com.google.gwt.event.shared.HandlerRegistration; 10 import com.google.gwt.user.client.Event; 39 public void onContextMenu(ContextMenuEvent event) { 40 event.preventDefault(); 43 public HTMLTable.Cell getCellForDomEvent(DomEvent<?> event) { 45 final Element td = getEventTargetCell(Event.as(event.getNativeEvent())) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mturk/ |
notification.py | 16 # ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 23 Provides NotificationMessage and Event classes, with utility methods, for 43 EVENT_PATTERN = r"Event\.(?P<n>\d+)\.(?P<param>\w+)" 58 if 'Event' in d: 59 # TurboGears surprised me by 'doing the right thing' and making { 'Event': { '1': { 'EventType': ... } } } etc. 60 events_dict = d['Event'] 64 if k.startswith('Event.'): 72 self.events.append(Event(events_dict[n])) 91 class Event(object): 97 if 'AssignmentId' in d: # Not present in all event type [all...] |
/external/v8/src/heap/ |
memory-reducer.cc | 29 Event event; local 42 event.type = kTimer; 43 event.time_ms = time_ms; 47 event.should_start_incremental_gc = is_idle || optimize_for_memory; 48 event.can_start_incremental_gc = 51 memory_reducer_->NotifyTimer(event); 65 void MemoryReducer::NotifyTimer(const Event& event) { 66 DCHECK_EQ(kTimer, event.type) [all...] |
gc-tracer.cc | 54 GCTracer::Event::Event(Type type, const char* gc_reason, 83 const char* GCTracer::Event::TypeName(bool short_name) const { 105 return "Unknown Event Type"; 129 current_ = Event(Event::START, NULL, NULL); 144 if (current_.type == Event::INCREMENTAL_MARK_COMPACTOR) 148 current_ = Event(Event::SCAVENGER, gc_reason, collector_reason); 152 Event(Event::INCREMENTAL_MARK_COMPACTOR, gc_reason, collector_reason) [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/ |
audio_file_processor.cc | 22 using webrtc::audioproc::Event; 85 Event event_msg; 93 if (event_msg.type() == Event::INIT) { 97 } else if (event_msg.type() == Event::STREAM) { 101 } else if (event_msg.type() == Event::REVERSE_STREAM) { 105 } while (event_msg.type() != Event::STREAM);
|
/external/webrtc/webrtc/call/ |
rtc_event_log_unittest.cc | 73 // Checks that the event has a timestamp, a type and exactly the data field 75 ::testing::AssertionResult IsValidBasicEvent(const rtclog::Event& event) { 76 if (!event.has_timestamp_us()) 77 return ::testing::AssertionFailure() << "Event has no timestamp"; 78 if (!event.has_type()) 79 return ::testing::AssertionFailure() << "Event has no event type"; 80 rtclog::Event_EventType type = event.type(); 81 if ((type == rtclog::Event::RTP_EVENT) != event.has_rtp_packet() [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardExporterTests.java | 27 import android.provider.ContactsContract.CommonDataKinds.Event; [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/dataitem/ |
DataItemTests.java | 20 import android.provider.ContactsContract.CommonDataKinds.Event; 147 mValues1.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 148 mValues2.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 149 mValues3.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 150 mValues4.put(Data.MIMETYPE, Event.CONTENT_ITEM_TYPE); 152 mValues1.put(Event.START_DATE, date1); 153 mValues2.put(Event.START_DATE, date1); 154 mValues3.put(Event.START_DATE, date1); 155 mValues4.put(Event.START_DATE, date2); 157 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM) [all...] |
/external/opencv3/3rdparty/include/opencl/1.2/CL/ |
cl.hpp | 18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 116 * cl::Event event; 124 * &event); 126 * event.wait(); 6827 Event event; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 36 import com.android.calendar.Event; 60 protected ArrayList<ArrayList<Event>> mEventDayList = new ArrayList<ArrayList<Event>>(); 61 protected ArrayList<Event> mEvents = null; 130 public void setEvents(int firstJulianDay, int numDays, ArrayList<Event> events) { 143 ArrayList<ArrayList<Event>> eventDayList = new ArrayList<ArrayList<Event>>(); 145 eventDayList.add(new ArrayList<Event>()); 158 for (Event event : events) [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/ |
ButtonPropertyEditorPresentationImpl.java | 19 import org.eclipse.swt.widgets.Event; 103 public void handleEvent(Event e) { 110 public void handleEvent(Event event) { 118 public void handleEvent(Event event) { 125 public void handleEvent(Event event) {
|
/frameworks/base/core/java/android/util/ |
EventLog.java | 33 * Access to the system diagnostic event record. System diagnostic events are 41 * <p>Events use integer tag codes corresponding to /system/etc/event-log-tags. 43 * event-log-tags file defines the payload contents for each type code. 50 private static final String TAGS_FILE = "/system/etc/event-log-tags"; 56 /** A previously logged event read from the logs. Instances are thread safe. */ 57 public static final class Event { 60 // Layout of event log entry received from Android logger. 69 // Layout for event log v1 format, v2 and v3 use HEADER_SIZE_OFFSET 80 /** @param data containing event, read from the system */ 81 /*package*/ Event(byte[] data) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
CameraStreamer.java | 747 private static class Event { 758 public Event(int code) { 765 /** On slower devices the event queue can easily fill up. We bound the queue to this. */ 771 /** The CameraRunner's event queue */ 772 private LinkedBlockingQueue<Event> mEventQueue = new LinkedBlockingQueue<Event>(MAX_EVENTS); 898 Event event = nextEvent(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/ |
ThreadEndTest.java | 31 import org.apache.harmony.jpda.tests.framework.jdwp.Event; 41 * JDWP Unit test for verifying canceling of THREAD_END event after re-connection. 45 * This testcase verifies canceling of THREAD_END event after re-connection. 46 * <BR>It runs EventDebuggee, sets request for THREAD_END event 61 Event eventToSet = new Event(eventKind, suspendPolicy, mods); 64 checkReplyPacket(reply, "Set THREAD_END event"); 86 CommandPacket event = null; local 88 event = debuggeeWrapper.vmMirror.receiveEvent(); 90 logWriter.println("=> Exception while receiving event:" + thrown) [all...] |
ThreadStartTest.java | 31 import org.apache.harmony.jpda.tests.framework.jdwp.Event; 41 * JDWP Unit test for verifying canceling of THREAD_START event after re-connection. 45 * This testcase verifies canceling of THREAD_START event after re-connection. 46 * <BR>It runs EventDebuggee, sets request for THREAD_START event 62 Event eventToSet = new Event(eventKind, suspendPolicy, mods); 65 checkReplyPacket(reply, "Set THREAD_START event"); 87 CommandPacket event = null; local 89 event = debuggeeWrapper.vmMirror.receiveEvent(); 91 logWriter.println("=> Exception while receiving event:" + thrown) [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CImageLabel.java | 20 import org.eclipse.swt.widgets.Event; 45 public void handleEvent(Event event) { 53 public void handleEvent(Event event) { 54 doPaint(event.gc);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/ |
PropertyTableTooltipHelper.java | 17 import org.eclipse.swt.widgets.Event; 43 public void handleEvent(Event event) { 44 if (event.stateMask == 0) { 51 public void handleEvent(Event event) {
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 178 List<Event>::iterator it = mEventQueue.begin(); 183 Event event; local 184 event.mWhenUs = whenUs; 185 event.mMessage = msg; 191 mEventQueue.insert(it, event); 195 Event event; local 216 event = *mEventQueue.begin(); 220 event.mMessage->deliver() [all...] |
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
DisplayAnalyzer.cpp | 99 // blank event is only processed once 164 // video state update event may come later than geometry change event. 317 // handle hotplug event (vsync switch) asynchronously 318 Event e; 327 Event e; 355 Event e; 364 Event e; 373 Event e; 379 void DisplayAnalyzer::postEvent(Event& e [all...] |
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
NotificationLogActivity.java | 38 private ArrayList<EventLog.Event> mNotificationEvents; 45 mNotificationEvents = new ArrayList<EventLog.Event>(); 83 private final void bindView(View view, EventLog.Event evt) {
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MockKeyboardSwitcher.java | 21 import com.android.inputmethod.event.Event; 187 final Event event = local 188 Event.createSoftwareKeypressEvent(code /* codePoint */, code /* keyCode */, 191 mState.onEvent(event, mAutoCapsState, RecapitalizeStatus.NOT_A_RECAPITALIZE_MODE);
|