/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | TestUtils.java | 55 public static void ensure(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in ensure() 71 public static <T> T ensure(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in ensure() 95 public static void eventually(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in eventually() 111 public static <T> T eventually(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in eventually() 139 int jobId, long timeout) { in runJobAndWaitUntilCompleted() 150 long timeout, in runJobAndWaitUntilCompleted() 167 long timeout, in awaitJobUntilRequestedState() 186 long timeout, in awaitJobUntilRequestedState()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogProcessHandler.java | 193 public void registerClient(ICarWatchdogServiceCallback client, int timeout) { in registerClient() 317 public int getClientCount(int timeout) { in getClientCount() 366 private void onClientDeath(ICarWatchdogServiceCallback client, int timeout) { in onClientDeath() 368 removeClientLocked(client.asBinder(), timeout); in onClientDeath() local 383 private void analyzeClientResponse(int timeout) { in analyzeClientResponse() 394 removeClientLocked(clientInfo.client.asBinder(), timeout); in analyzeClientResponse() local 400 private void sendPingToClients(int timeout) { in sendPingToClients() 433 private void sendPingToClientsAndCheck(int timeout) { in sendPingToClientsAndCheck() 454 private void removeClientLocked(IBinder clientBinder, int timeout) { in removeClientLocked() 507 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/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/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/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/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | InfraNetworkDevice.java | 104 public void runSlaac(Duration timeout) throws TimeoutException { in runSlaac() 105 waitFor(() -> (ipv6Addr = runSlaac()) != null, timeout); in runSlaac() local
|
/packages/services/Car/cpp/watchdog/testclient/src/ |
D | WatchdogClient.h | 32 std::string timeout; member 46 TimeoutLength timeout; member
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | Retransmitter.java | 91 long timeout = mRetransmissionTimeouts[mRetransmitCount++]; in retransmit() local 92 mHandler.sendMessageDelayed(mHandler.obtainMessage(CMD_RETRANSMIT, this), timeout); in retransmit() local
|
/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/services/Car/cpp/watchdog/server/src/ |
D | WatchdogProcessService.cpp | 217 std::string timeoutToString(TimeoutLength timeout) { in timeoutToString() 256 for (const auto& timeout : kTimeouts) { in WatchdogProcessService() local 284 const std::shared_ptr<ICarWatchdogClient>& client, TimeoutLength timeout) { in registerClient() 477 for (const auto& timeout : kTimeouts) { in setEnabled() local 504 for (const auto& timeout : kTimeouts) { in onDump() local 624 for (const auto& timeout : kTimeouts) { in onDumpProto() local 654 const TimeoutLength timeout = static_cast<TimeoutLength>(what); in doHealthCheck() local 752 TimeoutLength timeout) { in registerClient() 842 for (const auto& timeout : kTimeouts) { in tellClientAliveLocked() local 865 for (const auto& timeout : timeouts) { in findClientAndProcessLocked() local [all …]
|
/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/services/Car/tests/carservice_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceTest.java | 330 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 367 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 379 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus() 388 public boolean onCheckHealthStatus(int sessionId, int timeout) { in onCheckHealthStatus()
|
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_ble_conn_params.cc | 59 uint16_t timeout, uint16_t min_ce_len, in L2CA_UpdateBleConnParams() 429 uint16_t timeout) { in L2CA_SetDefaultSubrate() 451 uint16_t cont_num, uint16_t timeout) { in L2CA_SubrateRequest()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/ |
D | AppSearchDao.java | 208 int timeout = FlagsFactory.getFlags().getAppSearchReadTimeout(); in readData() local 275 int timeout = FlagsFactory.getFlags().getAppSearchWriteTimeout(); in writeData() local 341 int timeout = FlagsFactory.getFlags().getAppSearchWriteTimeout(); in deleteData() local
|