Home
last modified time | relevance | path

Searched refs:mTimeoutMs (Results 1 – 8 of 8) 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/services/backup/java/com/android/server/backup/remote/
DRemoteCall.java64 private final long mTimeoutMs; field in RemoteCall
88 mTimeoutMs = timeoutMs; in RemoteCall()
119 if (mTimeoutMs == 0L) { in call()
122 Handler.getMain().postDelayed(this::timeOut, mTimeoutMs); in call()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DOneTimeSettingsListener.java41 private final int mTimeoutMs; field in OneTimeSettingsListener
48 mTimeoutMs = timeoutMs; in OneTimeSettingsListener()
72 final boolean updated = mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS); in assertCalled()
75 "Settings " + mKey + " not called in " + mTimeoutMs + "ms"); in assertCalled()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DSwitchToGuestTimer.java41 private final int mTimeoutMs; field in SwitchToGuestTimer
50 mTimeoutMs = context.getResources().getInteger(R.integer.driving_on_keyguard_timeout_ms); in SwitchToGuestTimer()
56 mEnabled = mTimeoutMs >= 0; in SwitchToGuestTimer()
74 mSwitchToGuestTimer = new CountDownTimer(mTimeoutMs, COUNTDOWN_INTERVAL_MS) { in start()
/frameworks/base/core/java/com/android/internal/util/
DSyncResultReceiver.java40 private final int mTimeoutMs; field in SyncResultReceiver
50 mTimeoutMs = timeoutMs; in SyncResultReceiver()
55 if (!mLatch.await(mTimeoutMs, TimeUnit.MILLISECONDS)) { in waitResult()
56 throw new TimeoutException("Not called in " + mTimeoutMs + "ms"); in waitResult()
/frameworks/base/tests/net/java/com/android/server/
DNsdServiceTest.java61 long mTimeoutMs = 100; // non-final so that tests can adjust the value. field in NsdServiceTest
102 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientsCanConnectAndDisconnect()
138 verify(mDaemon, timeout(mTimeoutMs).times(1)).stop(); in testClientRequestsAreGCedAtDisconnection()
170 verify(mDaemon, timeout(mTimeoutMs).times(n)).execute(argumentsCaptor.capture()); in verifyDaemonCommand()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java105 private final long mTimeoutMs; field in NetworkDiagnostics
173 mTimeoutMs = timeoutMs; in NetworkDiagnostics()
175 mDeadlineTime = mStartTime + mTimeoutMs; in NetworkDiagnostics()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java218 private int mTimeoutMs; field in LockPatternUtils.RequestThrottledException
221 mTimeoutMs = timeoutMs; in RequestThrottledException()
230 return mTimeoutMs; in getTimeoutMs()