HomeSort by relevance Sort by last modified time
    Searched refs:Feature (Results 1 - 25 of 269) 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;
complex_feature_unittest.cc 41 scoped_ptr<ComplexFeature> feature(new ComplexFeature(features.Pass()));
45 Feature::IS_AVAILABLE,
46 feature->IsAvailableToManifest(kIdFoo,
49 Feature::UNSPECIFIED_PLATFORM,
50 Feature::GetCurrentPlatform()).result());
54 Feature::IS_AVAILABLE,
55 feature->IsAvailableToManifest(kIdBar,
58 Feature::UNSPECIFIED_PLATFORM,
59 Feature::GetCurrentPlatform()).result());
63 Feature::IS_AVAILABLE
    [all...]
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...]
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;
simple_feature_unittest.cc 22 Feature::Platform platform;
24 Feature::AvailabilityResult expected_result;
29 SimpleFeature feature; local
30 feature.set_location(feature_location);
31 Feature::AvailabilityResult availability_result =
32 feature.IsAvailableToManifest(std::string(),
36 Feature::UNSPECIFIED_PLATFORM).result();
37 return availability_result == Feature::IS_AVAILABLE;
45 Feature::UNSPECIFIED_PLATFORM, -1, Feature::IS_AVAILABLE}
59 SimpleFeature feature; local
75 SimpleFeature feature; local
124 SimpleFeature feature; local
162 SimpleFeature feature; local
202 SimpleFeature feature; local
237 SimpleFeature feature; local
273 SimpleFeature feature; local
400 SimpleFeature feature; local
418 SimpleFeature feature; local
604 SimpleFeature feature; local
    [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/extensions/common/
extension_api_stub.cc 10 #include "extensions/common/features/feature.h"
25 Feature::Availability ExtensionAPI::IsAvailable(
28 Feature::Context context,
30 return Feature::CreateAvailability(Feature::NOT_PRESENT, "");
33 bool ExtensionAPI::IsAnyFeatureAvailableToContext(const Feature& api,
35 Feature::Context context,
55 Feature* ExtensionAPI::GetFeatureDependency(const std::string& name) {
  /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/chrome/common/extensions/features/
chrome_channel_feature_filter_unittest.cc 27 SimpleFeature* feature = new FeatureClass(); local
28 feature->AddFilter(
29 scoped_ptr<SimpleFeatureFilter>(new ChromeChannelFeatureFilter(feature)));
30 return feature;
33 Feature::AvailabilityResult IsAvailableInChannel(
38 SimpleFeature feature; local
39 feature.AddFilter(scoped_ptr<SimpleFeatureFilter>(
40 new ChromeChannelFeatureFilter(&feature)));
44 feature.Parse(&feature_value);
46 return feature.IsAvailableToManifest("random-extension"
193 Feature* feature = provider->GetFeature("feature1"); local
    [all...]
  /external/chromium_org/chrome/renderer/extensions/
chrome_v8_context.cc 12 Feature::Context context_type,
14 Feature::Context effective_context_type)
chrome_v8_context.h 12 #include "extensions/common/features/feature.h"
37 Feature::Context context_type,
39 Feature::Context effective_context_type);
  /external/chromium_org/extensions/renderer/
default_dispatcher_delegate.h 22 Feature::Context context_type,
24 Feature::Context effective_context_type) OVERRIDE;
  /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...]

Completed in 334 milliseconds

1 2 3 4 5 6 7 8 91011