/external/nist-sip/java/gov/nist/javax/sip/header/ |
Event.java | 52 protected String eventType; 62 * Sets the eventType to the newly supplied eventType string. 64 * @param eventType - the new string defining the eventType supported 67 * unexpectedly while parsing the eventType value. 69 public void setEventType(String eventType) throws ParseException { 70 if (eventType == null) 71 throw new NullPointerException(" the eventType is null"); 72 this.eventType = eventType [all...] |
AllowEvents.java | 53 protected String eventType; 66 eventType = m; 70 * Sets the eventType defined in this AllowEventsHeader. 72 * @param eventType - the String defining the method supported 75 * unexpectedly while parsing the Strings defining the eventType supported 77 public void setEventType(String eventType) throws ParseException { 78 if (eventType == null) 81 + "AllowEvents, setEventType(), the eventType parameter is null"); 82 this.eventType = eventType; [all...] |
/frameworks/base/core/java/android/net/metrics/ |
NetworkEvent.java | 61 public @interface EventType {} 63 public final @EventType int eventType; 66 public NetworkEvent(@EventType int eventType, long durationMs) { 67 this.eventType = eventType; 71 public NetworkEvent(@EventType int eventType) { 72 this(eventType, 0) [all...] |
IpManagerEvent.java | 51 public @interface EventType {} 53 public final @EventType int eventType; 56 public IpManagerEvent(@EventType int eventType, long duration) { 57 this.eventType = eventType; 62 this.eventType = in.readInt(); 68 out.writeInt(eventType); 91 Decoder.constants.get(eventType), durationMs) [all...] |
IpReachabilityEvent.java | 44 // eventType byte format (MSB to LSB): 49 public final int eventType; 51 public IpReachabilityEvent(int eventType) { 52 this.eventType = eventType; 56 this.eventType = in.readInt(); 61 out.writeInt(eventType); 93 int hi = eventType & 0xff00; 94 int lo = eventType & 0x00ff;
|
/external/nist-sip/java/javax/sip/header/ |
AllowEventsHeader.java | 9 void setEventType(String eventType) throws ParseException;
|
EventHeader.java | 12 void setEventType(String eventType) throws ParseException;
|
/system/chre/apps/chqts/src/general_test/ |
nanoapp_info_events_test_observer.cc | 35 uint16_t eventType, 38 && ((eventType == CHRE_EVENT_NANOAPP_STARTED) 39 || (eventType == CHRE_EVENT_NANOAPP_STOPPED))) { 47 mStartStopHistory[mHistoryIndex].eventType = eventType; 50 && (eventType == CHRE_EVENT_MESSAGE_FROM_HOST)) { 54 senderInstanceId, eventType, eventData, 64 unexpectedEvent(eventType); 82 if (data.eventType == CHRE_EVENT_NANOAPP_STARTED) { 89 eventsOrdered = (data.eventType == CHRE_EVENT_NANOAPP_STARTED) [all...] |
test.cc | 41 void Test::testHandleEvent(uint32_t senderInstanceId, uint16_t eventType, 44 handleEvent(senderInstanceId, eventType, eventData); 48 void Test::unexpectedEvent(uint16_t eventType) { 49 uint32_t localEvent = eventType; 54 uint16_t eventType, const void* eventData, 60 if (eventType != CHRE_EVENT_MESSAGE_FROM_HOST) { 61 unexpectedEvent(eventType);
|
send_event_test.h | 38 void handleEvent(uint32_t senderInstanceId, uint16_t eventType, 50 static void completeCallback(uint16_t eventType, void *data); 52 static void completeCallback0(uint16_t eventType, void *data); 53 static void completeCallback1(uint16_t eventType, void *data);
|
/system/extras/simpleperf/ |
event_type.h | 33 // EventType represents one type of event, like cpu_cycle_event, cache_misses_event. 35 // (type, config) pair. EventType connects the two representations, and tells the user if 38 struct EventType { 39 EventType(const std::string& name, uint32_t type, uint64_t config, 45 EventType() : type(0), config(0) { 61 static std::string BuildString(const std::vector<const EventType*>& event_types); 67 std::vector<EventType> saved_event_types_; 70 const std::vector<EventType>& GetAllEventTypes(); 71 const EventType* FindEventTypeByName(const std::string& name, bool report_error = true); 75 EventType event_type [all...] |
event_type.cpp | 37 static const std::vector<EventType> static_event_type_array = { 53 for (const EventType& event : GetAllEventTypes()) { 65 static std::vector<EventType> GetTracepointEventTypesFromString(const std::string& s) { 66 std::vector<EventType> result; 73 result.push_back(EventType(event_name, PERF_TYPE_TRACEPOINT, id, "", "")); 78 static std::vector<EventType> GetTracepointEventTypesFromTraceFs() { 79 std::vector<EventType> result; 95 result.push_back(EventType(system_name + ":" + event_name, PERF_TYPE_TRACEPOINT, id, "", "")); 101 static std::vector<EventType> GetTracepointEventTypes() { 102 std::vector<EventType> result [all...] |
/packages/services/Car/car-lib/src/com/android/car/internal/ |
SingleMessageHandler.java | 31 public abstract class SingleMessageHandler<EventType> implements Callback { 44 protected abstract void handleEvent(EventType event); 49 List<EventType> events = (List<EventType>) msg.obj; 50 events.forEach(new Consumer<EventType>() { 52 public void accept(EventType event) { 61 public void sendEvents(List<EventType> events) {
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/ |
SuggestionEventStore.java | 66 * @param eventType Type of event (one of {@link #EVENTS}). 68 public void writeEvent(String suggestionId, String eventType) { 69 if (!EVENTS.contains(eventType)) { 70 Log.w(TAG, "Reported event type " + eventType + " is not a valid type!"); 73 final String lastTimePrefKey = getPrefKey(suggestionId, eventType, METRIC_LAST_EVENT_TIME); 74 final String countPrefKey = getPrefKey(suggestionId, eventType, METRIC_COUNT); 83 * @param eventType Type of event (one of {@link #EVENTS}). 87 public long readMetric(String suggestionId, String eventType, String metricType) { 88 if (!EVENTS.contains(eventType)) { 89 Log.w(TAG, "Reported event type " + eventType + " is not a valid event!") [all...] |
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/ |
MetricsFeatureProvider.java | 42 event.eventType = SettingsIntelligenceEvent.GET_SUGGESTION; 52 event.eventType = SettingsIntelligenceEvent.DISMISS_SUGGESTION; 62 event.eventType = SettingsIntelligenceEvent.LAUNCH_SUGGESTION; 73 event.eventType = type; 82 public void logEvent(int eventType) { 83 logEvent(eventType, 0 /* latency */); 86 public void logEvent(int eventType, long latency) { 88 event.eventType = eventType;
|
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/ |
XmlUtils.java | 33 int eventType = parser.getEventType(); 35 if (eventType == XmlPullParser.START_TAG) { 38 } else if (eventType == XmlPullParser.END_TAG) { 44 eventType = parser.next(); 45 } while (eventType != XmlPullParser.END_DOCUMENT); 69 int eventType = parser.getEventType(); 71 if (eventType == XmlPullParser.START_TAG) { 74 } else if (eventType == XmlPullParser.END_TAG) { 80 eventType = parser.next(); 81 } while (eventType != XmlPullParser.END_DOCUMENT) [all...] |
/external/libmojo/mojo/edk/system/ports/ |
message.cc | 26 case EventType::kUser: 29 case EventType::kPortAccepted: 32 case EventType::kObserveProxy: 35 case EventType::kObserveProxyAck: 39 case EventType::kObserveClosure: 42 case EventType::kMergePort: 49 if (header->type == EventType::kUser) { 93 GetMutableEventHeader(this)->type = EventType::kUser;
|
/external/replicaisland/src/com/replica/replicaisland/ |
EventReporter.java | 16 public String eventType; 55 public void addEvent(int eventType, float x, float y, float time, String level, int version, long session) { 63 switch (eventType) { 65 event.eventType = "death"; 68 event.eventType = "beatLevel"; 71 event.eventType = "beatGame"; 87 + "event=" + event.eventType 106 DebugLog.d("Report Event", event.eventType + " " + response + ":" + connection.getURL().toString());
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
MockVrListenerService.java | 41 public enum EventType{ 52 public final EventType type; 55 private Event(VrListenerService i, EventType t, Object o) { 61 public static Event build(VrListenerService instance, EventType type, Object argument1) { 65 public static Event build(VrListenerService instance, EventType type) { 75 sEventQueue.put(Event.build(this, EventType.ONBIND, intent)); 86 sEventQueue.put(Event.build(this, EventType.ONREBIND, intent)); 98 sEventQueue.put(Event.build(this, EventType.ONUNBIND, intent)); 109 sEventQueue.put(Event.build(this, EventType.ONCREATE)); 120 sEventQueue.put(Event.build(this, EventType.ONDESTROY)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarController.java | 100 public interface EventType { 155 public long eventType; // one of the EventType 174 * For EventType.VIEW_EVENT: 181 * For EventType.CREATE_EVENT: 184 * For EventType.GO_TO: 190 * For EventType.UPDATE_TITLE: 196 if (eventType != EventType.VIEW_EVENT) { 197 Log.wtf(TAG, "illegal call to isAllDay , wrong event type " + eventType); [all...] |
/packages/apps/Contacts/src/com/android/contacts/logging/ |
EditorEvent.java | 23 public int eventType; 28 public static final class EventType { 36 .add("eventType", eventType)
|
/frameworks/base/core/java/android/hardware/location/ |
ActivityRecognitionEvent.java | 32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { 34 mEventType = eventType; 55 int eventType = source.readInt(); 58 return new ActivityRecognitionEvent(activity, eventType, timestampNs); 82 "Activity='%s', EventType=%s, TimestampNs=%s",
|
ActivityRecognitionHardware.java | 117 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { 125 int result = nativeEnableActivityEvent(activityType, eventType, reportLatencyNs); 127 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_ENABLED; 134 public boolean disableActivityEvent(String activity, int eventType) { 142 int result = nativeDisableActivityEvent(activityType, eventType); 144 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED; 248 private void disableActivityEventIfEnabled(int activityType, int eventType) { 249 if (mSupportedActivitiesEnabledEvents[activityType][eventType] != EVENT_TYPE_ENABLED) { 253 int result = nativeDisableActivityEvent(activityType, eventType); 254 mSupportedActivitiesEnabledEvents[activityType][eventType] = EVENT_TYPE_DISABLED [all...] |
/frameworks/av/drm/libmediadrm/ |
IDrmClient.cpp | 43 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) 47 data.writeInt32((int)eventType); 66 int eventType = data.readInt32(); 73 notify((DrmPlugin::EventType)eventType, extra, &obj);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsXmlResourceParser.java | 89 * @param eventType 94 protected int advanceToNextEvent(int eventType) throws XmlPullParserException, IOException { 97 if (nextEvent == eventType 111 final int eventType = mInputParser.getEventType(); 112 mLogStringBuilder.append(xmlParserEventString(eventType)); 113 if (eventType == XmlPullParser.START_TAG 114 || eventType == XmlPullParser.END_TAG 115 || eventType == XmlPullParser.TEXT) {
|