/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetFeature.java | 21 import com.google.common.collect.testing.features.Feature; 36 public enum MultisetFeature implements Feature<Multiset> { 44 public Set<Feature<? super Multiset>> getImpliedFeatures() {
|
BiMapTestSuiteBuilder.java | 27 import com.google.common.collect.testing.features.Feature; 68 enum NoRecurse implements Feature<Void> { 72 public Set<Feature<? super Void>> getImpliedFeatures() { 118 private static Set<Feature<?>> computeInverseFeatures(Set<Feature<?>> mapFeatures) { 119 Set<Feature<?>> inverseFeatures = new HashSet<Feature<?>>(mapFeatures); 140 private static Set<Feature<?>> computeValuesSetFeatures( 141 Set<Feature<?>> mapFeatures) { 142 Set<Feature<?>> valuesCollectionFeatures [all...] |
/external/libchrome/base/test/ |
scoped_feature_list.cc | 15 const std::initializer_list<base::Feature>& features) { 17 for (const base::Feature& feature : features) { 20 output += feature.name; 44 const std::initializer_list<base::Feature>& enabled_features, 45 const std::initializer_list<base::Feature>& disabled_features) { 65 void ScopedFeatureList::InitAndEnableFeature(const base::Feature& feature) { 66 InitFromCommandLine(feature.name, std::string()); 69 void ScopedFeatureList::InitAndDisableFeature(const base::Feature& feature) [all...] |
/external/libchrome/base/ |
feature_list.h | 24 // Specifies whether a given feature is enabled or disabled by default. 30 // The Feature struct is used to define the default state for a feature. See 32 // for a given feature name - generally defined as a constant global variable or 34 struct BASE_EXPORT Feature { 35 constexpr Feature(const char* name, FeatureState default_state) 37 // The name of the feature. This should be unique to each feature and is used 41 // The default state (i.e. enabled or disabled) for this feature. 45 // The FeatureList class is used to determine whether a given feature is on o [all...] |
/hardware/interfaces/power/1.0/ |
IPower.hal | 66 * setFeature() is called to turn on or off a particular feature 69 * @param feature Feature which needs to be set 70 * @param activate true/false to enable/disable the feature 72 setFeature(Feature feature, bool activate);
|
/packages/apps/TV/common/src/com/android/tv/common/config/ |
RemoteConfigFeature.java | 21 import com.android.tv.common.feature.Feature; 24 * A {@link Feature} controlled by a {@link com.android.tv.common.config.api.RemoteConfig} boolean. 26 public class RemoteConfigFeature implements Feature {
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
ExperimentFeature.java | 17 package com.android.tv.common.feature; 22 /** A {@link Feature} base on an {@link ExperimentFlag}. */ 23 public final class ExperimentFeature implements Feature { 25 public static Feature from(ExperimentFlag<Boolean> flag) {
|
GServiceFeature.java | 17 package com.android.tv.common.feature; 21 /** A feature controlled by a GServices flag. */ 22 public class GServiceFeature implements Feature {
|
Model.java | 17 package com.android.tv.common.feature; 27 public static final class ModelFeature implements Feature {
|
SharedPreferencesFeature.java | 17 package com.android.tv.common.feature; 24 /** Feature controlled by shared preferences. */ 25 public final class SharedPreferencesFeature implements Feature { 33 private final Feature mBaseFeature; 36 * Create SharedPreferences controlled feature. 40 * @param baseFeature if {@code baseFeature} is turned off, this feature is always disabled. 42 public SharedPreferencesFeature(String key, boolean defaultValue, Feature baseFeature) {
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
SubtargetFeature.cpp | 28 /// hasFlag - Determine if a feature has a flag; '+' or '-' 30 static inline bool hasFlag(const StringRef Feature) { 31 assert(!Feature.empty() && "Empty string"); 33 char Ch = Feature[0]; 40 static inline std::string StripFlag(const StringRef Feature) { 41 return hasFlag(Feature) ? Feature.substr(1) : Feature; 46 static inline bool isEnabled(const StringRef Feature) { 47 assert(!Feature.empty() && "Empty string") [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
CollectionFeature.java | 38 public enum CollectionFeature implements Feature<Collection> { 64 * tests and sorted-collection tests automatically specify this feature. 114 private final Set<Feature<? super Collection>> implied; 116 CollectionFeature(Feature<? super Collection> ... implied) { 121 public Set<Feature<? super Collection>> getImpliedFeatures() {
|
CollectionSize.java | 32 * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}), 50 public enum CollectionSize implements Feature<Collection>, 69 private final Set<Feature<? super Collection>> implied; 77 CollectionSize(Feature<? super Collection> ... implied) { 85 public Set<Feature<? super Collection>> getImpliedFeatures() {
|
ListFeature.java | 36 public enum ListFeature implements Feature<List> { 54 private final Set<Feature<? super List>> implied; 56 ListFeature(Feature<? super List> ... implied) { 61 public Set<Feature<? super List>> getImpliedFeatures() {
|
MapFeature.java | 36 public enum MapFeature implements Feature<Map> { 86 private final Set<Feature<? super Map>> implied; 88 MapFeature(Feature<? super Map> ... implied) { 93 public Set<Feature<? super Map>> getImpliedFeatures() {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MapTestSuiteBuilder.java | 25 import com.google.common.collect.testing.features.Feature; 149 private static Set<Feature<?>> computeReserializedMapFeatures( 150 Set<Feature<?>> mapFeatures) { 151 Set<Feature<?>> derivedFeatures = Helpers.copyToSet(mapFeatures); 157 private static Set<Feature<?>> computeEntrySetFeatures( 158 Set<Feature<?>> mapFeatures) { 159 Set<Feature<?>> entrySetFeatures = 167 private static Set<Feature<?>> computeKeySetFeatures( 168 Set<Feature<?>> mapFeatures) { 169 Set<Feature<?>> keySetFeatures [all...] |
CollectionTestSuiteBuilder.java | 20 import com.google.common.collect.testing.features.Feature; 95 private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) { 96 Set<Feature<?>> derivedFeatures = new HashSet<Feature<?>>();
|
FeatureSpecificTestSuiteBuilder.java | 23 import com.google.common.collect.testing.features.Feature; 103 private Set<Feature<?>> features = new LinkedHashSet<Feature<?>>(); 110 public B withFeatures(Feature<?>... features) { 114 public B withFeatures(Iterable<? extends Feature<?>> features) { 115 for (Feature<?> feature : features) { 116 this.features.add(feature); 121 public Set<Feature<?>> getFeatures() { 247 Set<Feature<?>> missingFeatures [all...] |
PerCollectionSizeTestSuiteBuilder.java | 20 import com.google.common.collect.testing.features.Feature; 35 * by {@link #withFeatures(Feature...)}. 67 Set<Feature<?>> features = Helpers.copyToSet(getFeatures()); 73 Set<Feature<?>> sizesToTest = 74 Helpers.<Feature<?>>copyToSet(CollectionSize.values()); 91 for (Feature<?> collectionSize : sizesToTest) { 96 Set<Feature<?>> oneSizeFeatures = Helpers.copyToSet(features);
|
SortedMapTestSuiteBuilder.java | 22 import com.google.common.collect.testing.features.Feature; 54 List<Feature<?>> features = Helpers.copyToList(getFeatures()); 86 enum NoRecurse implements Feature<Void> { 91 public Set<Feature<? super Void>> getImpliedFeatures() { 109 List<Feature<?>> features = new ArrayList<Feature<?>>();
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatReader.java | 55 private static class Feature { 73 if (name.equals(Feature.VALIDATION) 74 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES) 75 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) { 79 if (name.equals(Feature.NAMESPACES)) { 83 if (name.equals(Feature.NAMESPACE_PREFIXES)) { 87 if (name.equals(Feature.STRING_INTERNING)) { 100 if (name.equals(Feature.VALIDATION) 101 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES) 102 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) [all...] |
/device/google/marlin/power/ |
Power.h | 31 using ::android::hardware::power::V1_0::Feature; 44 Return<void> setFeature(Feature feature, bool activate) override;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
Feature.java | 13 class Feature extends TaggedRecord 19 public Feature(String theFeatureTag)
|
/external/libpng/contrib/arm-neon/ |
linux.c | 32 * it gets a match on the 'neon' feature or reaches the end of the stream. 39 StartLine, Feature, Colon, StartTag, Neon, HaveNeon, SkipTag, SkipLine 64 state = Feature; 67 case Feature: 68 /* Match 'FEATURE', ASCII case insensitive. */ 76 /* did not match 'feature' */ 100 /* Either a bad line format or a 'feature' prefix followed by
|
/external/tensorflow/tensorflow/core/example/ |
feature_util.h | 16 // A set of lightweight wrappers which simplify access to Feature protos. 20 // So accessing feature values is not very convenient. 22 // For example, to read a first value of integer feature "tag": 23 // int id = example.features().feature().at("tag").int64_list().value(0) 39 // To copy multiple values into a feature: 46 // NOTE: Due to the nature of oneof proto fields setting a feature of one type 47 // automatically clears all values stored as another type with the same feature 62 // This will create a feature list keyed as "images" with two features: 67 // feature { float_list { value: [4.0] } } 68 // feature { float_list { value: [5.0, 3.0] } 217 ::tensorflow::Feature& feature = local [all...] |