/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | AdvertiseSettingsTest.java | 80 .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/ |
D | NfcATest.java | 121 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()
|
D | NfcFTest.java | 120 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()
|
D | IsoDepTest.java | 138 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()
|
D | MifareUltralightTest.java | 168 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()
|
D | MifareClassicTest.java | 431 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/ |
D | CarUserManagerTest.java | 136 .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/ |
D | SimpleOffhostReaderActivity.java | 178 nfca.setTimeout(5000); in onTagDiscovered() 208 isoDep.setTimeout(5000); in onTagDiscovered()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BlockingBroadcastReceiver.java | 243 public void setTimeout(int timeoutSeconds) { in setTimeout() method in BlockingBroadcastReceiver
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingBroadcastReceiver.java | 249 public void setTimeout(int timeoutSeconds) { in setTimeout() method in BlockingBroadcastReceiver
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | Install.java | 206 public Install setTimeout(long timeoutMillis) { in setTimeout() method in Install
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 720 Install.single(testApp).setTimeout(APP_INSTALL_TIMEOUT_MILLIS).commit(); in installApp()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | bluetooth-current.txt | 1194 method public android.bluetooth.le.AdvertiseSettings.Builder setTimeout(int);
|