/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedStringTest.java | 77 fail("Expected IllegalArgumentException was not thrown"); 78 } catch (IllegalArgumentException e) { 85 fail("Expected IllegalArgumentException was not thrown"); 86 } catch (IllegalArgumentException e) { 127 fail("Expected IllegalArgumentException was not thrown"); 128 } catch (IllegalArgumentException e) { 136 fail("Expected IllegalArgumentException was not thrown"); 137 } catch (IllegalArgumentException e) { 147 } catch (IllegalArgumentException e) { 189 fail("Expected IllegalArgumentException was not thrown") [all...] |
/packages/apps/SecureElement/src/com/android/se/security/ |
ApduFilter.java | 52 throw new IllegalArgumentException("apdu length must be 4 bytes"); 55 throw new IllegalArgumentException("mask length must be 4 bytes"); 63 throw new IllegalArgumentException("filter length must be 8 bytes"); 84 throw new IllegalArgumentException("apdu length must be 4 bytes"); 96 throw new IllegalArgumentException("mask length must be 4 bytes");
|
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 90 throw new IllegalArgumentException("Null argument to DngCreator constructor"); 160 throw new IllegalArgumentException("Orientation " + orientation + 183 * @throws java.lang.IllegalArgumentException if the given thumbnail image has a dimension 189 throw new IllegalArgumentException("Null argument to setThumbnail"); 196 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + 219 * @throws java.lang.IllegalArgumentException if the given thumbnail image has a dimension 225 throw new IllegalArgumentException("Null argument to setThumbnail"); 230 throw new IllegalArgumentException("Unsupported Image format " + format); 237 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width + 261 * @throws java.lang.IllegalArgumentException if the given location object doesn' [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
OpenMapRealMatrix.java | 75 throws IllegalArgumentException { 88 throws IllegalArgumentException { 101 * @throws IllegalArgumentException if m is not the same size as this 103 public OpenMapRealMatrix add(OpenMapRealMatrix m) throws IllegalArgumentException { 123 throws IllegalArgumentException { 136 * @throws IllegalArgumentException if m is not the same size as this 138 public OpenMapRealMatrix subtract(OpenMapRealMatrix m) throws IllegalArgumentException { 158 throws IllegalArgumentException { 189 * @throws IllegalArgumentException 192 public OpenMapRealMatrix multiply(OpenMapRealMatrix m) throws IllegalArgumentException { [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
SimpleFormatterTest.java | 78 } catch (IllegalArgumentException expected) { 83 } catch (IllegalArgumentException expected) { 118 fail("Expected IllegalArgumentException"); 119 } catch (IllegalArgumentException e) { 125 fail("Expected IllegalArgumentException"); 126 } catch (IllegalArgumentException e) { 132 fail("Expected IllegalArgumentException"); 133 } catch (IllegalArgumentException e) { 170 fail("IllegalArgumentException expected."); 171 } catch (IllegalArgumentException e) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
SimpleFormatterTest.java | 75 } catch (IllegalArgumentException expected) { 80 } catch (IllegalArgumentException expected) { 115 fail("Expected IllegalArgumentException"); 116 } catch (IllegalArgumentException e) { 122 fail("Expected IllegalArgumentException"); 123 } catch (IllegalArgumentException e) { 129 fail("Expected IllegalArgumentException"); 130 } catch (IllegalArgumentException e) { 167 fail("IllegalArgumentException expected."); 168 } catch (IllegalArgumentException e) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Request.java | 141 if (url == null) throw new IllegalArgumentException("url == null"); 149 * @throws IllegalArgumentException if {@code url} is not a valid HTTP or HTTPS URL. Avoid this 153 if (url == null) throw new IllegalArgumentException("url == null"); 163 if (parsed == null) throw new IllegalArgumentException("unexpected url: " + url); 170 * @throws IllegalArgumentException if the scheme of {@code url} is not {@code http} or {@code 174 if (url == null) throw new IllegalArgumentException("url == null"); 176 if (parsed == null) throw new IllegalArgumentException("unexpected url: " + url); 253 throw new IllegalArgumentException("method == null || method.length() == 0"); 256 throw new IllegalArgumentException("method " + method + " must not have a request body."); 259 throw new IllegalArgumentException("method " + method + " must have a request body.") [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
PeriodicAdvertisingManager.java | 89 * @throws IllegalArgumentException if {@code scanResult} is null or {@code skip} is invalid or 113 * @throws IllegalArgumentException if {@code scanResult} is null or {@code skip} is invalid or 119 throw new IllegalArgumentException("callback can't be null"); 123 throw new IllegalArgumentException("scanResult can't be null"); 127 throw new IllegalArgumentException("scanResult must contain a valid sid"); 131 throw new IllegalArgumentException( 136 throw new IllegalArgumentException( 170 * @throws IllegalArgumentException if {@code callback} is null, or not a properly registered 175 throw new IllegalArgumentException("callback can't be null"); 188 throw new IllegalArgumentException("callback was not properly registered") [all...] |
/frameworks/base/core/jni/ |
android_opengl_EGL14.cpp | 108 jniThrowException(_env, "java/lang/IllegalArgumentException", 189 _exceptionType = "java/lang/IllegalArgumentException"; 196 _exceptionType = "java/lang/IllegalArgumentException"; 208 _exceptionType = "java/lang/IllegalArgumentException"; 215 _exceptionType = "java/lang/IllegalArgumentException"; 286 _exceptionType = "java/lang/IllegalArgumentException"; 293 _exceptionType = "java/lang/IllegalArgumentException"; 302 _exceptionType = "java/lang/IllegalArgumentException"; 308 _exceptionType = "java/lang/IllegalArgumentException"; 363 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
android_opengl_GLES11.cpp | 253 jniThrowException(_env, "java/lang/IllegalArgumentException", 369 _exceptionType = "java/lang/IllegalArgumentException"; 375 _exceptionType = "java/lang/IllegalArgumentException"; 386 _exceptionType = "java/lang/IllegalArgumentException"; 432 _exceptionType = "java/lang/IllegalArgumentException"; 483 _exceptionType = "java/lang/IllegalArgumentException"; 522 _exceptionType = "java/lang/IllegalArgumentException"; 529 _exceptionType = "java/lang/IllegalArgumentException"; 566 _exceptionType = "java/lang/IllegalArgumentException"; 572 _exceptionType = "java/lang/IllegalArgumentException"; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLContext2Test.java | 183 * throws IllegalArgumentException when provider is null or empty; 189 IllegalArgumentException, KeyManagementException { 209 fail("IllegalArgumentException must be thrown when provider is null (protocol: " 211 } catch (IllegalArgumentException e) { 215 fail("IllegalArgumentException must be thrown when provider is empty (protocol: " 217 } catch (IllegalArgumentException e) { 247 * throws IllegalArgumentException when provider is null; 252 IllegalArgumentException, KeyManagementException { 272 fail("IllegalArgumentException must be thrown when provider is null (protocol: " 274 } catch (IllegalArgumentException e) [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ThreadLocalRandomTest.java | 126 * nextInt(non-positive) throws IllegalArgumentException 134 } catch (IllegalArgumentException success) {} 139 * nextInt(least >= bound) throws IllegalArgumentException 152 } catch (IllegalArgumentException success) {} 198 * nextLong(non-positive) throws IllegalArgumentException 206 } catch (IllegalArgumentException success) {} 211 * nextLong(least >= bound) throws IllegalArgumentException 224 } catch (IllegalArgumentException success) {} 269 * nextDouble(non-positive) throws IllegalArgumentException 284 } catch (IllegalArgumentException success) { [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidator2Test.java | 137 * IllegalArgumentException when provider is null or empty; throws 142 IllegalArgumentException, InvalidAlgorithmParameterException, 162 fail("IllegalArgumentException must be thrown when provider is null (type: " 164 } catch (IllegalArgumentException e) { 168 fail("IllegalArgumentException must be thrown when provider is empty (type: " 170 } catch (IllegalArgumentException e) { 196 * IllegalArgumentException when provider is null; returns CertPathValidator 199 public void testGetInstance03() throws NoSuchAlgorithmException, IllegalArgumentException, 219 fail("IllegalArgumentException must be thrown when provider is null (type: " 221 } catch (IllegalArgumentException e) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
ByteArrayListTest.java | 201 fail("IllegalArgumentException not thrown"); 202 } catch (IllegalArgumentException e) { 212 fail("IllegalArgumentException not thrown"); 213 } catch (IllegalArgumentException e) { 257 fail("IllegalArgumentException not thrown"); 258 } catch (IllegalArgumentException e) { 266 fail("IllegalArgumentException not thrown"); 267 } catch (IllegalArgumentException e) { 275 fail("IllegalArgumentException not thrown"); 276 } catch (IllegalArgumentException e) [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
DoubleMathTest.java | 407 fail("Expected IllegalArgumentException"); 408 } catch (IllegalArgumentException expected) {} 419 fail("Expected IllegalArgumentException"); 420 } catch (IllegalArgumentException expected) {} 531 fail("Expected IllegalArgumentException"); 532 } catch (IllegalArgumentException expected) {} 617 fail("Expected IllegalArgumentException"); 618 } catch (IllegalArgumentException expected) { 640 fail("Expected IllegalArgumentException"); 641 } catch (IllegalArgumentException expected) [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldAbstractPreferencesTest.java | 99 fail("IllegalArgumentException expected"); 100 } catch (IllegalArgumentException e) { 112 fail("IllegalArgumentException expected"); 113 } catch (IllegalArgumentException e) { 236 fail("IllegalArgumentException expected"); 237 } catch (IllegalArgumentException e) { 302 fail("IllegalArgumentException expected"); 303 } catch (IllegalArgumentException e) { 368 fail("IllegalArgumentException expected"); 369 } catch (IllegalArgumentException e) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
BidiTest.java | 52 } catch (IllegalArgumentException e) { 60 } catch (IllegalArgumentException e) { 67 } catch (IllegalArgumentException e) { 79 } catch (IllegalArgumentException e) { 87 } catch (IllegalArgumentException e) { 95 } catch (IllegalArgumentException e) { 103 } catch (IllegalArgumentException e) { 111 } catch (IllegalArgumentException e) { 118 } catch (IllegalArgumentException e) { 125 } catch (IllegalArgumentException e) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
UUIDTest.java | 336 } catch (IllegalArgumentException e) {} 341 } catch (IllegalArgumentException e) {} 346 } catch (IllegalArgumentException e) {} 351 } catch (IllegalArgumentException e) {} 356 } catch (IllegalArgumentException e) {} 368 fail("should throw IllegalArgumentException"); 369 } catch (IllegalArgumentException e) { 375 fail("should throw IllegalArgumentException"); 376 } catch (IllegalArgumentException e) { 382 fail("should throw IllegalArgumentException"); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
HeadersTest.java | 161 } catch (IllegalArgumentException expected) { 166 } catch (IllegalArgumentException expected) { 174 } catch (IllegalArgumentException expected) { 182 } catch (IllegalArgumentException expected) { 190 } catch (IllegalArgumentException expected) { 198 } catch (IllegalArgumentException expected) { 206 } catch (IllegalArgumentException expected) { 229 } catch (IllegalArgumentException expected) { 237 } catch (IllegalArgumentException expected) { 245 } catch (IllegalArgumentException expected) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Program.java | 100 throw new IllegalArgumentException("Slot ID out of range."); 120 throw new IllegalArgumentException("Slot ID out of range."); 133 throw new IllegalArgumentException("Slot ID out of range."); 148 throw new IllegalArgumentException("Slot ID out of range."); 152 throw new IllegalArgumentException("Allocation type does not match slot type."); 166 throws IllegalArgumentException { 169 throw new IllegalArgumentException("Slot ID out of range."); 173 throw new IllegalArgumentException("Cannot bind cubemap to 2d texture slot"); 190 throws IllegalArgumentException { 193 throw new IllegalArgumentException("Slot ID out of range.") [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
Virtualizer.java | 113 * @throws java.lang.IllegalArgumentException 118 throws IllegalStateException, IllegalArgumentException, 148 * @throws IllegalArgumentException 152 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 161 * @throws IllegalArgumentException 165 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 180 * @throws IllegalArgumentException 184 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException { 187 throw (new IllegalArgumentException( 196 throw (new IllegalArgumentException( [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
AbstractPreferencesTest.java | 109 fail("should throw IllegalArgumentException"); 110 } catch (IllegalArgumentException expected) { 114 fail("should throw IllegalArgumentException"); 115 } catch (IllegalArgumentException expected) { 119 fail("should throw IllegalArgumentException"); 120 } catch (IllegalArgumentException expected) { 124 fail("should throw IllegalArgumentException"); 125 } catch (IllegalArgumentException expected) { 274 fail("should throw IllegalArgumentException"); 275 } catch (IllegalArgumentException expected) [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationTest.java | 145 fail("should throw IllegalArgumentException."); 146 } catch (IllegalArgumentException e) { 152 fail("should throw IllegalArgumentException."); 153 } catch (IllegalArgumentException e) { 159 fail("should throw IllegalArgumentException."); 160 } catch (IllegalArgumentException e) { 189 fail("should throw IllegalArgumentException."); 190 } catch (IllegalArgumentException e){ 196 fail("should throw IllegalArgumentException."); 197 } catch (IllegalArgumentException e) [all...] |
/external/emma/core/java12/com/vladium/util/ |
Files.java | 39 if (atfile == null) throw new IllegalArgumentException ("null input: atfile"); 90 if (path == null) throw new IllegalArgumentException ("null input: path"); 101 if (segment == null) throw new IllegalArgumentException ("null input: path[" + i + "]"); 129 if (pathname == null) throw new IllegalArgumentException ("null input: pathname"); 143 if (file == null) throw new IllegalArgumentException ("null input: file"); 163 * @throws IllegalArgumentException if 'file' is null 167 if (file == null) throw new IllegalArgumentException ("null input: file"); 184 * @throws IllegalArgumentException if 'file' is null 188 if (file == null) throw new IllegalArgumentException ("null input: file"); 205 if (file == null) throw new IllegalArgumentException ("null input: file") [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowOpenGLMatrixTest.java | 16 @Test(expected = IllegalArgumentException.class) 21 @Test(expected = IllegalArgumentException.class) 26 @Test(expected = IllegalArgumentException.class) 31 @Test(expected = IllegalArgumentException.class) 36 @Test(expected = IllegalArgumentException.class) 41 @Test(expected = IllegalArgumentException.class) 46 @Test(expected = IllegalArgumentException.class) 51 @Test(expected = IllegalArgumentException.class) 56 @Test(expected = IllegalArgumentException.class) 195 @Test(expected = IllegalArgumentException.class [all...] |