Home
last modified time | relevance | path

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

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt27 import com.android.testutils.RecorderCallback.CallbackEntry.CapabilitiesChanged
61 data class CapabilitiesChanged( dataClass
88 val NETWORK_CAPS_UPDATED = CapabilitiesChanged::class
117 history.add(CapabilitiesChanged(network, caps)) in onCapabilitiesChanged()
219 ): CapabilitiesChanged { in expectCapabilitiesThat()
220 return expectCallback<CapabilitiesChanged>(net, tmt).also { in expectCapabilitiesThat()
283 val firstCaps = history.poll(tmt, mark) { it is CapabilitiesChanged } in expectAvailableDoubleValidatedCallbacks()
284 assertEquals(firstCaps, expectCallback<CapabilitiesChanged>(net, tmt)) in expectAvailableDoubleValidatedCallbacks()