/packages/modules/Nfc/framework/tests/src/android/nfc/tech/ |
D | NfcATest.java | 120 when(mMockTagService.setTimeout(TagTechnology.NFC_A, 1000)).thenReturn( in testSetTimeout() 123 mNfcA.setTimeout(1000); in testSetTimeout() 125 verify(mMockTagService).setTimeout(TagTechnology.NFC_A, 1000); in testSetTimeout() 135 when(mMockTagService.setTimeout(TagTechnology.NFC_A, -1)).thenReturn( in testSetTimeoutInvalidTimeout() 138 assertThrows(IllegalArgumentException.class, () -> mNfcA.setTimeout(-1)); in testSetTimeoutInvalidTimeout() 148 when(mMockTagService.setTimeout(TagTechnology.NFC_A, 1000)).thenThrow( in testSetTimeoutRemoteException() 151 mNfcA.setTimeout(1000); // Should not throw an exception but log it in testSetTimeoutRemoteException() 153 verify(mMockTagService).setTimeout(TagTechnology.NFC_A, 1000); in testSetTimeoutRemoteException()
|
D | NfcFTest.java | 153 when(mMockTagService.setTimeout(TagTechnology.NFC_F, 1000)).thenReturn( in testSetTimeout() 156 mNfcF.setTimeout(1000); in testSetTimeout() 158 verify(mMockTagService).setTimeout(TagTechnology.NFC_F, 1000); in testSetTimeout() 168 when(mMockTagService.setTimeout(TagTechnology.NFC_F, -1)).thenReturn( in testSetTimeoutInvalidTimeout() 171 assertThrows(IllegalArgumentException.class, () -> mNfcF.setTimeout(-1)); in testSetTimeoutInvalidTimeout() 181 when(mMockTagService.setTimeout(TagTechnology.NFC_F, 1000)).thenThrow( in testSetTimeoutRemoteException() 184 mNfcF.setTimeout(1000); in testSetTimeoutRemoteException() 186 verify(mMockTagService).setTimeout(TagTechnology.NFC_F, 1000); in testSetTimeoutRemoteException()
|
/packages/modules/Nfc/framework/api/ |
D | module-lib-lint-baseline.txt | 23 RequiresPermission: android.nfc.tech.IsoDep#setTimeout(int): 24 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 41 RequiresPermission: android.nfc.tech.MifareClassic#setTimeout(int): 42 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 53 RequiresPermission: android.nfc.tech.MifareUltralight#setTimeout(int): 54 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 73 RequiresPermission: android.nfc.tech.NfcA#setTimeout(int): 74 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 81 RequiresPermission: android.nfc.tech.NfcF#setTimeout(int): 82 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
|
D | lint-baseline.txt | 28 RequiresPermission: android.nfc.tech.IsoDep#setTimeout(int): 29 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 46 RequiresPermission: android.nfc.tech.MifareClassic#setTimeout(int): 47 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 58 RequiresPermission: android.nfc.tech.MifareUltralight#setTimeout(int): 59 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 78 RequiresPermission: android.nfc.tech.NfcA#setTimeout(int): 79 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 86 RequiresPermission: android.nfc.tech.NfcF#setTimeout(int): 87 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
|
D | system-lint-baseline.txt | 42 RequiresPermission: android.nfc.tech.IsoDep#setTimeout(int): 43 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 60 RequiresPermission: android.nfc.tech.MifareClassic#setTimeout(int): 61 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 72 RequiresPermission: android.nfc.tech.MifareUltralight#setTimeout(int): 73 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 92 RequiresPermission: android.nfc.tech.NfcA#setTimeout(int): 93 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission 100 RequiresPermission: android.nfc.tech.NfcF#setTimeout(int): 101 Method 'setTimeout' documentation mentions permissions without declaring @RequiresPermission
|
/packages/services/Car/tests/CarHiddenApiTest/src/android/car/hiddenapitest/ |
D | CarUserManagerTest.java | 139 .setTimeout(START_TIMEOUT_MS) in testLifecycleMultipleListeners() 145 .setTimeout(START_TIMEOUT_MS) in testLifecycleMultipleListeners() 151 .setTimeout(START_TIMEOUT_MS) in testLifecycleMultipleListeners() 237 .setTimeout(SWITCH_TIMEOUT_MS) in testGuestUserResumeToNewGuestUser() 251 .setTimeout(SWITCH_TIMEOUT_MS) in testGuestUserResumeToNewGuestUser() 298 .setTimeout(SWITCH_TIMEOUT_MS) in testSecuredGuestUserResumeToSameUser() 339 .setTimeout(SWITCH_TIMEOUT_MS) in testPersistentUserResumeToUser()
|
D | CarUserManagerUserVisibilityEventTest.java | 78 .setTimeout(START_TIMEOUT_MS) in testUserVisibilityEvents() 108 .setTimeout(STOP_TIMEOUT_MS) in testUserVisibilityEvents()
|
D | CarUserManagerLifeCycleTest.java | 76 .setTimeout(SWITCH_TIMEOUT_MS) in testLifecycleListener() 123 .setTimeout(STOP_TIMEOUT_MS) in testLifecycleListener()
|
/packages/modules/Nfc/tests/cts/tests/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()
|
/packages/modules/Virtualization/android/TerminalApp/assets/js/ |
D | terminal_close.js | 19 setTimeout(() => { 21 setTimeout(() => {
|
/packages/modules/Nfc/framework/java/android/nfc/tech/ |
D | NfcA.java | 146 public void setTimeout(int timeout) { in setTimeout() method in NfcA 148 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_A, timeout); in setTimeout()
|
D | NfcF.java | 150 public void setTimeout(int timeout) { in setTimeout() method in NfcF 152 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_F, timeout); in setTimeout()
|
D | IsoDep.java | 93 public void setTimeout(int timeout) { in setTimeout() method in IsoDep 95 int err = mTag.getTagService().setTimeout(TagTechnology.ISO_DEP, timeout); in setTimeout()
|
D | MifareUltralight.java | 241 public void setTimeout(int timeout) { in setTimeout() method in MifareUltralight 243 int err = mTag.getTagService().setTimeout( in setTimeout()
|
D | MifareClassic.java | 602 public void setTimeout(int timeout) { in setTimeout() method in MifareClassic 604 int err = mTag.getTagService().setTimeout(TagTechnology.MIFARE_CLASSIC, timeout); in setTimeout()
|
/packages/modules/Nfc/NfcNci/src/com/android/nfc/wlc/ |
D | NfcCharging.java | 590 public synchronized void setTimeout(int timeout) { in setTimeout() method in NfcCharging.PresenceCheckWatchdog 1032 mWatchdogWlc.setTimeout(0); in onWlcStopped() 1044 mWatchdogWlc.setTimeout(0); in onWlcStopped() 1057 mWatchdogWlc.setTimeout(0); in onWlcStopped() 1068 mWatchdogWlc.setTimeout(0); in onEndpointRemoved()
|
/packages/modules/Nfc/framework/java/android/nfc/ |
D | INfcTag.aidl | 42 int setTimeout(int technology, int timeout); in setTimeout() method
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | AddAccessoryActivity.java | 475 private void setTimeout(int timeout) { in setTimeout() method in AddAccessoryActivity 674 setTimeout(PAIR_OPERATION_TIMEOUT); in statusChanged() 677 setTimeout(CONNECT_OPERATION_TIMEOUT); in statusChanged()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | HttpClientFactory.java | 73 ConnManagerParams.setTimeout(params, 60 * 1000); in newHttpClient()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/ |
D | AdvertiseSettings.java | 259 public Builder setTimeout(int timeoutMillis) { in setTimeout() method in AdvertiseSettings.Builder
|
/packages/services/Car/car-lib/src/android/car/os/ |
D | CpuAvailabilityInfo.java | 228 public @android.annotation.NonNull Builder setTimeout(boolean value) { in setTimeout() method in CpuAvailabilityInfo.Builder
|