OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isTrue
(Results
1 - 25
of
406
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/services/Telephony/src/com/android/phone/
Assert.java
29
public static void
isTrue
(boolean condition) {
37
isTrue
(sIsMainThreadForTest);
40
isTrue
(Looper.getMainLooper().equals(Looper.myLooper()));
45
isTrue
(!sIsMainThreadForTest);
48
isTrue
(!Looper.getMainLooper().equals(Looper.myLooper()));
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
Wait.java
20
if (condition.
isTrue
()) {
31
if (condition.
isTrue
()) {
Condition.java
13
public abstract boolean
isTrue
() throws Throwable;
22
public boolean
isTrue
() throws Throwable {
30
value.set(condition.
isTrue
());
49
public boolean
isTrue
() {
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
ImageRequestDescriptor.java
80
Assert.
isTrue
(desiredWidth == ImageRequest.UNSPECIFIED_SIZE || desiredWidth > 0);
81
Assert.
isTrue
(desiredHeight == ImageRequest.UNSPECIFIED_SIZE || desiredHeight > 0);
82
Assert.
isTrue
(sourceWidth == ImageRequest.UNSPECIFIED_SIZE || sourceWidth > 0);
83
Assert.
isTrue
(sourceHeight == ImageRequest.UNSPECIFIED_SIZE || sourceHeight > 0);
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/
SimpleCompositeCommandHandler.java
90
Assert.
isTrue
(index < commandHandlers.size(), "No CommandHandler defined for index " + index);
91
Assert.
isTrue
(index >= 0, "The index cannot be less than zero: " + index);
101
Assert.
isTrue
(commandHandlers.size() > invocationIndex, "No CommandHandler defined for invocation #" + invocationIndex);
AbstractCommandHandler.java
86
Assert.
isTrue
(replyCode > 0, "The number [" + replyCode + "] is not a valid reply code");
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/
SimpleCompositeCommandHandler.java
90
Assert.
isTrue
(index < commandHandlers.size(), "No CommandHandler defined for index " + index);
91
Assert.
isTrue
(index >= 0, "The index cannot be less than zero: " + index);
101
Assert.
isTrue
(commandHandlers.size() > invocationIndex, "No CommandHandler defined for invocation #" + invocationIndex);
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
BlockedParticipantsData.java
55
Assert.
isTrue
(id == BLOCKED_PARTICIPANTS_LOADER);
69
Assert.
isTrue
(loader.getId() == BLOCKED_PARTICIPANTS_LOADER);
71
Assert.
isTrue
(isBound(cursorLoader.getBindingId()));
77
Assert.
isTrue
(loader.getId() == BLOCKED_PARTICIPANTS_LOADER);
79
Assert.
isTrue
(isBound(cursorLoader.getBindingId()));
LaunchConversationData.java
67
Assert.
isTrue
(monitor == mMonitor);
68
Assert.
isTrue
(conversationId != null);
82
Assert.
isTrue
(monitor == mMonitor);
VCardContactItemData.java
58
Assert.
isTrue
(messagePartData.isVCard());
74
Assert.
isTrue
(vcards.size() > 0);
86
Assert.
isTrue
(vcards.size() > 0);
170
Assert.
isTrue
(mVCardResource == null);
/cts/tests/tests/widget/src/android/widget/cts/
PositionTesterContextMenuListener.java
56
if (!
isTrue
("MenuInfo is not an AdapterContextMenuInfo",
65
if (!
isTrue
("MenuInfo is not an ExpandableListContextMenuInfo",
100
private boolean
isTrue
(String message, boolean value) {
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
Assert.java
247
public static boolean
isTrue
(boolean expression) {
248
return
isTrue
(expression, ""); //$NON-NLS-1$
262
public static boolean
isTrue
(boolean expression, String message) {
284
public static boolean
isTrue
(boolean expression, String errorFormat, Object... args) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
DetachableBinding.java
44
Assert.
isTrue
(isBound());
ImmutableBindingRef.java
80
Assert.
isTrue
(resolvedBinding instanceof Binding<?>);
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
Permissions.java
46
Assert.
isTrue
(rwxString.length() == 9, "The permissions string must be exactly 9 characters");
49
Assert.
isTrue
(rwxString.matches(PATTERN), "The permissions string must match [" + PATTERN + "]");
/packages/apps/Messaging/src/com/android/messaging/
Factory.java
51
Assert.
isTrue
(!sRegistered);
52
Assert.
isTrue
(!sInitialized);
/packages/apps/Messaging/src/com/android/messaging/datamodel/
BitmapPool.java
86
Assert.
isTrue
(maxSize > 0);
87
Assert.
isTrue
(!TextUtils.isEmpty(name));
191
Assert.
isTrue
(width > 0);
192
Assert.
isTrue
(height > 0);
230
Assert.
isTrue
(width > 0);
231
Assert.
isTrue
(height > 0);
270
Assert.
isTrue
(width > 0);
271
Assert.
isTrue
(height > 0);
FrequentContactsCursorBuilder.java
79
Assert.
isTrue
(!mFrequentContactsCursor.isClosed());
80
Assert.
isTrue
(!mAllContactsCursor.isClosed());
141
Assert.
isTrue
(lookupKeyToRankMap.containsKey(lookupKeyLhs) &&
/external/dagger2/producers/src/test/java/dagger/producers/internal/
ProducersTest.java
42
assertThat(producedFuture.isDone()).
isTrue
();
49
assertThat(producedFuture.isDone()).
isTrue
();
58
assertThat(future.isCancelled()).
isTrue
();
83
assertThat(setFuture.isDone()).
isTrue
();
90
assertThat(setFuture.isDone()).
isTrue
();
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
IssuingDistributionPoint.java
159
onlyContainsUserCerts = ASN1Boolean.getInstance(o, false).
isTrue
();
162
onlyContainsCACerts = ASN1Boolean.getInstance(o, false).
isTrue
();
168
indirectCRL = ASN1Boolean.getInstance(o, false).
isTrue
();
171
onlyContainsAttributeCerts = ASN1Boolean.getInstance(o, false).
isTrue
();
/packages/apps/Messaging/src/com/android/messaging/ui/
BlockedParticipantsActivity.java
41
Assert.
isTrue
(fragment instanceof BlockedParticipantsFragment);
VCardDetailActivity.java
40
Assert.
isTrue
(fragment instanceof VCardDetailFragment);
/packages/apps/Messaging/src/com/android/messaging/util/
BugleGservicesImpl.java
36
Assert.
isTrue
(key.startsWith(BUGLE_GSERVICES_PREFIX));
/cts/tests/tests/database/src/android/database/cts/
AbstractCursor_SelfContentObserverTest.java
138
public void setDeliverSelfNotificationsValue(boolean
isTrue
) {
139
mIsTrue =
isTrue
;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ConversationActivityUiState.java
170
Assert.
isTrue
(mConversationContactUiState != STATE_CONTACT_PICKER_ONLY_INITIAL_CONTACT &&
224
Assert.
isTrue
(isUiUpdateInProgress());
238
Assert.
isTrue
((mConversationContactUiState == STATE_CONTACT_PICKER_ONLY_INITIAL_CONTACT) ==
Completed in 510 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>