HomeSort by relevance Sort by last modified time
    Searched full:criteria (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /cts/tests/tests/location/src/android/location/cts/
CriteriaTest.java 25 import android.location.Criteria;
29 @TestTargetClass(Criteria.class)
34 method = "Criteria",
39 method = "Criteria",
40 args = {android.location.Criteria.class}
46 new Criteria();
48 Criteria c = new Criteria();
49 c.setAccuracy(Criteria.ACCURACY_FINE);
53 c.setPowerRequirement(Criteria.POWER_HIGH)
55 Criteria criteria = new Criteria(c); local
77 Criteria criteria = new Criteria(); local
96 Criteria criteria = new Criteria(); local
136 Criteria criteria = new Criteria(); local
172 Criteria criteria = new Criteria(); local
194 Criteria criteria = new Criteria(); local
216 Criteria criteria = new Criteria(); local
238 Criteria criteria = new Criteria(); local
254 Criteria criteria = new Criteria(); local
    [all...]
LocationProviderTest.java 24 import android.location.Criteria;
62 Criteria.POWER_MEDIUM, // powerRequirement,
63 Criteria.ACCURACY_FINE); // accuracy
80 args = {android.location.Criteria.class}
85 Criteria criteria = new Criteria(); local
86 criteria.setAltitudeRequired(true);
87 criteria.setBearingRequired(true);
88 assertTrue(locationProvider.meetsCriteria(criteria));
    [all...]
LocationManagerTest.java 31 import android.location.Criteria;
103 Criteria.POWER_MEDIUM, // powerRequirement
104 Criteria.ACCURACY_FINE); // accuracy
149 Criteria.POWER_MEDIUM, // powerRequirement
150 Criteria.ACCURACY_FINE); // accuracy
273 args = {Criteria.class, boolean.class}
278 args = {Criteria.class, boolean.class}
282 Criteria criteria = new Criteria(); local
    [all...]
  /frameworks/base/location/java/android/location/
