Home
last modified time | relevance | path

Searched refs:history (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsSuppServiceNotificationTest.java55 assertNotNull(unparceledData.history); in testParcelUnparcel()
57 assertEquals(data.history[i], unparceledData.history[i]); in testParcelUnparcel()
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt189 private val history = ArrayTrackRecord<CallbackEntry>().newReadHead() in willExpectDisconnectOnce() constant
214 history.add(OnBandwidthUpdateRequested) in willExpectDisconnectOnce()
218 history.add(OnNetworkUnwanted) in willExpectDisconnectOnce()
222 history.add(OnAddKeepalivePacketFilter(slot, packet)) in willExpectDisconnectOnce()
226 history.add(OnRemoveKeepalivePacketFilter(slot)) in willExpectDisconnectOnce()
234 history.add(OnStartSocketKeepalive(slot, interval.seconds.toInt(), packet)) in willExpectDisconnectOnce()
238 history.add(OnStopSocketKeepalive(slot)) in willExpectDisconnectOnce()
242 history.add(OnSaveAcceptUnvalidated(accept)) in willExpectDisconnectOnce()
246 history.add(OnAutomaticReconnectDisabled) in willExpectDisconnectOnce()
250 history.add(OnSignalStrengthThresholdsUpdated(thresholds)) in willExpectDisconnectOnce()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java152 for (TestResultHistory history: historyCollection.asSet()) { in generateResult()
153 Arrays.stream(history.getTestName().split(":")).reduce( in generateResult()
161 for (TestResultHistory history: historyCollection.asSet()) { in generateResult()
162 if (!prefixes.contains(history.getTestName())) { in generateResult()
163 leafTestHistories.add(history); in generateResult()
DTestResultHistoryCollection.java47 TestResultHistory history = new TestResultHistory(test, executionRecords); in addAll() local
57 mHistoryCollection.add(history); in addAll()
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/
DBroadcastsTest.java161 final String history = in testNonSupportedBroadcastsNotDelivered() local
165 for (String line : history.split("\n")) { in testNonSupportedBroadcastsNotDelivered()
176 assertTrue(history.contains(action)); in testNonSupportedBroadcastsNotDelivered()
181 assertFalse(history.contains(action)); in testNonSupportedBroadcastsNotDelivered()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DInstrumentedAutoFillService.java142 final FillEventHistory history = service.getFillEventHistory(); in getFillEventHistory() local
143 assertThat(history.getEvents()).isNull(); in getFillEventHistory()
144 return history; in getFillEventHistory()
148 final FillEventHistory history = service.getFillEventHistory(); in getFillEventHistory()
149 if (history == null) { in getFillEventHistory()
152 final List<Event> events = history.getEvents(); in getFillEventHistory()
162 return history; in getFillEventHistory()
DHelper.java1026 public static void assertDeprecatedClientState(@NonNull FillEventHistory history, in assertDeprecatedClientState() argument
1028 assertThat(history).isNotNull(); in assertDeprecatedClientState()
1030 final Bundle clientState = history.getClientState(); in assertDeprecatedClientState()
1031 assertClientState(history, clientState, key, value); in assertDeprecatedClientState()
1040 public static void assertNoDeprecatedClientState(@NonNull FillEventHistory history) { in assertNoDeprecatedClientState() argument
1041 assertThat(history).isNotNull(); in assertNoDeprecatedClientState()
1043 final Bundle clientState = history.getClientState(); in assertNoDeprecatedClientState()
1044 assertWithMessage("History '%s' should not have client state", history) in assertNoDeprecatedClientState()
DSimpleSaveActivityTest.java550 final FillEventHistory history = InstrumentedAutoFillService.getFillEventHistory(1); in testSaveWithParcelableOnClientState() local
552 final Bundle deprecatedState = history.getClientState(); in testSaveWithParcelableOnClientState()
554 assertMyClientState(history.getEvents().get(0).getClientState()); in testSaveWithParcelableOnClientState()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1633 List<int[]> history = span.getHistory();
1635 if (history.size() == 0) {
1643 int lastLineEnd = history.get(0)[0];
1644 for (int[] lineRange: history) {
1654 int[] firstLineRange = history.get(0);
1655 int[] lastLineRange = history.get(history.size() - 1);
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java519 final ArrayTrackRecord<CallbackValue>.ReadHead history = in assumeTetheringSupported()
521 assertNotNull("No onSupported callback", history.poll(TIMEOUT_MS, (cv) -> { in assumeTetheringSupported()