Searched defs:features (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/content/pm/
H A DFeatureGroupInfo.java22 * A set of features that can be requested by an application. This corresponds
29 * The list of features that are required by this group.
33 public FeatureInfo[] features; field in class:FeatureGroupInfo
39 features = other.features;
49 dest.writeTypedArray(features, flags);
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
/frameworks/compile/libbcc/lib/Support/
H A DCompilerConfig.cpp37 llvm::StringMap<bool> features; local
38 if (!llvm::sys::getHostCPUFeatures(features))
41 if (features.count("f16c") && features["f16c"])
123 llvm::StringMap<bool> features; local
124 llvm::sys::getHostCPUFeatures(features);
147 if (features.count("hwdiv-arm") && features["hwdiv-arm"])
150 if (features.count("hwdiv") && features["hwdi
[all...]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DFeatureAssembly.java54 public boolean registerFeaturePair(String[] features) { argument
55 if (features.length != 2 ||
56 !mPossibleFeatures.contains(features[0]) ||
57 !mPossibleFeatures.contains(features[1])) {
60 mUseFeatures.add(features[0]);
61 mUseFeatures.add(features[1]);
62 mUsePairedFeatures.add(Pair.create(features[0], features[1]));
77 Map<String, String> features = mAggregatorManager.getDataMap(f);
80 if (features
[all...]
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java128 String authTokenType, String[] features, Bundle options)
133 + ", features " + (features == null ? "[]" : Arrays.toString(features)));
139 accountType, authTokenType, features, options);
278 Account account, String[] features) throws RemoteException {
282 new AccountAuthenticatorResponse(response), account, features);
404 * @param requiredFeatures a String array of authenticator-specific features that the added
515 * Checks if the account supports all the specified authenticator specific features.
518 * @param features a
127 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
277 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
531 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
[all...]
H A DAccountManager.java88 * identifies the authenticator. Account <em>features</em> are used to
90 * type and features are authenticator-specific strings, and must be known by
584 * Finds out whether a particular account has all the specified features.
585 * Account features are authenticator-specific string tokens identifying
586 * boolean account properties. For example, features are used to tell
599 * @param features An array of the account features to check
605 * true if the account exists and has all of the specified features.
609 final String[] features,
612 if (features
608 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
661 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
2155 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
2351 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
[all...]
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
H A DHistogramPredictor.java45 // 2. Different features could have different weights on prediction scores.
202 public List<Map.Entry<String, Double> > findTopClasses(Map<String, String> features, int topK) { argument
212 if (features.containsKey(featureName)) {
213 String featureValue = features.get(featureName);
272 * Add a new observation of given sample id and features to the histograms
274 public void addSample(String sampleId, Map<String, String> features) { argument
275 for (Map.Entry<String, String> entry : features.entrySet()) {
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java29 * Characteristics and features of a Text-To-Speech Voice. Each TTS Engine can expose
30 * multiple voices for each locale, with different set of features.
75 Set<String> features) {
81 this.mFeatures = features;
168 * Returns the set of features it supports for a given voice.
193 .append(", features: ").append(mFeatures.toString())
70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java138 final String type, final String[] features,
137 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
/frameworks/base/core/java/android/provider/
H A DCallLog.java169 * Bit-mask describing features of the call (e.g. video).
173 public static final String FEATURES = "features";
410 * @param features features of the call (e.g. Video).
421 int presentation, int callType, int features, PhoneAccountHandle accountHandle,
423 return addCall(ci, context, number, presentation, callType, features, accountHandle,
439 * @param features features of the call (e.g. Video).
453 int presentation, int callType, int features, PhoneAccountHandle accountHandle,
455 return addCall(ci, context, number, presentation, callType, features, accountHandl
420 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
452 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers) argument
485 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers, boolean is_read) argument
[all...]
/frameworks/compile/slang/
H A Dslang.cpp150 std::vector<std::string> features; local
157 features.push_back("+long64");
158 mTargetOpts->FeaturesAsWritten = features;
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DExtendedBitmapDrawable.java93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) {
584 * This class contains the features a client can specify, and arguments to those features.
683 * Non-changeable bit field describing the features you want the
689 * opts.features = FEATURE_ORDERED_DISPLAY | FEATURE_PARALLAX | FEATURE_STATE_CHANGES;
692 public final int features; field in class:ExtendedBitmapDrawable.ExtendedOptions
771 public ExtendedOptions(final int features) { argument
772 this(features, null, null);
778 public ExtendedOptions(final int features, final Drawable placeholder, argument
780 this.features
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp660 static void addFeatures(const string &str, vector<hb_feature_t>* features) { argument
672 /* We do not allow setting features on ranges. As such, reject any
676 features->push_back(feature);
690 vector<hb_feature_t> features; local
691 // Disable default-on non-required ligature features if letter-spacing
700 features.push_back(no_liga);
701 features.push_back(no_clig);
703 addFeatures(ctx->paint.fontFeatureSettings, &features);
776 hb_shape(hbFont, buffer, features.empty() ? NULL : &features[
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp489 * Explicit features defined in the group
491 KeyedVector<String8, bool> features; member in struct:FeatureGroup
518 const size_t numFeatures = grp.features.size();
520 const bool required = grp.features[i];
522 const String8& featureName = grp.features.keyAt(i);
531 if (grp.features.indexOfKey(impliedFeature.name) >= 0) {
558 grp->features.add(String8("android.hardware.camera"), true);
561 grp->features.add(String8("android.hardware.location"), true);
563 grp->features.add(String8("android.hardware.touchscreen"), true);
565 grp->features
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java995 Account account, String[] features, String opPackageName) {
1000 + ", features " + stringArrayToString(features)
1006 if (features == null) throw new IllegalArgumentException("features is null");
1014 new TestFeaturesSession(accounts, response, account, features).bind();
1025 Account account, String[] features) {
1029 mFeatures = features;
2419 IAccountManagerResponse response, String type, String[] features, int callingUid) {
2424 mFeatures = features;
994 hasFeatures(IAccountManagerResponse response, Account account, String[] features, String opPackageName) argument
1024 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument
2418 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features, int callingUid) argument
2784 getAccountsByFeatures( IAccountManagerResponse response, String type, String[] features, String opPackageName) argument
[all...]

Completed in 349 milliseconds