HomeSort by relevance Sort by last modified time
    Searched refs:Feature (Results 1 - 25 of 552) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
FeatureSummaryActivity.java 48 * Simple storage class for data about an Android feature.
50 static class Feature {
52 * The name of the feature. Should be one of the PackageManager.FEATURE*
74 public Feature(String name, boolean required) {
84 } else if (o == null || !(o instanceof Feature)) {
87 Feature feature = (Feature) o; local
88 return name.equals(feature.name)
    [all...]
  /packages/apps/TV/common/src/com/android/tv/common/feature/
FeatureUtils.java 17 package com.android.tv.common.feature;
27 * Returns a feature that is enabled if any of {@code features} is enabled.
31 public static Feature OR(final Feature... features) {
32 return new Feature() {
35 for (Feature f : features) {
51 * Returns a feature that is enabled if all of {@code features} is enabled.
55 public static Feature AND(final Feature... features) {
56 return new Feature() {
    [all...]
Sdk.java 17 package com.android.tv.common.feature;
24 public static final Feature AT_LEAST_N =
25 new Feature() {
32 public static final Feature AT_LEAST_O =
33 new Feature() {
Feature.java 17 package com.android.tv.common.feature;
22 * A feature is elements of code that are turned off for most users until a feature is fully
35 public interface Feature {
EngOnlyFeature.java 17 package com.android.tv.common.feature;
22 /** A feature that is only available on {@link BuildConfig#ENG} builds. */
23 public final class EngOnlyFeature implements Feature {
24 public static final Feature ENG_ONLY_FEATURE = new EngOnlyFeature();
SystemAppFeature.java 17 package com.android.tv.common.feature;
22 /** A feature that is for system App. */
23 public final class SystemAppFeature implements Feature {
24 public static final Feature SYSTEM_APP_FEATURE = new SystemAppFeature();
TestableFeature.java 17 package com.android.tv.common.feature;
25 * When run in a test harness this feature can be turned on or off, overriding the normal value.
27 * <p><b>Warning</b> making a feature testable will cause the code to stay in the APK and could leak
30 public class TestableFeature implements Feature {
35 private final Feature mDelegate;
38 /** Creates testable feature. */
39 public static TestableFeature createTestableFeature(Feature delegate) {
43 /** Creates testable feature with initial value. */
44 public static TestableFeature createTestableFeature(Feature delegate, Boolean initialValue) {
48 private TestableFeature(Feature delegate)
    [all...]
CommonFeatures.java 17 package com.android.tv.common.feature;
19 import static com.android.tv.common.feature.FeatureUtils.AND;
20 import static com.android.tv.common.feature.TestableFeature.createTestableFeature;
33 * List of {@link Feature} that affect more than just the Live TV app.
35 * <p>Remove the {@code Feature} once it is launched.
56 public static final Feature FORCE_RECORDING_UNTIL_NO_SPACE =
59 public static final Feature TUNER =
60 new Feature() {
77 public static final Feature ENABLE_CLOUD_EPG_REGION =
78 new Feature() {
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary.prop.query/
void_t_feature_test_macro.pass.cpp 20 # error Feature test macro should not be defined!
24 # error Feature test macro is not defined
27 # error Feature test macro has the wrong value
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.unary.prop.query/
void_t_feature_test_macro.pass.cpp 20 # error Feature test macro should not be defined!
24 # error Feature test macro is not defined
27 # error Feature test macro has the wrong value
  /external/libchrome/base/test/
scoped_feature_list.h 17 // Note: Re-using the same object is not allowed. To reset the feature
34 const std::initializer_list<base::Feature>& enabled_features,
35 const std::initializer_list<base::Feature>& disabled_features);
43 // feature.
44 void InitAndEnableFeature(const base::Feature& feature);
47 // feature.
48 void InitAndDisableFeature(const base::Feature& feature);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
Feature.java 30 public interface Feature<T> {
31 /** Returns the set of features that are implied by this feature. */
32 Set<Feature<? super T>> getImpliedFeatures();
TesterRequirements.java 33 private final Set<Feature<?>> presentFeatures;
34 private final Set<Feature<?>> absentFeatures;
37 Set<Feature<?>> presentFeatures, Set<Feature<?>> absentFeatures) {
47 this(Collections.<Feature<?>>emptySet(),
48 Collections.<Feature<?>>emptySet());
51 public final Set<Feature<?>> getPresentFeatures() {
55 public final Set<Feature<?>> getAbsentFeatures() {
ConflictingRequirementsException.java 31 private Set<Feature<?>> conflicts;
35 String message, Set<Feature<?>> conflicts, Object source) {
41 public Set<Feature<?>> getConflicts() {
SetFeature.java 35 public enum SetFeature implements Feature<Set> {
40 private final Set<Feature<? super Set>> implied;
42 SetFeature(Feature<? super Set> ... implied) {
47 public Set<Feature<? super Set>> getImpliedFeatures() {
FeatureUtil.java 54 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
69 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
70 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>();
71 for (Feature<?> feature : features) {
72 implied.addAll(feature.getImpliedFeatures());
218 final Feature<?>[] presentFeatures
    [all...]
  /external/libcxx/test/std/utilities/function.objects/func.invoke/
invoke_feature_test_macro.pass.cpp 22 # error Feature test macro should be defined
26 # error Feature test macro not defined
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/func.invoke/
invoke_feature_test_macro.pass.cpp 22 # error Feature test macro should be defined
26 # error Feature test macro not defined
  /external/tensorflow/tensorflow/core/example/
feature_util.cc 21 Feature& ExampleFeature(const string& name, Example* example) {
29 return (features.feature().find(key) != features.feature().end());
34 auto it = features.feature().find(key);
35 return (it != features.feature().end()) &&
36 (it->second.kind_case() == Feature::KindCase::kInt64List);
41 auto it = features.feature().find(key);
42 return (it != features.feature().end()) &&
43 (it->second.kind_case() == Feature::KindCase::kFloatList);
48 auto it = features.feature().find(key)
    [all...]
  /external/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureUtilTest.java 47 enum ExampleBaseFeature implements Feature<ExampleBaseInterface> {
52 public Set<Feature<? super ExampleBaseInterface>> getImpliedFeatures() {
65 enum ExampleDerivedFeature implements Feature<ExampleDerivedInterface>{
75 private Set<Feature<? super ExampleDerivedInterface>> implied;
78 Feature<? super ExampleDerivedInterface> ... implied) {
83 public Set<Feature<? super ExampleDerivedInterface>> getImpliedFeatures() {
152 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet(
158 Set<Feature<?>> features;
160 features = Sets.<Feature<?>>newHashSet
    [all...]
  /packages/apps/TV/src/com/android/tv/
TvFeatures.java 19 import static com.android.tv.common.feature.EngOnlyFeature.ENG_ONLY_FEATURE;
20 import static com.android.tv.common.feature.FeatureUtils.AND;
21 import static com.android.tv.common.feature.FeatureUtils.OFF;
22 import static com.android.tv.common.feature.FeatureUtils.ON;
23 import static com.android.tv.common.feature.FeatureUtils.OR;
30 import com.android.tv.common.feature.CommonFeatures;
31 import com.android.tv.common.feature.ExperimentFeature;
32 import com.android.tv.common.feature.Feature;
33 import com.android.tv.common.feature.FeatureUtils
    [all...]
  /external/llvm/lib/MC/
SubtargetFeature.cpp 30 /// hasFlag - Determine if a feature has a flag; '+' or '-'
32 static inline bool hasFlag(StringRef Feature) {
33 assert(!Feature.empty() && "Empty string");
35 char Ch = Feature[0];
42 static inline std::string StripFlag(StringRef Feature) {
43 return hasFlag(Feature) ? Feature.substr(1) : Feature;
48 static inline bool isEnabled(StringRef Feature) {
49 assert(!Feature.empty() && "Empty string")
    [all...]
  /packages/apps/TV/tuner/src/com/android/tv/tuner/
TunerFeatures.java 19 import static com.android.tv.common.feature.FeatureUtils.OFF;
26 import com.android.tv.common.feature.CommonFeatures;
27 import com.android.tv.common.feature.Feature;
28 import com.android.tv.common.feature.Model;
29 import com.android.tv.common.feature.PropertyFeature;
35 * List of {@link Feature} for Tuner.
37 * <p>Remove the {@code Feature} once it is launched.
44 public static final Feature NETWORK_TUNER =
45 new Feature() {
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapFeature.java 22 import com.google.common.collect.testing.features.Feature;
38 public enum MultimapFeature implements Feature<Multimap> {
41 private final Set<Feature<? super Multimap>> implied;
43 MultimapFeature(Feature<? super Multimap> ... implied) {
48 public Set<Feature<? super Multimap>> getImpliedFeatures() {
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
FeatureList.java 19 private Feature[] features;
24 features = new Feature[10];
28 public void addFeature(Feature feature)
31 Feature[] newFeatures = new Feature[features.length + 5];
37 features[featureCount++] = feature;
51 System.out.print("writing feature list...");

Completed in 304 milliseconds

1 2 3 4 5 6 7 8 91011>>