/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStreamTestUtils.java | 155 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 …]
|
D | ImeEvent.java | 102 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()
|
D | MockIme.java | 1451 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/ |
D | MockA11yIme.java | 371 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/ |
D | MockA11yImeEvent.java | 101 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/ |
D | UserLifecycleEventStatsTests.java | 92 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/ |
D | MockA11yImeEventStreamUtils.java | 143 @NonNull String eventName, @NonNull String marker) { in editorMatcherForA11yIme() 145 if (!TextUtils.equals(eventName, event.getEventName())) { in editorMatcherForA11yIme()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | MediaExtractorHostSideTest.java | 137 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local 147 .setId(eventName.hashCode()) in addAtomEvent()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 140 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/ |
D | ActivityManagerNewFgsLogicTest.java | 91 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/ |
D | EnterpriseMetricsRecorder.java | 112 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local 129 eventMetric.id = eventName.hashCode(); in addAtomEvent()
|
/cts/hostsidetests/mediaparser/src/android/media/mediaparser/cts/ |
D | MediaParserHostSideTest.java | 318 String eventName = "Event" + System.nanoTime(); in addAtomEvent() local 326 .setId(eventName.hashCode()) in addAtomEvent()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | ConfigUtils.java | 123 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/ |
D | MetricsRecorder.java | 244 final var eventName = "Event " + nanoTime; in addEventMetric() local 259 eventMetric.id = eventName.hashCode(); in addEventMetric()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | OffBodySensorTestActivity.java | 190 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/ |
D | CompatChangeGatingTestCase.java | 234 final String eventName = "Event" + System.nanoTime(); in createAndUploadStatsdConfig() local 252 .setId(eventName.hashCode()) in createAndUploadStatsdConfig()
|