Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/native/vulkan/tools/
Dvkinfo.cpp40 VkPhysicalDeviceFeatures features; member
132 vkGetPhysicalDeviceFeatures(gpu, &info.features); in GatherGpuInfo()
202 .pEnabledFeatures = &info.features, in GatherGpuInfo()
368 const VkPhysicalDeviceFeatures& features) { in PrintAllFeatures() argument
370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); in PrintAllFeatures()
371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); in PrintAllFeatures()
372 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); in PrintAllFeatures()
373 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); in PrintAllFeatures()
374 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); in PrintAllFeatures()
375 printf("%stessellationShader: %s\n", indent, features.tessellationShader ? "YES" : "NO"); in PrintAllFeatures()
[all …]
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp38 llvm::StringMap<bool> features; in AddX86NativeCPUFeatures() local
39 if (llvm::sys::getHostCPUFeatures(features)) { in AddX86NativeCPUFeatures()
40 for (const auto& f : features) in AddX86NativeCPUFeatures()
109 llvm::StringMap<bool> features; in initializeArch() local
110 llvm::sys::getHostCPUFeatures(features); in initializeArch()
132 if (features.count("hwdiv-arm") && features["hwdiv-arm"]) in initializeArch()
135 if (features.count("hwdiv") && features["hwdiv"]) in initializeArch()
142 if (features.count("fp16") && features["fp16"]) in initializeArch()
150 if (features.count("neon") && features["neon"]) in initializeArch()
/frameworks/ml/nn/runtime/test/specs/
Dembedding_lookup.mod.py20 features = 4 variable
22 actual_values = [x for x in range(rows * columns * features)]
25 for k in range(features):
26 actual_values[(i * columns + j) * features + k] = i + j / 10. + k / 100.
30 value = Input("value", "TENSOR_FLOAT32", "{%d, %d, %d}" % (rows, columns, features))
31 output = Output("output", "TENSOR_FLOAT32", "{%d, %d, %d}" % (lookups, columns, features))
Dhashtable_lookup_quant8.mod.py20 features = 2 variable
22 table = [x for x in range(rows * features)]
24 for j in range(features):
25 table[i * features + j] = i * 10 + j
31 value = Input("value", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (rows, features))
32 output = Output("output", "TENSOR_QUANT8_ASYMM", "{%d, %d}, 0.5f, 0" % (lookups, features))
Dhashtable_lookup_float.mod.py20 features = 2 variable
22 table = [x for x in range(rows * features)]
24 for j in range(features):
25 table[i * features + j] = i + j / 10.
31 value = Input("value", "TENSOR_FLOAT32", "{%d, %d}" % (rows, features))
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (lookups, features))
/frameworks/base/core/java/android/content/pm/
DFeatureGroupInfo.java33 public FeatureInfo[] features; field in FeatureGroupInfo
39 features = other.features; in FeatureGroupInfo()
49 dest.writeTypedArray(features, flags); in writeToParcel()
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java111 Set<String> features = new HashSet<>(); in testAddPackageToCache() local
112 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testAddPackageToCache()
113 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testAddPackageToCache()
114 features.add(ImsResolver.METADATA_RCS_FEATURE); in testAddPackageToCache()
115 info.add(getResolveInfo(TEST_DEVICE_DEFAULT_NAME, features, true)); in testAddPackageToCache()
126 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService)); in testAddPackageToCache()
140 Set<String> features = new HashSet<>(); in testCarrierPackageBind() local
141 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE); in testCarrierPackageBind()
142 features.add(ImsResolver.METADATA_MMTEL_FEATURE); in testCarrierPackageBind()
143 features.add(ImsResolver.METADATA_RCS_FEATURE); in testCarrierPackageBind()
[all …]
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/
DLRResolverRankerService.java74 ArrayMap<String, Float> features = getFeatures(target); in onPredictSharingProbabilities() local
75 target.setSelectProbability(predict(features)); in onPredictSharingProbabilities()
129 ArrayMap<String, Float> features = new ArrayMap<>(4); in getFeatures() local
130 features.put(RECENCY_SCORE, target.getRecencyScore()); in getFeatures()
131 features.put(TIME_SPENT_SCORE, target.getTimeSpentScore()); in getFeatures()
132 features.put(LAUNCH_SCORE, target.getLaunchScore()); in getFeatures()
133 features.put(CHOOSER_SCORE, target.getChooserScore()); in getFeatures()
134 return features; in getFeatures()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DExtendedBitmapDrawable.java93 if ((mOpts.features & ExtendedOptions.FEATURE_STATE_CHANGES) != 0) { in onOptsChanged()
692 public final int features; field in ExtendedBitmapDrawable.ExtendedOptions
771 public ExtendedOptions(final int features) { in ExtendedOptions() argument
772 this(features, null, null); in ExtendedOptions()
778 public ExtendedOptions(final int features, final Drawable placeholder, in ExtendedOptions() argument
780 this.features = features; in ExtendedOptions()
802 if ((features & FEATURE_ORDERED_DISPLAY) != 0 && decodeAggregator == null) { in validate()
807 if ((features & FEATURE_PARALLAX) != 0 && parallaxSpeedMultiplier <= 1) { in validate()
812 if ((features & FEATURE_STATE_CHANGES) != 0) { in validate()
/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java158 String authTokenType, String[] features, Bundle options) in addAccount() argument
163 + ", features " + (features == null ? "[]" : Arrays.toString(features))); in addAccount()
169 accountType, authTokenType, features, options); in addAccount()
308 Account account, String[] features) throws RemoteException { in hasFeatures() argument
312 new AccountAuthenticatorResponse(response), account, features); in hasFeatures()
372 String accountType, String authTokenType, String[] features, Bundle options) in startAddAccountSession() argument
378 + ", features " + (features == null ? "[]" : Arrays.toString(features))); in startAddAccountSession()
384 features, options); in startAddAccountSession()
681 Account account, String[] features) throws NetworkErrorException; in hasFeatures() argument
DIAccountManager.aidl41 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features, in hasFeatures() argument
44 in String[] features, String opPackageName); in getAccountByTypeAndFeatures() argument
46 in String[] features, String opPackageName); in getAccountsByFeatures() argument
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py856 def markRequired(self, features, required): argument
862 for typeElem in features.findall('type'):
864 for enumElem in features.findall('enum'):
872 for cmdElem in features.findall('command'):
967 for features in interface.findall('require'):
968 for t in features.findall('type'):
971 for e in features.findall('enum'):
974 for c in features.findall('command'):
1001 features = []
1013 features.append(fi)
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsServiceTest.java101 SparseArray<ImsFeature> features = mTestImsService.getImsFeatureMap(TEST_SLOT_0); in testCreateMMTelFeature() local
103 mTestImsService.getImsFeatureFromType(features, ImsFeature.MMTEL)); in testCreateMMTelFeature()
120 SparseArray<ImsFeature> features = mTestImsService.getImsFeatureMap(TEST_SLOT_0); in testRemoveMMTelFeature() local
121 assertNull(mTestImsService.getImsFeatureFromType(features, ImsFeature.MMTEL)); in testRemoveMMTelFeature()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java482 HashSet<Pair<Integer, Integer>> features = calculateFeaturesToCreate(newInfo); in updateImsServiceFeatures() local
484 if (features.size() > 0) { in updateImsServiceFeatures()
485 Log.d(TAG, "Updating Features - New Features: " + features); in updateImsServiceFeatures()
486 o.get().changeImsServiceFeatures(features); in updateImsServiceFeatures()
513 HashSet<Pair<Integer, Integer>> features = calculateFeaturesToCreate(info); in bindNewImsService() local
515 if (features.size() > 0) { in bindNewImsService()
517 + features); in bindNewImsService()
518 controller.bind(features); in bindNewImsService()
/frameworks/base/core/java/android/provider/
DCallLog.java523 int presentation, int callType, int features, PhoneAccountHandle accountHandle, in addCall() argument
526 presentation, callType, features, accountHandle, start, duration, in addCall()
562 int features, PhoneAccountHandle accountHandle, long start, int duration, in addCall() argument
565 features, accountHandle, start, duration, dataUsage, addForAllUsers, in addCall()
605 int features, PhoneAccountHandle accountHandle, long start, int duration, in addCall() argument
666 values.put(FEATURES, features); in addCall()
/frameworks/base/tools/aapt/
DCommand.cpp538 KeyedVector<String8, Feature> features; member
549 ssize_t idx = grp.features.indexOfKey(name8); in hasFeature()
581 const size_t numFeatures = grp.features.size(); in printFeatureGroupImpl()
583 const Feature& feature = grp.features[i]; in printFeatureGroupImpl()
587 const String8& featureName = grp.features.keyAt(i); in printFeatureGroupImpl()
601 if (grp.features.indexOfKey(impliedFeature.name) >= 0) { in printFeatureGroupImpl()
639 grp->features.add(String8("android.hardware.camera"), Feature(true)); in addParentFeatures()
642 grp->features.add(String8("android.hardware.location"), Feature(true)); in addParentFeatures()
644 grp->features.add(String8("android.hardware.faketouch"), Feature(true)); in addParentFeatures()
647 grp->features.add(String8("android.hardware.faketouch.multitouch"), Feature(true)); in addParentFeatures()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java345 final int features = getFeatures(); in requestFeature() local
346 final int newFeatures = features | (1 << featureId); in requestFeature()
354 if ((features & (1 << FEATURE_NO_TITLE)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
357 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_NO_TITLE) { in requestFeature()
362 if ((features & (1 << FEATURE_ACTION_BAR)) != 0 && featureId == FEATURE_SWIPE_TO_DISMISS) { in requestFeature()
366 if ((features & (1 << FEATURE_SWIPE_TO_DISMISS)) != 0 && featureId == FEATURE_ACTION_BAR) { in requestFeature()
1634 final int features = getLocalFeatures(); in updateProgressBars() local
1636 if ((features & (1 << FEATURE_PROGRESS)) != 0) { in updateProgressBars()
1646 if ((features & (1 << FEATURE_INDETERMINATE_PROGRESS)) != 0) { in updateProgressBars()
1654 if ((features & (1 << FEATURE_PROGRESS)) != 0) { in updateProgressBars()
[all …]
/frameworks/native/libs/hwc2on1adapter/
DAndroid.bp41 // hwcomposer2.h features switch covering all cases.
44 // hwcomposer.h features zero size array.
/frameworks/rs/rsov/compiler/tests/image/
Dcontrast.ll74 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
75 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
76 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
Dblend.ll37 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
38 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
/frameworks/base/core/java/android/speech/tts/
DVoice.java75 Set<String> features) { in Voice() argument
81 this.mFeatures = features; in Voice()
/frameworks/rs/rsov/compiler/tests/rs_allocation/
Dwrite.ll41 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
42 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
Dread.ll48 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
49 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
/frameworks/rs/rsov/compiler/tests/multi_function/
Dblend_mf.ll47 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
48 …-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "target-features"="+long64" "unsaf…
/frameworks/minikin/libs/minikin/
DLayout.cpp678 static void addFeatures(const string &str, vector<hb_feature_t>* features) { in addFeatures() argument
694 features->push_back(feature); in addFeatures()
843 vector<hb_feature_t> features; in doLayoutRun() local
853 features.push_back(no_liga); in doLayoutRun()
854 features.push_back(no_clig); in doLayoutRun()
856 addFeatures(ctx->paint.fontFeatureSettings, &features); in doLayoutRun()
940 hb_shape(hbFont, buffer, features.empty() ? NULL : &features[0], features.size()); in doLayoutRun()

123