/frameworks/support/lifecycle/compiler/src/tests/test-data/ |
InheritanceOk3.java | 19 import static android.arch.lifecycle.Lifecycle.Event.ON_STOP; 21 import android.arch.lifecycle.Lifecycle.Event;
|
/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/android/arch/lifecycle/testapp/ |
FrameworkLifecycleRegistryActivity.java | 45 private List<Pair<TestEvent, Lifecycle.Event>> mCollectedEvents = new ArrayList<>(); 52 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_CREATE)); 59 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_START)); 65 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_RESUME)); 72 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_DESTROY)); 79 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_STOP)); 85 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_PAUSE)); 92 public List<Pair<TestEvent, Lifecycle.Event>> waitForCollectedEvents()
|
FullLifecycleTestActivity.java | 36 private List<Pair<TestEvent, Lifecycle.Event>> mCollectedEvents = new ArrayList<>(); 43 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_CREATE)); 50 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_START)); 56 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_RESUME)); 63 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_DESTROY)); 70 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_STOP)); 76 mCollectedEvents.add(new Pair<>(ACTIVITY_CALLBACK, Lifecycle.Event.ON_PAUSE)); 83 public List<Pair<TestEvent, Lifecycle.Event>> waitForCollectedEvents()
|
/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...] |
/frameworks/support/lifecycle/runtime/src/main/java/android/arch/lifecycle/ |
ReportFragment.java | 75 dispatch(Lifecycle.Event.ON_CREATE); 82 dispatch(Lifecycle.Event.ON_START); 89 dispatch(Lifecycle.Event.ON_RESUME); 95 dispatch(Lifecycle.Event.ON_PAUSE); 101 dispatch(Lifecycle.Event.ON_STOP); 107 dispatch(Lifecycle.Event.ON_DESTROY); 112 private void dispatch(Lifecycle.Event event) { 115 ((LifecycleRegistryOwner) activity).getLifecycle().handleLifecycleEvent(event); 122 ((LifecycleRegistry) lifecycle).handleLifecycleEvent(event); [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 | 39 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 44 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 49 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 53 EXPECT_EQ(xml::XmlPullParser::Event::kStartElement, parser.event()); 57 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/support/lifecycle/common/src/main/java/android/arch/lifecycle/ |
ReflectiveGenericLifecycleObserver.java | 19 import android.arch.lifecycle.Lifecycle.Event; 44 public void onStateChanged(LifecycleOwner source, Event event) { 45 invokeCallbacks(mInfo, source, event); 49 Event event) { 53 invokeCallback(reference, source, event); 59 private void invokeCallbacks(CallbackInfo info, LifecycleOwner source, Event event) { 60 invokeMethodsForEvent(info.mEventToHandlers.get(event), source, event) local 61 invokeMethodsForEvent(info.mEventToHandlers.get(Event.ON_ANY), source, event); local 96 Event event = handlers.get(newHandler); local 142 Event event = annotation.value(); local 175 Event event = entry.getValue(); 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));
|
/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/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/ |
ar_event_h.template | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 50 /// Event - interface for handling events. 52 struct Event 54 Event() {} 55 virtual ~Event() {} 79 struct ${name} : Event
|
/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...] |