Home
last modified time | relevance | path

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

1234

/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DJavaMockitoHelper.java46 public static void await(@NonNull CountDownLatch latch, long timeoutMs) in await()
60 public static void await(@NonNull Semaphore semaphore, long timeoutMs) in await()
74 public static boolean silentAwait(@NonNull CountDownLatch latch, long timeoutMs) { in silentAwait()
103 public static <T> T getResult(@NonNull Future<T> future, long timeoutMs, in getResult()
DBlockingAnswer.java61 private BlockingAnswer(long timeoutMs, @NonNull Visitor<InvocationOnMock> invocator, in BlockingAnswer()
83 public static BlockingAnswer<Void> forVoidReturn(long timeoutMs, in forVoidReturn()
96 public static <T> BlockingAnswer<T> forReturn(long timeoutMs, in forReturn()
DSyncAnswer.java72 public void await(long timeoutMs) throws InterruptedException { in await()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl31 void switchUser(int targetUserId, int timeoutMs, in AndroidFuture<UserSwitchResult> receiver); in switchUser()
32 void logoutUser(int timeoutMs, in AndroidFuture<UserSwitchResult> receiver); in logoutUser()
34 void createUser(@nullable String name, String userType, int flags, int timeoutMs, in createUser()
42 void setUserIdentificationAssociation(int timeoutMs, in int[] types, in int[] values, in setUserIdentificationAssociation()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java67 private boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
98 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedLossAppType) in waitForOwnershipLossAndAssert()
107 public boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedGrantAppType) 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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java175 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, in verifyConnectionStateIntent()
187 private void verifyNoConnectionStateIntent(int timeoutMs) { in verifyNoConnectionStateIntent()
192 private void verifyAudioStateIntent(int timeoutMs, BluetoothDevice device, in verifyAudioStateIntent()
203 private void verifyNoAudioStateIntent(int timeoutMs) { in verifyNoAudioStateIntent()
208 private void verifyCodecConfigIntent(int timeoutMs, BluetoothDevice device, in verifyCodecConfigIntent()
218 private void verifyNoCodecConfigIntent(int timeoutMs) { in verifyNoCodecConfigIntent()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java146 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
196 protected static void waitForLogcatMessage(String cmd, String match, int timeoutMs) { in waitForLogcatMessage()
221 protected static boolean waitUntil(String msg, long timeoutMs, in waitUntil()
DCarAppFocusManagerTest.java341 boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
382 boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipLossAndAssert()
391 boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipGrantAndAssert()
/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/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java1050 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()
1102 private void waitForDisplayOn(long timeoutMs) throws Exception { in waitForDisplayOn()
1106 private void waitForDisplayOff(long timeoutMs) throws Exception { in waitForDisplayOff()
1110 private void waitForDisplayState(boolean desiredState, long timeoutMs) throws Exception { in waitForDisplayState()
1156 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
1184 public void waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { in waitForSleepEntryAndWakeup()
1275 public void waitFor(int signal, long timeoutMs) throws Exception { in waitFor()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DCarTestingHelper.java47 public static <T> T getResult(@NonNull AsyncFuture<T> future, long timeoutMs) { in getResult()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java27 static boolean hasExpired(long startTimeMs, long currentTimeMs, int timeoutMs) { in hasExpired()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java170 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
180 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, int newState, in verifyConnectionStateIntent()
191 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DMyActivity.java52 public Integer getResult(int timeoutMs) throws InterruptedException { in getResult()
DRemoteSocketFactoryClient.java83 public FileDescriptor openSocketFd(String host, int port, int timeoutMs) in openSocketFd()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java310 public void getInitialUserInfo(int requestType, int timeoutMs, UsersInfo usersInfo, in getInitialUserInfo()
364 private void sendHalRequest(int requestId, int timeoutMs, HalPropValue request, in sendHalRequest()
366 mHandler.postDelayed(() -> handleCheckIfRequestTimedOut(requestId), requestId, timeoutMs); in sendHalRequest() local
387 public void switchUser(SwitchUserRequest request, int timeoutMs, in switchUser()
457 public void createUser(CreateUserRequest request, int timeoutMs, in createUser()
650 public void setUserAssociation(int timeoutMs, UserIdentificationSetRequest request, in setUserAssociation()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java310 public void expectPreventReconnectReceived(long timeoutMs) { in expectPreventReconnectReceived()
314 public void expectDisconnected(long timeoutMs) { in expectDisconnected()
318 public void assertNotDisconnected(long timeoutMs) { in assertNotDisconnected()
366 public void waitForIdle(long timeoutMs) { in waitForIdle()
/packages/services/Car/car-test-lib/src/android/car/test/util/
DBlockingResultReceiver.java46 public BlockingResultReceiver(long timeoutMs) { in BlockingResultReceiver()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/oem/
DCarOemProxyServiceTest.java242 int timeoutMs = 2000; in waitForHandlerThreadToFinish() local
265 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
DCarOemAudioVolumeProxyServiceTest.java92 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
DCarOemAudioDuckingProxyServiceTest.java92 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java224 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
243 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()
/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyServiceHelper.java204 long timeoutMs) throws TimeoutException { in doBinderTimedCallWithTimeout()
457 int timeoutMs = 2000; in crashCarService() local
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java118 Intent intent, int timeoutMs) throws InterruptedException { in sendOrderedBroadcastAndReturnResultCode()

1234