Home
last modified time | relevance | path

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

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java155 public static DescribedPredicate<ImeEvent> eventMatcher(@NonNull String eventName) { in eventMatcher() argument
156 return withDescription(eventName + "()", in eventMatcher()
157 event -> event.getEventName().equals(eventName)); in eventMatcher()
168 @NonNull String eventName, @NonNull String marker) { in editorMatcher()
169 return withDescription(eventName + "(marker=" + marker + ")", event -> { in editorMatcher()
170 if (!TextUtils.equals(eventName, event.getEventName())) { in editorMatcher()
196 @NonNull String eventName, @NonNull String marker) {
197 return editorMatcherRestarting(eventName, marker, false);
209 @NonNull String eventName, @NonNull String marker, boolean restarting) {
210 …return withDescription(eventName + "(marker=" + marker + ", restarting=" + restarting +")", event …
[all …]
DImeEvent.java102 ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, int threadId, in ImeEvent() argument
106 this(eventName, nestLevel, threadName, threadId, isMainThread, enterTimestamp, in ImeEvent()
111 private ImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, in ImeEvent() argument
116 mEventName = eventName; in ImeEvent()
188 final String eventName = bundle.getString("mEventName"); in fromBundle() local
235 return new ImeEvent(eventName, nestLevel, threadName, in fromBundle()
DMockIme.java1451 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable) {
1452 recordEventInternal(eventName, runnable, new Bundle());
1455 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable,
1457 recordEventInternal(eventName, () -> {
1462 private <T> T recordEventInternal(@NonNull String eventName,
1464 return recordEventInternal(eventName, supplier, new Bundle());
1467 private <T> T recordEventInternal(@NonNull String eventName,
1474 sendEventInternal(new ImeEvent(eventName, nestLevel, mThreadName,
1489 sendEventInternal(new ImeEvent(eventName, nestLevel, mThreadName,
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yIme.java371 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable) { in recordEventInternal() argument
372 recordEventInternal(eventName, runnable, new Bundle()); in recordEventInternal()
375 private void recordEventInternal(@NonNull String eventName, @NonNull Runnable runnable, in recordEventInternal() argument
377 recordEventInternal(eventName, () -> { in recordEventInternal()
382 private <T> T recordEventInternal(@NonNull String eventName, in recordEventInternal() argument
384 return recordEventInternal(eventName, supplier, new Bundle()); in recordEventInternal()
387 private <T> T recordEventInternal(@NonNull String eventName, in recordEventInternal() argument
391 sb.append(eventName).append(": "); in recordEventInternal()
399 sendEventInternal(new MockA11yImeEvent(eventName, nestLevel, mThreadName, in recordEventInternal()
413 sendEventInternal(new MockA11yImeEvent(eventName, nestLevel, mThreadName, in recordEventInternal()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeEvent.java101 MockA11yImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, in MockA11yImeEvent() argument
105 this(eventName, nestLevel, threadName, threadId, isMainThread, enterTimestamp, in MockA11yImeEvent()
110 private MockA11yImeEvent(@NonNull String eventName, int nestLevel, @NonNull String threadName, in MockA11yImeEvent() argument
115 mEventName = eventName; in MockA11yImeEvent()
179 final String eventName = bundle.getString("mEventName"); in fromBundle() local
222 return new MockA11yImeEvent(eventName, nestLevel, threadName, in fromBundle()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserLifecycleEventStatsTests.java92 protected void assertExpectedEvents(List<EventMetricData> data, int userId, String eventName) { in assertExpectedEvents() argument
93 List<String> expectedData = prepareUserExpectedEvents(eventName); in assertExpectedEvents()
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeEventStreamUtils.java143 @NonNull String eventName, @NonNull String marker) { in editorMatcherForA11yIme()
145 if (!TextUtils.equals(eventName, event.getEventName())) { in editorMatcherForA11yIme()
/cts/hostsidetests/media/src/android/media/cts/
DMediaExtractorHostSideTest.java137 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local
147 .setId(eventName.hashCode()) in addAtomEvent()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DAtomMetricTester.java140 final String eventName = "Event" + System.nanoTime(); in addAtomEvent() local
152 .setId(eventName.hashCode()) in addAtomEvent()
/cts/tests/app/FgsStartTest/test/src/android/app/cts/fgsstarttest/
DActivityManagerNewFgsLogicTest.java91 private void awaitLatch(CountDownLatch latch, String eventName) throws Exception { in awaitLatch() argument
94 assertTrue("Timed out waiting for " + eventName, success); in awaitLatch()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricsRecorder.java112 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local
129 eventMetric.id = eventName.hashCode(); in addAtomEvent()
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserHostSideTest.java318 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local
326 .setId(eventName.hashCode()) in addAtomEvent()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java123 final String eventName = "Event " + System.nanoTime(); in addEventMetric() local
136 .setId(eventName.hashCode()) in addEventMetric()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMetricsRecorder.java244 final var eventName = "Event " + nanoTime; in addEventMetric() local
259 eventMetric.id = eventName.hashCode(); in addEventMetric()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DOffBodySensorTestActivity.java190 String eventName = (value == ON_BODY_EVENT_VALUE) ? "ON-BODY" : "OFF-BODY"; in verifyEvent() local
212 eventName+" event"); in verifyEvent()
215 eventName, in verifyEvent()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java234 final String eventName = "Event" + System.nanoTime(); in createAndUploadStatsdConfig() local
252 .setId(eventName.hashCode()) in createAndUploadStatsdConfig()