Home
last modified time | relevance | path

Searched defs:timeoutMs (Results 1 – 25 of 140) 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/
DTapPacketReader.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/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java161 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
210 protected static void waitForLogcatMessage(String cmd, String match, int timeoutMs) { in waitForLogcatMessage()
235 protected static boolean waitUntil(String msg, long timeoutMs, in waitUntil()
256 protected static boolean waitUntilNoFail(long timeoutMs, in waitUntilNoFail()
DCarAppFocusManagerTest.java323 boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
364 boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipLossAndAssert()
373 boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipGrantAndAssert()
/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/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/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()
DBlockingResultReceiver.java46 public BlockingResultReceiver(long timeoutMs) { in BlockingResultReceiver()
/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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java172 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
183 int timeoutMs, BluetoothDevice device, int newState, int prevState) { in verifyConnectionStateIntent()
193 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAdServicesCommonServiceImplTest.java1004 private SyncIAdServicesCommonCallback(long timeoutMs) { in SyncIAdServicesCommonCallback()
1011 private SyncIUpdateAdIdCallback(long timeoutMs) { in SyncIUpdateAdIdCallback()
1019 private SyncIEnableAdServicesCallback(long timeoutMs) { in SyncIEnableAdServicesCallback()
1027 private SyncIAdServicesCommonStatesCallback(long timeoutMs) { in SyncIAdServicesCommonStatesCallback()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackSettings.java114 long timeoutMs = getMaxTimeoutMs(); in assertCalled() local
117 throw new SyncCallbackTimeoutException(caller.get(), timeoutMs, unit); in assertCalled() local
DConcurrencyHelper.java40 public Thread runAsync(long timeoutMs, Runnable r) { in runAsync()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DJobServiceLoggingCallbackTest.java46 private Thread runAsync(long timeoutMs, Runnable r) { in runAsync()
/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/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyActivity.java52 public Integer getResult(int timeoutMs) throws InterruptedException { in getResult()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkUtils.java278 private static void checkTimeout(long timeoutMs) { in checkTimeout()
290 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage()
314 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManagerBase.java70 long timeoutMs, in getLatestOhttpKeyConfigOfType()
77 long timeoutMs, in fetchAndPersistActiveKeysOfType()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DIntFailureSyncCallback.java46 public IntFailureSyncCallback(long timeoutMs) { in IntFailureSyncCallback()
/packages/modules/Connectivity/remoteauth/framework/java/android/remoteauth/
DIRemoteAuthService.aidl33 int timeoutMs, in registerDiscoveryListener()
/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()
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DVoipCallTransaction.java144 long timeoutMs) { in VoipCallTransaction()
158 public VoipCallTransaction(TelecomSystem.SyncRoot lock, long timeoutMs) { in VoipCallTransaction()

123456