Home
last modified time | relevance | path

Searched refs:TimeoutException (Results 1 – 25 of 104) sorted by relevance

12345

/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DSyncResultReceiver.java53 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 …]
/aosp14/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java56 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()
634 throw new TimeoutException("Cannot get spooler!"); in bindLocked()
735 throws RemoteException, TimeoutException { in getPrintJobInfos()
756 int appId) throws RemoteException, TimeoutException { in getPrintJobInfo()
798 String tag) throws RemoteException, TimeoutException { in setPrintJobTag()
819 Icon icon) throws RemoteException, TimeoutException { in onCustomPrinterIconLoaded()
840 throws RemoteException, TimeoutException { in clearCustomPrinterIconCache()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DInstantAppResolverConnection.java48 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()
258 } catch (ConnectionException | TimeoutException | InterruptedException e) { in optimisticBind()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DSuggestionServiceTest.java36 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()
/aosp14/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
H A DServicesTests.java37 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()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DRebootEscrowProviderServerBasedImpl.java29 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()
H A DResumeOnRebootServiceProvider.java48 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()
/aosp14/frameworks/base/core/java/android/os/
H A DSynchronousResultReceiver.java24 import java.util.concurrent.TimeoutException;
77 public @NonNull Result awaitResult(long timeoutMillis) throws TimeoutException { in awaitResult()
91 throw new TimeoutException(); in awaitResult()
H A DSystemService.java24 import java.util.concurrent.TimeoutException;
110 throws TimeoutException { in waitForState()
120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
/aosp14/frameworks/base/core/java/android/util/
H A DTimedRemoteCaller.java22 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()
/aosp14/frameworks/base/core/tests/utiltests/src/android/util/
H A DRemoteIntArray.java32 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()
/aosp14/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/
H A DSpaTest.kt19 import java.util.concurrent.TimeoutException
30 throw TimeoutException("Condition still not satisfied after $timeoutMillis ms")
H A DLiveDataTestUtil.kt23 import java.util.concurrent.TimeoutException
43 throw TimeoutException("LiveData value was never set.")
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DIdmapDaemon.java42 import java.util.concurrent.TimeoutException;
125 throws TimeoutException, RemoteException { in createIdmap()
140 boolean removeIdmap(String overlayPath, int userId) throws TimeoutException, RemoteException { in removeIdmap()
267 private IBinder getIdmapService() throws TimeoutException, RemoteException { in getIdmapService()
288 throw new TimeoutException( in getIdmapService()
304 private Connection connect() throws TimeoutException, RemoteException { in connect()
/aosp14/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DShellHelper.java29 import java.util.concurrent.TimeoutException;
42 throws TimeoutException { in runShellCommandWithTimeout()
60 throw new TimeoutException("Command: '" + command + "' could not run in " in runShellCommandWithTimeout()
/aosp14/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
H A DTestUtils.java39 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()
/aosp14/frameworks/base/core/java/android/view/translation/
H A DTranslator.java116 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()
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiAutomatorBridge.java18 import java.util.concurrent.TimeoutException;
97 } catch (TimeoutException te) { in waitForIdle()
103 AccessibilityEventFilter filter, long timeoutMillis) throws TimeoutException { in executeCommandAndWaitForAccessibilityEvent()
/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java35 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java58 import java.util.concurrent.TimeoutException;
653 protected void waitForDownloadOrTimeout_skipNotification(long id) throws TimeoutException, in waitForDownloadOrTimeout_skipNotification()
665 protected void waitForDownloadOrTimeout(long id) throws TimeoutException, in waitForDownloadOrTimeout()
681 throws TimeoutException, InterruptedException { in waitForDownloadOrTimeout()
694 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, in waitForDownloadsOrTimeout()
713 } catch (TimeoutException e) { in waitForDownloadOrTimeoutNoThrow()
731 String timedOutMessage) throws TimeoutException { in timeoutWait()
747 throw new TimeoutException(timedOutMessage); in timeoutWait()
760 throws TimeoutException { in doWaitForDownloadsOrTimeout()
845 protected void waitForReceiverNotifications(int targetNumber) throws TimeoutException { in waitForReceiverNotifications()
/aosp14/frameworks/base/core/java/android/hardware/location/
H A DContextHubTransaction.java31 import java.util.concurrent.TimeoutException;
256 long timeout, TimeUnit unit) throws InterruptedException, TimeoutException { in waitForResponse()
260 throw new TimeoutException("Timed out while waiting for transaction"); in waitForResponse()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCameraTestThread.java24 import java.util.concurrent.TimeoutException;
64 throw new TimeoutException("createLooperThread: start timeout"); in start()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DMffFilterTestCase.java32 import java.util.concurrent.TimeoutException;
118 throws ExecutionException, TimeoutException, InterruptedException { in process()
123 protected void process() throws ExecutionException, TimeoutException, InterruptedException { in process()
/aosp14/frameworks/base/core/tests/coretests/src/android/inputmethodservice/
H A DImsConfigurationTrackerTest.java35 import java.util.concurrent.TimeoutException;
45 public void setUp() throws TimeoutException { in setUp()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderDeathRecipientTest.java47 import java.util.concurrent.TimeoutException;
141 } catch (TimeoutException e) { in binderDied_iBinderArg()
150 } catch (TimeoutException e) { in binderDied_iBinderArg()

12345