Searched refs:mHistory (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/tethering/src/android/tethering/cts/ |
D | TetheringManagerTest.java | 267 private final ArrayTrackRecord<CallbackValue>.ReadHead mHistory = 272 mHistory.add(new CallbackValue.OnTetheringStarted()); in onTetheringStarted() 277 mHistory.add(new CallbackValue.OnTetheringFailed(error)); in onTetheringFailed() 281 final CallbackValue cv = mHistory.poll(TIMEOUT_MS, c -> true); in verifyTetheringStarted() 288 final CallbackValue cv = mHistory.poll(TIMEOUT_MS, c -> true); in expectTetheringFailed() 388 private final ArrayTrackRecord<CallbackValue> mHistory = field in TetheringManagerTest.TestTetheringEventCallback 392 mHistory.newReadHead(); 400 mHistory.add(new CallbackValue(CallbackType.ON_SUPPORTED, null, (supported ? 1 : 0))); in onTetheringSupported() 405 mHistory.add(new CallbackValue(CallbackType.ON_UPSTREAM, network, 0)); in onUpstreamChanged() 411 mHistory.add(new CallbackValue(CallbackType.ON_TETHERABLE_REGEX, reg, 0)); in onTetherableInterfaceRegexpsChanged() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 446 private final ArrayTrackRecord<Object>.ReadHead mHistory = 451 mHistory.add(report); in onConnectivityReportAvailable() 456 mHistory.add(report); in onDataStallSuspected() 461 mHistory.add(new Pair<Network, Boolean>(network, hasConnectivity)); in onNetworkConnectivityReported() 472 (ConnectivityReport) mHistory.poll(CALLBACK_TIMEOUT_MILLIS, x -> true); in expectOnConnectivityReportAvailable() 503 (DataStallReport) mHistory.poll(CALLBACK_TIMEOUT_MILLIS, x -> true); in expectOnDataStallSuspected() 520 (Pair<Network, Boolean>) mHistory.poll(CALLBACK_TIMEOUT_MILLIS, x -> true); in expectOnNetworkConnectivityReported() 528 mHistory.poll(NO_CALLBACK_INVOKED_TIMEOUT, x -> true)); in assertNoCallback()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 517 private LongArray mHistory = new LongArray(); field in AppStandbyTests.TestAlarmHistory 520 mHistory.add(timestamp); in addTime() 527 if (x == 0 || x > mHistory.size()) { in getLast() 530 return mHistory.get(mHistory.size() - x); in getLast()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutTest.java | 1599 private final List<int[]> mHistory; 1602 mHistory = new ArrayList<int[]>(); 1611 mHistory.add(new int[] {start, end}); 1615 return mHistory;
|