/frameworks/base/core/java/android/content/pm/ |
H A D | FeatureGroupInfo.java | 22 * 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/native/vulkan/tools/ |
H A D | vkinfo.cpp | 41 VkPhysicalDeviceFeatures features; member in struct:__anon1610::GpuInfo 133 vkGetPhysicalDeviceFeatures(gpu, &info.features); 203 .pEnabledFeatures = &info.features, 369 const VkPhysicalDeviceFeatures& features) { 371 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); 372 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); 373 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); 374 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); 375 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); 376 printf("%stessellationShader: %s\n", indent, features 368 PrintAllFeatures(const char* indent, const VkPhysicalDeviceFeatures& features) argument 429 PrintSupportedFeatures(const char* indent, const VkPhysicalDeviceFeatures& features) argument [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | FeatureAssembly.java | 54 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...] |
H A D | TimeStatsAggregator.java | 80 HashMap<String, String> features = 82 if (features.containsKey(featureName)) { 83 feature.put(featureName, features.get(featureName)); 135 HashMap<String, String> features = new HashMap<String, String>(); 143 features.put(PERIOD_OF_DAY, DAYTIME); 145 features.put(PERIOD_OF_DAY, NIGHTTIME); 147 features.put(TIME_OF_DAY, mFakeTimeOfDay); 149 features.put(PERIOD_OF_DAY, getPeriodOfDay(time.hour)); 150 features.put(TIME_OF_DAY, getTimeOfDay(time.hour)); 154 features [all...] |
H A D | Predictor.java | 84 * features such as time and location to create sampleFeatures. The sampleFeatures is then 118 Map<String, String> features = getSampleFeatures(); 119 List<Map.Entry<String, Double> > topApps = mPredictor.findTopClasses(features, topK); 143 String[] features = value.split(FEATURE_SEPARATOR); 144 result = mFeatureAssembly.registerFeaturePair(features);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | CompilerConfig.cpp | 37 llvm::StringMap<bool> features; local 38 if (!llvm::sys::getHostCPUFeatures(features)) 41 if (features.count("f16c") && features["f16c"]) 112 llvm::StringMap<bool> features; local 113 llvm::sys::getHostCPUFeatures(features); 135 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) 138 if (features.count("hwdiv") && features["hwdi [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | ExtendedBitmapDrawable.java | 93 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/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 129 * Bundle key used for the {@link String} array of required features in 158 String authTokenType, String[] features, Bundle options) 163 + ", features " + (features == null ? "[]" : Arrays.toString(features))); 169 accountType, authTokenType, features, options); 308 Account account, String[] features) throws RemoteException { 312 new AccountAuthenticatorResponse(response), account, features); 372 String accountType, String authTokenType, String[] features, Bundle options) 378 + ", features " 157 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 307 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument 371 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 675 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument [all...] |
H A D | IAccountAuthenticator.aidl | 64 * specified features 67 in String[] features);
|
H A D | IAccountManager.aidl | 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, 40 in String[] features, String opPackageName);
|
H A D | AccountManager.java | 90 * identifies the authenticator. Account <em>features</em> are used to 92 * type and features are authenticator-specific strings, and must be known by 601 * Finds out whether a particular account has all the specified features. 602 * Account features are authenticator-specific string tokens identifying 603 * boolean account properties. For example, features are used to tell 616 * @param features An array of the account features to check 622 * true if the account exists and has all of the specified features. 626 final String[] features, 629 if (features 625 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 680 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument 2206 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2407 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/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 153 # features are unversioned and assigned version number 0. 173 # Core API features (those defined with a <feature> tag) 197 # regSortFeatures - default sort procedure for features. 338 # and tag generated features as having been done. 583 # which may be needed by other features later on. 655 # emitFeatures - True to actually emit features for a version / extension, 835 # required - boolean (to tag features as required or not) 854 # features - Element for <require> or <remove> tag 855 # required - boolean (to tag features as required or not) 856 def markRequired(self, features, require [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 208 * Bit-mask describing features of the call (e.g. video). 212 public static final String FEATURES = "features"; 485 * @param features features of the call (e.g. Video). 496 int presentation, int callType, int features, PhoneAccountHandle accountHandle, 499 presentation, callType, features, accountHandle, start, duration, 518 * @param features features of the call (e.g. Video). 535 int features, PhoneAccountHandle accountHandle, long start, int duration, 538 features, accountHandl 495 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument 533 addCall(CallerInfo ci, Context context, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo) argument 576 addCall(CallerInfo ci, Context context, String number, String postDialDigits, String viaNumber, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo, boolean is_read) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 29 * 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
|
H A D | TextToSpeechService.java | 83 * features set. In order to fully take advantage of voices, an engine should implement 242 * Queries the service for a set of features supported for a given language. 249 * @return A list of features supported for the given language. 296 Set<String> features = onGetFeaturesForLanguage(locale.getISO3Language(), 301 Voice.LATENCY_NORMAL, false, features)); 1316 Set<String> features = onGetFeaturesForLanguage(lang, country, variant); 1318 if (features != null) { 1319 featuresArray = new String[features.size()]; 1320 features.toArray(featuresArray);
|
H A D | TextToSpeech.java | 230 * engine behaviour. The engine can be queried for the set of features it supports 358 * languages or/and their features. 1276 * Queries the engine for the set of features it supports for a given locale. 1287 * @param locale The locale to query features for. 1289 * @deprecated As of API level 21, please use voices. In order to query features of the voice, 1291 * {@link Voice#getFeatures()} to retrieve the set of features. 1298 String[] features = null; 1300 features = service.getFeaturesForLanguage( 1308 if (features != null) { 1310 Collections.addAll(featureSet, features); [all...] |
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
H A D | HistogramPredictor.java | 45 // 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/tools/aapt/ |
H A D | Command.cpp | 522 * Explicit features defined in the group 524 KeyedVector<String8, Feature> features; member in struct:FeatureGroup 557 const size_t numFeatures = grp.features.size(); 559 const Feature& feature = grp.features[i]; 563 const String8& featureName = grp.features.keyAt(i); 577 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { 615 grp->features.add(String8("android.hardware.camera"), Feature(true)); 618 grp->features.add(String8("android.hardware.location"), Feature(true)); 620 grp->features.add(String8("android.hardware.touchscreen"), Feature(true)); 622 grp->features [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 340 final int features = getFeatures(); 341 final int newFeatures = features | (1 << featureId); 347 "You cannot combine custom titles with other title features"); 349 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { 352 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { 357 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { 361 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { 1526 // XXX Should do more management (as with drawable features) to 1615 final int features = getLocalFeatures(); 1617 if ((features [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 684 static void addFeatures(const string &str, vector<hb_feature_t>* features) { argument 696 /* We do not allow setting features on ranges. As such, reject any 700 features->push_back(feature); 714 vector<hb_feature_t> features; local 715 // Disable default-on non-required ligature features if letter-spacing 724 features.push_back(no_liga); 725 features.push_back(no_clig); 727 addFeatures(ctx->paint.fontFeatureSettings, &features); 807 hb_shape(hbFont, buffer, features.empty() ? NULL : &features[ [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Window.java | 91 /** Flag for custom title. You cannot combine this feature with other title features. */ 242 * The default features enabled. 1211 * Enable extended screen features. This must be called before 1213 * is before setContentView(). If not called, no extended features 1215 * You canot use other title features with {@link #FEATURE_CUSTOM_TITLE}. 1217 * @param featureId The desired features, defined as constants by Window. 1218 * @return The features that are now set. 1228 * @hide Used internally to help resolve conflicting features. 1295 * features that have been requested with {@link #requestFeature(int)}, 1572 * Return the feature bits that are enabled. This is the set of features [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 142 final String type, final String[] features, 141 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
|
/frameworks/compile/slang/ |
H A D | slang.cpp | 152 std::vector<std::string> features; local 159 features.push_back("+long64"); 160 mTargetOpts->FeaturesAsWritten = features;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 1271 Account account, String[] features, String opPackageName) { 1276 + ", features " + stringArrayToString(features) 1282 if (features == null) throw new IllegalArgumentException("features is null"); 1290 new TestFeaturesSession(accounts, response, account, features).bind(); 1301 Account account, String[] features) { 1305 mFeatures = features; 3290 IAccountManagerResponse response, String type, String[] features, int callingUid) { 3295 mFeatures = features; 1270 hasFeatures(IAccountManagerResponse response, Account account, String[] features, String opPackageName) argument 1300 TestFeaturesSession(UserAccounts accounts, IAccountManagerResponse response, Account account, String[] features) argument 3289 GetAccountsByTypeAndFeatureSession(UserAccounts accounts, IAccountManagerResponse response, String type, String[] features, int callingUid) argument 3674 getAccountsByFeatures( IAccountManagerResponse response, String type, String[] features, String opPackageName) argument [all...] |
/frameworks/native/vulkan/nulldrv/ |
H A D | null_driver.cpp | 547 VkPhysicalDeviceFeatures* features) { 548 *features = VkPhysicalDeviceFeatures{ 546 GetPhysicalDeviceFeatures(VkPhysicalDevice , VkPhysicalDeviceFeatures* features) argument
|