Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEOUT (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java67 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsMultinetworkSocketClientTest
117 verify(mProvider, timeout(DEFAULT_TIMEOUT).times(requestSocketCount)) in expectSocketCallback()
162 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
170 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
178 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
188 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSendPacket()
274 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
288 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
303 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in testSocketRemovedAfterNetworkUnrequested()
312 verify(mProvider, timeout(DEFAULT_TIMEOUT)).unrequestSocket(callback2); in testSocketRemovedAfterNetworkUnrequested()
[all …]
DMdnsDiscoveryManagerTests.java65 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsDiscoveryManagerTests
155 HandlerUtils.waitForIdle(handler, DEFAULT_TIMEOUT); in runOnHandler()
DMdnsSocketProviderTest.java105 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsSocketProviderTest
189 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in runOnHandler()
DMdnsServiceTypeClientTests.java103 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsServiceTypeClientTests
266 HandlerUtils.waitForIdle(handler, DEFAULT_TIMEOUT); in runOnHandler()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java71 private static final int DEFAULT_TIMEOUT = 3000; field in CarRemoteAccessManagerUnitTest
322 verify(remoteTaskClient, timeout(DEFAULT_TIMEOUT)).onRegistrationUpdated(any()); in testOnShutdownStarting()
326 verify(remoteTaskClient, timeout(DEFAULT_TIMEOUT)).onShutdownStarting( in testOnShutdownStarting()
649 private static final int DEFAULT_TIMEOUT = 3000; field in CarRemoteAccessManagerUnitTest.RemoteTaskClient
699 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getServiceId()
704 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getVehicleId()
709 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getProcessorId()
714 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getClientId()
719 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getTaskId()
724 JavaMockitoHelper.await(mLatch, DEFAULT_TIMEOUT); in getData()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DTimeoutTask.java31 public static final int DEFAULT_TIMEOUT = -1; field in TimeoutTask
33 private long mTimeout = DEFAULT_TIMEOUT;
DDragAndDropManager.java402 TimeoutTask.DEFAULT_TIMEOUT, in drop()
DBaseActivity.java562 TimeoutTask.DEFAULT_TIMEOUT, in onRootPicked()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dtruth.py60 DEFAULT_TIMEOUT = timedelta(seconds=30) variable
68 def emits(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT):
109 def then(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT):
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Dhfp_client.py31 DEFAULT_TIMEOUT = 2 variable in HfpClient
107 await asyncio.wait_for(future, HfpClient.DEFAULT_TIMEOUT)
Dadapter_client.py32 DEFAULT_TIMEOUT = 2 variable in AdapterClient
70 await asyncio.wait_for(future, AdapterClient.DEFAULT_TIMEOUT)
Dgatt_client.py33 DEFAULT_TIMEOUT = 2 variable in GattClient
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java143 private static final int DEFAULT_TIMEOUT = 1000; field in FakeVehicleStubUnitTest
640 requestPropValue, DEFAULT_TIMEOUT); in testGetAsyncMethodForSingleValue()
665 requestPropValue, DEFAULT_TIMEOUT); in testGetAsyncMethodForSingleValueNoReadPermissionError()
685 requestPropValue, DEFAULT_TIMEOUT); in testGetAsyncForPropNotAvailable()
704 requestPropValue, DEFAULT_TIMEOUT); in testGetAsyncForSpecialPropInternalError()
734 requestPropValue1, DEFAULT_TIMEOUT); in testGetAsyncForMultipleGetRequestsSuccessAndError()
736 requestPropValue2, DEFAULT_TIMEOUT); in testGetAsyncForMultipleGetRequestsSuccessAndError()
1003 requestPropValue, DEFAULT_TIMEOUT); in testSetAsyncForSingleProp()
1044 requestPropValue, DEFAULT_TIMEOUT); in testSetAsyncGlobalPropWithAreaIdSetValueOutOfRange()
1069 requestPropValue, DEFAULT_TIMEOUT); in testSetAsyncForSpecialPropRemoteException()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java124 public static final long DEFAULT_TIMEOUT = -1; field in SoftApConfiguration
958 REMOVE_ZERO_FOR_TIMEOUT_SETTING) && mShutdownTimeoutMillis == DEFAULT_TIMEOUT) { in getShutdownTimeoutMillis()
1329 mShutdownTimeoutMillis = DEFAULT_TIMEOUT; in Builder()
1342 mBridgedModeOpportunisticShutdownTimeoutMillis = DEFAULT_TIMEOUT; in Builder()
1418 REMOVE_ZERO_FOR_TIMEOUT_SETTING) && mShutdownTimeoutMillis == DEFAULT_TIMEOUT) { in build()
1915 if (timeoutMillis != DEFAULT_TIMEOUT) { in setShutdownTimeoutMillis()
2287 if (timeoutMillis < 1 && timeoutMillis != DEFAULT_TIMEOUT) { in setBridgedModeOpportunisticShutdownTimeoutMillis()
/packages/services/BuiltInPrintService/jni/lib/
Dprinter.c34 #define DEFAULT_TIMEOUT (5000) macro
45 static long int _wprint_timeout_msec = DEFAULT_TIMEOUT;
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DCommandRunner.java37 private static final long DEFAULT_TIMEOUT = 30000; field in CommandRunner
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DTestableNetworkCallback.kt182 private const val DEFAULT_TIMEOUT = 30_000L // ms constant
191 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT,
214 timeoutMs: Long = DEFAULT_TIMEOUT,
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java119 private static final int DEFAULT_TIMEOUT = (int) (20 * SECOND_IN_MILLIS); field in DownloadThread
437 conn.setConnectTimeout(DEFAULT_TIMEOUT); in executeDownload()
438 conn.setReadTimeout(DEFAULT_TIMEOUT); in executeDownload()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApBackupRestore.java220 shutDownMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in retrieveSoftApConfigurationFromBackupData()
DWifiApConfigStore.java353 configBuilder.setShutdownTimeoutMillis(SoftApConfiguration.DEFAULT_TIMEOUT); in resetToDefaultForUnsupportedConfig()
DSoftApManager.java404 newShutdownTimeoutMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in updateChangeableConfiguration()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java164 TimeoutTask.DEFAULT_TIMEOUT, in pasteIntoFolder()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java2302 shutDownMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in parseFromXml()
2339 ? SoftApConfiguration.DEFAULT_TIMEOUT : bridgedTimeout; in parseFromXml()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java125 .isEqualTo(SoftApConfiguration.DEFAULT_TIMEOUT); in testBasicSettings()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java1420 TimeoutTask.DEFAULT_TIMEOUT, in getRootDocumentAndMaybeRefreshDocument()

12