Home
last modified time | relevance | path

Searched refs:criteria (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/location/java/android/location/
DLocationProvider.java78 public boolean meetsCriteria(Criteria criteria) { in meetsCriteria() argument
79 return propertiesMeetCriteria(mName, mProperties, criteria); in meetsCriteria()
86 Criteria criteria) { in propertiesMeetCriteria() argument
97 if (criteria.getAccuracy() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
98 criteria.getAccuracy() < properties.mAccuracy) { in propertiesMeetCriteria()
101 if (criteria.getPowerRequirement() != Criteria.NO_REQUIREMENT && in propertiesMeetCriteria()
102 criteria.getPowerRequirement() < properties.mPowerRequirement) { in propertiesMeetCriteria()
105 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) { in propertiesMeetCriteria()
108 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) { in propertiesMeetCriteria()
111 if (criteria.isBearingRequired() && !properties.mSupportsBearing) { in propertiesMeetCriteria()
[all …]
DCriteria.java105 public Criteria(Criteria criteria) { in Criteria() argument
106 mHorizontalAccuracy = criteria.mHorizontalAccuracy; in Criteria()
107 mVerticalAccuracy = criteria.mVerticalAccuracy; in Criteria()
108 mSpeedAccuracy = criteria.mSpeedAccuracy; in Criteria()
109 mBearingAccuracy = criteria.mBearingAccuracy; in Criteria()
110 mPowerRequirement = criteria.mPowerRequirement; in Criteria()
111 mAltitudeRequired = criteria.mAltitudeRequired; in Criteria()
112 mBearingRequired = criteria.mBearingRequired; in Criteria()
113 mSpeedRequired = criteria.mSpeedRequired; in Criteria()
114 mCostAllowed = criteria.mCostAllowed; in Criteria()
DLocationManager.java361 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
362 checkCriteria(criteria); in getProviders()
364 return mService.getProviders(criteria, enabledOnly); in getProviders()
393 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
394 checkCriteria(criteria); in getBestProvider()
396 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
486 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
488 checkCriteria(criteria); in requestLocationUpdates()
492 criteria, minTime, minDistance, false); in requestLocationUpdates()
614 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
[all …]
DILocationManager.aidl65 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument
66 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
67 boolean providerMeetsCriteria(String provider, in Criteria criteria); in providerMeetsCriteria() argument
DLocationRequest.java191 public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, long minTime, in createFromDeprecatedCriteria() argument
197 switch (criteria.getAccuracy()) { in createFromDeprecatedCriteria()
205 switch (criteria.getPowerRequirement()) { in createFromDeprecatedCriteria()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd113 <div class="jd-descrdiv">Set the search criteria to match widgets that
132 <div class="jd-descrdiv">Adds a child UiSelector criteria to this selector.</div>
150 <div class="jd-descrdiv">Set the search criteria to match the class property
169 <div class="jd-descrdiv">Set the search criteria to match the class property
188 <div class="jd-descrdiv">Set the search criteria to match the class property
207 <div class="jd-descrdiv">Set the search criteria to match widgets that are clickable.</div>
225 <div class="jd-descrdiv">Set the search criteria to match the content-description
244 <div class="jd-descrdiv">Set the search criteria to match the content-description
263 <div class="jd-descrdiv">Set the search criteria to match the content-description
282 <div class="jd-descrdiv">Set the search criteria to match the content-description
[all …]
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java929 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
946 if (criteria != null && !LocationProvider.propertiesMeetCriteria( in getProviders()
947 name, provider.getProperties(), criteria)) { in getProviders()
970 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
973 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider()
976 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
982 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
986 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1001 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria() argument
1008 p.getName(), p.getProperties(), criteria); in providerMeetsCriteria()
[all …]
/frameworks/base/docs/html/distribute/googleplay/quality/
Dindex.jd25 A set of core quality criteria that all Android apps should meet on all targeted devices.
Dcore.jd36 compact set of <em>core app quality criteria</em> and associated tests. All
37 Android apps should meet these criteria.</p>
39 <p>Before publishing your app, make sure to test it against these criteria to
54 <p>These criteria ensure that your app provides standard Android visual design
174 <p>These criteria ensure that your app provides expected functional behavior with the appropriate l…
342 targeting. These criteria ensure that the app provides the basic performance,
459 criteria below.</p>
598 increase the number or complexity of tests and quality criteria. </p>
608 specific criteria with specific tests. </p>
Dtablet.jd53 that it meets the <em>core app quality criteria</em> for all of the devices
60 technical checks and launch criteria, such as:
840 criteria. If it finds any issues, it alerts you to them as "To Do"
929 and quality criteria. </p>
/frameworks/base/docs/html/guide/appendix/
Dglossary.jd123 {@link android.content.Intent}. It includes several criteria fields that you can
125 what the receiver does when handling the Intent. Available criteria include
133 based on the criteria supplied in the Intent and the Intent Filters
143 accept and with what criteria. Through an intent filter, an application
147 application/activity that best matches the Intent and criteria. For more
/frameworks/base/docs/html/training/contacts-provider/
Dretrieve-details.jd127 <h3>Define the selection criteria</h3>
137 // Defines the array to hold the search criteria
344 <h3>Define selection criteria</h3>
365 // Defines the array to hold the search criteria
Dretrieve-names.jd357 <h3 id="SelectionCriteria">Specify the selection criteria</h3>
617 <h3 id="SpecificCriteria">Define search criteria</h3>
656 * Constructs search criteria from the search string
694 // Puts the search string into the selection criteria
773 <h3 id="NoSelection">Remove selection criteria</h3>
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd218 method, passing it your selection criteria and desired columns.
274 <p>To delete rows from a table, you need to provide selection criteria that
276 criteria that protects against SQL injection. The mechanism divides the
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-basics.jd250 mSelectionClause // Selection criteria
251 mSelectionArgs, // Selection criteria
284 <td><code>selection</code> specifies the criteria for selecting rows.</td>
434 set of columns to return, a set of selection criteria, and a sort order.
572 projection for the rows that match the query's selection criteria. A
586 If no rows match the selection criteria, the provider
796 values just as you do with an insertion, and selection criteria just as you do with a query.
810 // Defines selection criteria for the rows you want to update
838 Deleting rows is similar to retrieving row data: you specify selection criteria for the rows
845 // Defines selection criteria for the rows you want to delete
[all …]
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd30 …data, that means implementing REST APIs that allow you to specify query criteria that limit the re…
/frameworks/base/docs/html/guide/topics/location/
Dindex.jd59 location provider (specified either by criteria or name).</li>
Dstrategies.jd251 You should include logic for choosing location fixes based on several criteria. The criteria also
/frameworks/base/docs/html/training/basics/intents/
Dfilters.jd56 an intent filter fulfills the following criteria of the {@link android.content.Intent} object:</p>
89 <p>In your intent filter, you can declare which criteria your activity accepts
/frameworks/base/docs/html/training/gestures/
Dmovement.jd97 is useful for gestures in which velocity is part of the criteria for the
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlistview.jd82 // This is the select criteria
/frameworks/base/docs/html/develop/
Dindex.jd156 …ough a compact set of core app quality criteria and associated tests. All Android apps should meet…
/frameworks/base/docs/html/guide/topics/resources/
Dcolor-list-resource.jd28 match," but simply the first item that meets the minimum criteria of the state.</p>
/frameworks/base/docs/html/training/displaying-bitmaps/
Dmanage-memory.jd283 satisfies the size criteria to be used for
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd110 null, // No SELECT criteria are used.

12