/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
EventDataItem.java | 21 import android.provider.ContactsContract.CommonDataKinds.Event; 25 * Represents an event data item, wrapping the columns in {@link 26 * ContactsContract.CommonDataKinds.Event}. 35 return getContentValues().getAsString(Event.START_DATE); 39 return getContentValues().getAsString(Event.LABEL); 55 } else if (getKindTypeColumn(mKind) == Event.TYPE_CUSTOM
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LastComposedWord.java | 21 import com.android.inputmethod.event.Event; 33 // no hinting from the IME. It happens when some external event happens (rotating the device, 49 public final ArrayList<Event> mEvents; 61 new LastComposedWord(new ArrayList<Event>(), null, "", "", 66 public LastComposedWord(final ArrayList<Event> events,
|
/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 | 62 @Nullable List<Event> mEvents; 97 @Nullable public List<Event> getEvents() { 104 public void addEvent(Event event) { 108 mEvents.add(event); 136 Event event = mEvents.get(i); local 137 dest.writeInt(event.getType()); 138 dest.writeString(event.getDatasetId()); 144 * 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...] |
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
Hid.java | 39 private final Event.Reader mReader; 72 mReader = new Event.Reader(new InputStreamReader(in, "UTF-8")); 80 Event e = null; 93 private void process(Event e) { 97 if (Event.COMMAND_DELAY.equals(e.getCommand())) { 99 } else if (Event.COMMAND_REPORT.equals(e.getCommand())) { 102 if (Event.COMMAND_REGISTER.equals(e.getCommand())) { 103 error("Device id=" + e.getId() + " is already registered. Ignoring event."); 105 error("Unknown command \"" + e.getCommand() + "\". Ignoring event."); 108 } else if (Event.COMMAND_REGISTER.equals(e.getCommand())) [all...] |
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/android/arch/lifecycle/ |
FragmentInBackStackLifecycleTest.java | 20 import static android.arch.lifecycle.Lifecycle.Event.ON_CREATE; 21 import static android.arch.lifecycle.Lifecycle.Event.ON_DESTROY; 22 import static android.arch.lifecycle.Lifecycle.Event.ON_PAUSE; 23 import static android.arch.lifecycle.Lifecycle.Event.ON_RESUME; 24 import static android.arch.lifecycle.Lifecycle.Event.ON_START; 25 import static android.arch.lifecycle.Lifecycle.Event.ON_STOP; 34 import android.arch.lifecycle.Lifecycle.Event; 58 final ArrayList<Event> collectedEvents = new ArrayList<>(); 60 @OnLifecycleEvent(Event.ON_ANY) 61 void onAny(LifecycleOwner owner, Event event) [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/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/ |
ProcessLifecycleOwner.java | 31 * {@link Lifecycle.Event#ON_CREATE} will be dispatched once and {@link Lifecycle.Event#ON_DESTROY} 33 * ProcessLifecycleOwner will dispatch {@link Lifecycle.Event#ON_START}, 34 * {@link Lifecycle.Event#ON_RESUME} events, as a first activity moves through these events. 35 * {@link Lifecycle.Event#ON_PAUSE}, {@link Lifecycle.Event#ON_STOP}, events will be dispatched with 106 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_START); 115 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_RESUME); 138 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_PAUSE); 144 mRegistry.handleLifecycleEvent(Lifecycle.Event.ON_STOP) [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...] |
/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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
TelephonyMetrics.java | 65 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.CallState; 66 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall; 67 import com.android.internal.telephony.nano.TelephonyProto.TelephonyCallSession.Event.RilCall.Type; 150 * Last settings state. This is for deduping same settings event logged. 202 * Convert the telephony event to string 204 * @param event The event in integer 205 * @return The event in string 207 private static String telephonyEventToString(int event) { 208 switch (event) { 441 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 449 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 457 TelephonyEvent event = new TelephonyEventBuilder(mStartElapsedTimeMs, key) local 794 TelephonyEvent event = new TelephonyEventBuilder(phoneId) local 864 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setSettings(s).build(); local 931 TelephonyEvent event = new TelephonyEventBuilder(phoneId) local 961 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setImsCapabilities(cap).build(); local 1693 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setNITZ(timestamp).build(); local 1713 TelephonyEvent event = new TelephonyEventBuilder(phoneId).setModemRestart( local [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...] |
/frameworks/support/lifecycle/common/src/test/java/android/arch/lifecycle/ |
FullLifecycleObserverTest.java | 19 import static android.arch.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static android.arch.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static android.arch.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static android.arch.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static android.arch.lifecycle.Lifecycle.Event.ON_START; 24 import static android.arch.lifecycle.Lifecycle.Event.ON_STOP;
|
/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".
|