Home
last modified time | relevance | path

Searched defs:timeout (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DPollingCheck.java40 public PollingCheck(long timeout) { in PollingCheck()
44 public PollingCheck(long timeout, String errorMessage) { in PollingCheck()
56 long timeout = mTimeout; in run() local
74 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check()
97 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor()
98 new PollingCheck(timeout) { in waitFor() argument
106 public static void waitFor(long timeout, BooleanSupplier condition, String errorMessage) { in waitFor()
107 new PollingCheck(timeout, errorMessage) { in waitFor() argument
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java156 public void registerClient(ICarWatchdogServiceCallback client, int timeout) { in registerClient()
273 public int getClientCount(int timeout) { in getClientCount()
300 private void onClientDeath(ICarWatchdogServiceCallback client, int timeout) { in onClientDeath()
302 removeClientLocked(client.asBinder(), timeout); in onClientDeath() local
317 private void analyzeClientResponse(int timeout) { in analyzeClientResponse()
328 removeClientLocked(clientInfo.client.asBinder(), timeout); in analyzeClientResponse() local
334 private void sendPingToClients(int timeout) { in sendPingToClients()
367 private void sendPingToClientsAndCheck(int timeout) { in sendPingToClientsAndCheck()
388 private void removeClientLocked(IBinder clientBinder, int timeout) { in removeClientLocked()
441 private String timeoutToString(int timeout) { in timeoutToString()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DWait.java19 public static void atMost(String message, Condition condition, long timeout, in atMost()
21 atMost(() -> message, condition, timeout, DEFAULT_SLEEP_MS, launcher); in atMost() local
24 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
29 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Devent_stream.py163 …def assert_event_occurs(self, match_fn, at_least_times=1, timeout=timedelta(seconds=DEFAULT_TIMEOU… argument
176 …def assert_event_occurs_at_most(self, match_fn, at_most_times, timeout=timedelta(seconds=DEFAULT_T… argument
222 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): argument
247 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): argument
279 def NOT_FOR_YOU_assert_none_matching(istream, match_fn, timeout): argument
298 def NOT_FOR_YOU_assert_none(istream, timeout): argument
Dtruth.py68 def emits(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
77 def emitsNone(self, *match_fns, timeout): argument
90 def __init__(self, stream, match_fns, timeout): argument
109 def then(self, *match_fns, at_least_times=1, timeout=DEFAULT_TIMEOUT): argument
118 def thenNone(self, *match_fns, timeout): argument
Dbehavior.py91 def wait_until_invoked(self, matcher, times, timeout): argument
151 def __init__(self, behavior, matcher, timeout): argument
162 def __init__(self, behaviors, timeout): argument
172 def wait_until(i_has_behaviors, timeout=timedelta(seconds=3)): argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDiscoverableEnabler.java138 int timeout = getDiscoverableTimeout(); in setEnabled() local
159 private void updateTimerDisplay(int timeout) { in updateTimerDisplay()
169 private static String formatTimeRemaining(int timeout) { in formatTimeRemaining()
214 int timeout = SystemProperties.getInt(SYSTEM_PROPERTY_DISCOVERABLE_TIMEOUT, -1); in getDiscoverableTimeout() local
234 int timeout = getDiscoverableTimeout(); in getDiscoverableTimeoutIndex() local
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarWatchdogClient.java88 int timeout; in parseCommand() local
169 private long getTimeForInactiveMain(int timeout) { in getTimeForInactiveMain()
187 public int timeout; field in CarWatchdogClient.ClientConfig
192 ClientConfig(int timeout, int inactiveMainAfterInSec, int notRespondAfterInSec, in ClientConfig()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusIndicator.java21 public void showSuccess(boolean timeout); in showSuccess()
22 public void showFail(boolean timeout); in showFail()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusIndicator.java23 void showSuccess(boolean timeout); in showSuccess()
25 void showFail(boolean timeout); in showFail()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiObject2Asserts.java45 UiObject2 uiObject, SearchCondition<Boolean> searchCondition, long timeout) { in assertWaitForCondition()
51 public static long getAdjustedTimeout(long timeout) { in getAdjustedTimeout()
DUiDeviceAsserts.java64 UiDevice uiDevice, SearchCondition<Boolean> searchCondition, long timeout) { in assertWaitForCondition()
82 UiDevice uiDevice, SearchCondition<Boolean> searchCondition, long timeout) { in waitForCondition()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/testutils/
DWait.java30 public static void atMost(String message, Condition condition, long timeout) { in atMost()
34 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost()
/packages/apps/Settings/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceController.java94 final int timeout = Integer.parseInt((String) newValue); in onPreferenceChange() local
96 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, timeout); in onPreferenceChange() local
137 long timeout = Long.valueOf(values[i].toString()); in updateLockAfterPreferenceSummary() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DLatchedConsumer.java32 public void assertNotCalled(long timeout, TimeUnit unit) in assertNotCalled()
37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled()
DTestScheduledExecutorService.java71 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination()
97 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
225 public Void get(long timeout, TimeUnit unit) in get()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
DRetransmitter.java59 long timeout = mRetransmissionTimeouts[mRetransmitCount++]; in retransmit() local
60 mHandler.sendMessageDelayed(mHandler.obtainMessage(CMD_RETRANSMIT, this), timeout); in retransmit() local
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp186 for (const auto& timeout : kTimeouts) { in WatchdogProcessService() local
222 TimeoutLength timeout) { in registerClient()
391 for (const auto& timeout : kTimeouts) { in setEnabled() local
418 for (const auto& timeout : kTimeouts) { in dump() local
461 const TimeoutLength timeout = static_cast<TimeoutLength>(what); in doHealthCheck() local
524 for (const auto& timeout : kTimeouts) { in terminate() local
554 Status WatchdogProcessService::registerClient(const ClientInfo& clientInfo, TimeoutLength timeout) { in registerClient()
618 for (const auto& timeout : kTimeouts) { in tellClientAliveLocked() local
634 for (const auto& timeout : timeouts) { in findClientAndProcessLocked() local
652 for (const auto& timeout : timeouts) { in findClientAndProcessLocked() local
[all …]
/packages/services/Car/cpp/watchdog/testclient/src/
DWatchdogClient.h32 std::string timeout; member
46 TimeoutLength timeout; member
/packages/services/Telephony/tests/src/com/android/
DTestExecutorService.java76 public T get(long timeout, TimeUnit unit) in get()
154 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination()
187 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
198 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DScreenTimeoutSettingsTest.java145 long timeout = Long.parseLong(TIMEOUT_VALUES[1]); in getDefaultKey_returnCurrentTimeout() local
192 long timeout = Settings.System.getLong(mContentResolver, SCREEN_OFF_TIMEOUT, in setDefaultKey_controlCurrentScreenTimeout() local
/packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/
DCarWatchdogServiceTest.java316 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
353 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
365 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
374 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunControlSocket.java151 private byte[] sendAndReceive(byte[] data, short type, int timeout) { in sendAndReceive()
187 private Pair<Short, byte[]> receive(int timeout) { in receive()
/packages/modules/Bluetooth/system/vendor_libs/linux/interface/
Dasync_fd_watcher.cc52 const std::chrono::milliseconds timeout, in ConfigureTimeout()
139 struct timeval timeout; in ThreadRoutine() local
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/1/android/automotive/watchdog/
DICarWatchdogClient.aidl21 oneway void checkIfAlive(in int sessionId, in android.automotive.watchdog.TimeoutLength timeout); in checkIfAlive()

12345678910>>...13