Home
last modified time | relevance | path

Searched refs:eventInfo (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/widget/
DCalendarAppWidgetServiceTest.java110 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_1Event() local
111 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_1Event()
112 eventInfo.visibWhere = View.VISIBLE; in testGetAppWidgetModel_1Event()
113 eventInfo.visibTitle = View.VISIBLE; in testGetAppWidgetModel_1Event()
114 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, in testGetAppWidgetModel_1Event()
116 eventInfo.where = location; in testGetAppWidgetModel_1Event()
117 eventInfo.title = title; in testGetAppWidgetModel_1Event()
118 expected.mEventInfos.add(eventInfo); in testGetAppWidgetModel_1Event()
137 EventInfo eventInfo = new EventInfo(); in testGetAppWidgetModel_AllDayEventLater() local
138 eventInfo.visibWhen = View.VISIBLE; in testGetAppWidgetModel_AllDayEventLater()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeSetCalendarPreferenceControllerTest.java95 ZenModeConfig.EventInfo eventInfo = new ZenModeConfig.EventInfo(); in updateEventMode_updatesConditionAndTriggerDescription() local
96 eventInfo.calendarId = 1L; in updateEventMode_updatesConditionAndTriggerDescription()
97 eventInfo.calName = "My events"; in updateEventMode_updatesConditionAndTriggerDescription()
100 ZenMode out = mPrefController.updateEventMode(eventInfo).apply(mode); in updateEventMode_updatesConditionAndTriggerDescription()
103 ZenModeConfig.toEventConditionId(eventInfo)); in updateEventMode_updatesConditionAndTriggerDescription()
109 ZenModeConfig.EventInfo eventInfo = new ZenModeConfig.EventInfo(); in updateState_setsPreferenceValues() local
110 eventInfo.calendarId = 1L; in updateState_setsPreferenceValues()
111 eventInfo.calName = "Definitely A Calendar"; in updateState_setsPreferenceValues()
112 eventInfo.reply = REPLY_YES; in updateState_setsPreferenceValues()
116 ZenModeConfig.toEventConditionId(eventInfo)).build(), in updateState_setsPreferenceValues()
[all …]
DZenModeSetTriggerLinkPreferenceControllerTest.java152 ZenModeConfig.EventInfo eventInfo = new ZenModeConfig.EventInfo(); in testRuleLink_calendar() local
153 eventInfo.calendarId = 1L; in testRuleLink_calendar()
154 eventInfo.calName = "My events"; in testRuleLink_calendar()
156 ZenModeConfig.toEventConditionId(eventInfo)) in testRuleLink_calendar()
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.kt261 val eventInfo: EventInfo? = mModel?.mEventInfos?.get(rowInfo.mIndex) in getViewAt() constant
262 if (eventInfo!!.allDay) { in getViewAt()
270 val displayColor: Int = Utils.getDisplayColorFromColor(eventInfo.color) in getViewAt()
272 if (!eventInfo.allDay && eventInfo.start <= now && now <= eventInfo.end) { in getViewAt()
283 if (!eventInfo.allDay) { in getViewAt()
284 updateTextView(views, R.id.`when`, eventInfo.visibWhen in getViewAt()
285 as Int, eventInfo.`when`) in getViewAt()
286 updateTextView(views, R.id.where, eventInfo.visibWhere in getViewAt()
287 as Int, eventInfo.where) in getViewAt()
289 updateTextView(views, R.id.title, eventInfo.visibTitle as Int, eventInfo.title) in getViewAt()
[all …]
DCalendarAppWidgetModel.kt318 val eventInfo = EventInfo() in populateEventInfo() constant
341 eventInfo.id = eventId in populateEventInfo()
342 eventInfo.start = start in populateEventInfo()
343 eventInfo.end = end in populateEventInfo()
344 eventInfo.allDay = allDay in populateEventInfo()
345 eventInfo.`when` = whenString.toString() in populateEventInfo()
346 eventInfo.visibWhen = visibWhen in populateEventInfo()
347 eventInfo.color = color in populateEventInfo()
348 eventInfo.selfAttendeeStatus = selfStatus in populateEventInfo()
352 eventInfo.title = mContext?.getString(R.string.no_title_label) in populateEventInfo()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.kt647 private fun eventInfoToString(eventInfo: EventInfo): String { in eventInfoToString()
650 if (eventInfo.eventType and EventType.GO_TO != 0L) { in eventInfoToString()
652 } else if (eventInfo.eventType and EventType.VIEW_EVENT != 0L) { in eventInfoToString()
654 } else if (eventInfo.eventType and EventType.VIEW_EVENT_DETAILS != 0L) { in eventInfoToString()
656 } else if (eventInfo.eventType and EventType.EVENTS_CHANGED != 0L) { in eventInfoToString()
658 } else if (eventInfo.eventType and EventType.USER_HOME != 0L) { in eventInfoToString()
660 } else if (eventInfo.eventType and EventType.UPDATE_TITLE != 0L) { in eventInfoToString()
665 builder.append(eventInfo.id) in eventInfoToString()
667 builder.append(eventInfo.selectedTime) in eventInfoToString()
669 builder.append(eventInfo.startTime) in eventInfoToString()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeEventRuleSettingsTest.java116 ZenModeConfig.EventInfo eventInfo = new ZenModeConfig.EventInfo(); in updateEventRule_updatesConditionAndTriggerDescription() local
117 eventInfo.calendarId = 1L; in updateEventRule_updatesConditionAndTriggerDescription()
118 eventInfo.calName = "My events"; in updateEventRule_updatesConditionAndTriggerDescription()
119 mFragment.updateEventRule(eventInfo); in updateEventRule_updatesConditionAndTriggerDescription()
124 ZenModeConfig.toEventConditionId(eventInfo)) in updateEventRule_updatesConditionAndTriggerDescription()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelper.java55 cardHolder.sliceView.setOnSliceActionListener((eventInfo, sliceItem) -> { in bindView() argument
56 final String log = ContextualCardLogUtils.buildCardClickLog(card, eventInfo.rowIndex, in bindView()
57 eventInfo.actionType, cardHolder.getAdapterPosition()); in bindView()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputService.java340 SampleTunerTvInputSectionParser.EitEventInfo eventInfo =
342 if (eventInfo == null) {
349 long endTimeMs = startTimeMs + ((long)eventInfo.getLengthSeconds() * 1000);
364 values.put(TvContract.Programs.COLUMN_TITLE, eventInfo.getEventTitle());
/packages/apps/Settings/src/com/android/settings/panel/
DPanelSlicesAdapter.java161 ((eventInfo, sliceItem) -> { in onBind() argument
169 eventInfo.actionType /* value */); in onBind()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeImpl.java5896 DisconnectEventInfo eventInfo = (DisconnectEventInfo) message.obj; in processMessageImpl() local
5898 log("ConnectingOrConnectedState: Network disconnection " + eventInfo); in processMessageImpl()
5900 if (eventInfo.reasonCode in processMessageImpl()
5902 String bssid = !isValidBssid(eventInfo.bssid) in processMessageImpl()
5903 ? mTargetBssid : eventInfo.bssid; in processMessageImpl()
5913 clearNetworkCachedDataIfNeeded(config, eventInfo.reasonCode); in processMessageImpl()
5917 MacAddress.fromString(eventInfo.bssid), in processMessageImpl()
5918 "reason=" + StaIfaceReasonCode.toString(eventInfo.reasonCode)); in processMessageImpl()
5922 boolean newConnectionInProgress = isNewConnectionInProgress(eventInfo.ssid); in processMessageImpl()
5924 int level2FailureReason = eventInfo.locallyGenerated in processMessageImpl()
[all …]
/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp299 for (auto& [dimKey, eventInfo] : aggregateEvents) { in accumulateEvents()
300 eventInfo.first.setElapsedTimestampNs(eventElapsedTimeNs); in accumulateEvents()
301 onMatchedLogEventLocked(mWhatMatcherIndex, eventInfo.first); in accumulateEvents()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java226 EventInfo eventInfo; field in CalendarProvider2Test.Insert
229 eventInfo = findEvent(eventName); in Insert()
233 Log.i(TAG, "insert " + eventInfo.mTitle); in execute()
234 insertEvent(mCalendarId, eventInfo); in execute()
2401 EventInfo eventInfo = new EventInfo("current", startDate, endDate, false); in internalTestDirty() local
2402 Uri eventUri = insertEvent(mCalendarId, eventInfo); in internalTestDirty()