OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Preconditions
(Results
1 - 25
of
1085
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guava/guava-tests/test/com/google/common/base/
PreconditionsTest.java
27
* Unit test for {@link
Preconditions
}.
35
Preconditions
.checkArgument(true);
40
Preconditions
.checkArgument(false);
47
Preconditions
.checkArgument(true, IGNORE_ME);
52
Preconditions
.checkArgument(false, new Message());
61
Preconditions
.checkArgument(false, null);
69
Preconditions
.checkArgument(true, "%s", IGNORE_ME);
74
Preconditions
.checkArgument(false, FORMAT, 5);
82
Preconditions
.checkState(true);
87
Preconditions
.checkState(false)
[
all
...]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
PreconditionsTest.java
25
* Unit test for {@link
Preconditions
}.
33
Preconditions
.checkArgument(true);
38
Preconditions
.checkArgument(false);
45
Preconditions
.checkArgument(true, IGNORE_ME);
50
Preconditions
.checkArgument(false, new Message());
59
Preconditions
.checkArgument(false, null);
67
Preconditions
.checkArgument(true, "%s", IGNORE_ME);
72
Preconditions
.checkArgument(false, FORMAT, 5);
80
Preconditions
.checkState(true);
85
Preconditions
.checkState(false)
[
all
...]
/external/droiddriver/src/io/appium/droiddriver/util/
Preconditions.java
23
public final class
Preconditions
{
24
private
Preconditions
() {}
/external/jsilver/src/com/google/streamhtmlparser/impl/
StateTableTransition.java
19
import com.google.common.base.
Preconditions
;
57
Preconditions
.checkNotNull(expression);
58
Preconditions
.checkNotNull(from);
59
Preconditions
.checkNotNull(to);
/external/jsilver/src/com/google/streamhtmlparser/
ExternalState.java
19
import com.google.common.base.
Preconditions
;
56
Preconditions
.checkNotNull(name); // Developer error if it happens.
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
BuilderInstruction25x.java
38
import org.jf.dexlib2.util.
Preconditions
;
61
Preconditions
.check25xParameterRegisterCount(parameterRegisterCount);
62
this.registerClosure =
Preconditions
.checkNibbleRegister(registerClosure); //at least 1 reg
64
Preconditions
.checkNibbleRegister(registerD) : 0;
66
Preconditions
.checkNibbleRegister(registerE) : 0;
68
Preconditions
.checkNibbleRegister(registerF) : 0;
70
Preconditions
.checkNibbleRegister(registerG) : 0;
BuilderInstruction22b.java
38
import org.jf.dexlib2.util.
Preconditions
;
54
this.registerA =
Preconditions
.checkByteRegister(registerA);
55
this.registerB =
Preconditions
.checkByteRegister(registerB);
56
this.literal =
Preconditions
.checkByteLiteral(literal);
BuilderInstruction22s.java
38
import org.jf.dexlib2.util.
Preconditions
;
54
this.registerA =
Preconditions
.checkNibbleRegister(registerA);
55
this.registerB =
Preconditions
.checkNibbleRegister(registerB);
56
this.literal =
Preconditions
.checkShortLiteral(literal);
BuilderInstruction23x.java
38
import org.jf.dexlib2.util.
Preconditions
;
54
this.registerA =
Preconditions
.checkByteRegister(registerA);
55
this.registerB =
Preconditions
.checkByteRegister(registerB);
56
this.registerC =
Preconditions
.checkByteRegister(registerC);
BuilderInstruction35c.java
39
import org.jf.dexlib2.util.
Preconditions
;
63
this.registerCount =
Preconditions
.check35cRegisterCount(registerCount);
64
this.registerC = (registerCount>0) ?
Preconditions
.checkNibbleRegister(registerC) : 0;
65
this.registerD = (registerCount>1) ?
Preconditions
.checkNibbleRegister(registerD) : 0;
66
this.registerE = (registerCount>2) ?
Preconditions
.checkNibbleRegister(registerE) : 0;
67
this.registerF = (registerCount>3) ?
Preconditions
.checkNibbleRegister(registerF) : 0;
68
this.registerG = (registerCount>4) ?
Preconditions
.checkNibbleRegister(registerG) : 0;
BuilderInstruction11n.java
38
import org.jf.dexlib2.util.
Preconditions
;
52
this.registerA =
Preconditions
.checkNibbleRegister(registerA);
53
this.literal =
Preconditions
.checkNibbleLiteral(literal);
BuilderInstruction12x.java
38
import org.jf.dexlib2.util.
Preconditions
;
52
this.registerA =
Preconditions
.checkNibbleRegister(registerA);
53
this.registerB =
Preconditions
.checkNibbleRegister(registerB);
BuilderInstruction21ih.java
38
import org.jf.dexlib2.util.
Preconditions
;
52
this.registerA =
Preconditions
.checkByteRegister(registerA);
53
this.literal =
Preconditions
.checkIntegerHatLiteral(literal);
BuilderInstruction21lh.java
38
import org.jf.dexlib2.util.
Preconditions
;
52
this.registerA =
Preconditions
.checkByteRegister(registerA);
53
this.literal =
Preconditions
.checkLongHatLiteral(literal);
BuilderInstruction21s.java
38
import org.jf.dexlib2.util.
Preconditions
;
52
this.registerA =
Preconditions
.checkByteRegister(registerA);
53
this.literal =
Preconditions
.checkShortLiteral(literal);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
ImmutableInstruction25x.java
37
import org.jf.dexlib2.util.
Preconditions
;
60
Preconditions
.check25xParameterRegisterCount(parameterRegisterCount);
61
this.registerClosure =
Preconditions
.checkNibbleRegister(registerClosure);
63
Preconditions
.checkNibbleRegister(registerD) : 0;
65
Preconditions
.checkNibbleRegister(registerE) : 0;
67
Preconditions
.checkNibbleRegister(registerF) : 0;
69
Preconditions
.checkNibbleRegister(registerG) : 0;
ImmutableInstruction35mi.java
37
import org.jf.dexlib2.util.
Preconditions
;
61
this.registerCount =
Preconditions
.check35cRegisterCount(registerCount);
62
this.registerC = (registerCount>0) ?
Preconditions
.checkNibbleRegister(registerC) : 0;
63
this.registerD = (registerCount>1) ?
Preconditions
.checkNibbleRegister(registerD) : 0;
64
this.registerE = (registerCount>2) ?
Preconditions
.checkNibbleRegister(registerE) : 0;
65
this.registerF = (registerCount>3) ?
Preconditions
.checkNibbleRegister(registerF) : 0;
66
this.registerG = (registerCount>4) ?
Preconditions
.checkNibbleRegister(registerG) : 0;
67
this.inlineIndex =
Preconditions
.checkInlineIndex(inlineIndex);
ImmutableInstruction35ms.java
37
import org.jf.dexlib2.util.
Preconditions
;
61
this.registerCount =
Preconditions
.check35cRegisterCount(registerCount);
62
this.registerC = (registerCount>0) ?
Preconditions
.checkNibbleRegister(registerC) : 0;
63
this.registerD = (registerCount>1) ?
Preconditions
.checkNibbleRegister(registerD) : 0;
64
this.registerE = (registerCount>2) ?
Preconditions
.checkNibbleRegister(registerE) : 0;
65
this.registerF = (registerCount>3) ?
Preconditions
.checkNibbleRegister(registerF) : 0;
66
this.registerG = (registerCount>4) ?
Preconditions
.checkNibbleRegister(registerG) : 0;
67
this.vtableIndex =
Preconditions
.checkVtableIndex(vtableIndex);
ImmutableInstruction35c.java
40
import org.jf.dexlib2.util.
Preconditions
;
64
this.registerCount =
Preconditions
.check35cRegisterCount(registerCount);
65
this.registerC = (registerCount>0) ?
Preconditions
.checkNibbleRegister(registerC) : 0;
66
this.registerD = (registerCount>1) ?
Preconditions
.checkNibbleRegister(registerD) : 0;
67
this.registerE = (registerCount>2) ?
Preconditions
.checkNibbleRegister(registerE) : 0;
68
this.registerF = (registerCount>3) ?
Preconditions
.checkNibbleRegister(registerF) : 0;
69
this.registerG = (registerCount>4) ?
Preconditions
.checkNibbleRegister(registerG) : 0;
/external/droiddriver/src/io/appium/droiddriver/finders/
ChainFinder.java
20
import io.appium.droiddriver.util.
Preconditions
;
38
this.first =
Preconditions
.checkNotNull(first);
39
this.second =
Preconditions
.checkNotNull(second);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DexBackedEncodedValue.java
38
import org.jf.dexlib2.util.
Preconditions
;
55
Preconditions
.checkValueArg(valueArg, 0);
58
Preconditions
.checkValueArg(valueArg, 1);
61
Preconditions
.checkValueArg(valueArg, 1);
64
Preconditions
.checkValueArg(valueArg, 3);
67
Preconditions
.checkValueArg(valueArg, 7);
70
Preconditions
.checkValueArg(valueArg, 3);
74
Preconditions
.checkValueArg(valueArg, 7);
78
Preconditions
.checkValueArg(valueArg, 3);
81
Preconditions
.checkValueArg(valueArg, 3)
[
all
...]
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
Platform.java
19
import static com.google.common.base.
Preconditions
.checkNotNull;
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
SameThreadScheduledExecutorService.java
21
import com.google.common.base.
Preconditions
;
76
Preconditions
.checkNotNull(unit, "unit must not be null!");
82
Preconditions
.checkNotNull(task, "task must not be null!");
88
Preconditions
.checkNotNull(task, "task must not be null!");
89
Preconditions
.checkNotNull(result, "result must not be null!");
95
Preconditions
.checkNotNull(task, "task must not be null!");
102
Preconditions
.checkNotNull(tasks, "tasks must not be null!");
110
Preconditions
.checkNotNull(tasks, "tasks must not be null!");
111
Preconditions
.checkNotNull(unit, "unit must not be null!");
118
Preconditions
.checkNotNull(tasks, "tasks must not be null!")
[
all
...]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
RemotePrintServicePlugin.java
22
import com.android.internal.util.
Preconditions
;
73
name =
Preconditions
.checkArgumentPositive(mPlugin.getName(), "name");
74
packageName =
Preconditions
.checkStringNotEmpty(mPlugin.getPackageName(),
126
Preconditions
.checkState(isRunning);
128
mNumPrinters =
Preconditions
.checkArgumentNonnegative(numDiscoveredPrinters,
/external/guice/core/src/com/google/inject/internal/
DelegatingInvocationHandler.java
20
import com.google.common.base.
Preconditions
;
36
Preconditions
.checkState(initialized,
41
Preconditions
.checkNotNull(delegate,
Completed in 806 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>