Home
last modified time | relevance | path

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

1234

/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.java403 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
404 checkCriteria(criteria); in getProviders()
406 return mService.getProviders(criteria, enabledOnly); in getProviders()
434 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
435 checkCriteria(criteria); in getBestProvider()
437 return mService.getBestProvider(criteria, enabledOnly); in getBestProvider()
529 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
531 checkCriteria(criteria); in requestLocationUpdates()
535 criteria, minTime, minDistance, false); in requestLocationUpdates()
659 public void requestLocationUpdates(long minTime, float minDistance, Criteria criteria, in requestLocationUpdates() argument
[all …]
DILocationManager.aidl76 List<String> getProviders(in Criteria criteria, boolean enabledOnly); in getProviders() argument
77 String getBestProvider(in Criteria criteria, boolean enabledOnly); in getBestProvider() argument
78 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/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java94 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in writeToParcel() local
95 dest.writeInt(criteria.size()); in writeToParcel()
96 for (AudioMixMatchCriterion criterion : criteria) { in writeToParcel()
160 final ArrayList<AudioMixMatchCriterion> criteria = mix.getRule().getCriteria(); in toLogFriendlyString() local
161 for (AudioMixMatchCriterion criterion : criteria) { in toLogFriendlyString()
DAudioMixingRule.java45 private AudioMixingRule(int mixType, ArrayList<AudioMixMatchCriterion> criteria) { in AudioMixingRule() argument
46 mCriteria = criteria; in AudioMixingRule()
/frameworks/av/include/media/
DAudioPolicy.h82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, in AudioMix() argument
84 mCriteria(criteria), mMixType(mixType), mFormat(format), in AudioMix()
/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 …]
Dauto.jd69 understand the quality criteria for Auto apps. Only apps that are usable on Auto
71 if they meet a set of basic quality criteria. See
113 "{@docRoot}distribute/essentials/quality/auto.html">Auto App Quality</a> criteria</li>
159 "{@docRoot}distribute/essentials/quality/auto.html">Auto App Quality</a> criteria
179 "{@docRoot}distribute/essentials/quality/auto.html">Auto App Quality</a> criteria
208 technical and quality criteria described above. This detailed review process may take
223 the review criteria, the update is rejected and the existing app remains published in the Google
/frameworks/base/docs/html/distribute/essentials/quality/
Dauto.jd46 It's important that you test your auto app for the criteria listed on this page prior to
62 <strong>Important:</strong> The criteria listed in this page apply to your app's user interface
64 criteria to qualify as an Android Auto app on Google Play.
73 In addition to the Auto-specific criteria listed below, Auto apps should meet all relevant core app
74 quality criteria for the Android platform, as detailed in the
75 <a href="{@docRoot}distribute/essentials/quality/core.html">Core App Quality</a> criteria. Test
76 your app against those criteria to ensure that they meet Android standards for navigation and
77 design. Then test your app against all Auto-specific criteria, keeping in mind
91 These criteria ensure that your app follows critical design and interaction patterns
94 the system. Your own app-specific design elements must meet the following criteria when running
[all …]
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
702 These criteria ensure that your apps are ready to publish on Google Play.
886 increase the number or complexity of tests and quality criteria.
901 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
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1244 public List<String> getProviders(Criteria criteria, boolean enabledOnly) { in getProviders() argument
1261 if (criteria != null && !LocationProvider.propertiesMeetCriteria( in getProviders()
1262 name, provider.getProperties(), criteria)) { in getProviders()
1285 public String getBestProvider(Criteria criteria, boolean enabledOnly) { in getBestProvider() argument
1288 List<String> providers = getProviders(criteria, enabledOnly); in getBestProvider()
1291 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1297 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1301 if (D) Log.d(TAG, "getBestProvider(" + criteria + ", " + enabledOnly + ")=" + result); in getBestProvider()
1316 public boolean providerMeetsCriteria(String provider, Criteria criteria) { in providerMeetsCriteria() argument
1323 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/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
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontent-provider-basics.jd248 mSelectionClause // Selection criteria
249 mSelectionArgs, // Selection criteria
808 // Defines selection criteria for the rows you want to update
843 // Defines selection criteria for the rows you want to delete
852 // Deletes the words that match the selection criteria
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontent-provider-basics.jd248 mSelectionClause // Selection criteria
249 mSelectionArgs, // Selection criteria
808 // Defines selection criteria for the rows you want to update
843 // Defines selection criteria for the rows you want to delete
852 // Deletes the words that match the selection criteria
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontent-provider-basics.jd248 mSelectionClause // Selection criteria
249 mSelectionArgs, // Selection criteria
808 // Defines selection criteria for the rows you want to update
843 // Defines selection criteria for the rows you want to delete
852 // Deletes the words that match the selection criteria
/frameworks/base/docs/html/distribute/stories/apps/
Dremember-the-milk.jd62 update</a> of the Android app, in part to meet the tablet design criteria,
/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-intl/intl/zh-cn/guide/topics/providers/
Dcontent-provider-basics.jd248 mSelectionClause // Selection criteria
249 mSelectionArgs, // Selection criteria
808 // Defines selection criteria for the rows you want to update
843 // Defines selection criteria for the rows you want to delete
852 // Deletes the words that match the selection criteria
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontent-provider-basics.jd248 mSelectionClause // Selection criteria
249 mSelectionArgs, // Selection criteria
808 // Defines selection criteria for the rows you want to update
843 // Defines selection criteria for the rows you want to delete
852 // Deletes the words that match the selection criteria

1234