Home
last modified time | relevance | path

Searched refs:IllegalStateException (Results 1 – 25 of 1029) sorted by relevance

12345678910>>...42

/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java255 throws IllegalStateException { in setEnabled()
258 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState)); in setEnabled()
280 throw(new IllegalStateException("getEnabled() called in wrong state: "+mState)); in getEnabled()
312 throws IllegalStateException { in setCaptureSize()
315 throw(new IllegalStateException("setCaptureSize() called in wrong state: "+mState)); in setCaptureSize()
326 throws IllegalStateException { in getCaptureSize()
329 throw(new IllegalStateException("getCaptureSize() called in wrong state: "+mState)); in getCaptureSize()
344 throws IllegalStateException { in setScalingMode()
347 throw(new IllegalStateException("setScalingMode() called in wrong state: " in setScalingMode()
361 throws IllegalStateException { in getScalingMode()
[all …]
DEnvironmentalReverb.java149 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setRoomLevel()
162 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoomLevel()
178 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setRoomHFLevel()
191 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoomHFLevel()
205 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setDecayTime()
218 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getDecayTime()
234 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setDecayHFRatio()
247 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getDecayHFRatio()
263 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setReflectionsLevel()
276 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getReflectionsLevel()
[all …]
DEqualizer.java137 throws IllegalStateException, IllegalArgumentException, in Equalizer()
176 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getNumberOfBands()
198 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandLevelRange()
216 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setBandLevel()
236 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandLevel()
258 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getCenterFreq()
280 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandFreqRange()
299 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBand()
318 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getCurrentPreset()
334 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in usePreset()
[all …]
DAudioEffect.java458 public Descriptor getDescriptor() throws IllegalStateException { in getDescriptor()
528 public int setEnabled(boolean enabled) throws IllegalStateException { in setEnabled()
552 throws IllegalStateException { in setParameter()
564 public int setParameter(int param, int value) throws IllegalStateException { in setParameter()
579 throws IllegalStateException { in setParameter()
594 throws IllegalStateException { in setParameter()
608 throws IllegalStateException { in setParameter()
633 throws IllegalStateException { in setParameter()
660 throws IllegalStateException { in setParameter()
689 throws IllegalStateException { in getParameter()
[all …]
DLoudnessEnhancer.java78 throws IllegalStateException, IllegalArgumentException, in LoudnessEnhancer()
104 throws IllegalStateException, IllegalArgumentException, in LoudnessEnhancer()
123 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setTargetGain()
135 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getTargetGain()
269 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
287 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaController2Stub.java49 private MediaController2Impl getController() throws IllegalStateException { in getController()
52 throw new IllegalStateException("Controller is released"); in getController()
57 private MediaBrowser2Impl getBrowser() throws IllegalStateException { in getBrowser()
74 } catch (IllegalStateException e) { in onPlayerStateChanged()
86 } catch (IllegalStateException e) { in onPositionChanged()
106 } catch (IllegalStateException e) { in onPlaybackSpeedChanged()
118 } catch (IllegalStateException e) { in onBufferedPositionChanged()
134 } catch (IllegalStateException e) { in onPlaylistChanged()
160 } catch (IllegalStateException e) { in onPlaylistMetadataChanged()
173 } catch (IllegalStateException e) { in onRepeatModeChanged()
[all …]
/frameworks/base/core/java/android/se/omapi/
DChannel.java105 throw new IllegalStateException("service not connected to system"); in isBasicChannel()
110 throw new IllegalStateException(e.getMessage()); in isBasicChannel()
164 throw new IllegalStateException("service not connected to system"); in transmit()
176 throw new IllegalStateException(e.getMessage()); in transmit()
202 throw new IllegalStateException("service not connected to system"); in getSelectResponse()
209 throw new IllegalStateException(e.getMessage()); in getSelectResponse()
245 throw new IllegalStateException("service not connected to system"); in selectNext()
254 throw new IllegalStateException(e.getMessage()); in selectNext()
DSession.java80 throw new IllegalStateException("service not connected to system"); in getATR()
85 throw new IllegalStateException(e.getMessage()); in getATR()
202 throw new IllegalStateException("service not connected to system"); in openBasicChannel()
219 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
222 throw new IllegalStateException(e.getMessage()); in openBasicChannel()
308 throw new IllegalStateException("service not connected to system"); in openLogicalChannel()
326 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
329 throw new IllegalStateException(e.getMessage()); in openLogicalChannel()
/frameworks/base/media/java/android/media/
DPlayerProxy.java62 throw new IllegalStateException( in start()
75 throw new IllegalStateException( in pause()
88 throw new IllegalStateException( in stop()
102 throw new IllegalStateException( in setVolume()
116 throw new IllegalStateException( in setPan()
130 throw new IllegalStateException( in setStartDelayMs()
148 throw new IllegalStateException( in applyVolumeShaper()
DMediaRecorder.java500 throws IllegalStateException; in setAudioSource()
521 throws IllegalStateException; in setVideoSource()
645 throws IllegalStateException; in setOutputFormat()
658 throws IllegalStateException; in setVideoSize()
673 public native void setVideoFrameRate(int rate) throws IllegalStateException; in setVideoFrameRate()
716 throws IllegalStateException; in setAudioEncoder()
729 throws IllegalStateException; in setVideoEncoder()
854 public void setOutputFile(FileDescriptor fd) throws IllegalStateException in setOutputFile()
908 public void setOutputFile(String path) throws IllegalStateException in setOutputFile()
943 private native void _setOutputFile(FileDescriptor fd) throws IllegalStateException, IOException; in _setOutputFile()
[all …]
DMediaMuxer.java388 throw new IllegalStateException("Can't set rotation degrees due" + in setOrientationHint()
424 throw new IllegalStateException("Can't set location due to wrong state."); in setLocation()
437 throw new IllegalStateException("Muxer has been released!"); in start()
443 throw new IllegalStateException("Can't start due to wrong state."); in start()
457 throw new IllegalStateException("Can't stop due to wrong state."); in stop()
605 throw new IllegalStateException("Muxer is not initialized."); in addTrack()
608 throw new IllegalStateException("Muxer has been released!"); in addTrack()
675 throw new IllegalStateException("Muxer has been released!"); in writeSampleData()
679 throw new IllegalStateException("Can't write, muxer is not started"); in writeSampleData()
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java142 throw new IllegalStateException("Not an audio track"); in getAudioChannelCount()
154 throw new IllegalStateException("Not an audio track"); in getAudioSampleRate()
167 throw new IllegalStateException("Not a video track"); in getVideoWidth()
180 throw new IllegalStateException("Not a video track"); in getVideoHeight()
193 throw new IllegalStateException("Not a video track"); in getVideoFrameRate()
206 throw new IllegalStateException("Not a video track"); in getVideoPixelAspectRatio()
222 throw new IllegalStateException("Not a video track"); in getVideoActiveFormatDescription()
371 throw new IllegalStateException("Not an audio track"); in setAudioChannelCount()
386 throw new IllegalStateException("Not an audio track"); in setAudioSampleRate()
401 throw new IllegalStateException("Not a video track"); in setVideoWidth()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java185 IllegalArgumentException, IllegalStateException { in attribute()
201 IllegalStateException { in cdsect()
206 IllegalStateException { in comment()
211 IllegalStateException { in docdecl()
215 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { in endDocument()
220 IllegalArgumentException, IllegalStateException { in endTag()
242 IllegalStateException { in entityRef()
307 IllegalStateException { in ignorableWhitespace()
312 IllegalStateException { in processingInstruction()
317 IllegalStateException { in setFeature()
[all …]
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAndroidDistinguishedNameParser.java73 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
86 throw new IllegalStateException("Unexpected end of DN: " + dn); in nextAT()
117 throw new IllegalStateException("Unexpected end of DN: " + dn); in quotedAV()
146 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
180 throw new IllegalStateException("Unexpected end of DN: " + dn); in hexAV()
241 throw new IllegalStateException("Unexpected end of DN: " + dn); in getEscaped()
319 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
332 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
343 throw new IllegalStateException("Malformed DN: " + dn); in getByte()
403 throw new IllegalStateException("Malformed DN: " + dn); in findMostSpecific()
[all …]
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteMemoryIntArrayService.java43 throw new IllegalStateException(e); in onBind()
68 throw new IllegalStateException(e); in onBind()
79 throw new IllegalStateException(e); in onBind()
90 throw new IllegalStateException(e); in onBind()
101 throw new IllegalStateException(e); in onBind()
118 throw new IllegalStateException(e); in onBind()
/frameworks/base/core/java/android/content/
DCursorEntityIterator.java60 throw new IllegalStateException("calling hasNext() when the iterator is closed"); in hasNext()
77 throw new IllegalStateException("calling next() when the iterator is closed"); in next()
80 throw new IllegalStateException("you may only call next() if hasNext() is true"); in next()
96 throw new IllegalStateException("calling reset() when the iterator is closed"); in reset()
107 throw new IllegalStateException("closing when already closed"); in close()
/frameworks/base/telephony/java/android/telephony/
DMbmsDownloadSession.java302 throw new IllegalStateException("Cannot have two active instances"); in create()
345 throw new IllegalStateException("Middleware must not return an" in bindAndInitialize()
395 throw new IllegalStateException("Middleware not yet bound");
402 throw new IllegalStateException("Middleware must not return an unknown error code");
443 throw new IllegalStateException("Middleware not yet bound");
448 throw new IllegalStateException("Got IOException checking directory sanity");
462 throw new IllegalStateException("Middleware must not return an unknown error code");
544 throw new IllegalStateException("Middleware not yet bound");
567 throw new IllegalStateException("Middleware must not return an unknown"
589 throw new IllegalStateException("Middleware not yet bound");
[all …]
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java56 throw new IllegalStateException("Benchmarking is in paused state"); in keepRunning()
58 throw new IllegalStateException("Benchmarking is finished"); in keepRunning()
60 throw new IllegalStateException("BenchmarkRunner is in unknown state"); in keepRunning()
81 throw new IllegalStateException("Cannot execute shell command", e); in prepareForNextRun()
89 throw new IllegalStateException("Unable to pause the runner: not running currently"); in pauseTiming()
97 throw new IllegalStateException("Unable to resume the runner: already running"); in resumeTiming()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java93 throw new IllegalStateException( in pauseTiming()
104 throw new IllegalStateException( in resumeTiming()
177 throw new IllegalStateException( in keepRunning()
183 throw new IllegalStateException("The benchmark has finished."); in keepRunning()
185 throw new IllegalStateException("The benchmark is in unknown state."); in keepRunning()
191 throw new IllegalStateException("The benchmark hasn't finished"); in mean()
198 throw new IllegalStateException("The benchmark hasn't finished"); in median()
205 throw new IllegalStateException("The benchmark hasn't finished"); in min()
212 throw new IllegalStateException("The benchmark hasn't finished"); in standardDeviation()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceCompilerMapping.java37 throw new IllegalStateException("REASON_STRINGS not correct");
40 throw new IllegalStateException("REASON_STRINGS not correct because of shared index");
58 throw new IllegalStateException("Value \"" + sysPropValue +"\" not valid " in getAndCheckValidity()
61 throw new IllegalStateException("Value \"" + sysPropValue +"\" not allowed " in getAndCheckValidity()
84 throw new IllegalStateException("Reason system property name \"" + in checkProperties()
92 toThrow = new IllegalStateException("PMS compiler filter settings are bad."); in checkProperties()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java129 throw new IllegalStateException("No event id"); in build()
131 throw new IllegalStateException("Event does not contain a command"); in build()
135 throw new IllegalStateException("Device registration is missing descriptor"); in build()
139 throw new IllegalStateException("Delay has missing or invalid duration"); in build()
143 throw new IllegalStateException("Report command is missing report data"); in build()
196 } catch (IllegalStateException ex) { in getNextEvent()
216 } catch (IllegalStateException|NumberFormatException e) { in readData()
219 throw new IllegalStateException("Encountered malformed data.", e); in readData()
225 throw new IllegalStateException("Invalid data, all values must be byte-sized"); in readData()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java319 throw new IllegalStateException("You can't call this!"); in getAnimationStyle()
324 throw new IllegalStateException("You can't call this!"); in getBackground()
329 throw new IllegalStateException("You can't call this!"); in getContentView()
334 throw new IllegalStateException("You can't call this!"); in getElevation()
339 throw new IllegalStateException("You can't call this!"); in getEnterTransition()
344 throw new IllegalStateException("You can't call this!"); in getExitTransition()
349 throw new IllegalStateException("You can't call this!"); in setBackgroundDrawable()
355 throw new IllegalStateException("You can't call this!"); in setContentView()
361 throw new IllegalStateException("You can't call this!"); in setElevation()
366 throw new IllegalStateException("You can't call this!"); in setEnterTransition()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/ui/
DSequenceUI.java123 throw new IllegalStateException("Didn't expect a non-action: " + next); in ready()
140 throw new IllegalStateException("Unexpected: " + next); in getSelectedClient()
149 throw new IllegalStateException("Unexpected: " + next); in getSelectedDataTableRow()
176 throw new IllegalStateException("Unexpected: " + next); in showConfirmDialog()
185 throw new IllegalStateException("Unexpected: " + next); in showInputDialog()
200 throw new IllegalStateException("Unexpected: " + next); in showChoiceDialog()
210 throw new IllegalStateException("Unexpected: " + next); in showSaveDialog()
219 throw new IllegalStateException("Unexpected: " + next); in showOpenDialog()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1NodeTest.java217 @Test(expected = IllegalStateException.class)
223 @Test(expected = IllegalStateException.class)
229 @Test(expected = IllegalStateException.class)
235 @Test(expected = IllegalStateException.class)
241 @Test(expected = IllegalStateException.class)
247 @Test(expected = IllegalStateException.class)
254 @Test(expected = IllegalStateException.class)
261 @Test(expected = IllegalStateException.class)
268 @Test(expected = IllegalStateException.class)
275 @Test(expected = IllegalStateException.class)
[all …]
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DUninitializedStateTest.java47 @Test(expected = IllegalStateException.class)
52 @Test(expected = IllegalStateException.class)
57 @Test(expected = IllegalStateException.class)
62 @Test(expected = IllegalStateException.class)

12345678910>>...42