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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/extensions/common/features/
feature.cc 5 #include "extensions/common/features/feature.h"
18 Feature::Platform Feature::GetCurrentPlatform() {
33 Feature::Availability Feature::CreateAvailability(AvailabilityResult result,
38 Feature::Availability Feature::IsAvailableToExtension(
46 Feature::Feature() : no_parent_(false) {}
48 Feature::~Feature() {
    [all...]
feature_provider.h 13 class Feature;
21 // Returns the feature with the specified name.
22 virtual Feature* GetFeature(const std::string& name) const = 0;
24 // Returns the parent feature of |feature|, or NULL if there isn't one.
25 virtual Feature* GetParent(Feature* feature) const = 0;
28 virtual std::vector<Feature*> GetChildren(const Feature& parent) const = 0
    [all...]
simple_feature_filter.cc 11 SimpleFeatureFilter::SimpleFeatureFilter(SimpleFeature* feature)
12 : feature_(feature) {}
20 Feature::Availability SimpleFeatureFilter::IsAvailableToContext(
22 Feature::Context context,
24 Feature::Platform platform) const {
25 return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string());
28 Feature::Availability SimpleFeatureFilter::IsAvailableToManifest(
33 Feature::Platform platform) const {
34 return Feature::CreateAvailability(Feature::IS_AVAILABLE, std::string())
    [all...]
manifest_feature.h 19 virtual Feature::Availability IsAvailableToContext(
21 Feature::Context context,
23 Feature::Platform platform) const OVERRIDE;
permission_feature.h 19 virtual Feature::Availability IsAvailableToContext(
21 Feature::Context context,
23 Feature::Platform platform) const OVERRIDE;
simple_feature_filter.h 10 #include "extensions/common/features/feature.h"
27 explicit SimpleFeatureFilter(SimpleFeature* feature);
30 SimpleFeature* feature() const { return feature_; } function in class:extensions::SimpleFeatureFilter
32 // Parses any additional feature data that may be used by this filter.
37 // Indicates whether or not the owning feature is available within a given
39 virtual Feature::Availability IsAvailableToContext(
41 Feature::Context context,
43 Feature::Platform platform) const;
45 // Indicates whether or not the owning feature is available to a given
47 virtual Feature::Availability IsAvailableToManifest
    [all...]
simple_feature_unittest.cc 15 using extensions::Feature;
29 Feature::Platform platform;
31 Feature::AvailabilityResult expected_result;
44 SimpleFeature feature; local
45 feature.set_location(feature_location);
46 Feature::AvailabilityResult availability_result =
47 feature.IsAvailableToManifest(std::string(),
51 Feature::UNSPECIFIED_PLATFORM).result();
52 return availability_result == Feature::IS_AVAILABLE;
62 Feature::UNSPECIFIED_PLATFORM, -1, Feature::IS_AVAILABLE}
76 SimpleFeature feature; local
92 SimpleFeature feature; local
141 SimpleFeature feature; local
179 SimpleFeature feature; local
219 SimpleFeature feature; local
254 SimpleFeature feature; local
290 SimpleFeature feature; local
417 SimpleFeature feature; local
435 SimpleFeature feature; local
625 SimpleFeature feature; local
677 SimpleFeature feature; local
    [all...]
base_feature_provider.h 25 // provider create plain old Feature instances.
30 // Gets the feature |feature_name|, if it exists.
31 virtual Feature* GetFeature(const std::string& feature_name) const OVERRIDE;
32 virtual Feature* GetParent(Feature* feature) const OVERRIDE;
33 virtual std::vector<Feature*> GetChildren(const Feature& parent) const
39 typedef std::map<std::string, linked_ptr<Feature> > FeatureMap;
  /external/chromium_org/extensions/common/
extension_api_stub.cc 10 #include "extensions/common/features/feature.h"
24 Feature::Availability ExtensionAPI::IsAvailable(
27 Feature::Context context,
29 return Feature::CreateAvailability(Feature::NOT_PRESENT, "");
32 Feature::Availability ExtensionAPI::IsAvailable(
33 const Feature& api,
35 Feature::Context context,
37 return Feature::CreateAvailability(Feature::NOT_PRESENT, "")
    [all...]
extension_api.h 18 #include "extensions/common/features/feature.h"
32 class Feature;
52 // The first part refers to a type of feature, for example "manifest",
53 // "permission", or "api". The second part is the full name of the feature.
71 // Returns true if the API feature |api| and all of its dependencies are
76 // up to the configuration of the individual feature.
77 Feature::Availability IsAvailable(const Feature& api,
79 Feature::Context context,
81 // Same as the previous overload, but takes a feature name instead of a
    [all...]
  /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...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
Feature.java 29 public interface Feature<T> {
30 /** Returns the set of features that are implied by this feature. */
31 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 30 private Set<Feature<?>> conflicts;
34 String message, Set<Feature<?>> conflicts, Object source) {
40 public Set<Feature<?>> getConflicts() {
ListFeature.java 36 public enum ListFeature implements Feature<List> {
56 private final Set<Feature<? super List>> implied;
58 ListFeature(Feature<? super List> ... implied) {
63 public Set<Feature<? super List>> getImpliedFeatures() {
MapFeature.java 36 public enum MapFeature implements Feature<Map> {
70 private final Set<Feature<? super Map>> implied;
72 MapFeature(Feature<? super Map> ... implied) {
77 public Set<Feature<? super Map>> getImpliedFeatures() {
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() {
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ClickListenerTest.java 9 import org.chromium.base.test.util.Feature;
17 @Feature({"ContentDetection", "TabContents"})
28 @Feature({"ContentDetection", "TabContents"})
40 @Feature({"ContentDetection", "TabContents"})
JavaBridgeArrayTest.java 9 import org.chromium.base.test.util.Feature;
96 @Feature({"AndroidWebView", "Android-JavaBridge"})
107 @Feature({"AndroidWebView", "Android-JavaBridge"})
114 @Feature({"AndroidWebView", "Android-JavaBridge"})
121 @Feature({"AndroidWebView", "Android-JavaBridge"})
130 @Feature({"AndroidWebView", "Android-JavaBridge"})
140 @Feature({"AndroidWebView", "Android-JavaBridge"})
148 @Feature({"AndroidWebView", "Android-JavaBridge"})
156 @Feature({"AndroidWebView", "Android-JavaBridge"})
167 @Feature({"AndroidWebView", "Android-JavaBridge"}
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
WebViewAsynchronousFindApisTest.java 10 import org.chromium.base.test.util.Feature;
18 @Feature({"AndroidWebView", "FindInPage"})
24 @Feature({"AndroidWebView", "FindInPage"})
32 @Feature({"AndroidWebView", "FindInPage"})
43 @Feature({"AndroidWebView", "FindInPage"})
49 @Feature({"AndroidWebView", "FindInPage"})
55 @Feature({"AndroidWebView", "FindInPage"})
61 @Feature({"AndroidWebView", "FindInPage"})
72 @Feature({"AndroidWebView", "FindInPage"})
83 @Feature({"AndroidWebView", "FindInPage"}
    [all...]
  /external/chromium_org/net/android/javatests/src/org/chromium/net/
AndroidProxySelectorTest.java 20 import org.chromium.base.test.util.Feature;
83 @Feature({"AndroidWebView"})
96 @Feature({"AndroidWebView"})
111 @Feature({"AndroidWebView"})
125 @Feature({"AndroidWebView"})
139 @Feature({"AndroidWebView"})
154 @Feature({"AndroidWebView"})
170 @Feature({"AndroidWebView"})
186 @Feature({"AndroidWebView"})
201 @Feature({"AndroidWebView"}
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/util/
HashUtilTest.java 10 import org.chromium.base.test.util.Feature;
15 @Feature({"Sync", "Omaha"})
  /external/chromium_org/chrome/common/extensions/features/
chrome_channel_feature_filter.h 13 // This filter parses a "channel" key from feature value data and makes features
17 explicit ChromeChannelFeatureFilter(SimpleFeature* feature);
22 virtual Feature::Availability IsAvailableToManifest(
27 Feature::Platform platform) const OVERRIDE;
  /external/chromium_org/components/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/
CronetSamplePreconditionsTest.java 11 import org.chromium.base.test.util.Feature;
18 @Feature({"TestInfrastructure"})
  /external/chromium_org/content/shell/android/javatests/src/org/chromium/content_shell_apk/
ContentShellPreconditionsTest.java 11 import org.chromium.base.test.util.Feature;
18 @Feature({"TestInfrastructure"})

Completed in 1128 milliseconds

1 2 3 4 5 6 7 8 91011>>