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

12345

/external/guice/extensions/persist/src/com/google/inject/persist/finder/
H A Dpackage-info.java20 package com.google.inject.persist.finder;
H A DDynamicFinder.java17 package com.google.inject.persist.finder;
22 * Utility that helps you introspect dynamic finder methods.
28 private final Finder finder; field in class:DynamicFinder
32 this.finder = method.getAnnotation(Finder.class);
38 * @param method a method you want to test as a dynamic finder
45 return finder;
H A DFirstResult.java17 package com.google.inject.persist.finder;
25 * Annotate any dynamic finder method's integer argument with this to pass in
H A DMaxResults.java17 package com.google.inject.persist.finder;
25 * Annotate any dynamic finder method's integer argument with this to pass in
/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);
/external/testng/src/main/java/org/testng/internal/
H A DExpectedExceptionsHolder.java14 protected final IAnnotationFinder finder; field in class:ExpectedExceptionsHolder
19 protected ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) { argument
20 this.finder = finder;
22 expectedClasses = findExpectedClasses(finder, method);
26 private static Class<?>[] findExpectedClasses(IAnnotationFinder finder, ITestNGMethod method) { argument
28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
H A DRegexpExpectedExceptionsHolder.java18 private final IAnnotationFinder finder; field in class:RegexpExpectedExceptionsHolder
21 public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) { argument
22 this.finder = finder;
51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
H A DConfiguration.java25 public Configuration(IAnnotationFinder finder) { argument
26 init(finder);
29 private void init(IAnnotationFinder finder) { argument
30 m_annotationFinder = finder;
39 public void setAnnotationFinder(IAnnotationFinder finder) { argument
40 m_annotationFinder = finder;
/external/testng/src/main/java/org/testng/internal/annotations/
H A DAnnotationHelper.java31 public static ITestAnnotation findTest(IAnnotationFinder finder, Class<?> cls) { argument
32 return finder.findAnnotation(cls, ITestAnnotation.class);
35 public static ITestAnnotation findTest(IAnnotationFinder finder, Method m) { argument
36 return finder.findAnnotation(m, ITestAnnotation.class);
39 public static ITestAnnotation findTest(IAnnotationFinder finder, ITestNGMethod m) { argument
40 return finder.findAnnotation(m, ITestAnnotation.class);
43 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Method m) { argument
44 return finder.findAnnotation(m, IFactoryAnnotation.class);
47 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Constructor c) { argument
48 return finder
51 findTest(IAnnotationFinder finder, Constructor ctor) argument
55 findConfiguration(IAnnotationFinder finder, Constructor ctor) argument
79 findConfiguration(IAnnotationFinder finder, Method m) argument
[all...]
/external/autotest/server/site_tests/display_ServerChameleonConnection/
H A Ddisplay_ServerChameleonConnection.py30 finder = chameleon_port_finder.ChameleonVideoInputFinder(
32 ports = finder.find_all_ports()
37 msg = str(finder)
/external/pdfium/testing/tools/
H A Drun_pixel_tests.py61 finder = common.DirectoryFinder(options.build_dir)
62 fixup_path = finder.ScriptPath('fixup_pdf_template.py')
63 source_dir = finder.TestingDir(os.path.join('resources', 'pixel'))
64 pdfium_test_path = finder.ExecutablePath('pdfium_test')
69 working_dir = finder.WorkingDir(os.path.join('testing', 'pixel'))
73 test_suppressor = suppressor.Suppressor(finder)
74 image_differ = pngdiffer.PNGDiffer(finder)
H A Drun_javascript_tests.py53 finder = common.DirectoryFinder(options.build_dir)
54 fixup_path = finder.ScriptPath('fixup_pdf_template.py')
55 text_diff_path = finder.ScriptPath('text_diff.py')
56 source_dir = finder.TestingDir(os.path.join('resources', 'javascript'))
57 pdfium_test_path = finder.ExecutablePath('pdfium_test')
62 working_dir = finder.WorkingDir(os.path.join('testing', 'javascript'))
H A Dsuppressor.py14 def __init__(self, finder):
15 testing_dir = finder.TestingDir()

Completed in 617 milliseconds

12345