Home
last modified time | relevance | path

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

123

/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.java390 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
391 checkCriteria(criteria); in getProviders()
393 return mService.getProviders(criteria, enabledOnly); in getProviders()
422 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
423 checkCriteria(criteria); in getBestProvider()
425 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
515 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
517 checkCriteria(criteria); in requestLocationUpdates()
521 criteria, minTime, minDistance, false); in requestLocationUpdates()
643 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
[all …]
DILocationManager.aidl74 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument
75 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
76 boolean providerMeetsCriteria(String provider, in Criteria criteria); in providerMeetsCriteria() argument
DLocationRequest.java198 public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, long minTime, in createFromDeprecatedCriteria() argument
204 switch (criteria.getAccuracy()) { in createFromDeprecatedCriteria()
212 switch (criteria.getPowerRequirement()) { in createFromDeprecatedCriteria()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiSelector.jd83 <div class="jd-descrdiv">Set the search criteria to match widgets that are checkable.</div>
101 <div class="jd-descrdiv">Set the search criteria to match widgets that
120 <div class="jd-descrdiv">Adds a child UiSelector criteria to this selector.</div>
138 <div class="jd-descrdiv">Set the search criteria to match the class property
157 <div class="jd-descrdiv">Set the search criteria to match the class property
176 <div class="jd-descrdiv">Set the search criteria to match the class property
195 <div class="jd-descrdiv">Set the search criteria to match widgets that are clickable.</div>
213 <div class="jd-descrdiv">Set the search criteria to match the content-description
232 <div class="jd-descrdiv">Set the search criteria to match the content-description
251 <div class="jd-descrdiv">Set the search criteria to match the content-description
[all …]
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java87 final ArrayList<AttributeMatchCriterion> criteria = mix.getRule().getCriteria(); in writeToParcel() local
88 dest.writeInt(criteria.size()); in writeToParcel()
89 for (AttributeMatchCriterion criterion : criteria) { in writeToParcel()
149 final ArrayList<AttributeMatchCriterion> criteria = mix.getRule().getCriteria(); in toLogFriendlyString() local
150 for (AttributeMatchCriterion criterion : criteria) { in toLogFriendlyString()
DAudioMixingRule.java44 private AudioMixingRule(int mixType, ArrayList<AttributeMatchCriterion> criteria) { in AudioMixingRule() argument
45 mCriteria = criteria; in AudioMixingRule()
/frameworks/av/include/media/
DAudioPolicy.h65 AudioMix(Vector<AttributeMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() argument
67 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
/frameworks/base/docs/html/distribute/essentials/quality/
Dauto.jd46 <strong>Important:</strong> The criteria listed in this page apply to your app's user interface
48 criteria to qualify as an Android Auto app on Google Play.
58 In addition to the Auto-specific criteria listed below, Auto apps should meet all relevant core app
59 quality criteria for the Android platform, as detailed in the
60 <a href="{@docRoot}distribute/essentials/quality/core.html">Core App Quality</a> criteria. Test
61 your app against those criteria to ensure that they meet Android standards for navigation and
62 design. Then test your app against all Auto-specific criteria, keeping in mind
76 These criteria ensure that your app follows critical design and interaction patterns
79 the system. Your own app-specific design elements must meet the following criteria.
253 These criteria ensure that your app is configured correctly and provides expected
Dcore.jd44 compact set of core app quality criteria and associated tests. All Android
45 apps should meet these criteria.
49 Before publishing your apps, test them against these criteria to ensure that
59 are additional quality criteria you should consider, which are defined in the
75 These criteria ensure that your app provides standard Android visual design
254 These criteria ensure that your app provides expected functional behavior,
526 These criteria ensure that apps provide the performance, stability, and
685 These criteria ensure that your apps are ready to publish on Google Play.
855 increase the number or complexity of tests and quality criteria.
870 specific criteria with specific tests.
Dwear.jd47 specific requirements for usability. Only apps that meet the following quality criteria will
66 These criteria ensure that your app is configured correctly and provides the expected
246 These criteria ensure that your app follows critical design and interaction patterns to provide a
Dtv.jd46 specific requirements for usability. Only apps that meet the following quality criteria will
64 These criteria ensure that your app follows critical design and interaction patterns
264 These criteria ensure that your app is configured correctly and provides expected
/frameworks/base/docs/html/distribute/googleplay/
Dwear.jd71 criteria for Wear apps. Only apps that are usable on Wear will be designated as Wear apps on
72 Google Play — your apps can participate if they meet a set of basic quality criteria. See <a
148 Quality</a> criteria
153 "{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> criteria</li>
162 href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> criteria, upload it
172 href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> criteria.
178 href="{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> criteria and
185 Quality</a> criteria, Google Play makes it more discoverable to Android Wear users. Your app is
200 "{@docRoot}distribute/essentials/quality/wear.html">Wear App Quality</a> criteria
231 If your app meets the technical and quality criteria for Android Wear, as described above, your
[all …]
Dtv.jd72 understand the quality criteria for TV apps. The Google Play experience for
75 criteria. See <a href="{@docRoot}distribute/essentials/quality/tv.html">TV
157 "{@docRoot}distribute/essentials/quality/tv.html">TV App Quality</a> criteria</li>
187 criteria that are automatically checked on APK upload:
207 If your app meets the preliminary criteria, you’ll see an opt-in checkbox for
209 your APK to ensure it meets the preliminary criteria.
216 "{@docRoot}distribute/essentials/quality/tv.html">TV App Quality</a> criteria
223 App Quality</a> criteria, Google Play makes that app available to Android TV
242 "{@docRoot}distribute/essentials/quality/tv.html">TV App Quality</a> criteria
273 If your app meets the technical and quality criteria for Android TV, as described above,
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1170 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
1187 if (criteria != null && !LocationProvider.propertiesMeetCriteria( in getProviders()
1188 name, provider.getProperties(), criteria)) { in getProviders()
1211 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
1214 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider()
1217 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1223 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1227 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1242 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria() argument
1249 p.getName(), p.getProperties(), criteria); in providerMeetsCriteria()
[all …]
/frameworks/base/docs/html/distribute/analyze/
Dgoogle-services.jd28 different ways, by specifying the criteria you want to zoom-in on. Using
76 those criteria. You can then target AdMob monetization strategies to those
/frameworks/base/docs/html/training/activity-testing/
Dactivity-functional-testing.jd93 notified by the system whenever an {@link android.app.Activity} that matches your criteria is start…
103 {@code addMonitor()} methods. The match criteria can be specified as an
/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.jd359 <h3 id="SelectionCriteria">Specify the selection criteria</h3>
619 <h3 id="SpecificCriteria">Define search criteria</h3>
658 * Constructs search criteria from the search string
696 // Puts the search string into the selection criteria
775 <h3 id="NoSelection">Remove selection criteria</h3>
/frameworks/base/docs/html/training/basics/data-storage/
Ddatabases.jd216 method, passing it your selection criteria and desired columns.
272 <p>To delete rows from a table, you need to provide selection criteria that
274 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>

123