Home
last modified time | relevance | path

Searched refs:eventName (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/util/
DRaceConditionTracker.java31 void onEvent(String eventName); in onEvent() argument
40 public static void onEvent(String eventName) { in onEvent() argument
41 if (sEventProcessor != null) sEventProcessor.onEvent(eventName); in onEvent()
44 public static void onEvent(String eventName, boolean isEnter) { in onEvent() argument
46 sEventProcessor.onEvent(enterExitEvt(eventName, isEnter)); in onEvent()
50 public static String enterExitEvt(String eventName, boolean isEnter) { in enterExitEvt() argument
51 return eventName + ":" + (isEnter ? ENTER_POSTFIX : EXIT_POSTFIX); in enterExitEvt()
54 public static String enterEvt(String eventName) { in enterEvt() argument
55 return enterExitEvt(eventName, ENTER); in enterEvt()
58 public static String exitEvt(String eventName) { in exitEvt() argument
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
DCompositePhoneLookup.java91 String eventName = in lookup() local
93 futureTimer.applyTiming(lookupFuture, eventName); in lookup()
97 String eventName = String.format(Metrics.LOOKUP_FOR_CALL_TEMPLATE, getLoggingName()); in lookup() local
98 futureTimer.applyTiming(combinedFuture, eventName); in lookup()
115 String eventName = in lookup() local
117 futureTimer.applyTiming(lookupFuture, eventName); in lookup()
121 String eventName = String.format(Metrics.LOOKUP_FOR_NUMBER_TEMPLATE, getLoggingName()); in lookup() local
122 futureTimer.applyTiming(combinedFuture, eventName); in lookup()
153 String eventName = String.format(Metrics.IS_DIRTY_TEMPLATE, phoneLookup.getLoggingName()); in isDirty() local
154 futureTimer.applyTiming(isDirtyFuture, eventName, LogCatMode.LOG_VALUES); in isDirty()
[all …]
/packages/apps/Dialer/java/com/android/dialer/metrics/
DFutureTimer.java75 public <T> void applyTiming(ListenableFuture<T> future, String eventName) { in applyTiming() argument
76 applyTiming(future, unused -> eventName, LogCatMode.DONT_LOG_VALUES); in applyTiming()
84 ListenableFuture<T> future, String eventName, @LogCatMode int logCatMode) { in applyTiming() argument
85 applyTiming(future, unused -> eventName, logCatMode); in applyTiming()
110 String eventName = eventNameFromResultFunction.apply(result); in applyTiming()
112 metrics.stopUnnamedTimer(timerId, eventName); in applyTiming()
123 eventName, in applyTiming()
131 eventName, in applyTiming()
152 eventName, in applyTiming()
DStubMetrics.java85 public void startJankRecorder(String eventName) { in startJankRecorder() argument
86 LogUtil.d("StubMetrics.startJankRecorder", "started jank recorder for %s", eventName); in startJankRecorder()
90 public void stopJankRecorder(String eventName) { in stopJankRecorder() argument
91 LogUtil.d("StubMetrics.startJankRecorder", "stopped jank recorder for %s", eventName); in stopJankRecorder()
DMetrics.java96 void startJankRecorder(String eventName); in startJankRecorder() argument
99 void stopJankRecorder(String eventName); in stopJankRecorder() argument
/packages/apps/TV/src/com/android/tv/perf/
DPerformanceMonitor.java38 void recordMemory(@EventName @CompileTimeConstant String eventName); in recordMemory() argument
46 void startGlobalTimer(@EventName @CompileTimeConstant String eventName); in startGlobalTimer() argument
54 void stopGlobalTimer(@EventName @CompileTimeConstant String eventName); in stopGlobalTimer() argument
73 void stopTimer(TimerEvent event, @EventName @CompileTimeConstant String eventName); in stopTimer() argument
83 void startJankRecorder(@EventName @CompileTimeConstant String eventName); in startJankRecorder() argument
90 void stopJankRecorder(@EventName @CompileTimeConstant String eventName); in stopJankRecorder() argument
/packages/apps/Dialer/java/com/android/dialer/metrics/jank/
DRecyclerViewJankLogger.java27 private final String eventName; field in RecyclerViewJankLogger
31 public RecyclerViewJankLogger(Metrics metrics, String eventName) { in RecyclerViewJankLogger() argument
33 this.eventName = eventName; in RecyclerViewJankLogger()
40 metrics.startJankRecorder(eventName); in onScrollStateChanged()
43 metrics.stopJankRecorder(eventName); in onScrollStateChanged()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DRefreshAnnotatedCallLogWorker.java163 String eventName = String.format(Metrics.IS_DIRTY_TEMPLATE, dataSource.getLoggingName()); in isDirty() local
164 futureTimer.applyTiming(dataSourceDirty, eventName, LogCatMode.LOG_VALUES); in isDirty()
191 String eventName = eventNameForFill(dataSource, isBuilt); in rebuild()
192 futureTimer.applyTiming(dataSourceFuture, eventName); in rebuild()
231 String eventName = eventNameForOnSuccessfulFill(dataSource, isBuilt); in rebuild()
232 futureTimer.applyTiming(dataSourceFuture, eventName); in rebuild()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertService.java162 String eventName; field in AlertService.NotificationInfo
171 NotificationInfo(String eventName, String location, String description, long startMillis, in NotificationInfo() argument
173 this.eventName = eventName; in NotificationInfo()
/packages/apps/TV/src/com/android/tv/perf/stub/
DStubPerformanceMonitor.java49 public void startJankRecorder(String eventName) {} in startJankRecorder() argument
52 public void stopJankRecorder(String eventName) {} in stopJankRecorder() argument
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java642 String eventName = mEventCursor.getString(EVENT_INDEX_TITLE); in updateEvent() local
643 if (eventName == null || eventName.length() == 0) { in updateEvent()
644 eventName = getActivity().getString(R.string.no_title_label); in updateEvent()
683 if (eventName != null) { in updateEvent()
684 setTextCommon(view, R.id.title, eventName); in updateEvent()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java227 public Insert(String eventName) { in Insert() argument
228 eventInfo = findEvent(eventName); in Insert()
241 String eventName; field in CalendarProvider2Test.Delete
246 public Delete(String eventName, int expected, String account, String accountType) { in Delete() argument
247 this.eventName = eventName; in Delete()
254 Log.i(TAG, "delete " + eventName); in execute()
255 int rows = deleteMatchingEvents(eventName, account, accountType); in execute()
269 String eventName; field in CalendarProvider2Test.Update
272 public Update(String eventName, KeyValue[] pairs) { in Update() argument
273 this.eventName = eventName; in Update()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DRemoteDevices.java833 String eventName = (String) eventNameObj; in getBatteryLevelFromXEventVsc() local
834 if (!eventName.equals( in getBatteryLevelFromXEventVsc()
836 infoLog("getBatteryLevelFromXEventVsc() skip none BATTERY event: " + eventName); in getBatteryLevelFromXEventVsc()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java585 public ShortEventDescriptor(String language, String eventName, String text) { in ShortEventDescriptor() argument
587 mEventName = eventName; in ShortEventDescriptor()
DSectionParser.java1935 String eventName = new String(data, pos, eventNameLength); in parseDvbShortEvent() local
1944 return new ShortEventDescriptor(language, eventName, text); in parseDvbShortEvent()