Home
last modified time | relevance | path

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

12345678910>>...37

/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java268 throws IllegalStateException { in setEnabled()
271 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState)); in setEnabled()
293 throw(new IllegalStateException("getEnabled() called in wrong state: "+mState)); in getEnabled()
325 throws IllegalStateException { in setCaptureSize()
328 throw(new IllegalStateException("setCaptureSize() called in wrong state: "+mState)); in setCaptureSize()
339 throws IllegalStateException { in getCaptureSize()
342 throw(new IllegalStateException("getCaptureSize() called in wrong state: "+mState)); in getCaptureSize()
357 throws IllegalStateException { in setScalingMode()
360 throw(new IllegalStateException("setScalingMode() called in wrong state: " in setScalingMode()
374 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.java544 public Descriptor getDescriptor() throws IllegalStateException { in getDescriptor()
614 public int setEnabled(boolean enabled) throws IllegalStateException { in setEnabled()
638 throws IllegalStateException { in setParameter()
650 public int setParameter(int param, int value) throws IllegalStateException { in setParameter()
665 throws IllegalStateException { in setParameter()
680 throws IllegalStateException { in setParameter()
694 throws IllegalStateException { in setParameter()
720 throws IllegalStateException { in setParameter()
747 throws IllegalStateException { in setParameter()
776 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/media/java/android/media/tv/
DTvTrackInfo.java185 throw new IllegalStateException("Not an audio track"); in getAudioChannelCount()
197 throw new IllegalStateException("Not an audio track"); in getAudioSampleRate()
214 throw new IllegalStateException("Not an audio track"); in isAudioDescription()
231 throw new IllegalStateException("Not an audio or a subtitle track"); in isHardOfHearing()
247 throw new IllegalStateException("Not an audio track"); in isSpokenSubtitle()
260 throw new IllegalStateException("Not a video track"); in getVideoWidth()
273 throw new IllegalStateException("Not a video track"); in getVideoHeight()
286 throw new IllegalStateException("Not a video track"); in getVideoFrameRate()
299 throw new IllegalStateException("Not a video track"); in getVideoPixelAspectRatio()
315 throw new IllegalStateException("Not a video track"); in getVideoActiveFormatDescription()
[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/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/
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.java399 throw new IllegalStateException("Can't set rotation degrees due" + in setOrientationHint()
435 throw new IllegalStateException("Can't set location due to wrong state."); in setLocation()
448 throw new IllegalStateException("Muxer has been released!"); in start()
454 throw new IllegalStateException("Can't start due to wrong state."); in start()
468 throw new IllegalStateException("Can't stop due to wrong state."); in stop()
616 throw new IllegalStateException("Muxer is not initialized."); in addTrack()
619 throw new IllegalStateException("Muxer has been released!"); in addTrack()
686 throw new IllegalStateException("Muxer has been released!"); in writeSampleData()
690 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/core/java/com/android/internal/util/
DFastXmlSerializer.java188 IllegalArgumentException, IllegalStateException { in attribute()
204 IllegalStateException { in cdsect()
209 IllegalStateException { in comment()
214 IllegalStateException { in docdecl()
218 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { in endDocument()
223 IllegalArgumentException, IllegalStateException { in endTag()
245 IllegalStateException { in entityRef()
310 IllegalStateException { in ignorableWhitespace()
315 IllegalStateException { in processingInstruction()
320 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.java305 throw new IllegalStateException("Cannot have two active instances"); in create()
357 throw new IllegalStateException("Middleware must not return an" in bindAndInitialize()
418 throw new IllegalStateException("Middleware not yet bound"); in requestUpdateFileServices()
425 throw new IllegalStateException("Middleware must not return an unknown error code"); in requestUpdateFileServices()
467 throw new IllegalStateException("Middleware not yet bound"); in addServiceAnnouncement()
480 throw new IllegalStateException("Middleware must not return an unknown error code"); in addServiceAnnouncement()
521 throw new IllegalStateException("Middleware not yet bound"); in setTempFileRootDirectory()
526 throw new IllegalStateException("Got IOException checking directory sanity"); in setTempFileRootDirectory()
540 throw new IllegalStateException("Middleware must not return an unknown error code"); in setTempFileRootDirectory()
622 throw new IllegalStateException("Middleware not yet bound"); in download()
[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.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/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.java32 } catch (IllegalStateException e) { in testBeforeMakePhone()
38 } catch (IllegalStateException e) { in testBeforeMakePhone()
44 } catch (IllegalStateException e) { in testBeforeMakePhone()
50 } 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/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 …]
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java756 throw new IllegalStateException(e); in listInterfaces()
809 throw new IllegalStateException(e); in getInterfaceConfig()
816 throw new IllegalStateException("Invalid InterfaceConfigurationParcel", iae); in getInterfaceConfig()
827 throw new IllegalStateException("Null LinkAddress given"); in setInterfaceConfig()
835 throw new IllegalStateException(e); in setInterfaceConfig()
861 throw new IllegalStateException(e); in setInterfaceIpv6PrivacyExtensions()
873 throw new IllegalStateException(e); in clearInterfaceAddresses()
883 throw new IllegalStateException(e); in enableIpv6()
903 throw new IllegalStateException(e); in disableIpv6()
954 throw new IllegalStateException(e); in setMtu()
[all …]

12345678910>>...37