| /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 | 160 public void registerClient(ICarWatchdogServiceCallback client, int timeout) { in registerClient() 277 public int getClientCount(int timeout) { in getClientCount() 326 private void onClientDeath(ICarWatchdogServiceCallback client, int timeout) { in onClientDeath() 328 removeClientLocked(client.asBinder(), timeout); in onClientDeath() local 343 private void analyzeClientResponse(int timeout) { in analyzeClientResponse() 354 removeClientLocked(clientInfo.client.asBinder(), timeout); in analyzeClientResponse() local 360 private void sendPingToClients(int timeout) { in sendPingToClients() 393 private void sendPingToClientsAndCheck(int timeout) { in sendPingToClientsAndCheck() 414 private void removeClientLocked(IBinder clientBinder, int timeout) { in removeClientLocked() 467 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/gd/hal/ |
| D | hci_hal_fake.cc | 43 std::optional<hci::CommandView> TestHciHal::GetSentCommand(std::chrono::milliseconds timeout) { in GetSentCommand() 53 std::optional<hci::AclView> TestHciHal::GetSentAcl(std::chrono::milliseconds timeout) { in GetSentAcl() 63 std::optional<hci::ScoView> TestHciHal::GetSentSco(std::chrono::milliseconds timeout) { in GetSentSco() 73 std::optional<hci::IsoView> TestHciHal::GetSentIso(std::chrono::milliseconds timeout) { in GetSentIso()
|
| /packages/modules/Bluetooth/system/test/headless/ |
| D | messenger.cc | 61 bool await_event(const bt_acl_state_t& state, const Timeout& timeout) { in await_event() 85 bool await_event(const Timeout& timeout, const CheckPoint& check_point, in await_event() 109 bool await_connected(const Timeout& timeout) { in await_connected() 113 bool await_disconnected(const Timeout& timeout) { in await_disconnected() 121 bool await_service_discovery(const Timeout& timeout, in await_service_discovery() 155 bool await_inquiry_result(const Timeout& timeout, const CheckPoint& check_point, in await_inquiry_result()
|
| /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 170 private long getTimeForInactiveMain(int timeout) { in getTimeForInactiveMain() 188 public int timeout; field in CarWatchdogClient.ClientConfig 193 ClientConfig(int timeout, int inactiveMainAfterInSec, int notRespondAfterInSec, in ClientConfig()
|
| /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/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/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/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()
|
| /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/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/Telecomm/tests/src/com/android/server/telecom/tests/ |
| D | TestScheduledExecutorService.java | 93 public T get(long timeout, TimeUnit unit) in get() 145 public boolean awaitTermination(long timeout, TimeUnit unit) { in awaitTermination() 171 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() 182 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
|
| /packages/modules/Bluetooth/system/stack/l2cap/ |
| D | l2c_ble.cc | 90 uint16_t timeout, uint16_t min_ce_len, in L2CA_UpdateBleConnParams() 424 uint16_t timeout) { in l2cble_process_conn_update_evt() 486 uint16_t min_interval, max_interval, latency, timeout; in l2cble_process_sig_cmd() local 1345 uint16_t timeout) { in l2cble_process_rc_param_request_evt() 1837 uint16_t timeout) { in L2CA_SetDefaultSubrate() 1859 uint16_t cont_num, uint16_t timeout) { in L2CA_SubrateRequest() 1916 uint16_t cont_num, uint16_t timeout) { in l2cble_process_subrate_change_evt()
|
| /packages/services/Car/cpp/watchdog/server/src/ |
| D | WatchdogProcessService.cpp | 221 for (const auto& timeout : kTimeouts) { in WatchdogProcessService() local 245 const std::shared_ptr<ICarWatchdogClient>& client, TimeoutLength timeout) { in registerClient() 432 for (const auto& timeout : kTimeouts) { in setEnabled() local 459 for (const auto& timeout : kTimeouts) { in onDump() local 528 const TimeoutLength timeout = static_cast<TimeoutLength>(what); in doHealthCheck() local 626 TimeoutLength timeout) { in registerClient() 688 for (const auto& timeout : kTimeouts) { in tellClientAliveLocked() local 711 for (const auto& timeout : timeouts) { in findClientAndProcessLocked() local 729 Result<void> WatchdogProcessService::startHealthCheckingLocked(TimeoutLength timeout) { in startHealthCheckingLocked() 738 Result<void> WatchdogProcessService::dumpAndKillClientsIfNotResponding(TimeoutLength timeout) { in dumpAndKillClientsIfNotResponding() [all …]
|
| /packages/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
| D | CarWatchdogServiceTest.java | 320 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 357 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 369 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 378 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
|