Home
last modified time | relevance | path

Searched refs:setTimeout (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseSettingsTest.java80 .setTimeout(timeoutMillis) in readWriteParcel()
101 builder.setTimeout(0).build(); in illegalTimeout()
102 builder.setTimeout(180 * 1000).build(); in illegalTimeout()
105 builder.setTimeout(180 * 1000 + 1).build(); in illegalTimeout()
112 builder.setTimeout(-1).build(); in illegalTimeout()
/cts/tests/tests/nfc/src/android/nfc/tech/cts/
DNfcATest.java121 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout()
122 nfcA.setTimeout(250); in testSetTimeout()
125 verify(mNfcTagMock, times(1)).setTimeout(anyInt(), timeout.capture()); in testSetTimeout()
134 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout()
135 assertThrows(() -> nfcA.setTimeout(-1)); in testSetTimeout_invalidTimeout()
DNfcFTest.java120 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout()
121 nfcF.setTimeout(250); in testSetTimeout()
124 verify(mNfcTagMock, times(1)).setTimeout(anyInt(), timeout.capture()); in testSetTimeout()
133 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout()
134 assertThrows(() -> nfcF.setTimeout(-1)); in testSetTimeout_invalidTimeout()
DIsoDepTest.java138 when(mINfcTag.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout_success()
139 id.setTimeout(250); in testSetTimeout_success()
141 verify(mINfcTag, times(1)).setTimeout(anyInt(), timeout.capture()); in testSetTimeout_success()
148 when(mINfcTag.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalid()
149 Assert.assertThrows(IllegalArgumentException.class, () -> id.setTimeout(250)); in testSetTimeout_invalid()
DMifareUltralightTest.java168 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout()
170 ultralight.setTimeout(250); in testSetTimeout()
173 verify(mNfcTagMock, times(1)).setTimeout(anyInt(), timeout.capture()); in testSetTimeout()
182 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout()
183 assertThrows(() -> ultralight.setTimeout(250)); in testSetTimeout_invalidTimeout()
DMifareClassicTest.java431 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.SUCCESS); in testSetTimeout()
432 classic.setTimeout(250); in testSetTimeout()
435 verify(mNfcTagMock, times(1)).setTimeout(anyInt(), timeout.capture()); in testSetTimeout()
444 when(mNfcTagMock.setTimeout(anyInt(), anyInt())).thenReturn(ErrorCodes.ERROR_INVALID_PARAM); in testSetTimeout_invalidTimeout()
445 assertThrows(() -> classic.setTimeout(250)); in testSetTimeout_invalidTimeout()
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java136 .setTimeout(START_TIMEOUT_MS) in testStartUserOnDisplayAndStopUser()
142 .setTimeout(START_TIMEOUT_MS) in testStartUserOnDisplayAndStopUser()
148 .setTimeout(START_TIMEOUT_MS) in testStartUserOnDisplayAndStopUser()
243 .setTimeout(START_TIMEOUT_MS) in testLifecycleUserCreatedListener_supportedVersion()
290 .setTimeout(START_TIMEOUT_MS) in testLifecycleUserRemovedListener_supportedVersion()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/offhost/
DSimpleOffhostReaderActivity.java178 nfca.setTimeout(5000); in onTagDiscovered()
208 isoDep.setTimeout(5000); in onTagDiscovered()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockingBroadcastReceiver.java243 public void setTimeout(int timeoutSeconds) { in setTimeout() method in BlockingBroadcastReceiver
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBlockingBroadcastReceiver.java249 public void setTimeout(int timeoutSeconds) { in setTimeout() method in BlockingBroadcastReceiver
/cts/libs/install/src/com/android/cts/install/lib/
DInstall.java206 public Install setTimeout(long timeoutMillis) { in setTimeout() method in Install
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java720 Install.single(testApp).setTimeout(APP_INSTALL_TIMEOUT_MILLIS).commit(); in installApp()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dbluetooth-current.txt1194 method public android.bluetooth.le.AdvertiseSettings.Builder setTimeout(int);