/aosp12/frameworks/base/core/java/com/android/internal/util/ |
H A 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 …]
|
/aosp12/frameworks/base/services/print/java/com/android/server/print/ |
H A 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() 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 …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A 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() 258 } catch (ConnectionException | TimeoutException | InterruptedException e) { in optimisticBind() [all …]
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
H A D | ProfileServiceTest.java | 49 import java.util.concurrent.TimeoutException; 64 private void setProfileState(Class profile, int state) throws TimeoutException { in setProfileState() 77 private void setAllProfilesState(int state, int invocationNumber) throws TimeoutException { in setAllProfilesState() 140 public void testEnableDisable() throws TimeoutException { in testEnableDisable() 150 public void testEnableDisableTwice() throws TimeoutException { in testEnableDisableTwice() 162 public void testEnableDisableInterleaved() throws TimeoutException { in testEnableDisableInterleaved() 192 public void testRepeatedEnableDisableSingly() throws TimeoutException { in testRepeatedEnableDisableSingly() 218 public void testProfileServiceRegisterUnregister() throws TimeoutException { in testProfileServiceRegisterUnregister()
|
/aosp12/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/ |
H A 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
H A 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/om/ |
H A D | IdmapDaemon.java | 41 import java.util.concurrent.TimeoutException; 116 throws TimeoutException, RemoteException { in createIdmap() 123 boolean removeIdmap(String overlayPath, int userId) throws TimeoutException, RemoteException { in removeIdmap() 196 private IBinder getIdmapService() throws TimeoutException, RemoteException { in getIdmapService() 214 throw new TimeoutException( in getIdmapService() 229 private Connection connect() throws TimeoutException, RemoteException { in connect()
|
/aosp12/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | AbstractPublicApiTest.java | 40 import java.util.concurrent.TimeoutException; 117 void runUntilStatus(int status) throws TimeoutException { in runUntilStatus() 123 void runUntilStatus(int status, long timeout) throws TimeoutException { in runUntilStatus() 129 void waitForStatus(int expected, long afterMillis) throws TimeoutException { in waitForStatus() 133 void waitForStatus(int expected, long afterMillis, long timeout) throws TimeoutException { in waitForStatus() 162 throw new TimeoutException("Expected status " + expected + "; only reached " + actual); in waitForStatus()
|
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A 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()
|
H A 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()
|
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
H A D | TestUtils.java | 27 import java.util.concurrent.TimeoutException; 46 throws IOException, InterruptedException, TimeoutException { in getPid() 56 throw new TimeoutException("Timed out waiting for pid"); in getPid()
|
/aosp12/frameworks/base/core/tests/utiltests/src/android/util/ |
H A 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()
|
/aosp12/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A 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()
|
H A D | SystemService.java | 24 import java.util.concurrent.TimeoutException; 110 throws TimeoutException { in waitForState() 120 throw new TimeoutException("Service " + service + " currently " + currentState in waitForState()
|
/aosp12/frameworks/base/core/java/android/view/translation/ |
H A D | Translator.java | 120 int getSessionStateResult() throws TimeoutException { in getSessionStateResult() 123 throw new TimeoutException( in getSessionStateResult() 128 throw new TimeoutException("Session not created because interrupted"); in getSessionStateResult() 162 static final class TimeoutException extends Exception { class in Translator.ServiceBinderReceiver 163 private TimeoutException(String msg) { in TimeoutException() method in Translator.ServiceBinderReceiver.TimeoutException 230 boolean isSessionCreated() throws ServiceBinderReceiver.TimeoutException { in isSessionCreated()
|
/aosp12/system/chre/java/test/utils/src/com/google/android/utils/chre/ |
H A D | ChreTestUtil.java | 40 import java.util.concurrent.TimeoutException; 103 } catch (TimeoutException | InterruptedException e) { in loadNanoApp() 134 } catch (TimeoutException | InterruptedException e) { in unloadNanoApp() 213 } catch (TimeoutException e) { in queryNanoAppsAssertSuccess() 284 } catch (TimeoutException e) { in assertTransactionSuccessSync()
|
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
H A 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()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 58 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()
|
/aosp12/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 35 import java.util.concurrent.TimeoutException; 333 } catch (TimeoutException e) { in requestWait() 365 public UsbRequest requestWait(long timeout) throws TimeoutException { in requestWait() 415 private native UsbRequest native_request_wait(long timeout) throws TimeoutException; in native_request_wait()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/ |
H A D | JavaMockitoHelperTest.java | 34 import java.util.concurrent.TimeoutException; 77 public void testGetResult() throws InterruptedException, ExecutionException, TimeoutException { in testGetResult() 86 throws InterruptedException, ExecutionException, TimeoutException { in testGetResult_withCustomTimeout()
|
/aosp12/packages/services/Car/car-lib/src/android/car/admin/ |
H A D | CarDevicePolicyManager.java | 49 import java.util.concurrent.TimeoutException; 156 } catch (ExecutionException | TimeoutException e) { in removeUser() 199 } catch (ExecutionException | TimeoutException e) { in createUser() 238 } catch (ExecutionException | TimeoutException e) { in startUserInBackground() 277 } catch (ExecutionException | TimeoutException e) { in stopUser()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | BufferQueue.java | 20 import java.util.concurrent.TimeoutException; 54 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, in getNext()
|