/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 RuntimeException { 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 | 47 import java.util.concurrent.TimeoutException; 95 } catch (TimeoutException e) { in getInstantAppResolveInfoList() 104 } catch (TimeoutException e) { in getInstantAppResolveInfoList() 132 } catch (TimeoutException e) { in getInstantAppIntentFilterList() 142 throws ConnectionException, TimeoutException, InterruptedException { in getRemoteInstanceLazy() 152 private void waitForBindLocked(String token) throws TimeoutException, InterruptedException { in waitForBindLocked() 161 throw new TimeoutException("[" + token + "] Didn't bind to resolver in time!"); in waitForBindLocked() 169 throws ConnectionException, TimeoutException, InterruptedException { in bind() 186 } catch (TimeoutException e) { in bind() 259 } catch (ConnectionException | TimeoutException | InterruptedException e) { in optimisticBind() [all …]
|
/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 | 23 import java.util.concurrent.TimeoutException; 109 throws TimeoutException { in waitForState() 119 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/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/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 38 import java.util.concurrent.TimeoutException; 63 throws InterruptedException, TimeoutException { in waitUntil() 68 throws InterruptedException, TimeoutException { in waitUntil() 75 throw new TimeoutException("Test timed-out waiting for condition"); in waitUntil()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 35 import java.util.concurrent.TimeoutException; 304 } catch (TimeoutException e) { in requestWait() 336 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait() 386 private native UsbRequest native_request_wait(long timeout) throws TimeoutException; in native_request_wait()
|
/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/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
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/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | RootScanner.java | 30 import java.util.concurrent.TimeoutException; 99 synchronized void pause() throws InterruptedException, TimeoutException { in pause() 106 throw new TimeoutException( in pause()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerBaseTest.java | 57 import java.util.concurrent.TimeoutException; 650 protected void waitForDownloadOrTimeout_skipNotification(long id) throws TimeoutException, in waitForDownloadOrTimeout_skipNotification() 662 protected void waitForDownloadOrTimeout(long id) throws TimeoutException, in waitForDownloadOrTimeout() 678 throws TimeoutException, InterruptedException { in waitForDownloadOrTimeout() 691 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, in waitForDownloadsOrTimeout() 710 } catch (TimeoutException e) { in waitForDownloadOrTimeoutNoThrow() 728 String timedOutMessage) throws TimeoutException { in timeoutWait() 744 throw new TimeoutException(timedOutMessage); in timeoutWait() 757 throws TimeoutException { in doWaitForDownloadsOrTimeout() 842 protected void waitForReceiverNotifications(int targetNumber) throws TimeoutException { in waitForReceiverNotifications()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestContentResolver.java | 29 import java.util.concurrent.TimeoutException; 41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { in waitForNotification()
|
D | MtpDocumentsProviderTest.java | 39 import java.util.concurrent.TimeoutException; 301 public void testQueryDocument() throws IOException, InterruptedException, TimeoutException { in testQueryDocument() 339 throws IOException, InterruptedException, TimeoutException { in testQueryDocument_directory() 373 throws IOException, InterruptedException, TimeoutException { in testQueryDocument_forStorage() 397 throws IOException, InterruptedException, TimeoutException { in testQueryDocument_forDeviceWithSingleStorage() 421 throws IOException, InterruptedException, TimeoutException { in testQueryDocument_forDeviceWithTwoStorages() 503 public void testDeleteDocument() throws IOException, InterruptedException, TimeoutException { in testDeleteDocument() 523 throws IOException, InterruptedException, TimeoutException { in testDeleteDocument_error() 953 throws InterruptedException, TimeoutException, IOException { in setupRoots()
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubTransaction.java | 32 import java.util.concurrent.TimeoutException; 257 long timeout, TimeUnit unit) throws InterruptedException, TimeoutException { in waitForResponse() 261 throw new TimeoutException("Timed out while waiting for transaction"); in waitForResponse()
|
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
D | MffFilterTestCase.java | 32 import java.util.concurrent.TimeoutException; 118 throws ExecutionException, TimeoutException, InterruptedException { in process() 123 protected void process() throws ExecutionException, TimeoutException, InterruptedException { in process()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 31 import java.util.concurrent.TimeoutException; 100 } catch (TimeoutException re) { in run()
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BroadcastInterceptingContext.java | 35 import java.util.concurrent.TimeoutException; 90 } catch (TimeoutException e) { in get() 106 } catch (TimeoutException e) { in assertNotReceived()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | AppCollector.java | 45 import java.util.concurrent.TimeoutException; 91 } catch (TimeoutException e) { in getPackageStats()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 63 import java.util.concurrent.TimeoutException; 679 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { in executeAndWaitForEvent() 725 throw new TimeoutException("Expected event not received within: " in executeAndWaitForEvent() 767 throws TimeoutException { in waitForIdle() 783 throw new TimeoutException("No idle state with idle timeout: " in waitForIdle()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 39 import java.util.concurrent.TimeoutException; 92 } catch (InterruptedException | ExecutionException | TimeoutException e) { in setDefaultDialerApplication()
|