Home
last modified time | relevance | path

Searched refs:eventId (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java206 .notify(eq(tag), eq(PRIVATE_DNS_BROKEN.eventId), any()); in verifyTitleByNetwork()
254 final int eventId = types.get(i).eventId; in testNotificationsShownAndCleared() local
256 verify(mNotificationManager, times(1)).notify(eq(tag), eq(eventId), any()); in testNotificationsShownAndCleared()
257 verify(mNotificationManager, times(1)).cancel(eq(tag), eq(eventId)); in testNotificationsShownAndCleared()
273 final int eventId = NO_INTERNET.eventId; in testNoInternetNotificationsNotShownForCellular() local
275 verify(mNotificationManager, times(1)).notify(eq(tag), eq(eventId), any()); in testNoInternetNotificationsNotShownForCellular()
292 verify(mNotificationManager, times(1)).notify(eq(TEST_NOTIF_TAG), eq(type.eventId), in assertNotification()
308 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(NO_INTERNET.eventId)); in testDuplicatedNotificationsNoInternetThenSignIn()
312 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(SIGN_IN.eventId)); in testDuplicatedNotificationsNoInternetThenSignIn()
324 verify(mNotificationManager, times(1)).cancel(eq(TEST_NOTIF_TAG), eq(NO_INTERNET.eventId)); in testOngoingSignInNotification()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkNotificationManager.java63 public final int eventId; field in NetworkNotificationManager.NotificationType
65 NotificationType(int eventId) { in NotificationType() argument
66 this.eventId = eventId; in NotificationType()
67 Holder.sIdToTypeMap.put(eventId, this); in NotificationType()
163 final int eventId = notifyType.eventId; in showNotification() local
200 tag, nameOf(eventId), getTransportName(transportType), name, highPriority)); in showNotification()
205 Log.d(TAG, "Notified via dialog for event " + nameOf(eventId)); in showNotification()
315 mNotificationTypeMap.put(id, eventId); in showNotification()
317 mNotificationManager.notify(tag, eventId, notification); in showNotification()
381 final int eventId = mNotificationTypeMap.get(id); in clearNotification() local
[all …]
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.kt215 val eventId: Int = instancesCursor.getInt(INSTANCES_INDEX_EVENTID) in queryNextReminderAndSchedule() constant
228 var startTimes: List<Long>? = eventMap.get(eventId) in queryNextReminderAndSchedule()
231 eventMap.put(eventId, startTimes) in queryNextReminderAndSchedule()
232 eventIdsForQuery.append(eventId) in queryNextReminderAndSchedule()
241 msg.append("Events cursor result -- eventId:").append(eventId) in queryNextReminderAndSchedule()
264 val eventId: Int = cursor.getInt(REMINDERS_INDEX_EVENT_ID) in queryNextReminderAndSchedule() constant
266 val startTimes: List<Long>? = eventMap.get(eventId) in queryNextReminderAndSchedule()
273 nextAlarmEventId = eventId in queryNextReminderAndSchedule()
278 msg.append("Reminders cursor result -- eventId:").append(eventId) in queryNextReminderAndSchedule()
315 eventId: Long, in scheduleAlarm()
[all …]
DDismissAlarmsService.kt48 val eventId = intent?.getLongExtra(AlertUtils.EVENT_ID_KEY, -1) in onHandleIntent() constant
59 if (eventId != -1L) { in onHandleIntent()
60 alarmIds.add(AlarmId(eventId as Long, eventStart as Long)) in onHandleIntent()
63 CalendarAlerts.EVENT_ID + "=" + eventId in onHandleIntent()
90 val i: Intent = AlertUtils.buildEventViewIntent(this, eventId as Long, in onHandleIntent()
DAlertReceiver.kt63 eventId: Long, in makeBasicNotification()
75 eventId, in makeBasicNotification()
80 return NotificationWrapper(n, notificationId, eventId, startMillis, endMillis, doPopup) in makeBasicNotification()
90 eventId: Long, in buildBasicNotification()
DAlertService.kt45 eventId: Long,
51 mEventId = eventId
96 var eventId: Long, variable in com.android.calendar.alerts.NotificationInfo
DAlertUtils.kt82 @JvmStatic fun buildEventViewIntent(c: Context, eventId: Long, begin: Long, end: Long): Intent { in buildEventViewIntent()
85 builder.appendEncodedPath("events/$eventId") in buildEventViewIntent()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.kt61 var eventId: Long = -1 variable
222 eventId: Long, in handleEvent()
234 sender, eventType, eventId, startMillis, endMillis, x, y, in handleEvent()
257 eventId: Long, in sendEventRelatedEventWithExtra()
266 sender, eventType, eventId, in sendEventRelatedEventWithExtra()
290 eventId: Long, in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
305 info.id = eventId in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
339 eventId: Long, in sendEvent()
343 sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null, in sendEvent()
356 eventId: Long, in sendEvent()
[all …]
DEventInfoFragment.kt210 var eventId: Long = 0 variable in com.android.calendar.EventInfoFragment
326 eventId: Long,
333 context as Context, ContentUris.withAppendedId(Events.CONTENT_URI, eventId), startMillis,
336 this.eventId = eventId
476 eventId = mEventCursor.getInt(EVENT_INDEX_ID).toLong() in initEventCursor()
547 private fun createExceptionResponse(eventId: Long, status: Int) { in createExceptionResponse()
555 eventId.toString() in createExceptionResponse()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventTest.java39 long eventId = 1; in testBuilderAndEquals() local
51 .setEventId(eventId) in testBuilderAndEquals()
63 assertEquals(event1.getEventId(), eventId); in testBuilderAndEquals() local
66 eventId, queryId, slotIndex, bidId, servicePackageName, slotPosition, in testBuilderAndEquals()
83 long eventId = 1; in testBuildTwiceThrows() local
95 .setEventId(eventId); in testBuildTwiceThrows()
DEventUrlPayloadTest.java38 long eventId = 1; in testBuilderAndEquals() local
50 .setEventId(eventId) in testBuilderAndEquals()
75 long eventId = 1; in testBuildTwiceThrows() local
87 .setEventId(eventId) in testBuildTwiceThrows()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java109 if (item.eventId.getId() > 0) { in handleViewClick()
110 mActivityContext.getStatsLogManager().logger().log(item.eventId); in handleViewClick()
302 public final EventEnum eventId; field in OptionsPopupView.OptionItem
305 public OptionItem(Context context, int labelRes, int iconRes, EventEnum eventId, in OptionItem() argument
310 this.eventId = eventId; in OptionItem()
314 public OptionItem(CharSequence label, Drawable icon, EventEnum eventId, in OptionItem() argument
319 this.eventId = eventId; in OptionItem()
DAccessibilityActionsView.java87 if (item.eventId.getId() > 0) { in performAccessibilityAction()
88 l.getStatsLogManager().logger().log(item.eventId); in performAccessibilityAction()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2EImpressionNoiseMockTest.java114 String eventId = payload.getString(PayloadKeys.EVENT_ID); in processActualEventReports() local
117 getKey(uri, eventId), k -> new HashMap<String, Integer>()).merge( in processActualEventReports()
157 String eventId = payload.optString(PayloadKeys.EVENT_ID); in getExpectedTriggerDataDistributions() local
160 getKey(uri, eventId), k -> new HashMap<String, Integer>()).merge( in getExpectedTriggerDataDistributions()
170 private String getKey(String uri, String eventId) { in getKey() argument
171 return uri + "," + eventId; in getKey()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryTipsController.java111 final String eventId = mAnomalyEventWrapper.getEventId(); in handleBatteryTipsCardUpdated() local
126 mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_ACCEPT, eventId); in handleBatteryTipsCardUpdated()
140 mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_DISMISS, eventId); in handleBatteryTipsCardUpdated()
145 mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_SHOW, eventId); in handleBatteryTipsCardUpdated()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java2112 long eventId = ContentUris.parseId(eventUri); in testCalendarAlerts() local
2114 Uri alertUri = CalendarContract.CalendarAlerts.insert(mResolver, eventId /* eventId */, in testCalendarAlerts()
2116 CalendarContract.CalendarAlerts.insert(mResolver, eventId /* eventId */, in testCalendarAlerts()
2233 long eventId = ContentUris.parseId(eventUri); in testAttendees() local
2242 attendee.put(CalendarContract.Attendees.EVENT_ID, eventId); in testAttendees()
2248 "event_id=" + eventId, null, null); in testAttendees()
2296 "event_id=" + eventId, null, null); in testAttendees()
2323 private void testAndClearDirty(long eventId, int wanted) { in testAndClearDirty() argument
2325 ContentUris.withAppendedId(CalendarContract.Events.CONTENT_URI, eventId), in testAndClearDirty()
2334 mDb.execSQL("UPDATE Events SET " + Events.DIRTY + "=0 WHERE _id=" + eventId); in testAndClearDirty()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DAnomalyReporterAdapterImpl.java24 public void reportAnomaly(UUID eventId, String description) { in reportAnomaly() argument
25 AnomalyReporter.reportAnomaly(eventId, description); in reportAnomaly()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java701 long eventId = cursor.getLong(0); in updateEventsStartEndFromEventRawTimesLocked() local
707 Log.e(TAG, "Event " + eventId + " has dtStart2445 and dtEnd2445 null " in updateEventsStartEndFromEventRawTimesLocked()
712 updateEventsStartEndLocked(eventId, in updateEventsStartEndFromEventRawTimesLocked()
742 private void updateEventsStartEndLocked(long eventId, in updateEventsStartEndLocked() argument
750 new String[] {String.valueOf(eventId)}); in updateEventsStartEndLocked()
2551 final Long eventId = values.getAsLong(Attendees.EVENT_ID); in insertInTransactionInner() local
2552 mDbHelper.duplicateEvent(eventId); in insertInTransactionInner()
2553 setEventDirty(eventId); in insertInTransactionInner()
2615 final Long eventId = values in insertInTransactionInner() local
2617 mDbHelper.duplicateEvent(eventId); in insertInTransactionInner()
[all …]
DCalendarAlarmManager.java390 final long eventId = cursor.getLong(eventIdIndex); in scheduleNextAlarmLocked() local
402 " looking at id: " + eventId + " " + startTime + startTimeStr in scheduleNextAlarmLocked()
420 if (CalendarAlerts.alarmExists(resolver, eventId, startTime, alarmTime)) { in scheduleNextAlarmLocked()
425 " alarm exists for id: " + eventId + " " + title); in scheduleNextAlarmLocked()
432 resolver, eventId, startTime, endTime, alarmTime, minutes); in scheduleNextAlarmLocked()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEvent.java86 long eventId, in Event() argument
96 this.mEventId = eventId; in Event()
287 long eventId, in Builder() argument
297 mEventId = eventId; in Builder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java691 int eventId, in EitItem() argument
702 mEventId = eventId; in EitItem()
862 public final int eventId; field in PsipData.EttItem
865 public EttItem(int eventId, String text) { in EttItem() argument
866 this.eventId = eventId; in EttItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java101 int eventId; in logCrossProfileEmptyState() local
103 eventId = DevicePolicyMetricConsts.EVENT_ID_DOCSUI_EMPTY_STATE_QUIET_MODE; in logCrossProfileEmptyState()
105 eventId = DevicePolicyMetricConsts.EVENT_ID_DOCSUI_EMPTY_STATE_NO_PERMISSION; in logCrossProfileEmptyState()
110 DevicePolicyEventLogger.write(eventId, /* booleanValue= */ true); in logCrossProfileEmptyState()
653 public static void write(@DevicePolicyMetricConsts.EventId int eventId, in write() argument
660 builder.writeInt(eventId); // eventId in write()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetModel.kt231 val eventId: Long = cursor.getLong(CalendarAppWidgetService.INDEX_EVENT_ID) in buildFromCursor() constant
253 " end:" + end + " eventId:" + eventId in buildFromCursor()
265 eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor()
307 eventId: Long, in populateEventInfo()
341 eventInfo.id = eventId in populateEventInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DAppEventProducer.java113 private void sendEvent(LauncherAtom.ItemInfo atomInfo, int eventId, int targetPredictor) { in sendEvent() argument
114 sendEvent(toAppTarget(atomInfo), atomInfo, eventId, targetPredictor); in sendEvent() local
118 private void sendEvent(AppTarget target, LauncherAtom.ItemInfo locationInfo, int eventId, in sendEvent() argument
122 AppTargetEvent event = new AppTargetEvent.Builder(target, eventId) in sendEvent()
/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalTest.java59 public void logEvent(int eventId, String packageName) throws RemoteException { in logEvent() argument
60 mCode = eventId; in logEvent()

12