Home
last modified time | relevance | path

Searched refs:eventType (Results 1 – 25 of 74) sorted by relevance

123

/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
DXmlUtils.java33 int eventType = parser.getEventType(); in readThisArrayMapXml() local
35 if (eventType == XmlPullParser.START_TAG) { in readThisArrayMapXml()
38 } else if (eventType == XmlPullParser.END_TAG) { in readThisArrayMapXml()
44 eventType = parser.next(); in readThisArrayMapXml()
45 } while (eventType != XmlPullParser.END_DOCUMENT); in readThisArrayMapXml()
69 int eventType = parser.getEventType(); in readThisListXml() local
71 if (eventType == XmlPullParser.START_TAG) { in readThisListXml()
74 } else if (eventType == XmlPullParser.END_TAG) { in readThisListXml()
80 eventType = parser.next(); in readThisListXml()
81 } while (eventType != XmlPullParser.END_DOCUMENT); in readThisListXml()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupDatabaseHelper.java169 int eventType = parser.getEventType(); in initDatabase() local
172 while (eventType != XmlPullParser.END_DOCUMENT) { in initDatabase()
173 if (eventType == XmlPullParser.START_TAG in initDatabase()
179 eventType = parser.getEventType(); in initDatabase()
198 int eventType = parser.getEventType(); in loadTable() local
200 while (!(eventType == XmlPullParser.END_TAG in loadTable()
224 eventType = parser.getEventType(); in loadTable()
231 int eventType = parser.getEventType(); in getTableMccIddRow() local
235 while (!(eventType == XmlPullParser.END_TAG && tagName.equalsIgnoreCase("row"))) { in getTableMccIddRow()
236 if (eventType == XmlPullParser.START_TAG) { in getTableMccIddRow()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtilHelper.java835 int eventType = parser.getEventType(); in readThisMapXml() local
837 if (eventType == parser.START_TAG) { in readThisMapXml()
840 } else if (eventType == parser.END_TAG) { in readThisMapXml()
847 eventType = parser.next(); in readThisMapXml()
848 } while (eventType != parser.END_DOCUMENT); in readThisMapXml()
864 int eventType = parser.getEventType(); in readThisArrayMapXml() local
866 if (eventType == parser.START_TAG) { in readThisArrayMapXml()
869 } else if (eventType == parser.END_TAG) { in readThisArrayMapXml()
876 eventType = parser.next(); in readThisArrayMapXml()
877 } while (eventType != parser.END_DOCUMENT); in readThisArrayMapXml()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java138 public long eventType; // one of the EventType field in CalendarController.EventInfo
176 if (eventType != EventType.VIEW_EVENT) { in isAllDay()
177 Log.wtf(TAG, "illegal call to isAllDay , wrong event type " + eventType); in isAllDay()
184 if (eventType != EventType.VIEW_EVENT) { in getResponse()
185 Log.wtf(TAG, "illegal call to getResponse , wrong event type " + eventType); in getResponse()
292 public void sendEventRelatedEvent(Object sender, long eventType, long eventId, long startMillis, in sendEventRelatedEvent() argument
298 sendEventRelatedEventWithExtra(sender, eventType, eventId, startMillis, endMillis, x, y, in sendEventRelatedEvent()
317 public void sendEventRelatedEventWithExtra(Object sender, long eventType, long eventId, in sendEventRelatedEventWithExtra() argument
319 sendEventRelatedEventWithExtraWithTitleWithCalendarId(sender, eventType, eventId, in sendEventRelatedEventWithExtra()
339 public void sendEventRelatedEventWithExtraWithTitleWithCalendarId(Object sender, long eventType, in sendEventRelatedEventWithExtraWithTitleWithCalendarId() argument
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/
DSuggestionEventStore.java68 public void writeEvent(String suggestionId, String eventType) { in writeEvent() argument
69 if (!EVENTS.contains(eventType)) { in writeEvent()
70 Log.w(TAG, "Reported event type " + eventType + " is not a valid type!"); in writeEvent()
73 final String lastTimePrefKey = getPrefKey(suggestionId, eventType, METRIC_LAST_EVENT_TIME); in writeEvent()
74 final String countPrefKey = getPrefKey(suggestionId, eventType, METRIC_COUNT); in writeEvent()
87 public long readMetric(String suggestionId, String eventType, String metricType) { in readMetric() argument
88 if (!EVENTS.contains(eventType)) { in readMetric()
89 Log.w(TAG, "Reported event type " + eventType + " is not a valid event!"); in readMetric()
95 return readPref(getPrefKey(suggestionId, eventType, metricType), (long) 0); in readMetric()
111 private String getPrefKey(String suggestionId, String eventType, String statType) { in getPrefKey() argument
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/instrumentation/
DMetricsFeatureProvider.java42 event.eventType = SettingsIntelligenceEvent.GET_SUGGESTION; in logGetSuggestion()
52 event.eventType = SettingsIntelligenceEvent.DISMISS_SUGGESTION; in logDismissSuggestion()
62 event.eventType = SettingsIntelligenceEvent.LAUNCH_SUGGESTION; in logLaunchSuggestion()
73 event.eventType = type; in logSearchResultClick()
82 public void logEvent(int eventType) { in logEvent() argument
83 logEvent(eventType, 0 /* latency */); in logEvent()
86 public void logEvent(int eventType, long latency) { in logEvent() argument
88 event.eventType = eventType; in logEvent()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsXmlResourceParser.java94 protected int advanceToNextEvent(int eventType) throws XmlPullParserException, IOException { in advanceToNextEvent() argument
97 if (nextEvent == eventType in advanceToNextEvent()
111 final int eventType = mInputParser.getEventType(); in xmlParserDebugContext() local
112 mLogStringBuilder.append(xmlParserEventString(eventType)); in xmlParserDebugContext()
113 if (eventType == XmlPullParser.START_TAG in xmlParserDebugContext()
114 || eventType == XmlPullParser.END_TAG in xmlParserDebugContext()
115 || eventType == XmlPullParser.TEXT) { in xmlParserDebugContext()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp182 .eventType = EventType::BOOT_TIME_COLLECTION, in start()
187 .eventType = EventType::PERIODIC_COLLECTION, in start()
192 .eventType = EventType::PERIODIC_MONITOR, in start()
464 .eventType = EventType::CUSTOM_COLLECTION, in startCustomCollection()
597 if (mCurrCollectionEvent != metadata->eventType) { in processCollectionEvent()
598 ALOGW("Skipping %s event on collection event %s", toString(metadata->eventType), in processCollectionEvent()
603 ALOGD("Processing %s collection event", toString(metadata->eventType)); in processCollectionEvent()
609 << " seconds for " << toString(metadata->eventType) in processCollectionEvent()
615 return Error() << toString(metadata->eventType) << " collection failed: " << result.error(); in processCollectionEvent()
618 mHandlerLooper->sendMessageAtTime(metadata->lastUptime, this, metadata->eventType); in processCollectionEvent()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserLifecycleEventTest.java29 int eventType = 42; in testFullConstructor() local
32 UserLifecycleEvent event = new UserLifecycleEvent(eventType, from, to); in testFullConstructor()
34 assertThat(event.getEventType()).isEqualTo(eventType); in testFullConstructor()
43 int eventType = 42; in testAlternativeConstructor() local
45 UserLifecycleEvent event = new UserLifecycleEvent(eventType, to); in testAlternativeConstructor()
47 assertThat(event.getEventType()).isEqualTo(eventType); in testAlternativeConstructor()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java201 int eventType = parser.getEventType(); in parseTechLists() local
202 while (eventType != XmlPullParser.START_TAG) { in parseTechLists()
203 eventType = parser.next(); in parseTechLists()
208 eventType = parser.next(); in parseTechLists()
211 if (eventType == XmlPullParser.START_TAG && "tech".equals(tagName)) { in parseTechLists()
213 } else if (eventType == XmlPullParser.END_TAG && "tech-list".equals(tagName)) { in parseTechLists()
222 eventType = parser.next(); in parseTechLists()
223 } while (eventType != XmlPullParser.END_DOCUMENT); in parseTechLists()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java445 int eventType = parser.getEventType(); in parseXml() local
446 while (eventType != XmlPullParser.END_DOCUMENT) { in parseXml()
447 if (eventType == XmlPullParser.START_TAG) { in parseXml()
461 eventType = parser.getEventType(); in parseXml()
479 int eventType = parser.getEventType(); in generateFeatureList() local
480 if (eventType == XmlPullParser.END_TAG in generateFeatureList()
485 if (eventType != XmlPullParser.START_TAG) { in generateFeatureList()
503 int eventType = parser.getEventType(); in readCommandResultEntry() local
504 if (eventType == XmlPullParser.END_TAG in readCommandResultEntry()
508 if (eventType == XmlPullParser.START_TAG in readCommandResultEntry()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java594 public String eventType; field in BluetoothMapContentObserver.Event
626 Event(String eventType, long handle, String folder, String oldFolder, TYPE msgType) { in Event() argument
627 this.eventType = eventType; in Event()
642 Event(String eventType, long handle, String folder, TYPE msgType) { in Event() argument
643 this.eventType = eventType; in Event()
650 Event(String eventType, long handle, String folder, TYPE msgType, String datetime, in Event() argument
652 this.eventType = eventType; in Event()
667 Event(String eventType, long handle, String folder, TYPE msgType, String datetime, in Event() argument
670 this.eventType = eventType; in Event()
691 Event(String eventType, String uci, TYPE msgType, String name, String priority, in Event() argument
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpMessageReceiver.java93 String eventType = sms.getPrefix(); in onReceive() local
96 if (eventType == null || data == null) { in onReceive()
101 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
107 } else if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive()
115 VvmLog.w(TAG, "Unknown prefix: " + eventType); in onReceive()
120 Bundle statusData = helper.getProtocol().translateStatusSmsBundle(helper, eventType, data); in onReceive()
DStatusSmsFetcher.java117 String eventType = sms.getPrefix(); in onReceive() local
119 if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive()
124 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
130 "VVM SMS with event " + eventType + " received, attempting to translate to STATUS SMS"); in onReceive()
136 Bundle translatedBundle = protocol.translateStatusSmsBundle(helper, eventType, sms.getFields()); in onReceive()
/packages/apps/Messaging/src/com/android/messaging/sms/
DApnsXmlProcessor.java115 private int advanceToNextEvent(int eventType) throws XmlPullParserException, IOException { in advanceToNextEvent() argument
118 if (nextEvent == eventType in advanceToNextEvent()
202 final int eventType = mInputParser.getEventType(); in xmlParserDebugContext() local
203 mLogStringBuilder.append(xmlParserEventString(eventType)); in xmlParserDebugContext()
204 if (eventType == XmlPullParser.START_TAG in xmlParserDebugContext()
205 || eventType == XmlPullParser.END_TAG in xmlParserDebugContext()
206 || eventType == XmlPullParser.TEXT) { in xmlParserDebugContext()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp35 return std::tie(netId, eventType, returnCode, hostname, ipAddresses, ipAddressesCount) == in operator ==()
36 std::tie(o.netId, o.eventType, o.returnCode, o.hostname, o.ipAddresses, in operator ==()
41 return os << fmt::format("[{}, {}, {}, {}, [{}], {}]", data.netId, data.eventType, in operator <<()
67 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
75 {netId, eventType, returnCode, hostname, ipAddresses, ipAddressesCount}); in onDnsEvent()
Dtest_metrics.cpp36 ::ndk::ScopedAStatus TestOnDnsEvent::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
59 if (eventType != result.eventType) continue; in onDnsEvent()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyEvent.java85 public CarPropertyEvent(int eventType, @NonNull CarPropertyValue<?> carPropertyValue) { in CarPropertyEvent() argument
86 mEventType = eventType; in CarPropertyEvent()
94 public CarPropertyEvent(int eventType, @NonNull CarPropertyValue<?> carPropertyValue, in CarPropertyEvent() argument
96 mEventType = eventType; in CarPropertyEvent()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java289 final EventEditType eventType = getType(); in isBirthdayType() local
290 return eventType.rawValue == Event.TYPE_BIRTHDAY && !eventType.secondary in isBirthdayType()
291 && eventType.specificMax == 1 && eventType.customColumn == null in isBirthdayType()
292 && eventType.isYearOptional(); in isBirthdayType()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsParser.java111 int eventType = parser.getEventType(); in parse() local
112 assertEquals(eventType, XmlPullParser.START_TAG, "Malformed XML: Not a valid XML file"); in parse()
146 eventType = parser.next(); in parse()
148 eventType, in parse()
217 int eventType = parser.getEventType(); in parseRatingSystemDefinition() local
218 switch (eventType) { in parseRatingSystemDefinition()
251 + eventType in parseRatingSystemDefinition()
/packages/apps/Camera2/src/android/util/
DCameraPerformanceTracker.java62 public static void onEvent(int eventType) { in onEvent() argument
67 switch (eventType) { in onEvent()
100 if (DEBUG && eventType == FIRST_PREVIEW_FRAME) { in onEvent()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java341 int eventType = parser.getEventType(); in readDynamicSettingsLocked() local
342 while (eventType != XmlPullParser.START_TAG && in readDynamicSettingsLocked()
343 eventType != XmlPullParser.END_DOCUMENT) { in readDynamicSettingsLocked()
344 eventType = parser.next(); in readDynamicSettingsLocked()
353 while (eventType != XmlPullParser.END_DOCUMENT) { in readDynamicSettingsLocked()
355 if (eventType == XmlPullParser.START_TAG) { in readDynamicSettingsLocked()
381 } else if (eventType == XmlPullParser.END_TAG) { in readDynamicSettingsLocked()
402 eventType = parser.next(); in readDynamicSettingsLocked()
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java99 public static void logEditorEvent(int eventType, int numberRawContacts) { in logEditorEvent() argument
103 event.eventType = eventType; in logEditorEvent()
/packages/apps/TV/common/src/com/android/tv/common/compat/
DTvRecordingClientCompat.java80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() argument
82 && !mClientCompatProcessor.handleEvent(inputId, eventType, eventArgs)) { in onEvent()
83 super.onEvent(inputId, eventType, eventArgs); in onEvent()
DTvViewCompat.java80 public void onEvent(String inputId, String eventType, Bundle eventArgs) { in onEvent() argument
82 && !mTvViewCompatProcessor.handleEvent(inputId, eventType, eventArgs)) { in onEvent()
83 super.onEvent(inputId, eventType, eventArgs); in onEvent()

123