Home
last modified time | relevance | path

Searched refs:mReadHead (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTapPacketReader.java45 private final Lazy<ArrayTrackRecord<byte[]>.ReadHead> mReadHead = field in TapPacketReader
102 return mReadHead.getValue().poll(timeoutMs, packet -> true); in poll()
110 return mReadHead.getValue().poll(timeoutMs, filter::test); in poll()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java1009 private final ArrayTrackRecord<Integer>.ReadHead mReadHead = mEnabledStates.newReadHead();
1030 assertThat(mReadHead.poll(ENABLED_TIMEOUT_MILLIS, e -> (e == enabled))).isNotNull();
1034 assertThat(mReadHead.poll(CALLBACK_TIMEOUT_MILLIS, e -> true)).isNull();