Home
last modified time | relevance | path

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

1234567

/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/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/
DConfigParser.java108 int eventType = parser.getEventType(); in getConfigs() local
109 while (eventType != XmlPullParser.END_DOCUMENT) { in getConfigs()
110 if (eventType == XmlPullParser.START_TAG && Objects.equals(parser.getName(), in getConfigs()
117 eventType = parser.next(); in getConfigs()
167 int eventType = parser.next(); in parseMetricsConfig() local
169 while (eventType != XmlPullParser.END_TAG || !Objects.equals(parser.getName(), in parseMetricsConfig()
171 if (eventType == XmlPullParser.START_TAG in parseMetricsConfig()
178 eventType = parser.next(); in parseMetricsConfig()
193 int eventType = parser.next(); in parseSubscribers() local
194 while (eventType != XmlPullParser.END_TAG in parseSubscribers()
[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.kt113 @JvmField var eventType: Long = 0 // one of the EventType variable in com.android.calendar.EventInfo
152 if (eventType != EventType.VIEW_EVENT) {
153 Log.wtf(TAG, "illegal call to isAllDay , wrong event type $eventType")
160 if (eventType != EventType.VIEW_EVENT) {
161 Log.wtf(TAG, "illegal call to getResponse , wrong event type $eventType")
221 eventType: Long, in handleEvent()
234 sender, eventType, eventId, startMillis, endMillis, x, y, in handleEvent()
256 eventType: Long, in sendEventRelatedEventWithExtra()
266 sender, eventType, eventId, in sendEventRelatedEventWithExtra()
289 eventType: Long, in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
[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/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DAdminEventMessage.java85 @NonNull public final EventType eventType; field in AdminEventMessage
92 .append(eventType) in toString()
116 public AdminEventMessage(@NonNull EventType eventType, @NonNull byte[] additionalData) { in AdminEventMessage() argument
120 generatePayload(eventType, additionalData)); in AdminEventMessage()
121 this.eventType = eventType; in AdminEventMessage()
139 @NonNull EventType eventType, @NonNull byte[] additionalData) { in generatePayload()
140 if (eventType == null) { in generatePayload()
146 byte[] eventTypeBytes = DataTypeConversionUtil.i32ToByteArray(eventType.getValue()); in generatePayload()
155 EventType eventType = in extractEventType() local
157 if (eventType == null) { in extractEventType()
[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/Launcher3/src/com/android/launcher3/responsive/
DResponsiveSpecsParser.kt47 var eventType = parser.eventType in parseXML() variable
48 while (eventType != XmlPullParser.END_DOCUMENT) { in parseXML()
79 eventType = parser.next() in parseXML()
110 while (parser.eventType != XmlPullParser.END_DOCUMENT && parser.name != parentName) { in parseSizeSpecs()
111 if (parser.eventType == XmlResourceParser.START_TAG) { in parseSizeSpecs()
121 name == tag && eventType == XmlPullParser.START_TAG in starts()
124 name == tag && eventType == XmlPullParser.END_TAG in starts()
/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/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcEventLogTest.java74 NfcEventProto.EventType eventType = in testLogEvent() local
82 mNfcEventLog.logEvent(eventType); in testLogEvent()
87 .setEventType(eventType) in testLogEvent()
96 NfcEventProto.EventType eventType = in testMultipleLogEvents() local
106 mNfcEventLog.logEvent(eventType); in testMultipleLogEvents()
109 mNfcEventLog.logEvent(eventType); in testMultipleLogEvents()
114 .setEventType(eventType) in testMultipleLogEvents()
127 NfcEventProto.EventType eventType = in testReadEventsFromLogFile() local
135 .setEventType(eventType) in testReadEventsFromLogFile()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentsStatsLogHelper.java148 private void writeCarRecentsEventReported(int eventType) { in writeCarRecentsEventReported() argument
149 writeCarRecentsEventReported(eventType, /* totalTaskCount */ UNSPECIFIED_COUNT, in writeCarRecentsEventReported()
161 private void writeCarRecentsEventReported(int eventType, int totalTaskCount, in writeCarRecentsEventReported() argument
164 Log.v(TAG, "writing CAR_RECENTS_EVENT_REPORTED with eventType=" + eventType in writeCarRecentsEventReported()
170 /* eventType */ eventType, in writeCarRecentsEventReported()
191 private void writeCarRecentsEventReported(long sessionId, long eventId, int eventType, in writeCarRecentsEventReported() argument
197 /* event_type */ eventType, in writeCarRecentsEventReported()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DXmlUtils.java68 for (int eventType = parser.getEventType(); eventType != parser.END_DOCUMENT; in readMapXml()
69 eventType = parser.next()) { in readMapXml()
70 if (eventType == parser.START_TAG) { in readMapXml()
78 } else if (eventType == parser.TEXT) { in readMapXml()
80 } else if (eventType == parser.END_TAG) { in readMapXml()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DCalmModeStatsLogHelper.java110 private void writeCarCalmModeEventReported(int eventType) { in writeCarCalmModeEventReported() argument
112 eventType, /* launchType */ CalmModeLaunchType.UNSPECIFIED_LAUNCH_TYPE); in writeCarCalmModeEventReported()
121 private void writeCarCalmModeEventReported(int eventType, int launchType) { in writeCarCalmModeEventReported() argument
125 + ", eventId=" + eventId + "eventType= " + eventType in writeCarCalmModeEventReported()
132 /* eventType */ eventType, in writeCarCalmModeEventReported()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioVolumeGroup.java131 int eventType = EVENT_TYPE_NONE; in calculateNewGainStageFromDeviceInfos() local
168 eventType |= (EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED in calculateNewGainStageFromDeviceInfos()
173 eventType |= (EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED in calculateNewGainStageFromDeviceInfos()
182 eventType |= (EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED in calculateNewGainStageFromDeviceInfos()
186 if (eventType == EVENT_TYPE_NONE) { in calculateNewGainStageFromDeviceInfos()
187 return eventType; in calculateNewGainStageFromDeviceInfos()
233 return eventType; in calculateNewGainStageFromDeviceInfos()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java238 int eventType = parser.getEventType(); in parseTechLists() local
239 while (eventType != XmlPullParser.START_TAG) { in parseTechLists()
240 eventType = parser.next(); in parseTechLists()
245 eventType = parser.next(); in parseTechLists()
248 if (eventType == XmlPullParser.START_TAG && "tech".equals(tagName)) { in parseTechLists()
250 } else if (eventType == XmlPullParser.END_TAG && "tech-list".equals(tagName)) { in parseTechLists()
259 eventType = parser.next(); in parseTechLists()
260 } while (eventType != XmlPullParser.END_DOCUMENT); in parseTechLists()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp138 constexpr int toProtoEventType(EventType eventType) { in toProtoEventType() argument
139 switch (eventType) { in toProtoEventType()
228 .eventType = EventType::BOOT_TIME_COLLECTION, in start()
232 .eventType = EventType::PERIODIC_COLLECTION, in start()
236 .eventType = EventType::USER_SWITCH_COLLECTION, in start()
240 .eventType = EventType::WAKE_UP_COLLECTION, in start()
244 .eventType = EventType::PERIODIC_MONITOR, in start()
690 .eventType = EventType::CUSTOM_COLLECTION, in startCustomCollection()
856 if (mCurrCollectionEvent != metadata->eventType) { in processCollectionEvent()
857 ALOGW("Skipping %s event on collection event %s", toString(metadata->eventType), in processCollectionEvent()
[all …]
/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/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/util/
DAppCategoryDetector.java95 int eventType = parser.getEventType(); in parseAutomotiveAppTypes() local
96 while (eventType != XmlPullParser.END_DOCUMENT) { in parseAutomotiveAppTypes()
97 if (eventType == XmlPullParser.START_TAG) { in parseAutomotiveAppTypes()
123 } else if (eventType == XmlPullParser.END_TAG) { in parseAutomotiveAppTypes()
129 eventType = parser.next(); in parseAutomotiveAppTypes()
/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.java124 String eventType = sms.getPrefix(); in onReceive() local
126 if (eventType.equals(OmtpConstants.STATUS_SMS_PREFIX)) { in onReceive()
131 if (eventType.equals(OmtpConstants.SYNC_SMS_PREFIX)) { in onReceive()
137 "VVM SMS with event " + eventType + " received, attempting to translate to STATUS SMS"); in onReceive()
143 Bundle translatedBundle = protocol.translateStatusSmsBundle(helper, eventType, sms.getFields()); in onReceive()
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp31 return std::tie(netId, eventType, returnCode, hostname, ipAddresses, ipAddressesCount) == in operator ==()
32 std::tie(o.netId, o.eventType, o.returnCode, o.hostname, o.ipAddresses, in operator ==()
37 return os << fmt::format("[{}, {}, {}, {}, [{}], {}]", data.netId, data.eventType, in operator <<()
64 ::ndk::ScopedAStatus DnsMetricsListener::onDnsEvent(int32_t netId, int32_t eventType, in onDnsEvent() argument
72 {netId, eventType, returnCode, hostname, ipAddresses, ipAddressesCount}); in onDnsEvent()
/packages/modules/AdServices/adservices/linter/java/android/adservices/parser/
DAndroidManifestParser.java59 int eventType = parser.next(); in findComponentsMissingAdservicesProcess() local
60 while (eventType != END_DOCUMENT) { in findComponentsMissingAdservicesProcess()
61 if (eventType == START_TAG) { in findComponentsMissingAdservicesProcess()
78 eventType = parser.next(); in findComponentsMissingAdservicesProcess()
/packages/services/Car/car-lib/src/android/car/user/
DUserLifecycleEventFilter.java106 for (int eventType : mEventTypes) { in matchEventType()
107 if (eventType == event.getEventType()) { in matchEventType()
122 for (int eventType : mEventTypes) { in toString()
123 builder.append(CarUserManager.lifecycleEventTypeToString(eventType)); in toString()
158 public Builder addEventType(@CommonConstants.UserLifecycleEventType int eventType) { in addEventType() argument
159 mEventTypes.add(eventType); in addEventType()
/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()

1234567