Searched refs:IllegalStateException (Results 201 - 225 of 514) sorted by relevance

1234567891011>>

/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java366 * @throws IllegalStateException If {@link #getStatus()} returns either
400 * @throws IllegalStateException If {@link #getStatus()} returns either
409 throw new IllegalStateException("Cannot execute task:"
412 throw new IllegalStateException("Cannot execute task:"
/frameworks/support/v4/java/android/support/v4/widget/
H A DCursorAdapter.java245 throw new IllegalStateException("this should only be called when the cursor is valid");
248 throw new IllegalStateException("couldn't move cursor to position " + position);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java202 * @throws IllegalStateException if the pool has been closed.
252 * @throws IllegalStateException if the pool has been closed.
268 throw new IllegalStateException("Write Ahead Logging (WAL) mode cannot "
287 throw new IllegalStateException("Foreign Key Constraints cannot "
342 * @throws IllegalStateException if the pool has been closed.
360 * @throws IllegalStateException if the connection was not acquired
367 throw new IllegalStateException("Cannot perform this operation "
418 * @throws IllegalStateException if the connection was not acquired
424 throw new IllegalStateException("Cannot perform this operation "
962 throw new IllegalStateException("Canno
[all...]
H A DSQLiteCursor.java235 } catch (IllegalStateException e) {
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java138 throw new IllegalStateException(
170 throw new IllegalStateException(
200 throw new IllegalStateException(
221 throw new IllegalStateException(
525 * @throws IllegalStateException if the {@code surface} was invalid
616 throw new IllegalStateException(
H A DCameraDeviceState.java317 throw new IllegalStateException("Transition to unknown state: " + newState);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java573 throwException(new IllegalStateException("Fragment " + fragment
586 throwException(new IllegalStateException("Fragment no longer exists for key "
591 throwException(new IllegalStateException("Fragment no longer exists for key "
605 throwException( new IllegalStateException("Fragment " + fragment
1123 throw new IllegalStateException("No activity");
1207 throw new IllegalStateException("Fragment already added: " + fragment);
1304 throw new IllegalStateException("Fragment already added: " + fragment);
1375 throw new IllegalStateException(
1379 throw new IllegalStateException(
1389 * @throws IllegalStateException i
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodec.java216 * MediaCodec methods throw {@link java.lang.IllegalStateException}
502 * @throws IllegalStateException if in the Uninitialized state.
543 * @throws IllegalStateException if not in the Initialized state.
596 * @throws IllegalStateException if not in the Configured state.
605 * @throws IllegalStateException if not in the Configured state
625 * @throws IllegalStateException if in the Uninitialized state.
652 * @throws IllegalStateException if not in the Executing state.
670 public final static class CodecException extends IllegalStateException {
817 * @throws IllegalStateException if not in the Executing state.
833 } catch (CryptoException | IllegalStateException
[all...]
H A DMediaScannerConnection.java166 throw new IllegalStateException("not connected to MediaScannerService");
/frameworks/base/core/java/android/app/
H A DUiAutomation.java233 throw new IllegalStateException(
908 throw new IllegalStateException("UiAutomation not connected!");
914 throw new IllegalStateException("UiAutomation not connected!");
H A DLoaderManager.java600 throw new IllegalStateException("Called while creating a loader");
650 throw new IllegalStateException("Called while creating a loader");
717 throw new IllegalStateException("Called while creating a loader");
745 throw new IllegalStateException("Called while creating a loader");
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java329 } catch (IllegalStateException e) {
569 throw new IllegalStateException(
670 } catch (IllegalStateException e) {
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java421 * @throws IllegalStateException If {@link #isAlive()} returns false
439 * @throws IllegalStateException If {@link #isAlive()} returns false
456 * @throws IllegalStateException If {@link #isAlive()} returns false
474 * @throws IllegalStateException If {@link #isAlive()} returns false
491 * @throws IllegalStateException If {@link #isAlive()} returns false
508 * @throws IllegalStateException If {@link #isAlive()} returns false
526 * @throws IllegalStateException If {@link #isAlive()} returns false
543 * @throws IllegalStateException If {@link #isAlive()} returns false
559 * @throws IllegalStateException If {@link #isAlive()} returns false
576 * @throws IllegalStateException I
[all...]
H A DGraphicBuffer.java246 * <p>Calling this method will throw an <code>IllegalStateException</code> if
256 throw new IllegalStateException("This GraphicBuffer has been destroyed and cannot be "
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneFactory.java214 throw new IllegalStateException("Default phones haven't been made yet!");
226 throw new IllegalStateException("Default phones haven't been made yet!");
245 throw new IllegalStateException("Default phones haven't been made yet!");
/frameworks/base/core/java/android/animation/
H A DAnimator.java433 throw new IllegalStateException("Reverse is not supported");
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java38 * binding can be found, an {@link IllegalStateException} is thrown.
123 * binding can be found, an {@link IllegalStateException} is thrown.
125 * @throws IllegalStateException if binding cannot occur
160 throw new IllegalStateException(v.getClass().getName() + " is not a " +
H A DSimpleCursorTreeAdapter.java38 * binding can be found, an {@link IllegalStateException} is thrown.
233 throw new IllegalStateException("SimpleCursorTreeAdapter can bind values" +
/frameworks/base/core/java/com/android/internal/util/
H A DPreconditions.java64 * @throws IllegalStateException if {@code expression} is false
68 throw new IllegalStateException();
/frameworks/base/media/java/android/media/tv/
H A DTvInputHardwareInfo.java94 throw new IllegalStateException();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java147 * should throw IllegalStateException
151 throw new Exception("getSurface failed to throw IllegalStateException");
152 } catch (IllegalStateException e) {
165 throw new Exception("getSurface failed to throw IllegalStateException");
167 } catch (IllegalStateException e) {
169 throw new Exception("getSurface failed to throw IllegalStateException");
182 throw new Exception("getSurface failed to throw IllegalStateException");
184 } catch (IllegalStateException e) {
186 throw new Exception("getSurface failed to throw IllegalStateException");
198 * should throw IllegalStateException
[all...]
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java148 } catch (IllegalStateException e) {
149 logAndShowToast("IllegalStateException: " + e.getMessage());
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DStackOverflowXmlParser.java155 throw new IllegalStateException();
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonEvent.java116 * @throws IllegalStateException if {@link #getCode()} doesn't match.
120 throw new IllegalStateException("Expected " + code + " but was: " + this);
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBasedCountryDetector.java41 * the user country through the GeoCoder. The IllegalStateException will be
150 throw new IllegalStateException();

Completed in 1058 milliseconds

1234567891011>>