/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsMultinetworkSocketClientTest.java | 67 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 …]
|
D | MdnsDiscoveryManagerTests.java | 65 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsDiscoveryManagerTests 155 HandlerUtils.waitForIdle(handler, DEFAULT_TIMEOUT); in runOnHandler()
|
D | MdnsSocketProviderTest.java | 105 private static final long DEFAULT_TIMEOUT = 2000L; field in MdnsSocketProviderTest 189 HandlerUtils.waitForIdle(mHandler, DEFAULT_TIMEOUT); in runOnHandler()
|
D | MdnsServiceTypeClientTests.java | 103 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/ |
D | CarRemoteAccessManagerUnitTest.java | 71 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/ |
D | TimeoutTask.java | 31 public static final int DEFAULT_TIMEOUT = -1; field in TimeoutTask 33 private long mTimeout = DEFAULT_TIMEOUT;
|
D | DragAndDropManager.java | 402 TimeoutTask.DEFAULT_TIMEOUT, in drop()
|
D | BaseActivity.java | 562 TimeoutTask.DEFAULT_TIMEOUT, in onRootPicked()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | truth.py | 60 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/ |
D | hfp_client.py | 31 DEFAULT_TIMEOUT = 2 variable in HfpClient 107 await asyncio.wait_for(future, HfpClient.DEFAULT_TIMEOUT)
|
D | adapter_client.py | 32 DEFAULT_TIMEOUT = 2 variable in AdapterClient 70 await asyncio.wait_for(future, AdapterClient.DEFAULT_TIMEOUT)
|
D | gatt_client.py | 33 DEFAULT_TIMEOUT = 2 variable in GattClient
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStubUnitTest.java | 143 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/ |
D | SoftApConfiguration.java | 124 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/ |
D | printer.c | 34 #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/ |
D | CommandRunner.java | 37 private static final long DEFAULT_TIMEOUT = 30000; field in CommandRunner
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 182 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/ |
D | DownloadThread.java | 119 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/ |
D | SoftApBackupRestore.java | 220 shutDownMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in retrieveSoftApConfigurationFromBackupData()
|
D | WifiApConfigStore.java | 353 configBuilder.setShutdownTimeoutMillis(SoftApConfiguration.DEFAULT_TIMEOUT); in resetToDefaultForUnsupportedConfig()
|
D | SoftApManager.java | 404 newShutdownTimeoutMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in updateChangeableConfiguration()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 164 TimeoutTask.DEFAULT_TIMEOUT, in pasteIntoFolder()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 2302 shutDownMillis = SoftApConfiguration.DEFAULT_TIMEOUT; in parseFromXml() 2339 ? SoftApConfiguration.DEFAULT_TIMEOUT : bridgedTimeout; in parseFromXml()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 125 .isEqualTo(SoftApConfiguration.DEFAULT_TIMEOUT); in testBasicSettings()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 1420 TimeoutTask.DEFAULT_TIMEOUT, in getRootDocumentAndMaybeRefreshDocument()
|