/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 | 40 VkPhysicalDeviceFeatures features; member in struct:__anon1948::GpuInfo 132 vkGetPhysicalDeviceFeatures(gpu, &info.features); 202 .pEnabledFeatures = &info.features, 368 const VkPhysicalDeviceFeatures& features) { 370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); 371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); 372 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); 373 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); 374 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); 375 printf("%stessellationShader: %s\n", indent, features 367 PrintAllFeatures(const char* indent, const VkPhysicalDeviceFeatures& features) argument 428 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/ |
H A D | CompilerConfig.cpp | 38 llvm::StringMap<bool> features; local 39 if (llvm::sys::getHostCPUFeatures(features)) { 40 for (const auto& f : features) 109 llvm::StringMap<bool> features; local 110 llvm::sys::getHostCPUFeatures(features); 132 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) 135 if (features.count("hwdiv") && features["hwdiv"]) 141 // 'features' woul [all...] |
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/ |
H A D | LRResolverRankerService.java | 74 ArrayMap<String, Float> features = getFeatures(target); 75 target.setSelectProbability(predict(features)); 129 ArrayMap<String, Float> features = new ArrayMap<>(4); 130 features.put(RECENCY_SCORE, target.getRecencyScore()); 131 features.put(TIME_SPENT_SCORE, target.getTimeSpentScore()); 132 features.put(LAUNCH_SCORE, target.getLaunchScore()); 133 features.put(CHOOSER_SCORE, target.getChooserScore()); 134 return features;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
H A D | ImsResolverTest.java | 111 Set<String> features = new HashSet<>(); 112 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); 113 features.add(ImsResolver.METADATA_MMTEL_FEATURE); 114 features.add(ImsResolver.METADATA_RCS_FEATURE); 115 info.add(getResolveInfo(TEST_DEVICE_DEFAULT_NAME, features, true)); 126 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService)); 140 Set<String> features = new HashSet<>(); 141 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); 142 features.add(ImsResolver.METADATA_MMTEL_FEATURE); 143 features 849 convertToHashSet(Set<String> features, int subId) argument 868 isImsServiceInfoEqual(ComponentName name, Set<String> features, ImsResolver.ImsServiceInfo sInfo) argument 895 getResolveInfo(ComponentName name, Set<String> features, boolean isPermissionGranted) argument [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/proto/android/service/ |
H A D | package.proto | 53 repeated FeatureProto features = 4;
|
/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 | IAccountManager.aidl | 41 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, 44 in String[] features, String opPackageName); 46 in String[] features, String opPackageName);
|
H A D | IAccountAuthenticator.aidl | 64 * specified features 67 in String[] features);
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
H A D | ImsServiceTest.java | 99 SparseArray<ImsFeature> features = mTestImsService.getImsFeatureMap(TEST_SLOT_0); 101 mTestImsService.getImsFeatureFromType(features, ImsFeature.MMTEL)); 118 SparseArray<ImsFeature> features = mTestImsService.getImsFeatureMap(TEST_SLOT_0); 119 assertNull(mTestImsService.getImsFeatureFromType(features, ImsFeature.MMTEL));
|
/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"; 512 * @param features features of the call (e.g. Video). 523 int presentation, int callType, int features, PhoneAccountHandle accountHandle, 526 presentation, callType, features, accountHandle, start, duration, 545 * @param features features of the call (e.g. Video). 562 int features, PhoneAccountHandle accountHandle, long start, int duration, 565 features, accountHandl 522 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument 560 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 603 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
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
H A D | ImsResolver.java | 86 * Stores information about an ImsService, including the package name, class name, and features 373 // supported IMS features if they have changed. 381 // features. Will only be one (if it exists), since it is a set. 385 // update features in the cache 386 Log.i(TAG, "Updating features in cached ImsService: " + info.name); 387 Log.d(TAG, "Updating features - Old features: " + match.get().supportedFeatures 388 + " new features: " + info.supportedFeatures); 404 // Update existing device service features 471 // Creates new features i [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/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | TestAccountType2Authenticator.java | 102 String[] features) throws NetworkErrorException { 99 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
|
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 536 * Explicit features defined in the group 538 KeyedVector<String8, Feature> features; member in struct:FeatureGroup 549 ssize_t idx = grp.features.indexOfKey(name8); 581 const size_t numFeatures = grp.features.size(); 583 const Feature& feature = grp.features[i]; 587 const String8& featureName = grp.features.keyAt(i); 601 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { 639 grp->features.add(String8("android.hardware.camera"), Feature(true)); 642 grp->features.add(String8("android.hardware.location"), Feature(true)); 644 grp->features [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 344 final int features = getFeatures(); 345 final int newFeatures = features | (1 << featureId); 351 "You cannot combine custom titles with other title features"); 353 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { 356 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { 361 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { 365 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { 1544 // XXX Should do more management (as with drawable features) to 1633 final int features = getLocalFeatures(); 1635 if ((features [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 687 static void addFeatures(const string &str, vector<hb_feature_t>* features) { argument 699 /* We do not allow setting features on ranges. As such, reject any 703 features->push_back(feature); 769 // 2. Special features like start-of-word font features (not implemented in HarfBuzz 852 vector<hb_feature_t> features; local 853 // Disable default-on non-required ligature features if letter-spacing 862 features.push_back(no_liga); 863 features.push_back(no_clig); 865 addFeatures(ctx->paint.fontFeatureSettings, &features); [all...] |
/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | ImsService.java | 60 * <!-- Apps must declare which features they support as metadata. The different categories are 76 * The features that are currently supported in an ImsService are: 95 // A map of slot Id -> Set of features corresponding to that slot. 101 // Implements all supported features as a flat interface. 399 SparseArray<ImsFeature> features = getImsFeatureMap(slotId); 401 if (features != null) { 402 feature = resolveImsFeature(features, featureType, MMTelFeature.class);
|
/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
|