Searched defs:callable (Results 1 - 22 of 22) sorted by relevance

/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
H A DInstrumentationUtils.java22 Callable<R> callable) throws Throwable {
23 FutureTask<R> task = new FutureTask<R>(callable);
21 runOnMainSyncAndGetResult(Instrumentation instrumentation, Callable<R> callable) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFakeTimeLimiter.java43 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument
45 return callable.call(); // fooled you
H A DListenableFutureTask.java44 * @param callable the callable task
47 public static <V> ListenableFutureTask<V> create(Callable<V> callable) { argument
48 return new ListenableFutureTask<V>(callable);
68 private ListenableFutureTask(Callable<V> callable) { argument
69 super(callable);
H A DTimeLimiter.java91 * @param callable the Callable to execute
104 <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument
H A DSimpleTimeLimiter.java100 Callable<Object> callable = new Callable<Object>() {
111 return callWithTimeout(callable, timeoutDuration, timeoutUnit,
120 public <T> T callWithTimeout(Callable<T> callable, long timeoutDuration, argument
122 checkNotNull(callable);
126 Future<T> future = executor.submit(callable);
H A DMoreExecutors.java461 Callable<V> callable, long delay, TimeUnit unit) {
462 return delegate.schedule(callable, delay, unit);
460 schedule( Callable<V> callable, long delay, TimeUnit unit) argument
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DUpdateControl.java61 * Enqueues a task/callable object to execute in the jME3
64 public <V> Future<V> enqueue(Callable<V> callable) { argument
65 AppTask<V> task = new AppTask<V>(callable);
/external/junit/src/org/junit/rules/
H A DErrorCollector.java73 * Adds to the table the exception, if any, thrown from {@code callable}.
75 * {@code callable} threw an exception.
77 public Object checkSucceeds(Callable<Object> callable) { argument
79 return callable.call();
/external/jmonkeyengine/engine/src/core/com/jme3/app/
H A DAppTask.java51 private final Callable<V> callable; field in class:AppTask
63 * @param callable The callable to be executed
65 public AppTask(Callable<V> callable) { argument
66 this.callable = callable;
137 return callable;
142 final V tmpResult = callable.call();
H A DApplication.java557 * Enqueues a task/callable object to execute in the jME3
564 public <V> Future<V> enqueue(Callable<V> callable) { argument
565 AppTask<V> task = new AppTask<V>(callable);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DProgressDialogTest.java127 Callable<ProgressDialog> callable) throws Exception {
131 dialog = callable.call();
125 assertLatestDialogsSet(CharSequence expectedTitle, CharSequence expectedMessage, boolean expectedIndeterminate, boolean expectedCancelable, DialogInterface.OnCancelListener expectedCancelListener, Callable<ProgressDialog> callable) argument
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwTestBase.java62 public <R> R runTestOnUiThreadAndGetResult(Callable<R> callable) argument
64 FutureTask<R> task = new FutureTask<R>(callable);
319 * Similar to CriteriaHelper.pollForCriteria but runs the callable on the UI thread.
322 protected boolean pollOnUiThread(final Callable<Boolean> callable) throws Exception { argument
327 return runTestOnUiThreadAndGetResult(callable);
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
H A DMockAccountManager.java384 AccountManagerCallback<T> callback, Callable<T> callable) {
394 mCallable = callable;
489 Callable<Bundle> callable) {
490 super(handler, callback, callable);
383 AccountManagerTask(Handler handler, AccountManagerCallback<T> callback, Callable<T> callable) argument
486 AccountManagerAuthTokenTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback, Account account, String authTokenType, Callable<Bundle> callable) argument
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
H A DPhysicsSpace.java342 public static <V> Future<V> enqueueOnThisThread(Callable<V> callable) { argument
343 AppTask<V> task = new AppTask<V>(callable);
350 * calls the callable on the next physics tick (ensuring e.g. force applying)
352 * @param callable
355 public <V> Future<V> enqueue(Callable<V> callable) { argument
356 AppTask<V> task = new AppTask<V>(callable);
/external/chromium_org/v8/src/
H A Dexecution.cc151 Handle<Object> Execution::Call(Handle<Object> callable, argument
159 if (!callable->IsJSFunction()) {
160 callable = TryGetFunctionDelegate(callable, pending_exception);
161 if (*pending_exception) return callable;
163 Handle<JSFunction> func = Handle<JSFunction>::cast(callable);
179 if (*pending_exception) return callable;
285 // throw a non-callable exception.
346 // throw a non-callable exception.
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
H A DPhysicsSpace.java368 public static <V> Future<V> enqueueOnThisThread(Callable<V> callable) { argument
369 AppTask<V> task = new AppTask<V>(callable);
376 * calls the callable on the next physics tick (ensuring e.g. force applying)
378 * @param callable
381 public <V> Future<V> enqueue(Callable<V> callable) { argument
382 AppTask<V> task = new AppTask<V>(callable);
/external/v8/src/
H A Dexecution.cc144 Handle<Object> Execution::Call(Handle<Object> callable, argument
152 if (!callable->IsJSFunction()) {
153 callable = TryGetFunctionDelegate(callable, pending_exception);
154 if (*pending_exception) return callable;
156 Handle<JSFunction> func = Handle<JSFunction>::cast(callable);
170 if (*pending_exception) return callable;
271 // throw a non-callable exception.
332 // throw a non-callable exception.
/external/littlemock/src/com/google/testing/littlemock/
H A DLittleMock.java129 public static <T> Behaviour doAnswer(final Callable<T> callable) { argument
132 public T doAction(Method method, Object[] args) throws Throwable { return callable.call(); }
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-matchers.h1823 ResultOfMatcher(Callable callable, const Matcher<ResultType>& matcher) argument
1824 : callable_(callable), matcher_(matcher) {
1839 Impl(CallableStorageType callable, const Matcher<ResultType>& matcher) argument
1840 : callable_(callable), matcher_(matcher) {}
1843 *os << "is mapped by the given callable to a value that ";
1848 *os << "is mapped by the given callable to a value that ";
1853 *listener << "which is mapped by the given callable to ";
1866 // how many times the callable will be invoked.
2723 // a callable to x matches 'matcher'.
2727 // callable paramete
2736 ResultOf( Callable callable, const ResultOfMatcher& matcher) argument
[all...]
/external/robolectric/lib/main/
H A Djunit-dep-4.8.2.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/external/droiddriver/libs/
H A Dguava-13.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/hash/ ...
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...

Completed in 987 milliseconds