Home
last modified time | relevance | path

Searched defs:timeoutMs (Results 1 – 25 of 137) sorted by relevance

123456

/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DJavaMockitoHelper.java46 public static void await(@NonNull CountDownLatch latch, long timeoutMs) in await()
62 public static void await(@NonNull Semaphore semaphore, long timeoutMs) in await()
78 public static boolean silentAwait(@NonNull CountDownLatch latch, long timeoutMs) { in silentAwait()
108 public static <T> T getResult(@NonNull Future<T> future, long timeoutMs, in getResult()
DBlockingAnswer.java62 private BlockingAnswer(long timeoutMs, @NonNull Visitor<InvocationOnMock> invocator, in BlockingAnswer()
84 public static BlockingAnswer<Void> forVoidReturn(long timeoutMs, in forVoidReturn()
97 public static <T> BlockingAnswer<T> forReturn(long timeoutMs, in forReturn()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPollPacketReader.java83 public byte[] popPacket(long timeoutMs) { in popPacket()
93 public byte[] popPacket(long timeoutMs, @NonNull Predicate<byte[]> filter) { in popPacket()
101 public byte[] poll(long timeoutMs) { in poll()
109 public byte[] poll(long timeoutMs, @NonNull Predicate<byte[]> filter) { in poll()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl37 void switchUser(int targetUserId, int timeoutMs, in switchUser()
39 void logoutUser(int timeoutMs, in ResultCallbackImpl<UserSwitchResult> callback); in logoutUser()
41 void createUser(in UserCreationRequest userCreationRequest, int timeoutMs, in createUser()
50 void setUserIdentificationAssociation(int timeoutMs, in int[] types, in int[] values, in setUserIdentificationAssociation()
/packages/apps/Car/SystemUI/multivalentTests/src/com/android/systemui/car/keyguard/passenger/
DPassengerKeyguardLockoutHelperTest.java87 int timeoutMs = (int) SystemClock.elapsedRealtime() + TEST_TIMEOUT_LENGTH_MS; in onCheckCompletedWithTimeout_setsTimeout() local
99 int timeoutMs = (int) SystemClock.elapsedRealtime() + TEST_TIMEOUT_LENGTH_MS; in onCountdown_setsErrorMessage() local
/packages/services/Car/tests/CarExtendedApiTest/src/android/car/extendedapitest/testbase/
DCarApiTestBase.java173 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
222 protected static void waitForLogcatMessage(String cmd, String match, int timeoutMs) { in waitForLogcatMessage()
247 protected static boolean waitUntil(String msg, long timeoutMs, in waitUntil()
268 protected static boolean waitUntilNoFail(long timeoutMs, in waitUntilNoFail()
/packages/apps/Settings/src/com/android/settings/password/
DCredentialCheckResultTracker.java55 public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId) { in setResult()
78 public void onCredentialChecked(boolean matched, Intent intent, int timeoutMs, in onCredentialChecked()
/packages/modules/Permission/tests/cts/permissionmultidevice/TestUtils/src/android/permissionmultidevice/cts/
DUiAutomatorUtils.kt43 val timeoutMs = 10000L in <lambda>() constant
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/
DAdServicesPragmaticMocker.java51 AdServicesLogger adServicesLogger, long timeoutMs); in mockLogApiCallStats()
DAdServicesMockitoMocker.java42 AdServicesLogger adServicesLogger, long timeoutMs) { in mockLogApiCallStats()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DIBinderSyncCallbackTestCase.java30 protected void assertCalled(CB callback, long timeoutMs) throws InterruptedException { in assertCalled()
DSimpleSyncCallbackTest.java32 protected void assertCalled(SimpleSyncCallback callback, long timeoutMs) in assertCalled()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java1613 private SyncIAdServicesCommonCallback(long timeoutMs) { in SyncIAdServicesCommonCallback()
1620 private SyncIUpdateAdIdCallback(long timeoutMs) { in SyncIUpdateAdIdCallback()
1628 private SyncIEnableAdServicesCallback(long timeoutMs) { in SyncIEnableAdServicesCallback()
1636 private SyncIAdServicesCommonStatesCallback(long timeoutMs) { in SyncIAdServicesCommonStatesCallback()
1644 private RequestAdServicesModuleOverridesCallback(long timeoutMs) { in RequestAdServicesModuleOverridesCallback()
1657 private RequestAdServicesModuleUserChoicesCallback(long timeoutMs) { in RequestAdServicesModuleUserChoicesCallback()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DCarTestingHelper.java47 public static <T> T getResult(@NonNull AsyncFuture<T> future, long timeoutMs) { in getResult()
/packages/modules/Connectivity/tests/cts/hostside/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java67 long timeoutMs, in getLatestOhttpKeyConfigOfType()
74 long timeoutMs, in fetchAndPersistActiveKeysOfType()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTestsTest.java166 private static OutcomeReceiverForTests<String> newReceiver(long timeoutMs) { in newReceiver()
171 long timeoutMs, boolean failIfCalledOnMainThread) { in newReceiver()
/packages/modules/AdServices/shared/testing-libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackSettings.java113 void assertCalled(long timeoutMs, Supplier<String> caller) throws InterruptedException { in assertCalled()
116 throw new SyncCallbackTimeoutException(caller.get(), timeoutMs, unit); in assertCalled() local
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyActivity.java52 public Integer getResult(int timeoutMs) throws InterruptedException { in getResult()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java309 public void getInitialUserInfo(int requestType, int timeoutMs, UsersInfo usersInfo, in getInitialUserInfo()
363 private void sendHalRequest(int requestId, int timeoutMs, HalPropValue request, in sendHalRequest()
365 mHandler.postDelayed(() -> handleCheckIfRequestTimedOut(requestId), requestId, timeoutMs); in sendHalRequest() local
386 public void switchUser(SwitchUserRequest request, int timeoutMs, in switchUser()
456 public void createUser(CreateUserRequest request, int timeoutMs, in createUser()
649 public void setUserAssociation(int timeoutMs, UserIdentificationSetRequest request, in setUserAssociation()
/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/
DIntFailureSyncCallback.java46 public IntFailureSyncCallback(long timeoutMs) { in IntFailureSyncCallback()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DMainThreadSyncCallbackTest.java40 protected void assertCalled(AbstractSyncCallback callback, long timeoutMs) in assertCalled()
/packages/modules/Connectivity/remoteauth/framework/java/android/remoteauth/
DIRemoteAuthService.aidl33 int timeoutMs, in registerDiscoveryListener()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkUtils.java279 private static void checkTimeout(long timeoutMs) { in checkTimeout()
291 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage()
315 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java403 public void expectPreventReconnectReceived(long timeoutMs) { in expectPreventReconnectReceived()
407 public void expectDisconnected(long timeoutMs) { in expectDisconnected()
411 public void assertNotDisconnected(long timeoutMs) { in assertNotDisconnected()
459 public void waitForIdle(long timeoutMs) { in waitForIdle()

123456