Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java63 long mTimeoutMs = 200; // non-final so that tests can adjust the value. field in NsdManagerTest
77 mServiceHandler.waitForIdle(mTimeoutMs); in tearDown()
97 verify(listener, timeout(mTimeoutMs).times(1)).onResolveFailed(request, err); in testResolveService()
102 verify(listener, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in testResolveService()
124 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in testParallelResolveService()
125 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceResolved(reply); in testParallelResolveService()
148 verify(listener2, timeout(mTimeoutMs).times(1)).onServiceRegistered(request2); in testRegisterService()
152 verify(listener1, timeout(mTimeoutMs).times(1)).onRegistrationFailed(request1, err); in testRegisterService()
159 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceRegistered(request1); in testRegisterService()
167 verify(listener1, timeout(mTimeoutMs).times(1)).onServiceUnregistered(request1); in testRegisterService()
[all …]
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java59 long mTimeoutMs = 100; // non-final so that tests can adjust the value. field in NsdServiceTest
100 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientsCanConnectAndDisconnect()
136 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientRequestsAreGCedAtDisconnection()
168 verify(mDaemon, timeout(mTimeoutMs).times(n)).execute(argumentsCaptor.capture()); in verifyDaemonCommand()
/frameworks/support/compat/src/main/java/androidx/core/content/res/
DFontResourcesParserCompat.java76 private final int mTimeoutMs; field in FontResourcesParserCompat.ProviderResourceEntry
83 mTimeoutMs = timeoutMs; in ProviderResourceEntry()
95 return mTimeoutMs; in getTimeout()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java106 private final long mTimeoutMs; field in NetworkDiagnostics
174 mTimeoutMs = timeoutMs; in NetworkDiagnostics()
176 mDeadlineTime = mStartTime + mTimeoutMs; in NetworkDiagnostics()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java214 private int mTimeoutMs; field in LockPatternUtils.RequestThrottledException
216 mTimeoutMs = timeoutMs; in RequestThrottledException()
224 return mTimeoutMs; in getTimeoutMs()