Searched defs:condition (Results 1 - 9 of 9) sorted by relevance

/dalvik/dx/src/junit/framework/
H A DAssert.java15 * Asserts that a condition is true. If it isn't it throws
18 static public void assertTrue(String message, boolean condition) { argument
19 if (!condition)
23 * Asserts that a condition is true. If it isn't it throws
26 static public void assertTrue(boolean condition) { argument
27 assertTrue(null, condition);
30 * Asserts that a condition is false. If it isn't it throws
33 static public void assertFalse(String message, boolean condition) { argument
34 assertTrue(message, !condition);
37 * Asserts that a condition i
40 assertFalse(boolean condition) argument
[all...]
/dalvik/libcore/junit/src/main/java/junit/framework/
H A DAssert.java15 * Asserts that a condition is true. If it isn't it throws
18 static public void assertTrue(String message, boolean condition) { argument
19 if (!condition)
23 * Asserts that a condition is true. If it isn't it throws
26 static public void assertTrue(boolean condition) { argument
27 assertTrue(null, condition);
30 * Asserts that a condition is false. If it isn't it throws
33 static public void assertFalse(String message, boolean condition) { argument
34 assertTrue(message, !condition);
37 * Asserts that a condition i
40 assertFalse(boolean condition) argument
[all...]
/dalvik/tests/021-string2/src/junit/framework/
H A DAssert.java15 * Asserts that a condition is true. If it isn't it throws
18 static public void assertTrue(String message, boolean condition) { argument
19 if (!condition)
23 * Asserts that a condition is true. If it isn't it throws
26 static public void assertTrue(boolean condition) { argument
27 assertTrue(null, condition);
30 * Asserts that a condition is false. If it isn't it throws
33 static public void assertFalse(String message, boolean condition) { argument
34 assertTrue(message, !condition);
37 * Asserts that a condition i
40 assertFalse(boolean condition) argument
[all...]
/dalvik/tests/082-inline-execute/src/junit/framework/
H A DAssert.java15 * Asserts that a condition is true. If it isn't it throws
18 static public void assertTrue(String message, boolean condition) { argument
19 if (!condition)
23 * Asserts that a condition is true. If it isn't it throws
26 static public void assertTrue(boolean condition) { argument
27 assertTrue(null, condition);
30 * Asserts that a condition is false. If it isn't it throws
33 static public void assertFalse(String message, boolean condition) { argument
34 assertTrue(message, !condition);
37 * Asserts that a condition i
40 assertFalse(boolean condition) argument
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
H A DReentrantLock.java53 * lock.lock(); // block until condition holds
450 * <li>When the condition {@linkplain Condition#await() waiting}
656 * Queries whether any threads are waiting on the given condition
663 * @param condition the condition
666 * @throws IllegalArgumentException if the given condition is
668 * @throws NullPointerException if the condition is null
670 public boolean hasWaiters(Condition condition) { argument
671 if (condition == null)
673 if (!(condition instanceo
693 getWaitQueueLength(Condition condition) argument
718 getWaitingThreads(Condition condition) argument
[all...]
H A DReentrantReadWriteLock.java339 * condition wait and re-established in tryAcquire.
1118 * invoke a condition waiting method when the current thread
1123 * <li>When the condition {@linkplain Condition#await() waiting}
1327 * Queries whether any threads are waiting on the given condition
1334 * @param condition the condition
1337 * @throws IllegalArgumentException if the given condition is
1339 * @throws NullPointerException if the condition is null
1341 public boolean hasWaiters(Condition condition) { argument
1342 if (condition
1364 getWaitQueueLength(Condition condition) argument
1389 getWaitingThreads(Condition condition) argument
[all...]
H A DAbstractQueuedSynchronizer.java59 * condition, so if this constraint cannot be met, do not use it. The
65 * condition objects. These can be exported as desired into classes
327 * inserted into a condition queue. Upon signal, the node is
346 /** waitStatus value to indicate thread is waiting on condition */
366 * CONDITION: This node is currently on a condition queue.
385 * CONDITION for condition nodes. It is modified using CAS
425 * Link to next node waiting on condition, or the special
426 * value SHARED. Because condition queues are accessed only
805 * queue. Used by condition wait methods as well as acquire.
1020 * to a condition wai
1695 owns(ConditionObject condition) argument
1717 hasWaiters(ConditionObject condition) argument
1739 getWaitQueueLength(ConditionObject condition) argument
1761 getWaitingThreads(ConditionObject condition) argument
[all...]
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/
H A DStylesheetHandler.java848 * method chooses to flag this condition as an error.
870 * Assert that a condition is true. If it is not true, throw an error.
872 * @param condition false if an error should not be thrown, otherwise true.
875 * @throws RuntimeException if the condition is not true.
878 private void assertion(boolean condition, String msg) throws RuntimeException argument
880 if (!condition)
894 * method chooses to flag this condition as an error.
941 * method chooses to flag this condition as an error.
961 * method chooses to flag this condition as an error.
989 * method chooses to flag this condition a
[all...]
/dalvik/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... assertTrue (java.lang.String, boolean) String message boolean condition public static void assertTrue (boolean) boolean condition public static void ...

Completed in 303 milliseconds