Home
last modified time | relevance | path

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

12345

/packages/services/Car/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.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.aidl37 …void switchUser(int targetUserId, int timeoutMs, in ResultCallbackImpl<UserSwitchResult> callback); in switchUser()
38 void logoutUser(int timeoutMs, in ResultCallbackImpl<UserSwitchResult> callback); in logoutUser()
40 void createUser(in UserCreationRequest userCreationRequest, int timeoutMs, in createUser()
49 void setUserIdentificationAssociation(int timeoutMs, in int[] types, in int[] values, in setUserIdentificationAssociation()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java69 private boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
100 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedLossAppType) in waitForOwnershipLossAndAssert()
109 public boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedGrantAppType) in waitForOwnershipGrantAndAssert()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java180 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
230 protected static void waitForLogcatMessage(String cmd, String match, int timeoutMs) { in waitForLogcatMessage()
255 protected static boolean waitUntil(String msg, long timeoutMs, in waitUntil()
276 protected static boolean waitUntilNoFail(long timeoutMs, in waitUntilNoFail()
DCarAppFocusManagerTest.java351 boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
392 boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipLossAndAssert()
401 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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java177 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, in verifyConnectionStateIntent()
189 private void verifyNoConnectionStateIntent(int timeoutMs) { in verifyNoConnectionStateIntent()
194 private void verifyAudioStateIntent(int timeoutMs, BluetoothDevice device, in verifyAudioStateIntent()
205 private void verifyNoAudioStateIntent(int timeoutMs) { in verifyNoAudioStateIntent()
210 private void verifyCodecConfigIntent(int timeoutMs, BluetoothDevice device, in verifyCodecConfigIntent()
220 private void verifyNoCodecConfigIntent(int timeoutMs) { in verifyNoCodecConfigIntent()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java1365 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()
1433 private void waitForDisplayOn(int displayId, long timeoutMs) throws Exception { in waitForDisplayOn()
1437 private void waitForDisplayOff(int displayId, long timeoutMs) throws Exception { in waitForDisplayOff()
1441 private void waitForAllDisplaysOn(long timeoutMs) throws Exception { in waitForAllDisplaysOn()
1445 private void waitForAllDisplaysOff(long timeoutMs) throws Exception { in waitForAllDisplaysOff()
1449 private void waitForAllDisplaysState(boolean expectedState, long timeoutMs) in waitForAllDisplaysState()
1465 private void waitForDisplayState(int displayId, boolean expectedState, long timeoutMs) in waitForDisplayState()
1530 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
1558 public void waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { in waitForSleepEntryAndWakeup()
1653 public void waitFor(int signal, long timeoutMs) throws Exception { in waitFor()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java171 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
181 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, int newState, in verifyConnectionStateIntent()
192 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/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/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/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/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java31 static boolean hasExpired(long startTimeMs, long currentTimeMs, int timeoutMs) { in hasExpired()
/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java359 public void expectPreventReconnectReceived(long timeoutMs) { in expectPreventReconnectReceived()
363 public void expectDisconnected(long timeoutMs) { in expectDisconnected()
367 public void assertNotDisconnected(long timeoutMs) { in assertNotDisconnected()
415 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/hearingaid/
DHearingAidServiceTest.java175 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, in verifyConnectionStateIntent()
180 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, in verifyConnectionStateIntent()
200 private void verifyNoConnectionStateIntent(int timeoutMs, BluetoothDevice device) { in verifyNoConnectionStateIntent()
/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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java230 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
249 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java118 Intent intent, int timeoutMs) throws InterruptedException { in sendOrderedBroadcastAndReturnResultCode()

12345