/frameworks/base/media/java/android/media/audiofx/ |
D | EnvironmentalReverb.java | 137 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 …]
|
D | Equalizer.java | 137 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 …]
|
D | Virtualizer.java | 118 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 …]
|
D | LoudnessEnhancer.java | 78 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()
|
D | BassBoost.java | 92 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()
|
D | PresetReverb.java | 127 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/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
D | Preconditions.java | 34 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/libs/modules-utils/java/com/android/internal/util/ |
D | Preconditions.java | 44 throw new IllegalArgumentException(); in checkArgument() 59 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkArgument() 77 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkArgument() 91 throw new IllegalArgumentException(); in checkStringNotEmpty() 109 throw new IllegalArgumentException(String.valueOf(errorMessage)); in checkStringNotEmpty() 129 throw new IllegalArgumentException(String.format(messageTemplate, messageArgs)); in checkStringNotEmpty() 305 throw new IllegalArgumentException("Requested flags 0x" in checkFlagsArgument() 324 throw new IllegalArgumentException(errorMessage); in checkArgumentNonnegative() 340 throw new IllegalArgumentException(); in checkArgumentNonnegative() 355 throw new IllegalArgumentException(); in checkArgumentNonnegative() [all …]
|
/frameworks/base/core/java/org/apache/http/params/ |
D | HttpConnectionParams.java | 70 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/libs/modules-utils/javatests/com/android/modules/utils/build/ |
D | UnboundedSdkLevelTest.java | 52 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("R")); in testFinalizedSdk_S() 53 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("S")); in testFinalizedSdk_S() 58 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("")); in testFinalizedSdk_S() 59 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("current")); in testFinalizedSdk_S() 65 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("R")); in testFinalizedSdk_S() 66 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("S")); in testFinalizedSdk_S() 71 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("")); in testFinalizedSdk_S() 72 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtMostInternal("current")); in testFinalizedSdk_S() 89 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("")); in testNonFinalizedSdk_Sv2() 90 assertThrows(IllegalArgumentException.class, () -> sdkLevel.isAtLeastInternal("current")); in testNonFinalizedSdk_Sv2() [all …]
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLUtils.java | 45 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/ |
D | EditorState.java | 84 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/media/java/android/media/ |
D | MediaMetadataEditor.java | 206 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 …]
|
D | MediaMetadataRetriever.java | 237 public void setDataSource(String path) throws IllegalArgumentException { in setDataSource() 239 throw new IllegalArgumentException("null path"); in setDataSource() 255 throw new IllegalArgumentException(path + " does not exist"); in setDataSource() 257 throw new IllegalArgumentException("couldn't open " + path); in setDataSource() 271 throws IllegalArgumentException { in setDataSource() 290 throws IllegalArgumentException; in _setDataSource() 306 throws IllegalArgumentException { in setDataSource() 320 throws IllegalArgumentException; in _setDataSource() 332 throws IllegalArgumentException { in setDataSource() 348 throws IllegalArgumentException, SecurityException { in setDataSource() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioMix.java | 297 throws IllegalArgumentException { in Builder() 299 throw new IllegalArgumentException("Illegal null AudioMixingRule argument"); in Builder() 312 throws IllegalArgumentException { in setMixingRule() 314 throw new IllegalArgumentException("Illegal null AudioMixingRule argument"); in setMixingRule() 327 Builder setCallbackFlags(int flags) throws IllegalArgumentException { in setCallbackFlags() 329 throw new IllegalArgumentException("Illegal callback flags 0x" in setCallbackFlags() 356 throws IllegalArgumentException { in setFormat() 358 throw new IllegalArgumentException("Illegal null AudioFormat argument"); in setFormat() 373 throws IllegalArgumentException { in setRouteFlags() 375 throw new IllegalArgumentException("Illegal empty route flags"); in setRouteFlags() [all …]
|
D | AudioMixingRule.java | 399 throws IllegalArgumentException { in addRule() 401 throw new IllegalArgumentException("Illegal rule value " + rule); in addRule() 427 throws IllegalArgumentException { in excludeRule() 429 throw new IllegalArgumentException("Illegal rule value " + rule); in excludeRule() 448 public Builder addMixRule(int rule, Object property) throws IllegalArgumentException { in addMixRule() 450 throw new IllegalArgumentException("Illegal rule value " + rule); in addMixRule() 478 public Builder excludeMixRule(int rule, Object property) throws IllegalArgumentException { in excludeMixRule() 480 throw new IllegalArgumentException("Illegal rule value " + rule); in excludeMixRule() 547 throw new IllegalArgumentException("Illegal argument for mix role"); in setTargetMixRole() 565 throws IllegalArgumentException { in checkAddRuleObjInternal() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteArguments.java | 251 throws IllegalArgumentException, EOFException { in ZygoteArguments() 261 throws IllegalArgumentException, EOFException { in getInstance() 275 throws IllegalArgumentException, EOFException { in parseArgs() 299 throw new IllegalArgumentException( in parseArgs() 306 throw new IllegalArgumentException( in parseArgs() 313 throw new IllegalArgumentException( in parseArgs() 324 throw new IllegalArgumentException( in parseArgs() 331 throw new IllegalArgumentException( in parseArgs() 351 throw new IllegalArgumentException( in parseArgs() 367 throw new IllegalArgumentException( in parseArgs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SimPhonebookContractTest.java | 31 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException() 34 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException() 37 assertThrows(IllegalArgumentException.class, () -> in getContentUri_invalidEfType_throwsIllegalArgumentException() 45 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException() 48 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException() 51 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidEfType_throwsIllegalArgumentException() 59 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidRecordIndex_throwsIllegalArgumentException() 63 assertThrows(IllegalArgumentException.class, () -> in getItemUri_invalidRecordIndex_throwsIllegalArgumentException()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 77 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag); in addEnum() 89 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in addEnums() 104 throw new IllegalArgumentException("Not an enum tag: " + tag); in getEnum() 120 throw new IllegalArgumentException("Not a repeating enum tag: " + tag); in getEnums() 149 throw new IllegalArgumentException("Not an int or repeating int tag: " + tag); in addUnsignedInt() 153 throw new IllegalArgumentException("Int tag value out of range: " + value); in addUnsignedInt() 166 throw new IllegalArgumentException("Not an int tag: " + tag); in getUnsignedInt() 186 throw new IllegalArgumentException("Not a long or repeating long tag: " + tag); in addUnsignedLong() 198 throw new IllegalArgumentException("Tag is not a repeating long: " + tag); in getUnsignedLongs() 212 throw new IllegalArgumentException("Long tag value out of range: " + value); in addLongTag() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | SurfaceUtils.java | 102 } catch (IllegalArgumentException e) { in getSurfaceId() 117 } catch (IllegalArgumentException e) { in getSurfaceUsage() 135 if (errorFlag == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceSize() 151 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceFormat() 174 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in detectSurfaceFormat() 190 if (dataSpace == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceDataspace() 224 throw new IllegalArgumentException("Surface format(" + surfaceFormat + ") is not" in checkHighSpeedSurfaceFormat() 240 throw new IllegalArgumentException("Output target surface list must not be null and" in checkConstrainedHighSpeedSurfaces() 251 throw new IllegalArgumentException("Fps range " + fpsRange.toString() + " in the" in checkConstrainedHighSpeedSurfaces() 264 throw new IllegalArgumentException("Surface size " + surfaceSize.toString() + " is" in checkConstrainedHighSpeedSurfaces() [all …]
|
/frameworks/base/core/java/com/android/internal/logging/ |
D | MetricsLogger.java | 91 public void visible(int category) throws IllegalArgumentException { in visible() 93 throw new IllegalArgumentException("Must define metric category"); in visible() 100 public void hidden(int category) throws IllegalArgumentException { in hidden() 102 throw new IllegalArgumentException("Must define metric category"); in hidden() 111 throws IllegalArgumentException { in visibility() 124 throws IllegalArgumentException { in visibility() 153 throw new IllegalArgumentException("Must define metric category"); in action() 160 public static void visible(Context context, int category) throws IllegalArgumentException { in visible() 166 public static void hidden(Context context, int category) throws IllegalArgumentException { in hidden() 173 throws IllegalArgumentException { in visibility() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | DngCreator.java | 90 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/util/ |
D | FastXmlSerializer.java | 188 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/SystemUI/src/com/android/systemui/people/ |
D | PeopleProvider.java | 59 throw new IllegalArgumentException("Invalid method"); in call() 64 throw new IllegalArgumentException("Extras can't be null"); in call() 75 throw new IllegalArgumentException("Invalid shortcut id"); in call() 80 throw new IllegalArgumentException("Invalid package name"); in call() 84 throw new IllegalArgumentException("Null user handle"); in call() 117 throw new IllegalArgumentException("Invalid method"); in query() 122 throw new IllegalArgumentException("Invalid method"); in getType() 127 throw new IllegalArgumentException("Invalid method"); in insert() 132 throw new IllegalArgumentException("Invalid method"); in delete() 137 throw new IllegalArgumentException("Invalid method"); in update()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Program.java | 106 throw new IllegalArgumentException("Slot ID out of range."); in getConstant() 126 throw new IllegalArgumentException("Slot ID out of range."); in getTextureType() 139 throw new IllegalArgumentException("Slot ID out of range."); in getTextureName() 154 throw new IllegalArgumentException("Slot ID out of range."); in bindConstants() 158 throw new IllegalArgumentException("Allocation type does not match slot type."); in bindConstants() 172 throws IllegalArgumentException { in bindTexture() 175 throw new IllegalArgumentException("Slot ID out of range."); in bindTexture() 179 throw new IllegalArgumentException("Cannot bind cubemap to 2d texture slot"); in bindTexture() 196 throws IllegalArgumentException { in bindSampler() 199 throw new IllegalArgumentException("Slot ID out of range."); in bindSampler() [all …]
|