Home
last modified time | relevance | path

Searched refs:IllegalArgumentException (Results 1 – 25 of 1759) sorted by relevance

12345678910>>...71

/frameworks/base/media/java/android/media/audiofx/
DEnvironmentalReverb.java137 throws IllegalArgumentException, UnsupportedOperationException, RuntimeException { in EnvironmentalReverb()
149 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()
[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 …]
DVirtualizer.java118 throws IllegalStateException, IllegalArgumentException, in Virtualizer()
152 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setStrength()
165 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoundedStrength()
184 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getAnglesInt()
187 throw (new IllegalArgumentException( in getAnglesInt()
196 throw (new IllegalArgumentException( in getAnglesInt()
305 throws IllegalArgumentException { in getDeviceForModeQuery()
312 throw (new IllegalArgumentException( in getDeviceForModeQuery()
318 throws IllegalArgumentException { in getDeviceForModeForce()
376 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in canVirtualize()
[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()
230 throw new IllegalArgumentException("settings: " + settings); in Settings()
234 throw new IllegalArgumentException( in Settings()
240 throw new IllegalArgumentException("invalid key name: " + key); in Settings()
244 throw new IllegalArgumentException("invalid value for key: " + key); in Settings()
269 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
287 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
DBassBoost.java92 throws IllegalStateException, IllegalArgumentException, in BassBoost()
126 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setStrength()
139 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getRoundedStrength()
229 throw new IllegalArgumentException("settings: " + settings); in Settings()
233 throw new IllegalArgumentException( in Settings()
239 throw new IllegalArgumentException("invalid key name: " + key); in Settings()
243 throw new IllegalArgumentException("invalid value for key: " + key); in Settings()
267 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
284 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
DPresetReverb.java127 throws IllegalArgumentException, UnsupportedOperationException, RuntimeException { in PresetReverb()
143 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setPreset()
155 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getPreset()
245 throw new IllegalArgumentException("settings: " + settings); in Settings()
249 throw new IllegalArgumentException( in Settings()
255 throw new IllegalArgumentException("invalid key name: " + key); in Settings()
259 throw new IllegalArgumentException("invalid value for key: " + key); in Settings()
283 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in getProperties()
300 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { in setProperties()
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java37 throw new IllegalArgumentException(); in checkArgument()
52 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
69 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkArgument()
83 throw new IllegalArgumentException(); in checkStringNotEmpty()
101 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty()
119 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkStringNotEmpty()
197 throw new IllegalArgumentException("Requested flags 0x" in checkFlagsArgument()
216 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
232 throw new IllegalArgumentException(); in checkArgumentNonnegative()
247 throw new IllegalArgumentException(); in checkArgumentNonnegative()
[all …]
DFastXmlSerializer.java188 IllegalArgumentException, IllegalStateException { in attribute()
203 public void cdsect(String text) throws IOException, IllegalArgumentException, in cdsect()
208 public void comment(String text) throws IOException, IllegalArgumentException, in comment()
213 public void docdecl(String text) throws IOException, IllegalArgumentException, in docdecl()
218 public void endDocument() throws IOException, IllegalArgumentException, IllegalStateException { in endDocument()
223 IllegalArgumentException, IllegalStateException { in endTag()
244 public void entityRef(String text) throws IOException, IllegalArgumentException, in entityRef()
301 throws IllegalArgumentException { in getPrefix()
309 public void ignorableWhitespace(String text) throws IOException, IllegalArgumentException, in ignorableWhitespace()
314 public void processingInstruction(String text) throws IOException, IllegalArgumentException, in processingInstruction()
[all …]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DPreconditions.java34 throw new IllegalArgumentException(); in checkArgument()
48 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument()
65 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkArgument()
79 throw new IllegalArgumentException(); in checkStringNotEmpty()
97 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty()
187 throw new IllegalArgumentException("Requested flags 0x" in checkFlagsArgument()
206 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
222 throw new IllegalArgumentException(); in checkArgumentNonnegative()
237 throw new IllegalArgumentException(); in checkArgumentNonnegative()
253 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative()
[all …]
/frameworks/base/wifi/java/android/net/wifi/aware/
DConfigRequest.java182 public void validate() throws IllegalArgumentException { in validate()
184 throw new IllegalArgumentException( in validate()
188 throw new IllegalArgumentException("Master Preference specification must not " in validate()
192 throw new IllegalArgumentException("Cluster specification must be non-negative"); in validate()
195 throw new IllegalArgumentException("Cluster specification must not exceed 0xFFFF"); in validate()
198 throw new IllegalArgumentException("Cluster specification must be non-negative"); in validate()
201 throw new IllegalArgumentException("Cluster specification must not exceed 0xFFFF"); in validate()
204 throw new IllegalArgumentException( in validate()
208 throw new IllegalArgumentException( in validate()
214 throw new IllegalArgumentException( in validate()
[all …]
/frameworks/base/core/java/org/apache/http/params/
DHttpConnectionParams.java70 throw new IllegalArgumentException("HTTP parameters may not be null"); in getSoTimeout()
85 throw new IllegalArgumentException("HTTP parameters may not be null"); in setSoTimeout()
99 throw new IllegalArgumentException("HTTP parameters may not be null"); in getTcpNoDelay()
117 throw new IllegalArgumentException("HTTP parameters may not be null"); in setTcpNoDelay()
124 throw new IllegalArgumentException("HTTP parameters may not be null"); in getSocketBufferSize()
132 throw new IllegalArgumentException("HTTP parameters may not be null"); in setSocketBufferSize()
145 throw new IllegalArgumentException("HTTP parameters may not be null"); in getLinger()
162 throw new IllegalArgumentException("HTTP parameters may not be null"); in setLinger()
175 throw new IllegalArgumentException("HTTP parameters may not be null"); in getConnectionTimeout()
189 throw new IllegalArgumentException("HTTP parameters may not be null"); in setConnectionTimeout()
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java293 throws IllegalArgumentException { in Builder()
295 throw new IllegalArgumentException("Illegal null AudioMixingRule argument"); in Builder()
308 throws IllegalArgumentException { in setMixingRule()
310 throw new IllegalArgumentException("Illegal null AudioMixingRule argument"); in setMixingRule()
323 Builder setCallbackFlags(int flags) throws IllegalArgumentException { in setCallbackFlags()
325 throw new IllegalArgumentException("Illegal callback flags 0x" in setCallbackFlags()
352 throws IllegalArgumentException { in setFormat()
354 throw new IllegalArgumentException("Illegal null AudioFormat argument"); in setFormat()
369 throws IllegalArgumentException { in setRouteFlags()
371 throw new IllegalArgumentException("Illegal empty route flags"); in setRouteFlags()
[all …]
DAudioMixingRule.java337 throws IllegalArgumentException { in addRule()
339 throw new IllegalArgumentException("Illegal rule value " + rule); in addRule()
365 throws IllegalArgumentException { in excludeRule()
367 throw new IllegalArgumentException("Illegal rule value " + rule); in excludeRule()
386 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule()
388 throw new IllegalArgumentException("Illegal rule value " + rule); in addMixRule()
416 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule()
418 throw new IllegalArgumentException("Illegal rule value " + rule); in excludeMixRule()
468 throws IllegalArgumentException { in checkAddRuleObjInternal()
470 throw new IllegalArgumentException("Illegal null argument for mixing rule"); in checkAddRuleObjInternal()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLUtils.java45 throw new IllegalArgumentException("bitmap is recycled"); in getInternalFormat()
49 throw new IllegalArgumentException("Unknown internalformat"); in getInternalFormat()
67 throw new IllegalArgumentException("bitmap is recycled"); in getType()
71 throw new IllegalArgumentException("Unknown type"); in getType()
104 throw new IllegalArgumentException("bitmap is recycled"); in texImage2D()
107 throw new IllegalArgumentException("invalid Bitmap format"); in texImage2D()
130 throw new IllegalArgumentException("bitmap is recycled"); in texImage2D()
133 throw new IllegalArgumentException("invalid Bitmap format"); in texImage2D()
152 throw new IllegalArgumentException("bitmap is recycled"); in texImage2D()
155 throw new IllegalArgumentException("invalid Bitmap format"); in texImage2D()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java84 throw new IllegalArgumentException( in setByString()
93 throw new IllegalArgumentException("Invalid code point is specified:" + token); in setByString()
98 throw new IllegalArgumentException( in setByString()
104 throw new IllegalArgumentException( in setByString()
110 throw new IllegalArgumentException( in setByString()
116 throw new IllegalArgumentException( in setByString()
122 throw new IllegalArgumentException( in setByString()
127 throw new IllegalArgumentException("Unknown or invalid token: " + token); in setByString()
133 throw new IllegalArgumentException( in setByString()
136 throw new IllegalArgumentException( in setByString()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pConfigTest.java45 } catch (IllegalArgumentException e) { in testBuilderInvalidNetworkName()
52 } catch (IllegalArgumentException e) { in testBuilderInvalidNetworkName()
59 } catch (IllegalArgumentException e) { in testBuilderInvalidNetworkName()
67 } catch (IllegalArgumentException e) { } in testBuilderInvalidNetworkName()
73 } catch (IllegalArgumentException e) { } in testBuilderInvalidNetworkName()
79 } catch (IllegalArgumentException e) { } in testBuilderInvalidNetworkName()
86 } catch (IllegalArgumentException e) { } in testBuilderInvalidNetworkName()
92 } catch (IllegalArgumentException e) { } in testBuilderInvalidNetworkName()
105 } catch (IllegalArgumentException e) { in testBuilderInvalidPassphrase()
113 } catch (IllegalArgumentException e) { in testBuilderInvalidPassphrase()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java206 throws IllegalArgumentException { in putString()
212 throw(new IllegalArgumentException("Invalid type 'String' for key "+ key)); in putString()
235 throws IllegalArgumentException { in putLong()
241 throw(new IllegalArgumentException("Invalid type 'long' for key "+ key)); in putLong()
259 throws IllegalArgumentException { in putBitmap()
265 throw(new IllegalArgumentException("Invalid type 'Bitmap' for key "+ key)); in putBitmap()
290 throws IllegalArgumentException { in putObject()
300 throw(new IllegalArgumentException("Not a non-null Long for key "+ key)); in putObject()
306 throw(new IllegalArgumentException("Not a String for key "+ key)); in putObject()
316 throw(new IllegalArgumentException("Not a Bitmap for key "+ key)); in putObject()
[all …]
DMediaMetadataRetriever.java228 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource()
230 throw new IllegalArgumentException("null path"); in setDataSource()
246 throw new IllegalArgumentException(path + " does not exist"); in setDataSource()
248 throw new IllegalArgumentException("couldn't open " + path); in setDataSource()
262 throws IllegalArgumentException { in setDataSource()
281 throws IllegalArgumentException; in _setDataSource()
297 throws IllegalArgumentException; in setDataSource()
309 throws IllegalArgumentException { in setDataSource()
325 throws IllegalArgumentException, SecurityException { in setDataSource()
327 throw new IllegalArgumentException("null uri"); in setDataSource()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java54 throw new IllegalArgumentException("null string"); in stringToByteArrayList()
64 throw new IllegalArgumentException("cannot be utf-8 encoded", cce); in stringToByteArrayList()
76 throw new IllegalArgumentException("null byte array list"); in stringFromByteArrayList()
95 throw new IllegalArgumentException("null string"); in stringToByteArray()
108 throw new IllegalArgumentException("null byte array"); in stringFromByteArray()
125 throw new IllegalArgumentException("invalid mac string length: " + cleanMac); in macAddressToByteArray()
139 throw new IllegalArgumentException("null mac bytes"); in macAddressFromByteArray()
142 throw new IllegalArgumentException("invalid macArray length: " + macArray.length); in macAddressFromByteArray()
160 throw new IllegalArgumentException("null mac string"); in macAddressOuiToByteArray()
164 throw new IllegalArgumentException("invalid mac oui string length: " + cleanMac); in macAddressOuiToByteArray()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DZygoteArguments.java250 ZygoteArguments(String[] args) throws IllegalArgumentException { in ZygoteArguments()
261 private void parseArgs(String[] args) throws IllegalArgumentException { in parseArgs()
285 throw new IllegalArgumentException( in parseArgs()
292 throw new IllegalArgumentException( in parseArgs()
299 throw new IllegalArgumentException( in parseArgs()
310 throw new IllegalArgumentException( in parseArgs()
317 throw new IllegalArgumentException( in parseArgs()
337 throw new IllegalArgumentException( in parseArgs()
353 throw new IllegalArgumentException( in parseArgs()
366 throw new IllegalArgumentException( in parseArgs()
[all …]
/frameworks/base/obex/javax/obex/
DHeaderSet.java302 throw new IllegalArgumentException("Count must be a Long"); in setHeader()
306 throw new IllegalArgumentException("Count must be between 0 and 0xFFFFFFFF"); in setHeader()
312 throw new IllegalArgumentException("Name must be a String"); in setHeader()
319 throw new IllegalArgumentException("Type must be a String"); in setHeader()
329 throw new IllegalArgumentException("Length must be a Long"); in setHeader()
333 throw new IllegalArgumentException("Length must be between 0 and 0xFFFFFFFF"); in setHeader()
339 throw new IllegalArgumentException("Time ISO 8601 must be a Calendar"); in setHeader()
345 throw new IllegalArgumentException("Time 4 Byte must be a Calendar"); in setHeader()
351 throw new IllegalArgumentException("Description must be a String"); in setHeader()
360 throw new IllegalArgumentException("Target must be a byte array"); in setHeader()
[all …]
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java76 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag); in addEnum()
88 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in addEnums()
103 throw new IllegalArgumentException("Not an enum tag: " + tag); in getEnum()
119 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in getEnums()
148 throw new IllegalArgumentException("Not an int or repeating int tag: " + tag); in addUnsignedInt()
152 throw new IllegalArgumentException("Int tag value out of range: " + value); in addUnsignedInt()
165 throw new IllegalArgumentException("Not an int tag: " + tag); in getUnsignedInt()
185 throw new IllegalArgumentException("Not a long or repeating long tag: " + tag); in addUnsignedLong()
197 throw new IllegalArgumentException("Tag is not a repeating long: " + tag); in getUnsignedLongs()
211 throw new IllegalArgumentException("Long tag value out of range: " + value); in addLongTag()
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java86 throw new IllegalArgumentException("Surface was abandoned", e); in getSurfaceSize()
102 throw new IllegalArgumentException("Surface was abandoned", e); in getSurfaceFormat()
118 throw new IllegalArgumentException("Surface was abandoned", e); in getSurfaceDataspace()
140 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat()
156 throw new IllegalArgumentException("Output target surface list must not be null and" in checkConstrainedHighSpeedSurfaces()
167 throw new IllegalArgumentException("Fps range " + fpsRange.toString() + " in the" in checkConstrainedHighSpeedSurfaces()
180 throw new IllegalArgumentException("Surface size " + surfaceSize.toString() + " is" in checkConstrainedHighSpeedSurfaces()
187 throw new IllegalArgumentException("This output surface is neither preview nor " in checkConstrainedHighSpeedSurfaces()
192 throw new IllegalArgumentException("This output surface can not be both preview" in checkConstrainedHighSpeedSurfaces()
206 throw new IllegalArgumentException("The 2 output surfaces must have different" in checkConstrainedHighSpeedSurfaces()
/frameworks/base/core/java/android/hardware/camera2/
DDngCreator.java90 throw new IllegalArgumentException("Null argument to DngCreator constructor"); in DngCreator()
160 throw new IllegalArgumentException("Orientation " + orientation + in setOrientation()
189 throw new IllegalArgumentException("Null argument to setThumbnail"); in setThumbnail()
196 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + in setThumbnail()
225 throw new IllegalArgumentException("Null argument to setThumbnail"); in setThumbnail()
230 throw new IllegalArgumentException("Unsupported Image format " + format); in setThumbnail()
237 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + in setThumbnail()
267 throw new IllegalArgumentException("Null location passed to setLocation"); in setLocation()
300 throw new IllegalArgumentException("Null description passed to setDescription."); in setDescription()
338 throw new IllegalArgumentException("Null dngOutput passed to writeInputStream"); in writeInputStream()
[all …]
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java95 public void visible(int category) throws IllegalArgumentException { in visible()
97 throw new IllegalArgumentException("Must define metric category"); in visible()
104 public void hidden(int category) throws IllegalArgumentException { in hidden()
106 throw new IllegalArgumentException("Must define metric category"); in hidden()
115 throws IllegalArgumentException { in visibility()
128 throws IllegalArgumentException { in visibility()
157 throw new IllegalArgumentException("Must define metric category"); in action()
164 public static void visible(Context context, int category) throws IllegalArgumentException { in visible()
170 public static void hidden(Context context, int category) throws IllegalArgumentException { in hidden()
177 throws IllegalArgumentException { in visibility()
[all …]

12345678910>>...71