ILocationManager.aidl 21 import android.location.Criteria;
37 List<String> getProviders(in Criteria criteria, boolean enabledOnly);
38 String getBestProvider(in Criteria criteria, boolean enabledOnly);
39 boolean providerMeetsCriteria(String provider, in Criteria criteria);
41 void requestLocationUpdates(String provider, in Criteria criteria, long minTime, float minDistance,
43 void requestLocationUpdatesPI(String provider, in Criteria criteria, long minTime, float minDistance
    [all...]
Criteria.java 23 * A class indicating the application criteria for selecting a
28 public class Criteria implements Parcelable {
95 * Constructs a new Criteria object. The new object will have no
100 public Criteria() {}
103 * Constructs a new Criteria object that is a copy of the given criteria.
105 public Criteria(Criteria criteria) {
106 mHorizontalAccuracy = criteria.mHorizontalAccuracy
    [all...]
ILocationProvider.aidl 19 import android.location.Criteria;
39 boolean meetsCriteria(in Criteria criteria);
LocationProvider.java 27 * <p> Each provider has a set of criteria under which it may be used;
33 * Criteria} class allows providers to be selected based on
34 * user-specified criteria.
74 * Returns true if this provider meets the given criteria,
77 public boolean meetsCriteria(Criteria criteria) {
79 return mService.providerMeetsCriteria(mName, criteria);
141 * constants Criteria.POWER_REQUIREMENT_*.
148 * {@link Criteria#ACCURACY_FINE} is returned, otherwise if the
149 * location is only approximate then {@link Criteria#ACCURACY_COARSE
    [all...]
Criteria.aidl 19 parcelable Criteria;
LocationManager.java 340 * criteria, or null if none do. Only providers that are permitted to be
343 * @param criteria the criteria that the returned providers must match
348 public List<String> getProviders(Criteria criteria, boolean enabledOnly) {
349 if (criteria == null) {
350 throw new IllegalArgumentException("criteria==null");
353 return mService.getProviders(criteria, enabledOnly);
361 * Returns the name of the provider that best meets the given criteria. Only providers
363 * returned. If several providers meet the criteria, the one with the bes
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
CRLSelector.java 21 * The interface specification for determining whether a CRL meets some criteria
25 * criteria for selecting {@code CRL}s from a {@code CertStore}.
40 * Checks whether the defined criteria of this instance match the specified
45 * @return {@code true} if the CRL matches the criteria, {@code false}
CertSelector.java 22 * Certificate} meets some criteria.
25 * criteria for selecting {@code Certificate}s from a {@code CertStore}.
40 * Checks whether the defined criteria of this instance match the specified
45 * @return {@code true} if the certificate matches the criteria, {@code
CertStoreSpi.java 47 * the selector containing the criteria to search for
49 * @return the list of {@code Certificate}s that match the criteria of the
62 * the selector containing the criteria to search for certificate
64 * @return the list of {@code CRL}s that match the criteria of the specified
  /frameworks/base/docs/html/sdk/api_diff/9/changes/
android.location.Criteria.html 10 android.location.Criteria
74 Class android.location.<A HREF="../../../../reference/android/location/Criteria.html" target="_top"><font size="+2"><code>Criteria</code></font></A>
86 <A NAME="android.location.Criteria.getBearingAccuracy_added()"></A>
87 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/location/Criteria.html#getBearingAccuracy()" target="_top"><code>getBearingAccuracy</code></A>()</nobr>
93 <A NAME="android.location.Criteria.getHorizontalAccuracy_added()"></A>
94 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/location/Criteria.html#getHorizontalAccuracy()" target="_top"><code>getHorizontalAccuracy</code></A>()</nobr>
100 <A NAME="android.location.Criteria.getSpeedAccuracy_added()"></A>
101 <nobr><code>int</code>&nbsp;<A HREF="../../../../reference/android/location/Criteria.html#getSpeedAccuracy()" target="_top"><code>getSpeedAccuracy</code></A>()</nobr>
107 <A NAME="android.location.Criteria.getVerticalAccuracy_added()"></A
    [all...]
android.location.LocationManager.html 86 <A NAME="android.location.LocationManager.requestLocationUpdates_added(long, float, android.location.Criteria, android.app.PendingIntent)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#requestLocationUpdates(long, float, android.location.Criteria, android.app.PendingIntent)" target="_top"><code>requestLocationUpdates</code></A>(<code>long,</nobr> float<nobr>,</nobr> Criteria<nobr>,</nobr> PendingIntent<nobr><nobr></code>)</nobr>
93 <A NAME="android.location.LocationManager.requestLocationUpdates_added(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper)" target="_top"><code>requestLocationUpdates</code></A>(<code>long,</nobr> float<nobr>,</nobr> Criteria<nobr>,</nobr> LocationListener<nobr>,</nobr> Looper<nobr><nobr></code>)</nobr>
100 <A NAME="android.location.LocationManager.requestSingleUpdate_added(android.location.Criteria, android.app.PendingIntent)"></A>
101 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#requestSingleUpdate(android.location.Criteria, android.app.PendingIntent)" target="_top"><code>requestSingleUpdate</code></A>(<code>Criteria,</nobr> PendingIntent<nobr><nobr></code>)</nobr>
107 <A NAME="android.location.LocationManager.requestSingleUpdate_added(android.location.Criteria, android.location.LocationListener, android.os.Looper)"></A
    [all...]
  /frameworks/base/location/tests/locationtests/src/android/location/
LocationManagerTest.java 20 import android.location.Criteria;
57 String p = manager.getBestProvider(new Criteria(), true);
62 Criteria c = new Criteria();
63 c.setPowerRequirement(Criteria.POWER_HIGH);
67 c.setPowerRequirement(Criteria.POWER_MEDIUM);
71 c.setPowerRequirement(Criteria.POWER_LOW);
75 c.setPowerRequirement(Criteria.NO_REQUIREMENT);
  /frameworks/base/services/java/com/android/server/location/
LocationProviderInterface.java 19 import android.location.Criteria;
40 boolean meetsCriteria(Criteria criteria);
MockProvider.java 19 import android.location.Criteria;
143 public boolean meetsCriteria(Criteria criteria) {
144 if ((criteria.getAccuracy() != Criteria.NO_REQUIREMENT) &&
145 (criteria.getAccuracy() < mAccuracy)) {
148 int criteriaPower = criteria.getPowerRequirement();
149 if ((criteriaPower != Criteria.NO_REQUIREMENT) &&
153 if (criteria.isAltitudeRequired() && !mSupportsAltitude) {
156 if (criteria.isSpeedRequired() && !mSupportsSpeed)
    [all...]
LocationProviderProxy.java 23 import android.location.Criteria;
255 public boolean meetsCriteria(Criteria criteria) {
260 return provider.meetsCriteria(criteria);
266 if ((criteria.getAccuracy() != Criteria.NO_REQUIREMENT) &&
267 (criteria.getAccuracy() < getAccuracy())) {
270 int criteriaPower = criteria.getPowerRequirement();
271 if ((criteriaPower != Criteria.NO_REQUIREMENT) &&
275 if (criteria.isAltitudeRequired() && !supportsAltitude())
    [all...]
PassiveProvider.java 19 import android.location.Criteria;
84 public boolean meetsCriteria(Criteria criteria) {
85 // We do not want to match the special passive provider based on criteria.
  /libcore/luni/src/test/java/tests/security/cert/
X509CRLSelector2Test.java 96 assertTrue("The CRL should match the selection criteria.", selector
98 assertFalse("The CRL should not match the selection criteria.",
101 assertTrue("The CRL should match the selection criteria.", selector
129 assertTrue("The CRL should match the selection criteria.", selector
131 assertFalse("The CRL should not match the selection criteria.",
139 assertTrue("The CRL should match the selection criteria.", selector
145 * any issuers match the selector in the case of null issuerNames criteria,
188 assertTrue("The CRL should match the selection criteria.", selector
191 assertFalse("The CRL should not match the selection criteria.",
201 * criteria, if specified issuers match the selector, and if not specifie
    [all...]
X509CertSelectorTest.java 654 + "subjectAlternativeNames criteria.", selector
803 assertTrue("The certificate should match the selection criteria.",
    [all...]
  /frameworks/base/services/java/com/android/server/
LocationManagerService.java 33 import android.location.Criteria;
633 public List<String> getProviders(Criteria criteria, boolean enabledOnly) {
636 return _getProvidersLocked(criteria, enabledOnly);
646 private List<String> _getProvidersLocked(Criteria criteria, boolean enabledOnly) {
658 if (criteria != null && !p.meetsCriteria(criteria)) {
674 case Criteria.POWER_LOW:
675 return Criteria.POWER_MEDIUM
    [all...]
  /frameworks/base/location/lib/java/com/android/location/provider/
LocationProvider.java 21 import android.location.Criteria;
80 public boolean meetsCriteria(Criteria criteria) {
81 return LocationProvider.this.onMeetsCriteria(criteria);
230 * constants Criteria.POWER_REQUIREMENT_*.
235 * Returns true if this provider meets the given criteria,
238 public abstract boolean onMeetsCriteria(Criteria criteria);
243 * {@link Criteria#ACCURACY_FINE} is returned, otherwise if the
244 * location is only approximate then {@link Criteria#ACCURACY_COARSE
    [all...]
  /libcore/luni/src/main/java/org/apache/xml/utils/
StylesheetPIHandler.java 46 /** The desired media criteria. */
49 /** The desired title criteria. */
52 /** The desired character set criteria. */
55 /** A list of SAXSource objects that match the criteria. */
91 * for xml-stylesheet PIs based on the given criteria.
95 * @param media The desired media criteria.
96 * @param title The desired title criteria.
97 * @param charset The desired character set criteria.
  /external/chromium/net/base/
ssl_cert_request_info.h 25 // A list of client certificates that match the server's criteria in the

Completed in 206 milliseconds

1 2 3 4 5 6 7 8 910