/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | PollingCheck.java | 40 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/ |
D | WatchdogProcessHandler.java | 156 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/ |
D | Wait.java | 19 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/ |
D | event_stream.py | 163 …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
|
D | truth.py | 68 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
|
D | behavior.py | 91 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/ |
D | BluetoothDiscoverableEnabler.java | 138 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/ |
D | CarWatchdogClient.java | 88 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/ |
D | FocusIndicator.java | 21 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/ |
D | FocusIndicator.java | 23 void showSuccess(boolean timeout); in showSuccess() 25 void showFail(boolean timeout); in showFail()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/ |
D | UiObject2Asserts.java | 45 UiObject2 uiObject, SearchCondition<Boolean> searchCondition, long timeout) { in assertWaitForCondition() 51 public static long getAdjustedTimeout(long timeout) { in getAdjustedTimeout()
|
D | UiDeviceAsserts.java | 64 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/ |
D | Wait.java | 30 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/ |
D | LockAfterTimeoutPreferenceController.java | 94 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/ |
D | LatchedConsumer.java | 32 public void assertNotCalled(long timeout, TimeUnit unit) in assertNotCalled() 37 public void assertCalled(long timeout, TimeUnit unit) in assertCalled()
|
D | TestScheduledExecutorService.java | 71 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/ |
D | Retransmitter.java | 59 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/ |
D | WatchdogProcessService.cpp | 186 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/ |
D | WatchdogClient.h | 32 std::string timeout; member 46 TimeoutLength timeout; member
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 76 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/ |
D | ScreenTimeoutSettingsTest.java | 145 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/ |
D | CarWatchdogServiceTest.java | 316 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/ |
D | HdHomeRunControlSocket.java | 151 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/ |
D | async_fd_watcher.cc | 52 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/ |
D | ICarWatchdogClient.aidl | 21 oneway void checkIfAlive(in int sessionId, in android.automotive.watchdog.TimeoutLength timeout); in checkIfAlive()
|