| /packages/services/Car/car-test-lib/src/android/car/test/mocks/ |
| D | JavaMockitoHelper.java | 46 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()
|
| D | BlockingAnswer.java | 61 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()
|
| D | SyncAnswer.java | 72 public void await(long timeoutMs) throws InterruptedException { in await()
|
| /packages/services/Car/car-lib/src/android/car/ |
| D | ICarUserService.aidl | 37 …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/ |
| D | AppFocusTest.java | 69 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/ |
| D | CarApiTestBase.java | 180 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()
|
| D | CarAppFocusManagerTest.java | 351 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/ |
| D | CredentialCheckResultTracker.java | 55 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/ |
| D | A2dpServiceTest.java | 177 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/ |
| D | CarPowerManagementServiceUnitTest.java | 1365 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/ |
| D | HidDeviceTest.java | 171 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/ |
| D | CarTestingHelper.java | 47 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/ |
| D | IRemoteSocketFactory.aidl | 22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
|
| /packages/services/Car/service/src/com/android/car/hal/ |
| D | UserHalService.java | 309 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/ |
| D | MyActivity.java | 52 public Integer getResult(int timeoutMs) throws InterruptedException { in getResult()
|
| /packages/services/Car/service/src/com/android/car/audio/ |
| D | CarAudioUtils.java | 31 static boolean hasExpired(long startTimeMs, long currentTimeMs, int timeoutMs) { in hasExpired()
|
| /packages/modules/Connectivity/tests/integration/util/com/android/server/ |
| D | NetworkAgentWrapper.java | 359 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/ |
| D | BlockingResultReceiver.java | 46 public BlockingResultReceiver(long timeoutMs) { in BlockingResultReceiver()
|
| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/oem/ |
| D | CarOemProxyServiceTest.java | 242 int timeoutMs = 2000; in waitForHandlerThreadToFinish() local 265 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
|
| D | CarOemAudioVolumeProxyServiceTest.java | 92 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
|
| D | CarOemAudioDuckingProxyServiceTest.java | 92 private void mockCallTimeout(int timeoutMs) { in mockCallTimeout()
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
| D | HearingAidServiceTest.java | 175 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/ |
| D | CarOemProxyServiceHelper.java | 204 long timeoutMs) throws TimeoutException { in doBinderTimedCallWithTimeout() 457 int timeoutMs = 2000; in crashCarService() local
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/ |
| D | TestUtils.java | 230 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/ |
| D | ConnectivityManagerApi23Test.java | 118 Intent intent, int timeoutMs) throws InterruptedException { in sendOrderedBroadcastAndReturnResultCode()
|