Home
last modified time | relevance | path

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

1234

/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DJavaMockitoHelper.java44 public static void await(@NonNull CountDownLatch latch, long timeoutMs) in await()
58 public static void await(@NonNull Semaphore semaphore, long timeoutMs) in await()
72 public static boolean silentAwait(@NonNull CountDownLatch latch, long timeoutMs) { in silentAwait()
100 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/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNetlinkSocket.java116 private static void checkTimeout(long timeoutMs) { in checkTimeout()
128 public static ByteBuffer recvMessage(FileDescriptor fd, int bufsize, long timeoutMs) in recvMessage()
152 FileDescriptor fd, byte[] bytes, int offset, int count, long timeoutMs) in sendMessage()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DAppFocusTest.java61 private boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
92 public boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedLossAppType) in waitForOwnershipLossAndAssert()
101 public boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedGrantAppType) in waitForOwnershipGrantAndAssert()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSystemStateInterfaceTest.java87 public int forceSuspend(int timeoutMs) { in forceSuspend()
93 public int forceSuspend(int timeoutMs) { in forceSuspend()
DAbstractICarServiceHelperStub.java41 public int forceSuspend(int timeoutMs) { in forceSuspend()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl33 void switchUser(int tagerUserId, int timeoutMs, in AndroidFuture<UserSwitchResult> receiver); in switchUser()
35 void createUser(@nullable String name, String userType, int flags, int timeoutMs, in createUser()
46 void setUserIdentificationAssociation(int timeoutMs, in int[] types, in int[] values, in setUserIdentificationAssociation()
/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/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiTestBase.java130 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
179 protected static void waitForLogcatMessage(String cmd, String match, int timeoutMs) { in waitForLogcatMessage()
204 protected static boolean waitUntil(String msg, long timeoutMs, in waitUntil()
DCarAppFocusManagerTest.java307 boolean waitForFocusChangeAndAssert(long timeoutMs, int expectedAppType, in waitForFocusChangeAndAssert()
350 boolean waitForOwnershipLossAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipLossAndAssert()
359 boolean waitForOwnershipGrantAndAssert(long timeoutMs, int expectedAppType) in waitForOwnershipGrantAndAssert()
DCarTest.java65 private void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java23 static boolean hasExpired(long startTimeMs, long currentTimeMs, int timeoutMs) { in hasExpired()
/packages/apps/Bluetooth/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/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/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/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java676 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()
719 private void waitForDisplayOn(long timeoutMs) throws Exception { in waitForDisplayOn()
723 private void waitForDisplayOff(long timeoutMs) throws Exception { in waitForDisplayOff()
727 private void waitForDisplayState(boolean desiredState, long timeoutMs) throws Exception { in waitForDisplayState()
769 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
783 public void waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { in waitForSleepEntryAndWakeup()
857 public void waitFor(int signal, long timeoutMs) throws Exception { in waitFor()
/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/car-test-lib/src/android/car/test/util/
DBlockingResultReceiver.java46 public BlockingResultReceiver(long timeoutMs) { in BlockingResultReceiver()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java175 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
185 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, int newState, in verifyConnectionStateIntent()
196 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/packages/services/Car/car-internal-lib/src/com/android/car/internal/
DICarServiceHelper.aidl28 int forceSuspend(int timeoutMs); in forceSuspend()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java298 public void getInitialUserInfo(int requestType, int timeoutMs, @NonNull UsersInfo usersInfo, in getInitialUserInfo()
348 private void sendHalRequest(int requestId, int timeoutMs, @NonNull VehiclePropValue request, in sendHalRequest()
352 timeoutMs); in sendHalRequest() local
373 public void switchUser(@NonNull SwitchUserRequest request, int timeoutMs, in switchUser()
443 public void createUser(@NonNull CreateUserRequest request, int timeoutMs, in createUser()
631 public void setUserAssociation(int timeoutMs, @NonNull UserIdentificationSetRequest request, in setUserAssociation()
/packages/modules/Connectivity/tests/cts/net/api23Test/src/android/net/cts/api23test/
DConnectivityManagerApi23Test.java117 Intent intent, int timeoutMs) throws InterruptedException { in sendOrderedBroadcastAndReturnResultCode()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java208 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
227 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()

1234