Home
last modified time | relevance | path

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

12345678910>>...35

/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java258 throws IllegalStateException { in setEnabled()
261 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState)); in setEnabled()
283 throw(new IllegalStateException("getEnabled() called in wrong state: "+mState)); in getEnabled()
315 throws IllegalStateException { in setCaptureSize()
318 throw(new IllegalStateException("setCaptureSize() called in wrong state: "+mState)); in setCaptureSize()
329 throws IllegalStateException { in getCaptureSize()
332 throw(new IllegalStateException("getCaptureSize() called in wrong state: "+mState)); in getCaptureSize()
347 throws IllegalStateException { in setScalingMode()
350 throw(new IllegalStateException("setScalingMode() called in wrong state: " in setScalingMode()
364 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.java503 public Descriptor getDescriptor() throws IllegalStateException { in getDescriptor()
573 public int setEnabled(boolean enabled) throws IllegalStateException { in setEnabled()
597 throws IllegalStateException { in setParameter()
609 public int setParameter(int param, int value) throws IllegalStateException { in setParameter()
624 throws IllegalStateException { in setParameter()
639 throws IllegalStateException { in setParameter()
653 throws IllegalStateException { in setParameter()
679 throws IllegalStateException { in setParameter()
706 throws IllegalStateException { in setParameter()
735 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/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()
DMediaMuxer.java400 throw new IllegalStateException("Can't set rotation degrees due" + in setOrientationHint()
436 throw new IllegalStateException("Can't set location due to wrong state."); in setLocation()
449 throw new IllegalStateException("Muxer has been released!"); in start()
455 throw new IllegalStateException("Can't start due to wrong state."); in start()
469 throw new IllegalStateException("Can't stop due to wrong state."); in stop()
617 throw new IllegalStateException("Muxer is not initialized."); in addTrack()
620 throw new IllegalStateException("Muxer has been released!"); in addTrack()
687 throw new IllegalStateException("Muxer has been released!"); in writeSampleData()
691 throw new IllegalStateException("Can't write, muxer is not started"); in writeSampleData()
DMediaRecorder.java574 throws IllegalStateException; in setAudioSource()
595 throws IllegalStateException; in setVideoSource()
719 throws IllegalStateException; in setOutputFormat()
732 throws IllegalStateException; in setVideoSize()
747 public native void setVideoFrameRate(int rate) throws IllegalStateException; in setVideoFrameRate()
802 throws IllegalStateException; in setAudioEncoder()
815 throws IllegalStateException; in setVideoEncoder()
940 public void setOutputFile(FileDescriptor fd) throws IllegalStateException in setOutputFile()
994 public void setOutputFile(String path) throws IllegalStateException in setOutputFile()
1029 private native void _setOutputFile(FileDescriptor fd) throws IllegalStateException, IOException; in _setOutputFile()
[all …]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java140 throw new IllegalStateException("No event id"); in build()
142 throw new IllegalStateException("Event does not contain a command"); in build()
146 throw new IllegalStateException("Device registration is missing descriptor"); in build()
150 throw new IllegalStateException("Delay has missing or invalid duration"); in build()
154 throw new IllegalStateException("Report command is missing report data"); in build()
210 } catch (IllegalStateException ex) { in getNextEvent()
230 } catch (IllegalStateException|NumberFormatException e) { in readData()
233 throw new IllegalStateException("Encountered malformed data.", e); in readData()
239 throw new IllegalStateException("Invalid data, all values must be byte-sized"); in readData()
252 throws IllegalStateException, IOException { in readFeatureReports()
[all …]
/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/android/content/
DCursorEntityIterator.java62 throw new IllegalStateException("calling hasNext() when the iterator is closed"); in hasNext()
79 throw new IllegalStateException("calling next() when the iterator is closed"); in next()
82 throw new IllegalStateException("you may only call next() if hasNext() is true"); in next()
98 throw new IllegalStateException("calling reset() when the iterator is closed"); in reset()
109 throw new IllegalStateException("closing when already closed"); in close()
/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/com/android/internal/util/
DFastXmlSerializer.java187 IllegalArgumentException, IllegalStateException { in attribute()
203 IllegalStateException { in cdsect()
208 IllegalStateException { in comment()
213 IllegalStateException { in docdecl()
217 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { in endDocument()
222 IllegalArgumentException, IllegalStateException { in endTag()
244 IllegalStateException { in entityRef()
309 IllegalStateException { in ignorableWhitespace()
314 IllegalStateException { in processingInstruction()
319 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/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/utils/src/android/perftests/utils/
DBenchmarkState.java94 throw new IllegalStateException( in pauseTiming()
105 throw new IllegalStateException( in resumeTiming()
178 throw new IllegalStateException( in keepRunning()
184 throw new IllegalStateException("The benchmark has finished."); in keepRunning()
186 throw new IllegalStateException("The benchmark is in unknown state."); in keepRunning()
192 throw new IllegalStateException("The benchmark hasn't finished"); in mean()
199 throw new IllegalStateException("The benchmark hasn't finished"); in median()
206 throw new IllegalStateException("The benchmark hasn't finished"); in min()
213 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/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkRunner.java54 throw new IllegalStateException("Benchmarking is in paused state"); in keepRunning()
56 throw new IllegalStateException("Benchmarking is finished"); in keepRunning()
58 throw new IllegalStateException("BenchmarkRunner is in unknown state"); in keepRunning()
82 throw new IllegalStateException("Unable to pause the runner: not running currently"); in pauseTiming()
90 throw new IllegalStateException("Unable to resume the runner: already running"); in resumeTiming()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneFactoryTest.java33 } catch (IllegalStateException e) { in testBeforeMakePhone()
39 } catch (IllegalStateException e) { in testBeforeMakePhone()
45 } catch (IllegalStateException e) { in testBeforeMakePhone()
51 } catch (IllegalStateException e) { in testBeforeMakePhone()
/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/base/wifi/tests/src/android/net/wifi/
DWifiNetworkSpecifierTest.java168 @Test(expected = IllegalStateException.class)
177 @Test(expected = IllegalStateException.class)
188 @Test(expected = IllegalStateException.class)
199 @Test(expected = IllegalStateException.class)
210 @Test(expected = IllegalStateException.class)
221 @Test(expected = IllegalStateException.class)
232 @Test(expected = IllegalStateException.class)
243 @Test(expected = IllegalStateException.class)
254 @Test(expected = IllegalStateException.class)
265 @Test(expected = IllegalStateException.class)
[all …]
/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 …]

12345678910>>...35