Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java116 @Mock private IIpClientCallbacks mCb; field in IpClientTest
158 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient()
168 verify(mCb, never()).onLinkPropertiesChange(any()); in makeIpClient()
169 reset(mCb); in makeIpClient()
189 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows()
215 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow()
224 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately()
227 verify(mCb, timeout(TEST_TIMEOUT_MS).times(1)).onProvisioningFailure(any()); in testInterfaceNotFoundFailsImmediately()
255 verify(mCb, timeout(TEST_TIMEOUT_MS).times(1)).setNeighborDiscoveryOffload(true); in doProvisioningWithDefaultConfiguration()
256 verify(mCb, timeout(TEST_TIMEOUT_MS).times(1)).setFallbackMulticastFilter(false); in doProvisioningWithDefaultConfiguration()
[all …]
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java204 @Mock private IIpClientCallbacks mCb; field in IpClientIntegrationTest
403 verify(mCb, timeout(TEST_TIMEOUT_MS)).onQuit();
461 mIpc = new IpClient(mContext, mIfaceName, mCb, mNetworkObserverRegistry,
619 verify(mCb, timeout(TEST_TIMEOUT_MS)).setFallbackMulticastFilter(false);
621 verify(mCb, never()).onProvisioningFailure(any());
783 verify(mCb, timeout(TEST_TIMEOUT_MS)).onLinkPropertiesChange(emptyLp);
795 verify(mCb, timeout(TEST_TIMEOUT_MS)).onProvisioningSuccess(captor.capture());
825 reset(mCb);
848 verify(mCb, timeout(TEST_TIMEOUT_MS)).onPreconnectionStart(l2PacketList.capture());
920 verify(mCb, timeout(TEST_TIMEOUT_MS)).setFallbackMulticastFilter(false);
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/eap/
DEapAuthenticator.java57 private final IEapCallback mCb; field in EapAuthenticator
110 mCb = cb; in EapAuthenticator()
149 mCb.onError(new TimeoutException("Timeout while processing message")); in processEapMessage()
182 mCb.onResponse(((EapResponse) finalProcessResponse).packet); in processEapMessage()
188 mCb.onError(eapError.cause); in processEapMessage()
196 mCb.onSuccess(eapSuccess.msk, eapSuccess.emsk); in processEapMessage()
198 mCb.onFail(); in processEapMessage()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java45 protected Callbacks mCb; field in AllAppsSearchBarController
60 mCb = cb; in initialize()
86 mCb.clearSearchResult(); in afterTextChanged()
89 mSearchAlgorithm.doSearch(mQuery, mCb); in afterTextChanged()
99 mSearchAlgorithm.doSearch(mQuery, mCb); in refreshSearchResult()
141 mCb.clearSearchResult(); in reset()
/packages/apps/Nfc/nci/jni/
DIntervalTimer.cpp30 mCb = NULL; in IntervalTimer()
39 if (cb != mCb) { in set()
64 mCb = NULL; in kill()
80 mCb = cb; in create()
DIntervalTimer.h35 TIMER_FUNC mCb; variable