Searched refs:finder (Results 1 - 25 of 54) sorted by relevance

123

/external/droiddriver/src/io/appium/droiddriver/exceptions/
H A DElementNotFoundException.java26 public ElementNotFoundException(Finder finder) { argument
27 super(failMessage(finder));
30 public ElementNotFoundException(Finder finder, Throwable cause) { argument
31 super(failMessage(finder), cause);
42 protected static String failMessage(Finder finder) { argument
43 return "Could not find any element matching " + finder;
/external/droiddriver/src/io/appium/droiddriver/
H A DDroidDriver.java31 boolean has(Finder finder); argument
52 * and checkExists return as soon as the finder is found. If it is not found,
56 boolean has(Finder finder, long timeoutMillis); argument
59 * Returns the first {@link UiElement} found using the given finder. This
62 * @param finder The matching mechanism
67 UiElement on(Finder finder); argument
70 * Returns the first {@link UiElement} found using the given finder without
75 * @param finder The matching mechanism
79 UiElement find(Finder finder); argument
88 * Polls until a {@link UiElement} is found using the given finder, o
96 checkExists(Finder finder) argument
106 checkGone(Finder finder) argument
[all...]
H A DPoller.java34 void onTimeout(DroidDriver driver, Finder finder); argument
44 void onPolling(DroidDriver driver, Finder finder); argument
76 T check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException; argument
89 public UiElement check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
91 return driver.find(finder);
108 public Void check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
111 driver.find(finder);
130 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker); argument
138 <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, long timeoutMillis); argument
/external/opencv/cvaux/src/
H A Dcvclique.cpp129 void cvStartFindCliques( CvGraph* graph, CvCliqueFinder* finder, int reverse, int weighted, int weighted_edges )
135 finder->weighted = 1;
136 finder->best_weight = 0;
137 finder->vertex_weights = (float*)malloc( sizeof(float)*(graph->total+1));
138 finder->cur_weight = (float*)malloc( sizeof(float)*(graph->total+1));
139 finder->cand_weight = (float*)malloc( sizeof(float)*(graph->total+1));
141 finder->cur_weight[0] = 0;
142 finder->cand_weight[0] = 0;
148 finder->vertex_weights[i] = ver->weight;
149 finder
[all...]
/external/droiddriver/src/io/appium/droiddriver/base/
H A DBaseDroidDriver.java40 public UiElement find(Finder finder) { argument
41 Logs.call(Log.VERBOSE, this, "find", finder);
42 return finder.find(getRootElement());
46 public boolean has(Finder finder) { argument
49 find(finder);
57 public boolean has(Finder finder, long timeoutMillis) { argument
59 getPoller().pollFor(this, finder, Poller.EXISTS, timeoutMillis);
67 public UiElement on(Finder finder) { argument
68 Logs.call(this, "on", finder);
69 return getPoller().pollFor(this, finder, Polle
73 checkExists(Finder finder) argument
79 checkGone(Finder finder) argument
[all...]
H A DDefaultPoller.java60 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker) { argument
61 return pollFor(driver, finder, checker, timeoutMillis);
65 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, argument
78 return checker.check(driver, finder);
84 pollingListener.onPolling(driver, finder);
90 timeoutListener.onTimeout(driver, finder);
93 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker));
/external/mockito/src/org/mockito/internal/debugging/
H A DWarningsPrinterImpl.java17 private WarningsFinder finder; field in class:WarningsPrinterImpl
27 WarningsPrinterImpl(boolean warnAboutUnstubbed, WarningsFinder finder) { argument
29 this.finder = finder;
33 finder.find(new LoggingListener(warnAboutUnstubbed, logger));
/external/mockito/src/org/mockito/internal/verification/checkers/
H A DMissingInvocationInOrderChecker.java22 private final InvocationsFinder finder; field in class:MissingInvocationInOrderChecker
28 MissingInvocationInOrderChecker(InvocationsFinder finder, Reporter reporter) { argument
29 this.finder = finder;
34 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, context);
40 Invocation previousInOrder = finder.findPreviousVerifiedInOrder(invocations, context);
49 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
51 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
H A DMissingInvocationChecker.java20 private final InvocationsFinder finder; field in class:MissingInvocationChecker
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) { argument
27 this.finder = finder;
32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
35 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
H A DNumberOfInvocationsChecker.java21 private final InvocationsFinder finder; field in class:NumberOfInvocationsChecker
28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) { argument
30 this.finder = finder;
34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
38 Location lastInvocation = finder.getLastLocation(actualInvocations);
H A DNumberOfInvocationsInOrderChecker.java22 private final InvocationsFinder finder; field in class:NumberOfInvocationsInOrderChecker
29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) { argument
30 this.finder = finder;
35 List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context);
40 Location lastInvocation = finder.getLastLocation(chunk);
H A DNonGreedyNumberOfInvocationsInOrderChecker.java21 private final InvocationsFinder finder; field in class:NonGreedyNumberOfInvocationsInOrderChecker
29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) { argument
30 this.finder = finder;
39 Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context );
H A DAtLeastXNumberOfInvocationsChecker.java20 InvocationsFinder finder = new InvocationsFinder(); field in class:AtLeastXNumberOfInvocationsChecker
24 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
28 Location lastLocation = finder.getLastLocation(actualInvocations);
H A DAtLeastXNumberOfInvocationsInOrderChecker.java21 private final InvocationsFinder finder = new InvocationsFinder(); field in class:AtLeastXNumberOfInvocationsInOrderChecker
30 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext);
35 Location lastLocation = finder.getLastLocation(chunk);
/external/pdfium/testing/tools/
H A Drun_pixel_tests.py45 finder = common.DirectoryFinder(options.build_dir)
46 fixup_path = finder.ScriptPath('fixup_pdf_template.py')
47 source_dir = finder.TestingDir(os.path.join('resources', 'pixel'))
48 pdfium_test_path = finder.ExecutablePath('pdfium_test')
53 working_dir = finder.WorkingDir(os.path.join('testing', 'pixel'))
57 test_suppressor = suppressor.Suppressor(finder)
58 image_differ = pngdiffer.PNGDiffer(finder)
H A Drun_corpus_tests.py43 finder = common.DirectoryFinder(options.build_dir)
44 pdfium_test_path = finder.ExecutablePath('pdfium_test')
49 working_dir = finder.WorkingDir(os.path.join('testing', 'corpus'))
53 test_suppressor = suppressor.Suppressor(finder)
54 image_differ = pngdiffer.PNGDiffer(finder)
58 walk_from_dir = finder.TestingDir('corpus');
H A Drun_javascript_tests.py45 finder = common.DirectoryFinder(options.build_dir)
46 fixup_path = finder.ScriptPath('fixup_pdf_template.py')
47 text_diff_path = finder.ScriptPath('text_diff.py')
48 source_dir = finder.TestingDir(os.path.join('resources', 'javascript'))
49 pdfium_test_path = finder.ExecutablePath('pdfium_test')
54 working_dir = finder.WorkingDir(os.path.join('testing', 'javascript'))
H A Dsuppressor.py14 def __init__(self, finder):
15 testing_dir = finder.TestingDir()
H A Dpngdiffer.py15 def __init__(self, finder):
16 self.pdfium_diff_path = finder.ExecutablePath('pdfium_diff')
17 self.os_name = finder.os_name
/external/mockito/src/org/mockito/internal/verification/
H A DOnly.java19 private final InvocationsFinder finder = new InvocationsFinder(); field in class:Only
27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher);
29 Invocation unverified = finder.findFirstUnverified(invocations);
H A DAtMost.java35 InvocationsFinder finder = new InvocationsFinder();
36 List<Invocation> found = finder.findInvocations(invocations, wanted);
H A DInOrderWrapper.java8 import org.mockito.internal.invocation.finder.VerifiableInvocationsFinder;
/external/droiddriver/src/io/appium/droiddriver/helpers/
H A DPollingListeners.java47 public void onPolling(DroidDriver driver, Finder finder) {
/external/mockito/src/org/mockito/internal/invocation/finder/
H A DVerifiableInvocationsFinder.java6 package org.mockito.internal.invocation.finder;
H A DAllInvocationsFinder.java6 package org.mockito.internal.invocation.finder;

Completed in 275 milliseconds

123