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

12

/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/
H A DCompilerConfig.cpp38 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/ml/nn/runtime/test/specs/V1_0/
H A 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))
H A 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))
H A 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))
H A Dsvdf.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
60 state_in: [0 for _ in range(batches * memory_size * features)],
127 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
H A Dsvdf2.mod.py18 features = 8 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
75 state_in: [0 for _ in range(batches * memory_size * features)],
142 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
/frameworks/ml/nn/runtime/test/specs/V1_1/
H A Dembedding_lookup_relaxed.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))
H A Dhashtable_lookup_float_relaxed.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))
H A Dsvdf2_relaxed.mod.py18 features = 8 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
76 state_in: [0 for _ in range(batches * memory_size * features)],
143 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
H A Dsvdf_relaxed.mod.py18 features = 4 variable
20 units = int(features / rank)
27 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (features, input_size))
28 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (features, memory_size))
30 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
33 state_out = IgnoredOutput("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*features))
61 state_in: [0 for _ in range(batches * memory_size * features)],
128 output0 = {state_out: [0 for _ in range(batches * memory_size * features)],
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsFeatureConfiguration.java29 * Container class for IMS Feature configuration. This class contains the features that the
120 * Creates with all registration features empty.
128 * Configuration of the ImsService, which describes which features the ImsService supports
130 * @param features a set of {@link FeatureSlotPair}s that describe which features this
134 public ImsFeatureConfiguration(Set<FeatureSlotPair> features) { argument
137 if (features != null) {
138 mFeatures.addAll(features);
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DTestAccountType1Authenticator.java240 String[] features) throws NetworkErrorException {
237 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
H A DTestAccountType2Authenticator.java102 String[] features) throws NetworkErrorException {
99 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
/frameworks/base/test-mock/src/android/test/mock/
H A DMockAccountManager.java72 final String type, final String[] features,
71 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceFeatureQueryManager.java113 * @param features A Set of slotid->feature pairs that the ImsService supports.
115 void onComplete(ComponentName name, Set<ImsFeatureConfiguration.FeatureSlotPair> features); argument
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java129 * 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);
311 Account account, String[] features) throws RemoteException {
315 new AccountAuthenticatorResponse(response), account, features);
375 String accountType, String authTokenType, String[] features, Bundle options)
381 + ", features "
157 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
310 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
374 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
683 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
[all...]
/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/tools/aapt2/configuration/
H A DConfigurationParser.h94 // TODO: Make device features more than just an arbitrary string?
115 std::vector<DeviceFeature> features; member in struct:aapt::configuration::OutputArtifact
/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp40 VkPhysicalDeviceFeatures features; member in struct:__anon1939::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/native/vulkan/vkjson/
H A Dvkjson.cc486 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { argument
488 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) &&
489 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) &&
490 visitor->Visit("imageCubeArray", &features->imageCubeArray) &&
491 visitor->Visit("independentBlend", &features->independentBlend) &&
492 visitor->Visit("geometryShader", &features->geometryShader) &&
493 visitor->Visit("tessellationShader", &features->tessellationShader) &&
494 visitor->Visit("sampleRateShading", &features->sampleRateShading) &&
495 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) &&
496 visitor->Visit("logicOp", &features
546 Iterate(Visitor* visitor, VkJsonExtVariablePointerFeatures* features) argument
622 Iterate(Visitor* visitor, VkPhysicalDevice16BitStorageFeatures* features) argument
635 Iterate(Visitor* visitor, VkPhysicalDeviceMultiviewFeatures* features) argument
645 Iterate(Visitor* visitor, VkPhysicalDeviceVariablePointerFeatures* features) argument
653 Iterate(Visitor* visitor, VkPhysicalDeviceProtectedMemoryFeatures* features) argument
659 Iterate(Visitor* visitor, VkPhysicalDeviceSamplerYcbcrConversionFeatures* features) argument
666 Iterate(Visitor* visitor, VkPhysicalDeviceShaderDrawParameterFeatures* features) argument
[all...]
H A Dvkjson.h60 memset(&features, 0, sizeof(VkPhysicalDeviceFeatures));
83 VkPhysicalDeviceFeatures features; member in struct:VkJsonDevice
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DImsResolverTest.java122 HashSet<String> features = new HashSet<>();
123 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE);
124 features.add(ImsResolver.METADATA_MMTEL_FEATURE);
125 features.add(ImsResolver.METADATA_RCS_FEATURE);
126 setupPackageQuery(TEST_DEVICE_DEFAULT_NAME, features, true);
136 assertTrue(isImsServiceInfoEqual(TEST_DEVICE_DEFAULT_NAME, features, testCachedService));
140 * Add a carrier ImsService to the package manager and make sure the features declared here are
147 HashSet<String> features = new HashSet<>();
148 features.add(ImsResolver.METADATA_EMERGENCY_MMTEL_FEATURE);
149 features
833 setupPackageQuery(ComponentName name, Set<String> features, boolean isPermissionGranted) argument
871 setupDynamicQueryFeatures(ComponentName name, HashSet<ImsFeatureConfiguration.FeatureSlotPair> features, int times) argument
965 convertToHashSet( Set<String> features, int slotId) argument
987 isImsServiceInfoEqual(ComponentName name, Set<String> features, ImsResolver.ImsServiceInfo sInfo) argument
1020 getResolveInfo(ComponentName name, Set<String> features, boolean isPermissionGranted) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DCallLog.java208 * Bit-mask describing features of the call (e.g. video).
212 public static final String FEATURES = "features";
521 * @param features features of the call (e.g. Video).
532 int presentation, int callType, int features, PhoneAccountHandle accountHandle,
535 presentation, callType, features, accountHandle, start, duration,
554 * @param features features of the call (e.g. Video).
571 int features, PhoneAccountHandle accountHandle, long start, int duration,
574 features, accountHandl
531 addCall(CallerInfo ci, Context context, String number, int presentation, int callType, int features, PhoneAccountHandle accountHandle, long start, int duration, Long dataUsage) argument
569 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
612 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/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...]

Completed in 691 milliseconds

12