/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | PollingCheck.java | 33 public PollingCheck(long timeout) { in PollingCheck() 44 long timeout = mTimeout; in run() local 62 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) in check() 85 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() 86 new PollingCheck(timeout) { in waitFor() argument
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | PollingCheck.java | 43 public PollingCheck(long timeout) { in PollingCheck() 57 long timeout = mTimeout; in run() local 95 public static void waitFor(long timeout, final PollingCheckCondition condition) { in waitFor() 96 new PollingCheck(timeout) { in waitFor() argument
|
/aosp14/system/core/gatekeeperd/include/gatekeeper/ |
H A D | GateKeeperResponse.h | 48 static GateKeeperResponse retry(int32_t timeout) { in retry() 70 int32_t timeout() const { return timeout_; } in timeout() function 72 void timeout(int32_t timeout) { timeout_ = timeout; } in timeout() function
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Configurator.java | 79 public Configurator setWaitForIdleTimeout(long timeout) { in setWaitForIdleTimeout() 115 public Configurator setWaitForSelectorTimeout(long timeout) { in setWaitForSelectorTimeout() 149 public Configurator setScrollAcknowledgmentTimeout(long timeout) { in setScrollAcknowledgmentTimeout() 183 public Configurator setActionAcknowledgmentTimeout(long timeout) { in setActionAcknowledgmentTimeout()
|
H A D | InteractionController.java | 156 AccessibilityEventFilter filter, long timeout) { in runAndWaitForEvents() 185 final int eventType, long timeout) { in sendKeyAndWaitForEvent() 233 public boolean clickAndSync(final int x, final int y, long timeout) { in clickAndSync() 252 public boolean clickAndWaitForNewWindow(final int x, final int y, long timeout) { in clickAndWaitForNewWindow()
|
/aosp14/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 241 int index, @Nullable byte[] buffer, int length, int timeout) { in controlTransfer() 266 @Nullable byte[] buffer, int offset, int length, int timeout) { in controlTransfer() 293 byte[] buffer, int length, int timeout) { in bulkTransfer() 313 byte[] buffer, int offset, int length, int timeout) { in bulkTransfer() 393 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait() 440 int index, byte[] buffer, int offset, int length, int timeout); in native_control_request() 442 int offset, int length, int timeout); in native_bulk_request() 443 private native UsbRequest native_request_wait(long timeout) throws TimeoutException; in native_request_wait()
|
/aosp14/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | ConnectivityManagerTestBase.java | 157 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState() 176 protected boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState() 195 protected boolean waitForWifiApState(int expectedState, long timeout) { in waitForWifiApState() 220 protected boolean waitForTetherStateChange(long timeout) { in waitForTetherStateChange() 418 protected boolean waitForActiveNetworkConnection(long timeout) { in waitForActiveNetworkConnection() 434 protected boolean waitUntilNoActiveNetworkConnection(long timeout) { in waitUntilNoActiveNetworkConnection()
|
/aosp14/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/ |
H A D | MultiUserRollbackTest.java | 123 final long timeout = TimeUnit.MINUTES.toMillis(10); in runPhaseForUsers() local 127 phase, userId, timeout)); in runPhaseForUsers() local
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SystemServiceTestsBase.java | 54 boolean waitHandlerIdle(Handler handler, long timeout) { in waitHandlerIdle() 58 boolean runWithScissors(Handler handler, Runnable r, long timeout) { in runWithScissors()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | MockScheduledExecutorService.java | 129 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination() 165 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() 177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() 253 public V get(long timeout, TimeUnit unit) in get()
|
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
H A D | BackupAgentTimeoutParametersTest.java | 119 long timeout = mParameters.getQuotaExceededTimeoutMillis(); in testGetQuotaExceededTimeoutMillis_returnsDefaultValue() local 131 long timeout = mParameters.getQuotaExceededTimeoutMillis(); in testGetQuotaExceededTimeoutMillis_whenSettingSet_returnsSetValue() local
|
/aosp14/frameworks/base/core/java/org/apache/http/params/ |
H A D | HttpConnectionParams.java | 83 public static void setSoTimeout(final HttpParams params, int timeout) { in setSoTimeout() 187 public static void setConnectionTimeout(final HttpParams params, int timeout) { in setConnectionTimeout()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/ |
H A D | HandlerThreadingDomainTest.java | 222 CountDownLatch latch, long timeout, TimeUnit timeUnit) { in awaitWithRuntimeException() 252 boolean waitForCompletion(long timeout, TimeUnit unit) { in waitForCompletion() 256 void assertCompletesWithin(long timeout, TimeUnit unit) { in assertCompletesWithin()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/ |
H A D | HibernationStateDiskStoreTest.java | 186 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { in awaitTermination() 212 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() 224 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | VerificationUtils.java | 65 long timeout = Settings.Global.getLong(context.getContentResolver(), in getDefaultVerificationTimeout() local 78 long timeout = Settings.Global.getLong(context.getContentResolver(), in getDefaultStreamingVerificationTimeout() local
|
/aosp14/system/core/watchdogd/ |
H A D | watchdogd.cpp | 45 int timeout = interval + margin; in main() local
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | VerifyCredentialResponse.java | 109 public static VerifyCredentialResponse fromTimeout(int timeout) { in fromTimeout() 127 private VerifyCredentialResponse(@ResponseCode int responseCode, int timeout, in VerifyCredentialResponse()
|
/aosp14/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerFuture.java | 113 V getResult(long timeout, TimeUnit unit) in getResult()
|
/aosp14/system/core/debuggerd/tombstoned/ |
H A D | intercept_manager.cpp | 166 struct timeval timeout = {.tv_sec = 10 * android::base::HwTimeoutMultiplier(), .tv_usec = 0}; in intercept_request_cb() local 182 struct timeval timeout = {1 * android::base::HwTimeoutMultiplier(), 0}; in intercept_accept_cb() local
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ServiceRestarterTest.java | 377 final long timeout = 5_000; in testServiceWithDepPkgStopped() local 440 long timeout) throws Exception { in startServiceAndWait() 452 long timeout) throws Exception { in killUidAndWait() 497 boolean waitFor(int expectedImportance, long timeout) throws Exception { in waitFor()
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 139 String prefix, String[] args, long timeout) throws IOException, RemoteException { in go() 161 String[] args, long timeout) throws IOException, RemoteException { in goDump() 181 public void go(FileDescriptor out, long timeout) throws IOException { in go()
|
/aosp14/system/core/libusbhost/ |
H A D | usbhost.c | 482 int usb_device_get_string_ucs2(struct usb_device* device, int id, int timeout, void** ucs2_out, in usb_device_get_string_ucs2() 531 char* usb_device_get_string(struct usb_device* device, int id, int timeout) { in usb_device_get_string() 552 char* usb_device_get_manufacturer_name(struct usb_device *device, int timeout) in usb_device_get_manufacturer_name() 558 char* usb_device_get_product_name(struct usb_device *device, int timeout) in usb_device_get_product_name() 570 char* usb_device_get_serial(struct usb_device *device, int timeout) in usb_device_get_serial() 646 unsigned int timeout) in usb_device_control_transfer() 669 unsigned int timeout) in usb_device_bulk_transfer()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | NtpTrustedTime.java | 81 public NtpConfig(@NonNull List<URI> serverUris, @NonNull Duration timeout) in NtpConfig() 398 @NonNull Network network, @NonNull URI ntpServerUri, @NonNull Duration timeout); in queryNtpServer() 647 final Duration timeout = Duration.ofMillis(Settings.Global.getInt( in getNtpConfigInternal() local 698 @NonNull Network network, @NonNull URI ntpServerUri, @NonNull Duration timeout) { in queryNtpServer()
|
/aosp14/frameworks/base/core/java/android/hardware/ |
H A D | SyncFence.java | 196 public boolean await(@NonNull Duration timeout) { in await() 313 private static native boolean nWait(long nPtr, long timeout); in nWait()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
H A D | GestureUtils.java | 27 int timeout, int distance) { in eventsWithinTimeAndDistanceSlop() 63 public static boolean isTimedOut(MotionEvent firstUp, MotionEvent secondUp, int timeout) { in isTimedOut()
|