/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue132/ |
ScalarEventTagTest.java | 25 import org.yaml.snakeyaml.events.Event; 35 Iterable<Event> parsed = yaml.parse(new StringReader("5")); 36 List<Event> events = new ArrayList<Event>(5); 37 for (Event event : parsed) { 38 events.add(event); 39 // System.out.println(event); 50 List<Event> intEvents = yaml.serialize(intNode);
|
/libcore/ojluni/src/main/java/java/nio/file/ |
FileTreeIterator.java | 35 import java.nio.file.FileTreeWalker.Event; 43 * Event ev = iterator.next(); 51 class FileTreeIterator implements Iterator<Event>, Closeable { 53 private Event next; 84 FileTreeWalker.Event ev = walker.next(); 109 public Event next() { 115 Event result = next;
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_test_util_posix.cc | 237 struct Event { 264 Event(Type type, const void *ptr = 0, uptr arg = 0, uptr arg2 = 0) 284 atomic_uintptr_t event; // Event* 287 void send(Event *ev); 288 void HandleEvent(Event *ev); 291 void ScopedThread::Impl::HandleEvent(Event *ev) { 297 case Event::READ: 298 case Event::WRITE: { 300 if (ev->type == Event::READ) [all...] |
/frameworks/base/services/usage/java/com/android/server/usage/ |
IntervalStats.java | 33 public TimeSparseArray<UsageEvents.Event> events; 73 * Builds a UsageEvents.Event, but does not add it internally. 75 UsageEvents.Event buildEvent(String packageName, String className) { 76 UsageEvents.Event event = new UsageEvents.Event(); local 77 event.mPackage = getCachedStringRef(packageName); 79 event.mClass = getCachedStringRef(className); 81 return event; 86 case UsageEvents.Event.MOVE_TO_FOREGROUND [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputLogicTestsDeadKeys.java | 21 import com.android.inputmethod.event.Event; 29 static class EventList extends ArrayList<Event> { 31 final Event event; local 33 event = Event.createDeadEvent(codePoint, Event.NOT_A_KEY_CODE, null /* next */); 35 event = Event.createSoftwareKeypressEvent(codePoint, Event.NOT_A_KEY_CODE [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyEmitterTest.java | 32 import org.yaml.snakeyaml.events.Event; 67 List<Event> events = parse(input); 74 for (Event event : events) { 75 emitter.emit(event); 79 List<Event> newEvents = new ArrayList<Event>(); 83 Event event = parser.getEvent(); local 84 newEvents.add(event); 91 Event event = iter1.next(); local 135 Event event = parser.getEvent(); local 170 Event event = oldIter.next(); local 244 Event event = parser.getEvent(); local 252 Event event = iter1.next(); local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
GraphRunner.java | 42 private static final Event BEGIN_EVENT = new Event(Event.BEGIN, null); 43 private static final Event FLUSH_EVENT = new Event(Event.FLUSH, null); 44 private static final Event HALT_EVENT = new Event(Event.HALT, null); 45 private static final Event KILL_EVENT = new Event(Event.KILL, null) 129 Event event = nextEvent(); local [all...] |
/external/deqp/execserver/ |
xsWin32TestProcess.hpp | 58 class Event 61 Event (bool manualReset, bool initialState); 62 ~Event (void); 70 Event (const Event& other); 71 Event& operator= (const Event& other); 90 Event m_cancelEvent; 107 Event m_cancelEvent;
|
/external/swiftshader/src/Common/ |
Thread.cpp | 21 Event init; 71 Event::Event() 82 Event::~Event()
|
/frameworks/base/tools/aapt2/xml/ |
XmlPullParser_test.cpp | 38 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 43 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 48 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 52 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 56 EXPECT_EQ(xml::XmlPullParser::Event::kEndDocument, parser.event()); [all...] |
/external/deqp/framework/common/ |
tcuThreadUtil.cpp | 37 Event::Event (void) 44 Event::~Event (void) 48 void Event::setResult (Result result) 59 Event::Result Event::waitReady (void) 78 Object::Object (const char* type, SharedPtr<Event> e) 88 void Object::read (SharedPtr<Event> event, std::vector<SharedPtr<Event> >& deps [all...] |
/frameworks/base/core/java/android/app/usage/ |
UsageEvents.java | 30 * from which to read {@link android.app.usage.UsageEvents.Event} objects. 41 * An event representing a state change for a component. 43 public static final class Event { 46 * No event type. 51 * An event type denoting that a component moved to the foreground. 56 * An event type denoting that a component moved to the background. 61 * An event type denoting that a component was in the foreground when the stats 68 * An event type denoting that a component was in the foreground the previous day. 75 * An event type denoting that the device configuration has changed. 80 * An event type denoting that a package was interacted with in some way by the system 461 final Event event = mEventsToWrite.get(i); local [all...] |
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
UsageLogActivity.java | 74 private final CircularArray<UsageEvents.Event> mEvents = new CircularArray<>(MAX_EVENTS); 79 UsageEvents.Event event = new UsageEvents.Event(); local 80 results.getNextEvent(event); 81 lastTimeStamp = event.getTimeStamp(); 85 mEvents.addFirst(event); 100 public UsageEvents.Event getItem(int position) { 112 if (eventType == UsageEvents.Event.CONFIGURATION_CHANGE) { 120 final UsageEvents.Event event = getItem(position) local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
EPollPort.java | 63 // encapsulates an event for a channel 64 static class Event { 68 Event(PollableChannel channel, int events) { 78 // event 79 private final ArrayBlockingQueue<Event> queue; 80 private final Event NEED_TO_POLL = new Event(null, 0); 81 private final Event EXECUTE_TASK_OR_SHUTDOWN = new Event(null, 0); 106 // create the queue and offer the special event to ensure that the firs [all...] |
/packages/apps/Contacts/src/com/android/contacts/compat/ |
EventCompat.java | 21 import android.provider.ContactsContract.CommonDataKinds.Event; 25 * Compatibility class for {@link Event} 40 return Event.getTypeLabel(res, type, label); 48 * {@link Event#getTypeLabel(Resources, int, CharSequence)} 54 return res.getText(Event.getTypeResource(type));
|
/system/chre/core/ |
nanoapp.cc | 44 FATAL_ERROR("App failed to register for event: out of memory"); 60 void Nanoapp::postEvent(Event *event) { 61 mEventQueue.push(event); 68 Event *Nanoapp::processNextEvent() { 69 Event *event = mEventQueue.pop(); local 71 CHRE_ASSERT_LOG(event != nullptr, "Tried delivering event, but queue empty"); 72 if (event != nullptr) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
CombinerChain.java | 17 package com.android.inputmethod.event; 31 * Event sources are multiple. It may be a hardware keyboard, a D-PAD, a software keyboard, 33 * This class will orchestrate the composing chain that starts with an event as its input. Each 81 * Process an event through the combining chain, and return a processed event to apply. 83 * @param newEvent the new event to process 84 * @return the processed event. It may be the same event, or a consumed event, or a completely 85 * new event. However it may never be null 91 Event event = newEvent; local [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
SockInterface.c | 20 Check whether the Event is in the List.
23 @param Event The event to be checked.
25 @retval TRUE The specific Event exists in the List.
26 @retval FALSE The specific Event is not in the List.
32 IN EFI_EVENT Event
45 if (Event == SockToken->Token->Event) {
55 Call SockTokenExistedInList() to check whether the Event is
59 @param Event The event to be checked. [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
SockInterface.c | 19 Check whether the Event is in the List.
22 @param[in] Event The event to be checked.
24 @retval TRUE The specific Event exists in the List.
25 @retval FALSE The specific Event is not in the List.
31 IN EFI_EVENT Event
44 if (Event == SockToken->Token->Event) {
53 Call SockTokenExistedInList() to check whether the Event is
57 @param[in] Event The event to be checked. [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
EventReporter.java | 15 private class Event { 26 private ArrayList<Event> mEvents = new ArrayList<Event>(); 27 private ArrayList<Event> mProcessedEvents = new ArrayList<Event>(); 56 Event event = new Event(); local 57 event.x = x; 58 event.y = y [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/event/ |
Event.java | 17 package com.googlecode.android_scripting.event; 21 public class Event { 27 public Event(String name, Object data) {
|
/external/webrtc/webrtc/system_wrappers/source/ |
event.cc | 25 #include "webrtc/base/event.h" 41 rtc::Event::kForever : static_cast<int>(max_time); 46 rtc::Event event_;
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
Event.h | 27 class Event { 29 Event(Increment::IncrementCase);
|
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
convert.h | 33 void convertFromSensorEvent(const sensors_event_t &src, Event *dst); 34 void convertToSensorEvent(const Event &src, sensors_event_t *dst);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractWatchKey.java | 38 * Maximum size of event list (in the future this may be tunable) 43 * Special event to signal overflow 45 static final Event<Object> OVERFLOW_EVENT = 46 new Event<Object>(StandardWatchEventKinds.OVERFLOW, null); 65 // maps a context to the last event for the context (iff the last queued 66 // event for the context is an ENTRY_MODIFY event). 102 * Adds the event to this key and signals it. 110 // if the previous event is an OVERFLOW event or this is [all...] |