Home
last modified time | relevance | path

Searched refs:valueCaptor (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java807 ArgumentCaptor<Tether6Value> valueCaptor = in verifyStartUpstreamIpv6Forwarding() local
810 keyCaptor.capture(), valueCaptor.capture()); in verifyStartUpstreamIpv6Forwarding()
812 List<Tether6Value> values = valueCaptor.getAllValues(); in verifyStartUpstreamIpv6Forwarding()
866 ArgumentCaptor<Tether6Value> valueCaptor = in verifyAddUpstreamRules() local
869 keyCaptor.capture(), valueCaptor.capture()); in verifyAddUpstreamRules()
871 List<Tether6Value> values = valueCaptor.getAllValues(); in verifyAddUpstreamRules()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DLegacyApfTest.java1884 final ArgumentCaptor<Long> valueCaptor = ArgumentCaptor.forClass(Long.class); in testApfSessionInfoMetrics_LegacyApfFilter() local
1886 counterCaptor.capture(), valueCaptor.capture()); in testApfSessionInfoMetrics_LegacyApfFilter()
1888 final List<Long> values = valueCaptor.getAllValues(); in testApfSessionInfoMetrics_LegacyApfFilter()
DApfTest.java3251 final ArgumentCaptor<Long> valueCaptor = ArgumentCaptor.forClass(Long.class); in testApfSessionInfoMetrics() local
3253 counterCaptor.capture(), valueCaptor.capture()); in testApfSessionInfoMetrics()
3255 final List<Long> values = valueCaptor.getAllValues(); in testApfSessionInfoMetrics()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java2208 ArgumentCaptor<CarPropertyValue> valueCaptor = in testRegisterCallback_restoresOriginalRateHzIfTheSecondCallbackReturnsFalse() local
2219 verify(mCarPropertyEventCallback, timeout(5000)).onChangeEvent(valueCaptor.capture()); in testRegisterCallback_restoresOriginalRateHzIfTheSecondCallbackReturnsFalse()
2220 assertThat(valueCaptor.getAllValues()).containsExactly(goodValue); in testRegisterCallback_restoresOriginalRateHzIfTheSecondCallbackReturnsFalse()