/prebuilts/go/darwin-x86/misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/ |
definition.go | 11 type Event struct{} 13 func (e *Event) Dummy() {}
|
/prebuilts/go/linux-x86/misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/ |
definition.go | 11 type Event struct{} 13 func (e *Event) Dummy() {}
|
/frameworks/base/core/java/android/service/autofill/ |
FillEventHistory.java | 63 @Nullable List<Event> mEvents; 98 @Nullable public List<Event> getEvents() { 105 public void addEvent(Event event) { 109 mEvents.add(event); 137 Event event = mEvents.get(i); local 138 dest.writeInt(event.getType()); 139 dest.writeString(event.getDatasetId()); 145 * Description of an event that occured after the latest call t [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
PrioritySchedulingTest.java | 26 import com.android.server.job.MockPriorityJobService.TestEnvironment.Event; 77 Event job4Execution = new Event(TestEnvironment.EVENT_START_JOB, 444); 78 ArrayList<Event> executedEvents = kTestEnvironment.getExecutedEvents(); 81 for (Event event: executedEvents) { 82 if (event.event == TestEnvironment.EVENT_PREEMPT_JOB) { 115 Event job4Execution = new Event(TestEnvironment.EVENT_START_JOB, 444) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
itimer.c | 36 non-zero), then queue the next timer event.
39 @param[in] Event The EFI timer event.
45 IN EFI_EVENT Event
56 if (Event != NULL) {
57 gBS->CloseEvent(Event);
58 Event = NULL;
67 Event,
72 gBS->CloseEvent(Event);
73 Event = NULL; [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
YamlParseTest.java | 32 Event e = null; 34 for (Event event : yaml.parse(new StringReader("abc: 56"))) { 36 assertTrue(event instanceof StreamStartEvent); 38 e = event; 47 Iterator<Event> events = yaml.parse(new StringReader("%YAML 1.1\n---\na")).iterator(); 62 assertTrue("Unexpected event.", events.next() instanceof StreamEndEvent); 68 Event e = null; 70 for (Event event : yaml.parse(new StringReader("abc: 56\n---\n4\n---\nqwe\n"))) [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustArchive.java | 44 private static class Event { 58 private Event(int type, int userId, ComponentName agent, String message, 71 ArrayDeque<Event> mEvents = new ArrayDeque<Event>(); 75 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration, 80 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, 0, false)); 84 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, 0, false)); 88 addEvent(new Event(TYPE_AGENT_DIED, userId, agent, null, 0, 0, false)); 92 addEvent(new Event(TYPE_AGENT_CONNECTED, userId, agent, null, 0, 0, false)); 96 addEvent(new Event(TYPE_AGENT_STOPPED, userId, agent, null, 0, 0, false)) [all...] |
/libcore/ojluni/src/main/java/java/nio/file/ |
FileTreeWalker.java | 46 * FileTreeWalker.Event ev = walker.walk(top); 107 * The event types. 127 static class Event { 133 private Event(EventType type, Path file, BasicFileAttributes attrs, IOException ioe) { 140 Event(EventType type, Path file, BasicFileAttributes attrs) { 144 Event(EventType type, Path file, IOException ioe) { 261 * Visits the given file, returning the {@code Event} corresponding to that 267 * mean that there is no event corresponding to a visit to the file. 272 private Event visit(Path entry, boolean ignoreSecurityException, boolean canUseCached) { 278 return new Event(EventType.ENTRY, entry, ioe) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
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
70 &Event
75 // Register for protocol notifactions on this event
80 Event,
[all...] |
/external/xmlrpcpp/test/ |
TestValues.cpp | 169 XmlRpcValue Event;
170 Event["Name"] = "string";
172 Event.clear();
180 Event[std::string(buf)] = buf;
183 Event.clear();
189 Event[std::string(buf)] = ii;
194 Event[std::string(buf)][std::string(bufj)] = bufj;
202 assert(Event[std::string(buf)] == XmlRpcValue(ii));
204 assert(Event[std::string(buf)].size() == NELMTS);
|
TestValuesWin32.cpp | 172 XmlRpcValue Event;
173 Event["Name"] = "string";
175 Event.clear();
183 Event[buf] = buf;
186 Event.clear();
192 Event[buf] = ii;
197 Event[buf][bufj] = bufj;
205 assert(Event[buf] == XmlRpcValue(ii));
207 assert(Event[buf].size() == NELMTS);
|
/system/core/fastboot/ |
socket_mock.cpp | 18 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 37 ADD_FAILURE() << events_.size() << " event(s) were not handled"; 79 const Event& event = events_.front(); local 80 if (event.type != EventType::kReceive) { 85 const std::string& message = event.message; 91 receive_timed_out_ = event.status; 126 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); 130 events_.push(Event(EventType::kSend, std::move(message), false, nullptr)); 134 events_.push(Event(EventType::kReceive, std::move(message), false, nullptr)) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/composer/ |
Composer.java | 26 import org.yaml.snakeyaml.events.Event; 67 // Drop the STREAM-START event. 68 if (parser.checkEvent(Event.ID.StreamStart)) { 72 return !parser.checkEvent(Event.ID.StreamEnd); 83 if (!parser.checkEvent(Event.ID.StreamEnd)) { 100 // Drop the STREAM-START event. 104 if (!parser.checkEvent(Event.ID.StreamEnd)) { 108 if (!parser.checkEvent(Event.ID.StreamEnd)) { 109 Event event = parser.getEvent() local 133 AliasEvent event = (AliasEvent) parser.getEvent(); local 145 NodeEvent event = (NodeEvent) parser.peekEvent(); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
TelephonyMetrics.java | 64 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.CallState; 65 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall; 66 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall.Type; 149 * Last settings state. This is for deduping same settings event logged. 201 * Convert the telephony event to string 203 * @param event The event in integer 204 * @return The event in string 206 private static String telephonyEventToString(int event) { 207 switch (event) { 440 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 448 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 456 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 793 TelephonyEvent event = new TelephonyEventBuilder(phoneId) local 863 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setSettings(s).build(); local 930 TelephonyEvent event = new TelephonyEventBuilder(phoneId) local 960 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setImsCapabilities(cap).build(); local 1692 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setNITZ(timestamp).build(); local 1712 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setModemRestart( local [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiTcp4Io.c | 20 @param[in] Event The event signaled.
26 IN EFI_EVENT Event,
59 Tcp4Io->ConnToken.CompletionToken.Event = NULL;
60 Tcp4Io->TxToken.CompletionToken.Event = NULL;
61 Tcp4Io->RxToken.CompletionToken.Event = NULL;
62 Tcp4Io->CloseToken.CompletionToken.Event = NULL;
153 &Tcp4Io->ConnToken.CompletionToken.Event
164 &Tcp4Io->TxToken.CompletionToken.Event
175 &Tcp4Io->RxToken.CompletionToken.Event
[all...] |
/external/autotest/server/cros/ |
stress_unittest.py | 27 event = threading.Event() 29 event.set() 36 self.assertTrue(event.is_set(), 'The stress event did not run') 43 event = threading.Event() 45 event.set() 50 self.assertTrue(event.is_set()) 57 event = threading.Event( [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
rtc_event_log_source.cc | 35 const rtclog::RtpPacket* GetRtpPacket(const rtclog::Event& event) { 36 if (!event.has_type() || event.type() != rtclog::Event::RTP_EVENT) 38 if (!event.has_timestamp_us() || !event.has_rtp_packet()) 40 const rtclog::RtpPacket& rtp_packet = event.rtp_packet(); 51 const rtclog::Event& event) { 80 const rtclog::Event& event = event_log_->stream(rtp_packet_index_); local 109 const rtclog::Event& event = event_log_->stream(audio_output_index_); local [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
SockImpl.h | 21 Signal a event with the given status.
23 @param Token The token's event is to be signaled.
24 @param TokenStatus The status to be sent with the event.
30 gBS->SignalEvent ((Token)->Event); \
37 @param Event The Event this notify function registered to, ignored.
43 IN EFI_EVENT Event
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
Events.c | 4 - the SNM.WaitForPacket EVT_NOTIFY_WAIT event,
5 - the EVT_SIGNAL_EXIT_BOOT_SERVICES event
27 Invoke a notification event
29 @param Event Event whose notification function is being
39 IN EFI_EVENT Event,
74 IN EFI_EVENT Event,
83 // Services Event".
|
/external/autotest/frontend/client/src/autotest/tko/ |
ConditionTabView.java | 3 import com.google.gwt.user.client.Event; 46 static boolean isSelectEvent(Event event) { 47 return event.getShiftKey();
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
EventParser.java | 33 * Parser for Event header. 46 * @param event the header to parse 48 public EventParser(String event) { 49 super(event); 62 * @return SIPHeader (Event object) 71 headerName(TokenTypes.EVENT); 74 Event event = new Event(); local 79 event.setEventType(value) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/trigger/ |
ScriptTrigger.java | 23 import com.googlecode.android_scripting.event.Event; 28 * A trigger implementation that launches a given script when the event occurs. 42 public void handleEvent(Event event, Context context) {
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/events/ |
DocumentStartEvent.java | 26 * This event followed by the document's content and a {@link DocumentEndEvent}. 29 public final class DocumentStartEvent extends Event { 73 public boolean is(Event.ID id) {
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
Hid.java | 40 private final Event.Reader mReader; 73 mReader = new Event.Reader(new InputStreamReader(in, "UTF-8")); 81 Event e = null; 95 private void process(Event e) { 99 if (Event.COMMAND_DELAY.equals(e.getCommand())) { 101 } else if (Event.COMMAND_REPORT.equals(e.getCommand())) { 104 error("Unknown command \"" + e.getCommand() + "\". Ignoring event."); 111 private void registerDevice(Event e) { 112 if (!Event.COMMAND_REGISTER.equals(e.getCommand())) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
Event.java | 40 // TODO: should Event be Parcelable so it can be passed via Intents? 41 public class Event implements Cloneable { 143 // The coordinates of the event rectangle drawn on the screen. 151 public Event nextRight; 152 public Event nextLeft; 153 public Event nextUp; 154 public Event nextDown; 159 Event e = new Event(); 180 public final void copyTo(Event dest) [all...] |