/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 116 @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/ |
D | IpClientIntegrationTest.java | 203 @Mock private IIpClientCallbacks mCb; field in IpClientIntegrationTest 402 verify(mCb, timeout(TEST_TIMEOUT_MS)).onQuit(); 460 mIpc = new IpClient(mContext, mIfaceName, mCb, mNetworkObserverRegistry, 618 verify(mCb, timeout(TEST_TIMEOUT_MS)).setFallbackMulticastFilter(false); 620 verify(mCb, never()).onProvisioningFailure(any()); 782 verify(mCb, timeout(TEST_TIMEOUT_MS)).onLinkPropertiesChange(emptyLp); 794 verify(mCb, timeout(TEST_TIMEOUT_MS)).onProvisioningSuccess(captor.capture()); 824 reset(mCb); 847 verify(mCb, timeout(TEST_TIMEOUT_MS)).onPreconnectionStart(l2PacketList.capture()); 919 verify(mCb, timeout(TEST_TIMEOUT_MS)).setFallbackMulticastFilter(false); [all …]
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/ |
D | EapAuthenticator.java | 57 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/ |
D | AllAppsSearchBarController.java | 45 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/ |
D | IntervalTimer.cpp | 30 mCb = NULL; in IntervalTimer() 39 if (cb != mCb) { in set() 64 mCb = NULL; in kill() 80 mCb = cb; in create()
|
D | IntervalTimer.h | 35 TIMER_FUNC mCb; variable
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | MediaOutputPanel.java | 226 mMediaController.registerCallback(mCb); in onStart() 245 mMediaController.unregisterCallback(mCb); in onStop() 256 private final MediaController.Callback mCb = new MediaController.Callback() { field in MediaOutputPanel
|