Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/media/java/android/media/audiofx/
DVisualizer.java236 throws IllegalStateException { in setEnabled()
239 throw(new IllegalStateException("setEnabled() called in wrong state: "+mState)); in setEnabled()
261 throw(new IllegalStateException("getEnabled() called in wrong state: "+mState)); in getEnabled()
293 throws IllegalStateException { in setCaptureSize()
296 throw(new IllegalStateException("setCaptureSize() called in wrong state: "+mState)); in setCaptureSize()
307 throws IllegalStateException { in getCaptureSize()
310 throw(new IllegalStateException("getCaptureSize() called in wrong state: "+mState)); in getCaptureSize()
325 throws IllegalStateException { in setScalingMode()
328 throw(new IllegalStateException("setScalingMode() called in wrong state: " in setScalingMode()
342 throws IllegalStateException { in getScalingMode()
[all …]
DEnvironmentalReverb.java157 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setRoomLevel()
170 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoomLevel()
186 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setRoomHFLevel()
199 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoomHFLevel()
213 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setDecayTime()
226 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getDecayTime()
242 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setDecayHFRatio()
255 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getDecayHFRatio()
271 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setReflectionsLevel()
284 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getReflectionsLevel()
[all …]
DEqualizer.java144 throws IllegalStateException, IllegalArgumentException, in Equalizer()
183 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getNumberOfBands()
205 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandLevelRange()
223 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setBandLevel()
243 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandLevel()
265 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getCenterFreq()
287 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBandFreqRange()
306 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getBand()
325 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getCurrentPreset()
341 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in usePreset()
[all …]
DAudioEffect.java422 public Descriptor getDescriptor() throws IllegalStateException { in getDescriptor()
487 public int setEnabled(boolean enabled) throws IllegalStateException { in setEnabled()
510 throws IllegalStateException { in setParameter()
521 public int setParameter(int param, int value) throws IllegalStateException { in setParameter()
535 throws IllegalStateException { in setParameter()
549 throws IllegalStateException { in setParameter()
562 throws IllegalStateException { in setParameter()
587 throws IllegalStateException { in setParameter()
613 throws IllegalStateException { in setParameter()
641 throws IllegalStateException { in getParameter()
[all …]
DBassBoost.java99 throws IllegalStateException, IllegalArgumentException, in BassBoost()
133 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setStrength()
146 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoundedStrength()
274 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
291 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
DVirtualizer.java101 throws IllegalStateException, IllegalArgumentException, in Virtualizer()
135 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setStrength()
148 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoundedStrength()
276 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
293 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
DPresetReverb.java151 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setPreset()
163 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getPreset()
291 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
308 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
/frameworks/base/media/java/android/media/
DMediaRecorder.java290 throws IllegalStateException; in setAudioSource()
311 throws IllegalStateException; in setVideoSource()
438 throws IllegalStateException; in setOutputFormat()
451 throws IllegalStateException; in setVideoSize()
466 public native void setVideoFrameRate(int rate) throws IllegalStateException; in setVideoFrameRate()
509 throws IllegalStateException; in setAudioEncoder()
522 throws IllegalStateException; in setVideoEncoder()
620 public void setOutputFile(FileDescriptor fd) throws IllegalStateException in setOutputFile()
634 public void setOutputFile(String path) throws IllegalStateException in setOutputFile()
642 throws IllegalStateException, IOException; in _setOutputFile()
[all …]
DMediaMuxer.java162 throw new IllegalStateException("Can't set rotation degrees due" + in setOrientationHint()
174 throw new IllegalStateException("Muxer has been released!"); in start()
180 throw new IllegalStateException("Can't start due to wrong state."); in start()
193 throw new IllegalStateException("Can't stop due to wrong state."); in stop()
223 throw new IllegalStateException("Muxer is not initialized."); in addTrack()
226 throw new IllegalStateException("Muxer has been released!"); in addTrack()
291 throw new IllegalStateException("Muxer has been released!"); in writeSampleData()
295 throw new IllegalStateException("Can't write, muxer is not started"); in writeSampleData()
DMediaPlayer.java853 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException { in setDataSource()
866 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException { in setDataSource()
917 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException { in setDataSource()
930 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException in setDataSource()
950 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException { in setDataSource()
969 throws IOException, IllegalArgumentException, SecurityException, IllegalStateException; in _setDataSource()
979 throws IOException, IllegalArgumentException, IllegalStateException { in setDataSource()
995 throws IOException, IllegalArgumentException, IllegalStateException; in setDataSource()
1006 public native void prepare() throws IOException, IllegalStateException; in prepare()
1018 public native void prepareAsync() throws IllegalStateException; in prepareAsync()
[all …]
DAudioRecord.java21 import java.lang.IllegalStateException;
350 } catch(IllegalStateException ise) { in release()
515 throws IllegalStateException { in startRecording()
517 throw(new IllegalStateException("startRecording() called on an " in startRecording()
537 throws IllegalStateException { in startRecording()
539 throw(new IllegalStateException("startRecording() called on an " in startRecording()
556 throws IllegalStateException { in stop()
558 throw(new IllegalStateException("stop() called on an uninitialized AudioRecord.")); in stop()
/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()
DSyncAdapterType.java96 throw new IllegalStateException( in supportsUploading()
104 throw new IllegalStateException( in isUserVisible()
117 throw new IllegalStateException( in allowParallelSyncs()
133 throw new IllegalStateException( in isAlwaysSyncable()
145 throw new IllegalStateException( in getSettingsActivity()
194 throw new IllegalStateException("keys aren't parcelable"); in writeToParcel()
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java167 IllegalArgumentException, IllegalStateException { in attribute()
183 IllegalStateException { in cdsect()
188 IllegalStateException { in comment()
193 IllegalStateException { in docdecl()
197 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { in endDocument()
202 IllegalArgumentException, IllegalStateException { in endTag()
224 IllegalStateException { in entityRef()
289 IllegalStateException { in ignorableWhitespace()
294 IllegalStateException { in processingInstruction()
299 IllegalStateException { in setFeature()
[all …]
DJournaledFile.java73 throw new IllegalStateException("uncommitted write already in progress"); in chooseForWrite()
100 throw new IllegalStateException("no file to commit"); in commit()
111 throw new IllegalStateException("no file to roll back"); in rollback()
/frameworks/base/keystore/java/android/security/
DAndroidKeyPairGenerator.java75 throw new IllegalStateException( in generateKeyPair()
81 throw new IllegalStateException( in generateKeyPair()
92 throw new IllegalStateException("could not generate key in keystore"); in generateKeyPair()
110 throw new IllegalStateException("Can't instantiate RSA key generator", e); in generateKeyPair()
112 throw new IllegalStateException("keystore returned invalid key encoding", e); in generateKeyPair()
129 throw new IllegalStateException("Can't generate certificate", e); in generateKeyPair()
137 throw new IllegalStateException("Can't get encoding of certificate", e); in generateKeyPair()
143 throw new IllegalStateException("Can't store certificate in AndroidKeyStore"); in generateKeyPair()
/frameworks/base/core/java/android/app/backup/
DBackupDataInput.java125 throw new IllegalStateException("Entity header not read"); in getKey()
140 throw new IllegalStateException("Entity header not read"); in getDataSize()
168 throw new IllegalStateException("Entity header not read"); in readEntityData()
184 throw new IllegalStateException("Entity header not read"); in skipEntityData()
/frameworks/base/core/java/android/speech/srec/
DMicrophoneInputStream.java25 import java.lang.IllegalStateException;
58 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read()
65 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read()
71 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read()
/frameworks/base/sax/java/android/sax/
DElement.java68 throw new IllegalStateException("This element already has an end" in getChild()
131 throw new IllegalStateException( in setStartElementListener()
142 throw new IllegalStateException( in setEndElementListener()
154 throw new IllegalStateException( in setEndTextElementListener()
159 throw new IllegalStateException("This element already has children." in setEndTextElementListener()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java69 throw new IllegalStateException("Already connected."); in connect()
83 throw new IllegalStateException("Already disconnected."); in disconnect()
176 throw new IllegalStateException("Error while registering UiTestAutomationService.", re); in registerUiTestAutomationServiceLocked()
189 throw new IllegalStateException("Error while unregistering UiTestAutomationService", in unregisterUiTestAutomationServiceLocked()
228 throw new IllegalStateException("Connection shutdown!"); in throwIfShutdownLocked()
234 throw new IllegalStateException("Not connected!"); in throwIfNotConnectedLocked()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DRtpStream.java134 throw new IllegalStateException("Busy"); in setMode()
155 throw new IllegalStateException("Busy"); in associate()
182 throw new IllegalStateException("Busy"); in release()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMockAccessibilityService.java88 throw new IllegalStateException("Did you forget to call replay()"); in verify()
92 throw new IllegalStateException("Expected call to #interrupt() not received"); in verify()
95 throw new IllegalStateException("Expected a call to onAccessibilityEvent() for " in verify()
134 throw new IllegalStateException("Unexpected event: " + receivedEvent); in onAccessibilityEvent()
148 throw new IllegalStateException("Unexpected call to onInterrupt()"); in onInterrupt()
/frameworks/base/graphics/java/android/renderscript/
DMesh.java249 public Builder addVertexType(Type t) throws IllegalStateException { in addVertexType()
251 throw new IllegalStateException("Max vertex types exceeded."); in addVertexType()
270 public Builder addVertexType(Element e, int size) throws IllegalStateException { in addVertexType()
272 throw new IllegalStateException("Max vertex types exceeded."); in addVertexType()
456 public AllocationBuilder addVertexAllocation(Allocation a) throws IllegalStateException { in addVertexAllocation()
458 throw new IllegalStateException("Max vertex types exceeded."); in addVertexAllocation()
652 throw new IllegalStateException("add mistmatch with declared components."); in addVertex()
674 throw new IllegalStateException("add mistmatch with declared components."); in addVertex()
696 throw new IllegalStateException("add mistmatch with declared components."); in setTexture()
715 throw new IllegalStateException("add mistmatch with declared components."); in setNormal()
[all …]
/frameworks/base/core/java/android/util/
DJsonWriter.java253 throw new IllegalStateException("Nesting problem: " + stack); in close()
481 throw new IllegalStateException("Nesting problem: " + stack); in beforeName()
499 throw new IllegalStateException( in beforeValue()
521 throw new IllegalStateException( in beforeValue()
525 throw new IllegalStateException("Nesting problem: " + stack); in beforeValue()
/frameworks/base/services/java/com/android/server/
DNetworkManagementService.java417 throw new IllegalStateException( in onEvent()
433 throw new IllegalStateException( in onEvent()
442 throw new IllegalStateException( in onEvent()
449 throw new IllegalStateException( in onEvent()
458 throw new IllegalStateException( in onEvent()
526 throw new IllegalStateException("Invalid response from daemon: " + event); in getInterfaceConfig()
536 throw new IllegalStateException("Null LinkAddress given"); in setInterfaceConfig()
773 public boolean getIpForwardingEnabled() throws IllegalStateException{ in getIpForwardingEnabled()
933 throw new IllegalStateException(e); in enableNat()
943 throw new IllegalStateException(e); in disableNat()
[all …]

12345678910>>...14