/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
Asn1BMPString.java | 81 Preconditions.checkState(length >= minimumSize, "Value too short."); 82 Preconditions.checkState(maximumSize == null || length <= maximumSize, 134 Preconditions.checkState(codepoint <= 0xFFFF,
|
Asn1BitString.java | 75 Preconditions.checkState( 102 Preconditions.checkState(
|
Asn1Choice.java | 202 Preconditions.checkState(optionCount == 0 || selectionOrdinal != null,
|
Asn1Integer.java | 83 Preconditions.checkState( 86 Preconditions.checkState(
|
Asn1SequenceOf.java | 107 Preconditions.checkState(sequence.size() >= minimumSize, 109 Preconditions.checkState(maximumSize == null
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
StreamService.java | 18 import static com.google.common.base.Preconditions.checkState; 195 checkState(isRunning(), "Cannot read items from a %s StreamService", state()); 212 checkState(isRunning(), "Cannot read items from a %s StreamService", state()); 213 checkState(socketWriter != null, "Attempted to write to the socket before it was opened."); 228 checkState(isRunning(), "Cannot read items from a %s StreamService", state()); 229 checkState(socketWriter != null, "Attempted to close the socket before it was opened."); 315 checkState(kind == Kind.DATA, "Only data lines have content: %s", this);
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
StreamServiceTest.java | 18 import static com.google.common.base.Preconditions.checkState; 197 checkState(service == null, "You can only make one StreamService per test");
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
InjectBindingRegistry.java | 47 import static com.google.common.base.Preconditions.checkState; 74 checkState(!binding.hasNonDefaultTypeParameters()); 127 checkState(previousValue == null || binding.equals(previousValue),
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
PreconditionsTest.java | 80 Preconditions.checkState(true); 85 Preconditions.checkState(false); 92 Preconditions.checkState(true, IGNORE_ME); 97 Preconditions.checkState(false, new Message()); 106 Preconditions.checkState(false, null); 114 Preconditions.checkState(true, "%s", IGNORE_ME); 119 Preconditions.checkState(false, FORMAT, 5);
|
/external/guava/guava-testlib/test/com/google/common/testing/ |
EquivalenceTesterTest.java | 19 import static com.google.common.base.Preconditions.checkState; 247 checkState(equivalentExpectations == null && hashExpectations == null);
|
/external/guava/guava-tests/test/com/google/common/base/ |
PreconditionsTest.java | 82 Preconditions.checkState(true); 87 Preconditions.checkState(false); 94 Preconditions.checkState(true, IGNORE_ME); 99 Preconditions.checkState(false, new Message()); 108 Preconditions.checkState(false, null); 116 Preconditions.checkState(true, "%s", IGNORE_ME); 121 Preconditions.checkState(false, FORMAT, 5);
|
/external/guice/core/src/com/google/inject/internal/ |
InjectorShell.java | 19 import static com.google.common.base.Preconditions.checkState; 128 checkState(stage != null, "Stage not initialized"); 129 checkState(privateElements == null || parent != null, "PrivateElements with no parent"); 130 checkState(state != null, "no state. Did you remember to lock() ?");
|
SingletonScope.java | 165 Preconditions.checkState(instance == providedNotNull, 205 Preconditions.checkState(exceptionErrorMessages.size() == 1); 224 Preconditions.checkState(initializedInstance != null,
|
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
BoundFieldModule.java | 180 Preconditions.checkState(naturalType != null); 210 Preconditions.checkState(providerType instanceof ParameterizedType); 212 Preconditions.checkState(providerTypeArguments.length == 1);
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
SQLiteDatabaseIoPerfTest.java | 133 Preconditions.checkState(mWriteBytes == null, "Measurement already started"); 138 Preconditions.checkState(mWriteBytes != null, "Measurement wasn't started");
|
/frameworks/base/core/java/android/companion/ |
BluetoothLeDeviceFilter.java | 24 import static com.android.internal.util.Preconditions.checkState; 404 checkState(mRenamePrefix == null, "Renaming rule can only be set once");
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
StrictFragment.java | 64 public void checkState(String caller, int... expected) { 97 checkState("onAttach", DETACHED); 109 checkState("onCreate", ATTACHED); 118 checkState("onActivityCreated", ATTACHED, CREATED); 128 checkState("onStart", ACTIVITY_CREATED); 137 checkState("onResume", STARTED); 157 checkState("onPause", RESUMED); 166 checkState("onStop", STARTED); 175 checkState("onDestroy", CREATED); 184 checkState("onDestroy", CREATED, ATTACHED) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/file/ |
FilesSetup.java | 91 checkState(); 96 checkState(); 101 checkState(); 106 checkState(); 110 private void checkState() {
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
ImagePersistWorker.java | 126 Assert.checkState(width == bitmap.getHeight()); 127 Assert.checkState(height == bitmap.getWidth()); 131 Assert.checkState(width == bitmap.getWidth()); 132 Assert.checkState(height == bitmap.getHeight());
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/ |
TranscriptionService.java | 202 Assert.checkState(activeTask == null);
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
EpisodicProgramLoadTask.java | 111 SoftPreconditions.checkState( 119 SoftPreconditions.checkState( 130 SoftPreconditions.checkState( 142 SoftPreconditions.checkState( 154 if (SoftPreconditions.checkState(
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HTML.java | 209 Preconditions.checkState(type == ENUM_TYPE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 280 protected boolean checkState() {
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
SigningExtension.java | 157 Preconditions.checkState(extension == null, "register() already invoked");
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
ExtraField.java | 144 Preconditions.checkState(segments == null);
|