/external/droiddriver/src/io/appium/droiddriver/util/ |
Preconditions.java | 34 public static <T> T checkNotNull(T reference) {
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
AllocatedBuffer.java | 34 import static org.conscrypt.Preconditions.checkNotNull; 66 checkNotNull(buffer, "buffer");
|
Preconditions.java | 34 static <T> T checkNotNull(T reference, String errorMessage) {
|
/external/guava/guava-tests/test/com/google/common/io/ |
RandomAmountInputStream.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 31 super(checkNotNull(in)); 32 this.random = checkNotNull(random);
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
Checks.java | 13 public static <T> T checkNotNull(T value, String checkedValue) { 14 return checkNotNull(value, checkedValue, null); 17 public static <T> T checkNotNull(T value, String checkedValue, String additionalMessage) { 29 checkNotNull(iterable, checkedIterable); 31 checkNotNull(item, "item in " + checkedIterable);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
Preconditions.java | 29 public static void checkNotNull(Object value, String error, Object... args) {
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
Preconditions.java | 76 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 85 public static <T> T checkNotNull(String argName, T arg) { 97 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 105 public static <T> T checkNotNull(T arg) { 106 return checkNotNull("", arg);
|
/development/tools/idegen/src/com/android/idegen/ |
FrameworkModule.java | 43 super(Preconditions.checkNotNull(moduleDir), false);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
SingletonImmutableBiMap.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 42 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); 49 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
|
/external/guice/core/src/com/google/inject/internal/ |
DelegatingInvocationHandler.java | 41 Preconditions.checkNotNull(delegate,
|
ExposureBuilder.java | 47 Preconditions.checkNotNull(annotationType, "annotationType"); 53 Preconditions.checkNotNull(annotation, "annotation");
|
InjectorOptionsProcessor.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 70 checkNotNull(stage, "stage must be set");
|
/external/guice/core/src/com/google/inject/internal/util/ |
Classes.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 64 checkNotNull(member, "member");
|
/external/mockito/src/main/java/org/mockito/internal/framework/ |
DefaultMockitoFramework.java | 20 Checks.checkNotNull(listener, "listener"); 26 Checks.checkNotNull(listener, "listener");
|
/external/mockito/src/test/java/org/mockito/internal/util/ |
ChecksTest.java | 20 assertEquals("abc", Checks.checkNotNull("abc", "someValue")); 25 assertEquals("abc", Checks.checkNotNull("abc", "someValue", "Oh no!")); 32 Checks.checkNotNull(null, "someValue"); 39 Checks.checkNotNull(null, "someValue", "Oh no!");
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowApkAssets.java | 21 Preconditions.checkNotNull(path, "path");
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyRequest.java | 49 this.characteristics = checkNotNull(characteristics, "characteristics must not be null"); 50 this.captureRequest = checkNotNull(captureRequest, "captureRequest must not be null"); 51 this.previewSize = checkNotNull(previewSize, "previewSize must not be null"); 52 checkNotNull(parameters, "parameters must not be null"); 63 checkNotNull(parameters, "parameters must not be null");
|
SizeAreaComparator.java | 39 checkNotNull(size, "size must not be null"); 40 checkNotNull(size2, "size2 must not be null"); 68 checkNotNull(sizes, "sizes must not be null");
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
BlackLevelPattern.java | 21 import static com.android.internal.util.Preconditions.checkNotNull; 87 checkNotNull(destination, "destination must not be null");
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SizeAreaComparator.java | 38 checkNotNull(size, "size must not be null"); 39 checkNotNull(size2, "size2 must not be null"); 67 checkNotNull(sizes, "sizes must not be null");
|
/frameworks/base/core/java/android/service/autofill/ |
SaveCallback.java | 63 onSuccessInternal(Preconditions.checkNotNull(intentSender));
|
/frameworks/base/core/java/android/util/ |
Size.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 124 checkNotNull(string, "string must not be null");
|
SizeF.java | 19 import static com.android.internal.util.Preconditions.checkNotNull; 135 checkNotNull(string, "string must not be null");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
Preconditions.java | 80 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 89 public static <T> T checkNotNull(String argName, T arg) { 101 * Returns the value directly, so you can use {@code checkNotNull("value", value)} inline. 109 public static <T> T checkNotNull(T arg) { 110 return checkNotNull("", arg);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
SettableWakeLock.java | 31 Preconditions.checkNotNull(inner, "inner wakelock required");
|