Home
last modified time | relevance | path

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

123

/packages/services/Car/car-test-lib/src/android/car/test/mocks/
DJavaMockitoHelper.java39 public static void await(@NonNull CountDownLatch latch, long timeoutMs) in await()
53 public static void await(@NonNull Semaphore semaphore, long timeoutMs) in await()
67 public static boolean silentAwait(@NonNull CountDownLatch latch, long timeoutMs) { in silentAwait()
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.aidl32 void switchUser(int tagerUserId, int timeoutMs, in AndroidFuture<UserSwitchResult> receiver); in switchUser()
34 void createUser(@nullable String name, String userType, int flags, int timeoutMs, in createUser()
43 void getInitialUserInfo(int requestType, int timeoutMs, in IResultReceiver receiver); in getInitialUserInfo()
45 void setUserIdentificationAssociation(int timeoutMs, in int[] types, in int[] values, in setUserIdentificationAssociation()
DICar.aidl59 oneway void getInitialUserInfo(int requestType, int timeoutMs, in IBinder receiver) = 3; in getInitialUserInfo()
/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()
DCarPowerManagementTest.java408 private void waitForSubscription(long timeoutMs) throws Exception { in waitForSubscription()
414 private LinkedList<int[]> waitForStateSetAndGetAll(long timeoutMs, int expectedState) in waitForStateSetAndGetAll()
/packages/modules/NetworkStack/tests/lib/src/com/android/testutils/
DTapPacketReader.java63 public byte[] popPacket(long timeoutMs) { in popPacket()
71 public byte[] popPacket(long timeoutMs, @NonNull Predicate<byte[]> filter) { in popPacket()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java591 private static void waitForSemaphore(Semaphore semaphore, long timeoutMs) in waitForSemaphore()
669 public boolean waitForDisplayStateChange(long timeoutMs) throws Exception { in waitForDisplayStateChange()
695 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
709 public void waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { in waitForSleepEntryAndWakeup()
777 public void waitForSleepExit(long timeoutMs) throws Exception { in waitForSleepExit()
781 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
785 public void waitForSleepEntry(long timeoutMs) throws Exception { in waitForSleepEntry()
DSystemStateInterfaceTest.java91 public int forceSuspend(int timeoutMs) { in forceSuspend()
107 public int forceSuspend(int timeoutMs) { in forceSuspend()
/packages/apps/Bluetooth/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.java94 public void waitForConnection(long timeoutMs) throws InterruptedException { in waitForConnection()
123 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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java171 private Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
182 private void verifyConnectionStateIntent(int timeoutMs, BluetoothDevice device, int newState, in verifyConnectionStateIntent()
193 private void verifyCallback(int timeoutMs, int callbackType, BlockingQueue<Integer> queue) { in verifyCallback()
/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/hardware/power/
DCarPowerManagerUnitTest.java270 public boolean waitForDisplayStateChange(long timeoutMs) throws Exception { in waitForDisplayStateChange()
357 public void waitForShutdown(long timeoutMs) throws Exception { in waitForShutdown()
371 public void waitForSleepEntryAndWakeup(long timeoutMs) throws Exception { in waitForSleepEntryAndWakeup()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java275 public void getInitialUserInfo(int requestType, int timeoutMs, @NonNull UsersInfo usersInfo, in getInitialUserInfo()
324 private void sendHalRequest(int requestId, int timeoutMs, @NonNull VehiclePropValue request, in sendHalRequest()
328 timeoutMs); in sendHalRequest() local
349 public void switchUser(@NonNull SwitchUserRequest request, int timeoutMs, in switchUser()
417 public void createUser(@NonNull CreateUserRequest request, int timeoutMs, in createUser()
603 public void setUserAssociation(int timeoutMs, @NonNull UserIdentificationSetRequest request, in setUserAssociation()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java207 public static Intent waitForIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForIntent()
226 public static Intent waitForNoIntent(int timeoutMs, BlockingQueue<Intent> queue) { in waitForNoIntent()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetTestUtils.java117 HeadsetCallState headsetCallState, int timeoutMs) { in verifyPhoneStateChangeSetters()
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp59 int waitForReading(int fd, int timeoutMs = -1) { in waitForReading()
64 int waitForWriting(int fd, int timeoutMs = -1) { in waitForWriting()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2eCarTestBase.java125 void waitForConnection(long timeoutMs) { in waitForConnection()

123