/frameworks/base/core/java/com/android/internal/util/ |
D | SyncResultReceiver.java | 53 private void waitResult() throws TimeoutException { in waitResult() 56 throw new TimeoutException("Not called in " + mTimeoutMs + "ms"); in waitResult() 60 throw new TimeoutException("Interrupted"); in waitResult() 67 public int getIntResult() throws TimeoutException { in getIntResult() 76 public String getStringResult() throws TimeoutException { in getStringResult() 85 public String[] getStringArrayResult() throws TimeoutException { in getStringArrayResult() 94 public <P extends Parcelable> P getParcelableResult() throws TimeoutException { in getParcelableResult() 103 public <P extends Parcelable> ArrayList<P> getParcelableListResult() throws TimeoutException { in getParcelableListResult() 114 public int getOptionalExtraIntResult(int defaultValue) throws TimeoutException { in getOptionalExtraIntResult() 185 public static final class TimeoutException extends Exception { class in SyncResultReceiver [all …]
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintSpooler.java | 56 import java.util.concurrent.TimeoutException; 172 } catch (RemoteException | TimeoutException | InterruptedException e) { in getPrintJobInfos() 194 } catch (RemoteException | TimeoutException | InterruptedException e) { in createPrintJob() 215 } catch (RemoteException | TimeoutException | InterruptedException e) { in writePrintJobData() 240 } catch (RemoteException | TimeoutException | InterruptedException e) { in getPrintJobInfo() 263 } catch (RemoteException | TimeoutException | InterruptedException e) { in setPrintJobState() 292 } catch (RemoteException | TimeoutException | InterruptedException re) { in setProgress() 319 } catch (RemoteException | TimeoutException | InterruptedException e) { in setStatus() 348 } catch (RemoteException | TimeoutException | InterruptedException e) { in setStatus() 378 } catch (RemoteException | TimeoutException | InterruptedException re) { in onCustomPrinterIconLoaded() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolverConnection.java | 48 import java.util.concurrent.TimeoutException; 96 } catch (TimeoutException e) { in getInstantAppResolveInfoList() 104 } catch (TimeoutException e) { in getInstantAppResolveInfoList() 131 } catch (TimeoutException e) { in getInstantAppIntentFilterList() 141 throws ConnectionException, TimeoutException, InterruptedException { in getRemoteInstanceLazy() 151 private void waitForBindLocked(String token) throws TimeoutException, InterruptedException { in waitForBindLocked() 160 throw new TimeoutException("[" + token + "] Didn't bind to resolver in time!"); in waitForBindLocked() 168 throws ConnectionException, TimeoutException, InterruptedException { in bind() 185 } catch (TimeoutException e) { in bind() 263 } catch (ConnectionException | TimeoutException | InterruptedException e) { in optimisticBind() [all …]
|
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/ |
D | CallbackUtils.kt | 26 import java.util.concurrent.TimeoutException 60 throw TimeoutException("Pending association request timed out.") in waitForPendingIntent() 72 throw TimeoutException("Association request timed out.") in waitForAssociation() 99 throw TimeoutException("System data transfer timed out.") in waitForCompletion()
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionServiceTest.java | 36 import java.util.concurrent.TimeoutException; 60 public void canStartService() throws TimeoutException { in canStartService() 67 throws TimeoutException, RemoteException { in dismissSuggestion_shouldCallImplementation() 78 throws TimeoutException, RemoteException { in launchSuggestion_shouldCallImplementation()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/ |
D | ServicesTests.java | 37 import java.util.concurrent.TimeoutException; 159 } catch (TimeoutException e) { in testRecoverFromZipCorruptionStressTest() 187 } catch (TimeoutException e) { in testRecoverFromDexCorruptionStressTest() 238 private void waitServicesCompletion() throws TimeoutException { in waitServicesCompletion() 249 throw new TimeoutException(); in waitServicesCompletion() 254 private void waitServicesCompletion(int serviceId) throws TimeoutException { in waitServicesCompletion() 265 throw new TimeoutException(); in waitServicesCompletion() 367 private void checkRecover() throws TimeoutException { in checkRecover()
|
/frameworks/base/core/java/android/os/ |
D | SynchronousResultReceiver.java | 24 import java.util.concurrent.TimeoutException; 77 public @NonNull Result awaitResult(long timeoutMillis) throws TimeoutException { in awaitResult() 91 throw new TimeoutException(); in awaitResult()
|
D | SystemService.java | 24 import java.util.concurrent.TimeoutException; 110 throws TimeoutException { in waitForState() 120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
|
/frameworks/base/core/java/android/util/ |
D | TimedRemoteCaller.java | 22 import java.util.concurrent.TimeoutException; 137 protected final T getResultTimed(int sequence) throws TimeoutException { in getResultTimed() 149 throw new TimeoutException("No response for sequence: " + sequence); in getResultTimed()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowProviderServerBasedImpl.java | 29 import java.util.concurrent.TimeoutException; 108 TimeoutException, RemoteException, IOException { in unwrapServerBlob() 163 } catch (TimeoutException | RemoteException e) { in getAndClearRebootEscrowKey() 175 TimeoutException, RemoteException, IOException { in wrapEscrowKey() 211 } catch (TimeoutException | RemoteException | IOException e) { in storeRebootEscrowKey()
|
D | ResumeOnRebootServiceProvider.java | 48 import java.util.concurrent.TimeoutException; 139 public void bindToService(long timeOut) throws RemoteException, TimeoutException { in bindToService() 172 throws RemoteException, TimeoutException, IOException { in wrapBlob() 192 throws RemoteException, TimeoutException, IOException { in unwrap() 224 throws RemoteException, TimeoutException { in waitForLatch() 227 throw new TimeoutException("Latch wait for " + reason + " elapsed"); in waitForLatch()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | RemoteIntArray.java | 32 import java.util.concurrent.TimeoutException; 44 public RemoteIntArray(int size) throws IOException, TimeoutException { in RemoteIntArray() 115 private void bindLocked() throws TimeoutException { in bindLocked() 130 throw new TimeoutException("Cannot get spooler!"); in bindLocked()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingExtensionSessionCallback.java | 28 import java.util.concurrent.TimeoutException; 125 } catch (TimeoutException e) { in waitAndGetSession() 191 public CameraExtensionSession get(long timeout, TimeUnit unit) throws TimeoutException { in get() 194 throw new TimeoutException( in get()
|
D | BlockingSessionCallback.java | 33 import java.util.concurrent.TimeoutException; 142 } catch (TimeoutException e) { in waitAndGetSession() 291 public CameraCaptureSession get(long timeout, TimeUnit unit) throws TimeoutException { in get() 294 throw new TimeoutException( in get()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/callbacks/ |
D | ListenableDownloadCallback.java | 26 import java.util.concurrent.TimeoutException; 80 future.completeExceptionally(new TimeoutException()); in onDownloadFailed() 94 new TimeoutException()); // complete the future as we haven't received updates in run()
|
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/ |
D | SpaTest.kt | 19 import java.util.concurrent.TimeoutException 30 throw TimeoutException("Condition still not satisfied after $timeoutMillis ms") in waitUntil()
|
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/ |
D | SynchronousResultReceiverTest.java | 28 import java.util.concurrent.TimeoutException; 70 Assert.assertThrows(TimeoutException.class, in testTimeout() 78 Assert.assertThrows(TimeoutException.class, in testNegativeTime()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ShellHelper.java | 29 import java.util.concurrent.TimeoutException; 42 throws TimeoutException { in runShellCommandWithTimeout() 60 throw new TimeoutException("Command: '" + command + "' could not run in " in runShellCommandWithTimeout()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 39 import java.util.concurrent.TimeoutException; 64 throws InterruptedException, TimeoutException { in waitUntil() 69 throws InterruptedException, TimeoutException { in waitUntil() 76 throw new TimeoutException("Test timed-out waiting for condition"); in waitUntil()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapDaemon.java | 42 import java.util.concurrent.TimeoutException; 132 throws TimeoutException, RemoteException { in createIdmap() 147 boolean removeIdmap(String overlayPath, int userId) throws TimeoutException, RemoteException { in removeIdmap() 274 private IBinder getIdmapService() throws TimeoutException, RemoteException { in getIdmapService() 301 throw new TimeoutException( in getIdmapService() 320 private Connection connect() throws TimeoutException, RemoteException { in connect()
|
/frameworks/base/core/java/android/view/translation/ |
D | Translator.java | 116 int getSessionStateResult() throws TimeoutException { in getSessionStateResult() 119 throw new TimeoutException( in getSessionStateResult() 124 throw new TimeoutException("Session not created because interrupted"); in getSessionStateResult() 158 static final class TimeoutException extends Exception { class in Translator.ServiceBinderReceiver 159 private TimeoutException(String msg) { in TimeoutException() method in Translator.ServiceBinderReceiver.TimeoutException 226 boolean isSessionCreated() throws ServiceBinderReceiver.TimeoutException { in isSessionCreated()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiAutomatorBridge.java | 18 import java.util.concurrent.TimeoutException; 97 } catch (TimeoutException te) { in waitForIdle() 103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { in executeCommandAndWaitForAccessibilityEvent()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 35 import java.util.concurrent.TimeoutException; 361 } catch (TimeoutException e) { in requestWait() 393 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait() 443 private native UsbRequest native_request_wait(long timeout) throws TimeoutException; in native_request_wait()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | CameraTestThread.java | 24 import java.util.concurrent.TimeoutException; 64 throw new TimeoutException("createLooperThread: start timeout"); in start()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 59 import java.util.concurrent.TimeoutException; 654 protected void waitForDownloadOrTimeout_skipNotification(long id) throws TimeoutException, in waitForDownloadOrTimeout_skipNotification() 666 protected void waitForDownloadOrTimeout(long id) throws TimeoutException, in waitForDownloadOrTimeout() 682 throws TimeoutException, InterruptedException { in waitForDownloadOrTimeout() 695 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, in waitForDownloadsOrTimeout() 714 } catch (TimeoutException e) { in waitForDownloadOrTimeoutNoThrow() 732 String timedOutMessage) throws TimeoutException { in timeoutWait() 748 throw new TimeoutException(timedOutMessage); in timeoutWait() 761 throws TimeoutException { in doWaitForDownloadsOrTimeout() 846 protected void waitForReceiverNotifications(int targetNumber) throws TimeoutException { in waitForReceiverNotifications()
|