/system/chre/core/include/chre/core/ |
event_loop.h | 20 #include "chre/core/event.h" 41 * Setup the event loop. 78 * called from the context of the thread that runs this event loop (i.e. from 99 * Executes the loop that blocks on the event queue and delivers received 106 * Signals the event loop currently executing in run() to exit gracefully at 112 * Posts an event to a nanoapp that is currently running (or all nanoapps if 119 * @param freeCallback The callback to invoke when the event is no longer 121 * @param senderInstanceId The instance ID of the sender of this event. 122 * @param targetInstanceId The instance ID of the destination of this event. 124 * @return true if the event was successfully added to the queu [all...] |
/system/core/fastboot/ |
socket_mock.h | 18 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 86 struct Event { 87 Event(EventType _type, std::string _message, ssize_t _status, 96 std::queue<Event> events_;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
EventFacade.java | 39 import com.googlecode.android_scripting.event.Event; 40 import com.googlecode.android_scripting.event.EventObserver; 41 import com.googlecode.android_scripting.event.EventServer; 53 * Manage the event queue. <br> 56 * EventFacade APIs interact with the Event Queue (a data buffer containing up to 1024 event 58 * Events are automatically entered into the Event Queue following API calls such as startSensing() 60 * The Event Facade provides control over how events are entered into (and removed from) the Event 165 Event event = mEventQueue.poll(); local 297 Event event = new Event(name, data); local [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeTcpIoLib/ |
DxeTcpIoLib.c | 28 @param[in] Event The event signaled.
35 IN EFI_EVENT Event,
39 if ((Event == NULL) || (Context == NULL)) {
65 EFI_EVENT Event;
71 Event = NULL;
77 &Event
84 Event,
93 while (EFI_ERROR (gBS->CheckEvent (Event))) {
106 if (Event != NULL) { [all...] |
/external/webrtc/webrtc/call/ |
rtc_event_log.cc | 96 // Adds a new event to the logfile if logging is active, or adds it to the 98 void HandleEvent(rtclog::Event* event) EXCLUSIVE_LOCKS_REQUIRED(crit_); 99 // Writes the event to the file. Note that this will destroy the state of the 101 void StoreToFile(rtclog::Event* event) EXCLUSIVE_LOCKS_REQUIRED(crit_); 102 // Adds the event to the list of recent events, and removes any events that 104 void AddRecentEvent(const rtclog::Event& event) 113 std::deque<rtclog::Event> recent_log_events_ GUARDED_BY(crit_) [all...] |
/developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/ |
DataFragment.java | 60 mDataItemListAdapter.add(new Event(title, text)); 63 private static class DataItemAdapter extends ArrayAdapter<Event> { 86 Event event = getItem(position); local 87 holder.text1.setText(event.title); 88 holder.text2.setText(event.text); 99 private class Event { 104 public Event(String title, String text) {
|
/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/fragments/ |
DataFragment.java | 60 mDataItemListAdapter.add(new Event(title, text)); 63 private static class DataItemAdapter extends ArrayAdapter<Event> { 86 Event event = getItem(position); local 87 holder.text1.setText(event.title); 88 holder.text2.setText(event.text); 99 private class Event { 104 public Event(String title, String text) {
|
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/fragments/ |
DataFragment.java | 60 mDataItemListAdapter.add(new Event(title, text)); 63 private static class DataItemAdapter extends ArrayAdapter<Event> { 86 Event event = getItem(position); local 87 holder.text1.setText(event.title); 88 holder.text2.setText(event.text); 99 private class Event { 104 public Event(String title, String text) {
|
/frameworks/base/core/tests/coretests/src/android/metrics/ |
MetricsReaderTest.java | 18 import android.metrics.MetricsReader.Event; 33 MetricsReader.Event[] mEvents; 37 mEvents = new MetricsReader.Event[FULL_N]; 39 mEvents[i] = new MetricsReader.Event( 48 public void readEvents(int[] tags, long horizonMs, Collection<Event> events) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CTableCombo.java | 28 import org.eclipse.swt.widgets.Event; 73 public void handleEvent(Event event) { 74 if (m_popup == event.widget) { 75 handlePopupEvent(event); 78 if (m_text == event.widget) { 79 handleTextEvent(event); 82 if (m_table == event.widget) { 83 handleTableEvent(event); 86 if (m_arrow == event.widget) [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyImportTest.java | 30 import org.yaml.snakeyaml.events.Event; 88 protected List<Event> canonicalParse(InputStream input2) throws IOException { 96 List<Event> result = new ArrayList<Event>(); 104 protected List<Event> parse(InputStream input) throws IOException { 107 List<Event> result = new ArrayList<Event>();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/parser/ |
ParserImplTest.java | 25 import org.yaml.snakeyaml.events.Event; 38 private void check(LinkedList<Event> etalonEvents, Parser parser) { 40 Event event = parser.getEvent(); local 42 fail("unexpected event: " + event); 44 assertEquals(etalonEvents.removeFirst(), event); local 54 LinkedList<Event> etalonEvents = new LinkedList<Event>(); 74 LinkedList<Event> etalonEvents = new LinkedList<Event>() [all...] |
/external/swiftshader/src/Common/ |
Thread.hpp | 33 class Event; 63 Event *init; 77 class Event 82 Event(); 84 ~Event(); 170 inline void Event::signal() 182 inline void Event::wait()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UserUsageStatsService.java | 118 // This may actually be today and we will rollover on the first event 128 if (pkgStats.mLastEvent == UsageEvents.Event.MOVE_TO_FOREGROUND || 129 pkgStats.mLastEvent == UsageEvents.Event.CONTINUE_PREVIOUS_DAY) { 131 UsageEvents.Event.END_OF_DAY); 150 void reportEvent(UsageEvents.Event event) { 152 Slog.d(TAG, mLogPrefix + "Got usage event for " + event.mPackage 153 + "[" + event.mTimeStamp + "]: " 154 + eventToString(event.mEventType)) 577 final UsageEvents.Event event = events.valueAt(i); local [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
ParserImpl.java | 28 import org.yaml.snakeyaml.events.Event; 124 private Event currentEvent; 144 * Check the type of the next event. 146 public boolean checkEvent(Event.ID choice) { 152 * Get the next event. 154 public Event peekEvent() { 164 * Get the next event and proceed further. 166 public Event getEvent() { 168 Event value = currentEvent; 181 public Event produce() 184 Event event = new StreamStartEvent(token.getStartMark(), token.getEndMark()); local 199 Event event = new DocumentStartEvent(startMark, endMark, false, null, null); local 218 Event event; local 261 Event event = new DocumentEndEvent(startMark, endMark, explicit); local 270 Event event; local 371 Event event; local 518 Event event = new SequenceEndEvent(token.getStartMark(), token.getEndMark()); local 541 Event event = new SequenceEndEvent(token.getStartMark(), token.getEndMark()); local 574 Event event = new MappingEndEvent(token.getStartMark(), token.getEndMark()); local 641 Event event = new MappingStartEvent(null, null, true, token.getStartMark(), local 651 Event event = new SequenceEndEvent(token.getStartMark(), token.getEndMark()); local 750 Event event = new MappingEndEvent(token.getStartMark(), token.getEndMark()); local [all...] |
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 49 * and that events do appear in the event log. 52 * - Invoking a device configuration change and then watching for it in the event log. 151 ArrayList<UsageEvents.Event> eventList = new ArrayList<>(); 153 UsageEvents.Event event = new UsageEvents.Event(); local 154 assertTrue(events.getNextEvent(event)); 155 eventList.add(event); 158 // Find the last Activity's MOVE_TO_FOREGROUND event. 161 UsageEvents.Event event = eventList.get(end - 1) local 180 UsageEvents.Event event = eventList.get(index); local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
Event.c | 14 Event.c
18 Support for Event lib fucntions.
37 Create a protocol notification event and return it.
41 ProtocolGuid - Protocol to register notification event on.
47 NotifyContext - Context passed into Event when it is created.
59 EFI_EVENT Event;
62 // Create the event
69 &Event
74 // Register for protocol notifactions on this event
78 Event,
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/ |
Notify.c | 18 #include "Event.h"
21 Signal event for every protocol in protocol entry.
38 CoreSignalEvent (ProtNotify->Event);
99 @param Event The event to signal
111 IN EFI_EVENT Event,
119 if ((Protocol == NULL) || (Event == NULL) || (Registration == NULL)) {
139 ((IEVENT *)Event)->ExFlag |= EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION;
142 ProtNotify->Event = Event;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/ |
SmmControl2OnSmmControlThunk.c | 91 This is a notification function registered on EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event.
94 @param[in] Event Event whose notification function is being invoked.
101 IN EFI_EVENT Event,
125 EFI_EVENT Event;
141 /// Create event on SetVirtualAddressMap() to convert mSmmControl from a physical address to a virtual address
149 &Event
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/Ipf/ |
RuntimeLib.c | 34 IN EFI_EVENT Event,
45 Event - The Event that is being processed
47 Context - Event Context
64 IN EFI_EVENT Event,
72 Call the passed in Child Notify event and convert any pointers in
77 Event - The Event that is being processed
79 Context - Event Context
92 ChildNotifyEventHandler (Event, NULL); [all...] |
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspNotifyDxe/ |
FspNotifyDxe.c | 45 PciEnumerationComplete Protocol notification event handler.
47 @param[in] Event Event whose notification function is being invoked.
53 IN EFI_EVENT Event,
84 Notification function of EVT_GROUP_READY_TO_BOOT event group.
86 This is a notification function registered on EVT_GROUP_READY_TO_BOOT event group.
90 @param[in] Event Event whose notification function is being invoked.
97 IN EFI_EVENT Event,
104 gBS->CloseEvent (Event);
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
LoadDeferredImage.c | 23 @param Event Event whose notification function is being invoked.
30 IN EFI_EVENT Event,
123 Register an event notification function for user profile changed.
134 EFI_EVENT Event;
144 &Event
|
/frameworks/native/libs/gui/ |
DisplayEventReceiver.cpp | 82 ssize_t DisplayEventReceiver::getEvents(DisplayEventReceiver::Event* events, 88 Event* events, size_t count) 94 Event const* events, size_t count)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
SmsSessionEventBuilder.java | 27 SmsSession.Event mEvent = new SmsSession.Event(); 29 public SmsSession.Event build() {
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
GoogleAccountType.java | 22 import android.provider.ContactsContract.CommonDataKinds.Event; 162 DataKind kind = addKind(new DataKind(Event.CONTENT_ITEM_TYPE, 163 R.string.eventLabelsGroup, Weight.EVENT, true)); 165 kind.actionBody = new SimpleInflater(Event.START_DATE); 167 kind.typeColumn = Event.TYPE; 171 kind.typeList.add(buildEventType(Event.TYPE_BIRTHDAY, true).setSpecificMax(1)); 172 kind.typeList.add(buildEventType(Event.TYPE_ANNIVERSARY, false)); 173 kind.typeList.add(buildEventType(Event.TYPE_OTHER, false)); 174 kind.typeList.add(buildEventType(Event.TYPE_CUSTOM, false).setSecondary(true) 175 .setCustomColumn(Event.LABEL)) [all...] |