/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListListIteratorTester.java | 21 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 22 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; 23 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET; 32 import com.google.common.collect.testing.features.CollectionFeature; 33 import com.google.common.collect.testing.features.ListFeature; 69 private void runListIteratorTest(Set<IteratorFeature> features) { 71 listListIteratorTesterNumIterations(), singleton(samples.e4), features, local
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
FeatureEnumTest.java | 17 package com.google.common.collect.testing.features;
|
FeatureUtilTest.java | 17 package com.google.common.collect.testing.features; 152 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet( local 154 assertSame(features, FeatureUtil.addImpliedFeatures(features)); 158 Set<Feature<?>> features; local 160 features = Sets.<Feature<?>>newHashSet( 162 assertThat(FeatureUtil.addImpliedFeatures(features)).has().item( 165 features = Sets.<Feature<?>>newHashSet( 167 assertThat(FeatureUtil.addImpliedFeatures(features)).has().exactly( 171 features = Sets.<Feature<?>>newHashSet 182 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet( local 188 Set<Feature<?>> features; local [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
FeatureList.java | 19 private Feature[] features; field in class:FeatureList 24 features = new Feature[10]; 30 if (featureCount >= features.length) { 31 Feature[] newFeatures = new Feature[features.length + 5]; 33 System.arraycopy(features, 0, newFeatures, 0, features.length); 34 features = newFeatures; 37 features[featureCount++] = feature; 42 TaggedRecord.sort(features, featureCount); 45 features[i].setFeatureIndex(i) [all...] |
/external/libxcam/plugins/smart/dvs/libdvs/ |
libdvs.h | 58 int features; member in struct:DvsConfig 68 features = 1000;
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_screen.h | 50 /** Convenience macro to probe features from state.xml.h: 55 ((screen->features[viv_ ## word] & (word ## _ ## feature)) != 0) 72 uint32_t features[5]; member in struct:etna_screen
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
cpu_compiler.h | 33 // target triple, the target cpu and the target features. It also includes the 51 CpuAotCompilationOptions(string triple, string cpu_name, string features, 62 // The target features used for compilation ("+avx2", "+neon", etc). 63 const string& features() const { return features_; } function in class:xla::cpu::CpuAotCompilationOptions
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
hashtable_lookup_test.cc | 71 int features = tensor->dims->data[1]; local 73 for (int j = 0; j < features; j++) { 74 tensor->data.f[i * features + j] = function(i, j);
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/ |
tree_utils_test.cc | 86 Tensor features = test::AsTensor<int32>({10, 2, -1}, {1, 3}); local 88 EXPECT_FALSE(IsAllInitialized(features)); 90 features = test::AsTensor<int32>({10, 2, 0}, {1, 3}); 92 EXPECT_TRUE(IsAllInitialized(features));
|
/external/v8/src/base/ |
cpu.cc | 513 // Try to extract the list of CPU features from ELF hwcaps. 523 // Try to fallback to "Features" CPUInfo field. 524 char* features = cpu_info.ExtractField("Features"); local 525 has_idiva_ = HasListItem(features, "idiva"); 526 has_neon_ = HasListItem(features, "neon"); 527 has_thumb2_ = HasListItem(features, "thumb2"); 528 has_vfp_ = HasListItem(features, "vfp"); 529 if (HasListItem(features, "vfpv3d16")) { 531 } else if (HasListItem(features, "vfpv3")) [all...] |
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
svdf.mod.py | 18 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)],
|
svdf2.mod.py | 18 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/ |
svdf2_relaxed.mod.py | 18 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)],
|
svdf_relaxed.mod.py | 18 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)],
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
Injector.java | 28 import com.android.documentsui.base.Features; 51 public final Features features; field in class:Injector 81 Features features, 88 this(features, config, prefs, messages, dialogs, fileTypeLookup, 89 shortcutsUpdater, new Model(features)); 94 Features features, 103 this.features = features [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
DebugHelper.java | 66 assert (mInjector.features.isDebugSupportEnabled()); 76 assert (mInjector.features.isDebugSupportEnabled());
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/ |
SuggestionRanker.java | 39 // The following coefficients form a linear model, which mixes the features to obtain a 78 Map<String, Map<String, Double>> features = mSuggestionFeaturizer.featurize(suggestions); local 80 mRelevanceMetrics.put(suggestion, getRelevanceMetric(features.get(suggestion.getId()))); 98 double getRelevanceMetric(Map<String, Double> features) { 100 if (features == null) { 104 sum += WEIGHTS.get(feature) * features.get(feature);
|
/system/bt/service/test/ |
adapter_unittest.cc | 239 bt_local_le_features_t features; local 240 memset(&features, 0, sizeof(features)); 242 features.max_adv_instance = 10; // Some high number. 243 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features); 246 features.max_adv_instance = 0; // Low number. 247 fake_hal_iface_->NotifyAdapterLocalLeFeaturesPropertyChanged(&features);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
FeatureSummaryActivity.java | 25 package com.android.cts.verifier.features; 125 // Required features in prior releases that became optional in GB 133 // New features in GB 149 // Required features in prior releases that became optional in HC 172 // Required features in prior releases that became optional 205 // New features in L 223 // Features explicitly made optional in L 226 // New hidden features in L 275 // features 281 // get list of all features device thinks it has, & store in a HashMa 294 Set<Feature> features = new LinkedHashSet<Feature>(); local [all...] |
/frameworks/base/packages/ExtServices/src/android/ext/services/resolver/ |
LRResolverRankerService.java | 74 ArrayMap<String, Float> features = getFeatures(target); local 75 target.setSelectProbability(predict(features)); 129 ArrayMap<String, Float> features = new ArrayMap<>(4); local 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/base/telephony/java/android/telephony/ims/ |
ImsService.java | 73 * <!-- Apps must declare which features they support as metadata. The different categories are 77 * The features that are currently supported in an ImsService are: 84 * In the dynamic definition, the supported features are not specified in the service definition 105 // A map of slot Id -> map of features (indexed by ImsFeature feature id) corresponding to that 120 * The IMS features that this ImsService supports has changed. 239 // Get SparseArray for Features, by querying slot Id 240 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); local 241 if (features == null) { 242 // Populate new SparseArray of features if it doesn't exist for this slot yet. 243 features = new SparseArray<>() 254 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); local [all...] |
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/ |
TestAuthenticator.java | 55 final String[] features = intent.getStringArrayExtra("features"); local 56 createAccount(this, ACCOUNT_TYPE, features); 126 String[] features) throws NetworkErrorException { 133 for (String requested : features) { 140 Log.i(TAG, "Checking feature for account '" + account + "' for features=" 141 + Arrays.asList(features) + " result=" + hasAll);
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleTestsUtil.cpp | 394 const VkPhysicalDeviceFeatures features = getPhysicalDeviceFeatures(instanceInterface, physicalDevice); local 396 if (((flags & FEATURE_TESSELLATION_SHADER) != 0) && !features.tessellationShader) 399 if (((flags & FEATURE_GEOMETRY_SHADER) != 0) && !features.geometryShader) 402 if (((flags & FEATURE_SHADER_FLOAT_64) != 0) && !features.shaderFloat64) 405 if (((flags & FEATURE_VERTEX_PIPELINE_STORES_AND_ATOMICS) != 0) && !features.vertexPipelineStoresAndAtomics) 408 if (((flags & FEATURE_FRAGMENT_STORES_AND_ATOMICS) != 0) && !features.fragmentStoresAndAtomics) 411 if (((flags & FEATURE_SHADER_TESSELLATION_AND_GEOMETRY_POINT_SIZE) != 0) && !features.shaderTessellationAndGeometryPointSize)
|
vktPipelineSpecConstantUtil.cpp | 377 const VkPhysicalDeviceFeatures features = getPhysicalDeviceFeatures(vki, physDevice); local 379 if (((flags & FEATURE_TESSELLATION_SHADER) != 0) && !features.tessellationShader) 382 if (((flags & FEATURE_GEOMETRY_SHADER) != 0) && !features.geometryShader) 385 if (((flags & FEATURE_SHADER_FLOAT_64) != 0) && !features.shaderFloat64) 388 if (((flags & FEATURE_VERTEX_PIPELINE_STORES_AND_ATOMICS) != 0) && !features.vertexPipelineStoresAndAtomics) 391 if (((flags & FEATURE_FRAGMENT_STORES_AND_ATOMICS) != 0) && !features.fragmentStoresAndAtomics)
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmIndexingTests.cpp | 97 const ComputeTestFeatures features = computeTestFeatures[idxSizeIdx]; local 269 group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), testName.c_str(), spec, features)); 305 vector<string> features; local 426 features.push_back("shaderInt16"); 434 features.push_back("shaderInt64"); 487 noPushConstants, resources, noInterfaces, extensions, features, vulkanFeatures, group);
|