HomeSort by relevance Sort by last modified time
    Searched refs:finder (Results 1 - 25 of 317) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guice/extensions/persist/src/com/google/inject/persist/finder/
package-info.java 18 * Dynamic Finder API for Guice Persist.
20 package com.google.inject.persist.finder;
DynamicFinder.java 17 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);
36 * Returns some metadata if the method is annotated {@code @Finder} or null.
38 * @param method a method you want to test as a dynamic finder
41 return method.isAnnotationPresent(Finder.class) ? new DynamicFinder(method) : null;
44 public Finder metadata()
    [all...]
  /frameworks/base/libs/androidfw/tests/
AttributeFinder_test.cpp 59 MockAttributeFinder finder(sortedAttributes, end);
61 EXPECT_EQ(0, finder.find(0x01010000));
62 EXPECT_EQ(1, finder.find(0x01010001));
63 EXPECT_EQ(2, finder.find(0x01010002));
64 EXPECT_EQ(3, finder.find(0x01010004));
65 EXPECT_EQ(4, finder.find(0x02010001));
66 EXPECT_EQ(5, finder.find(0x02010010));
67 EXPECT_EQ(6, finder.find(0x7f010001));
68 EXPECT_EQ(end, finder.find(0x7f010002));
73 MockAttributeFinder finder(sortedAttributes, end)
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/exceptions/
ElementNotFoundException.java 19 import io.appium.droiddriver.finders.Finder;
26 public ElementNotFoundException(Finder finder) {
27 super(failMessage(finder));
30 public ElementNotFoundException(Finder finder, Throwable cause) {
31 super(failMessage(finder), cause);
42 protected static String failMessage(Finder finder) {
43 return "Could not find any element matching " + finder;
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/
DroidDriver.java 21 import io.appium.droiddriver.finders.Finder;
31 boolean has(Finder finder);
52 * and checkExists return as soon as the finder is found. If it is not found,
56 boolean has(Finder finder, long timeoutMillis);
59 * Returns the first {@link UiElement} found using the given finder. This
62 * @param finder The matching mechanism
67 UiElement on(Finder finder);
    [all...]
Poller.java 20 import io.appium.droiddriver.finders.Finder;
34 void onTimeout(DroidDriver driver, Finder finder);
44 void onPolling(DroidDriver driver, Finder finder);
76 T check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException;
89 public UiElement check(DroidDriver driver, Finder finder) throws UnsatisfiedConditionException {
91 return driver.find(finder);
    [all...]
  /external/opencv/cvaux/src/
cvclique.cpp 129 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->cand_weight[0] += ver->weight;
    [all...]
  /hardware/bsp/intel/peripheral/libupm/examples/c++/
grovelinefinder.cxx 46 // Instantiate a Grove Line Finder sensor on digital pin D2
47 upm::GroveLineFinder* finder = new upm::GroveLineFinder(2); local
52 bool val = finder->whiteDetected();
64 delete finder;
  /external/droiddriver/src/io/appium/droiddriver/base/
BaseDroidDriver.java 28 import io.appium.droiddriver.finders.Finder;
40 public UiElement find(Finder finder) {
41 Logs.call(Log.VERBOSE, this, "find", finder);
42 return finder.find(getRootElement());
46 public boolean has(Finder finder) {
49 find(finder);
57 public boolean has(Finder finder, long timeoutMillis)
    [all...]
  /hardware/bsp/intel/peripheral/libupm/examples/java/
GroveLineFinderSample.java 38 // Instantiate a Grove Line Finder sensor on digital pin D2
39 upm_grovelinefinder.GroveLineFinder finder = new upm_grovelinefinder.GroveLineFinder(2); local
42 boolean val = finder.whiteDetected();
  /external/mockito/src/org/mockito/internal/debugging/
WarningsPrinterImpl.java 17 private WarningsFinder finder; field in class:WarningsPrinterImpl
27 WarningsPrinterImpl(boolean warnAboutUnstubbed, WarningsFinder finder) {
29 this.finder = finder;
33 finder.find(new LoggingListener(warnAboutUnstubbed, logger));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinderTest.java 60 IncludeFinder finder = IncludeFinder.create(); local
61 assertEquals(null, finder.getIncludedBy("foo"));
63 finder.setIncluded("bar", Arrays.<String>asList("foo", "baz"), false);
64 finder.setIncluded("baz", Arrays.<String>asList("foo"), false);
65 assertEquals(Arrays.asList("bar", "baz"), finder.getIncludedBy("foo"));
66 finder.setIncluded("bar", Collections.<String>emptyList(), false);
67 assertEquals(Arrays.asList("baz"), finder.getIncludedBy("foo"));
68 finder.setIncluded("baz", Collections.<String>emptyList(), false);
69 assertEquals(Collections.emptyList(), finder.getIncludedBy("foo"));
  /external/mockito/src/org/mockito/internal/verification/checkers/
MissingInvocationInOrderChecker.java 22 private final InvocationsFinder finder; field in class:MissingInvocationInOrderChecker
28 MissingInvocationInOrderChecker(InvocationsFinder finder, Reporter reporter) {
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);
MissingInvocationChecker.java 20 private final InvocationsFinder finder; field in class:MissingInvocationChecker
26 MissingInvocationChecker(InvocationsFinder finder, Reporter reporter) {
27 this.finder = finder;
32 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
35 Invocation similar = finder.findSimilarInvocation(invocations, wanted);
NumberOfInvocationsChecker.java 21 private final InvocationsFinder finder; field in class:NumberOfInvocationsChecker
28 NumberOfInvocationsChecker(Reporter reporter, InvocationsFinder finder) {
30 this.finder = finder;
34 List<Invocation> actualInvocations = finder.findInvocations(invocations, wanted);
38 Location lastInvocation = finder.getLastLocation(actualInvocations);
NumberOfInvocationsInOrderChecker.java 22 private final InvocationsFinder finder; field in class:NumberOfInvocationsInOrderChecker
29 NumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter) {
30 this.finder = finder;
35 List<Invocation> chunk = finder.findMatchingChunk(invocations, wanted, wantedCount, context);
40 Location lastInvocation = finder.getLastLocation(chunk);
NonGreedyNumberOfInvocationsInOrderChecker.java 21 private final InvocationsFinder finder; field in class:NonGreedyNumberOfInvocationsInOrderChecker
29 NonGreedyNumberOfInvocationsInOrderChecker(InvocationsFinder finder, Reporter reporter, InvocationMarker marker ) {
30 this.finder = finder;
39 Invocation next = finder.findFirstMatchingUnverifiedInvocation( invocations, wanted, context );
AtLeastXNumberOfInvocationsChecker.java 20 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/
ExpectedExceptionsHolder.java 14 protected final IAnnotationFinder finder; field in class:ExpectedExceptionsHolder
19 protected ExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method, IExpectedExceptionsHolder holder) {
20 this.finder = finder;
22 expectedClasses = findExpectedClasses(finder, method);
26 private static Class<?>[] findExpectedClasses(IAnnotationFinder finder, ITestNGMethod method) {
28 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
35 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
RegexpExpectedExceptionsHolder.java 18 private final IAnnotationFinder finder; field in class:RegexpExpectedExceptionsHolder
21 public RegexpExpectedExceptionsHolder(IAnnotationFinder finder, ITestNGMethod method) {
22 this.finder = finder;
51 finder.findAnnotation(method, IExpectedExceptionsAnnotation.class);
58 ITestAnnotation testAnnotation = finder.findAnnotation(method, ITestAnnotation.class);
Configuration.java 25 public Configuration(IAnnotationFinder finder) {
26 init(finder);
29 private void init(IAnnotationFinder finder) {
30 m_annotationFinder = finder;
39 public void setAnnotationFinder(IAnnotationFinder finder) {
40 m_annotationFinder = finder;
  /external/testng/src/main/java/org/testng/internal/annotations/
AnnotationHelper.java 31 public static ITestAnnotation findTest(IAnnotationFinder finder, Class<?> cls) {
32 return finder.findAnnotation(cls, ITestAnnotation.class);
35 public static ITestAnnotation findTest(IAnnotationFinder finder, Method m) {
36 return finder.findAnnotation(m, ITestAnnotation.class);
39 public static ITestAnnotation findTest(IAnnotationFinder finder, ITestNGMethod m) {
40 return finder.findAnnotation(m, ITestAnnotation.class);
43 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Method m) {
44 return finder.findAnnotation(m, IFactoryAnnotation.class);
47 public static IFactoryAnnotation findFactory(IAnnotationFinder finder, Constructor c) {
48 return finder.findAnnotation(c, IFactoryAnnotation.class)
    [all...]
  /external/autotest/server/site_tests/display_ServerChameleonConnection/
display_ServerChameleonConnection.py 30 finder = chameleon_port_finder.ChameleonVideoInputFinder(
32 ports = finder.find_all_ports()
37 msg = str(finder)
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
findertools.py 1 """Utility routines depending on the finder,
10 the Finder returns the process *names* which can then be
12 the Finder returns a code which does not seem to work.
21 import Finder
37 """returns basic (recyclable) Finder AE interface object"""
40 _finder_talker = Finder.Finder()
46 """Open a file thru the finder. Specify file by name or fsspec"""
47 finder = _getfinder()
49 return finder.open(fss
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
findertools.py 1 """Utility routines depending on the finder,
10 the Finder returns the process *names* which can then be
12 the Finder returns a code which does not seem to work.
21 import Finder
37 """returns basic (recyclable) Finder AE interface object"""
40 _finder_talker = Finder.Finder()
46 """Open a file thru the finder. Specify file by name or fsspec"""
47 finder = _getfinder()
49 return finder.open(fss
    [all...]

Completed in 1327 milliseconds

1 2 3 4 5 6 7 8 91011>>