OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Feature
(Results
1 - 25
of
386
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/TV/common/src/com/android/tv/common/feature/
FeatureUtils.java
17
package com.android.tv.common.
feature
;
29
* Returns a
feature
that is enabled if any of {@code features} is enabled.
33
public static
Feature
OR(final
Feature
... features) {
34
return new
Feature
() {
37
for (
Feature
f : features) {
54
* Returns a
feature
that is enabled if all of {@code features} is enabled.
58
public static
Feature
AND(final
Feature
... features) {
59
return new
Feature
() {
[
all
...]
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
34
public interface
Feature
{
EngOnlyFeature.java
17
package com.android.tv.common.
feature
;
24
* A
feature
that is only available on {@link BuildConfig#ENG} builds.
26
public final class EngOnlyFeature implements
Feature
{
27
public static final
Feature
ENG_ONLY_FEATURE = new EngOnlyFeature();
SystemAppFeature.java
17
package com.android.tv.common.
feature
;
23
* A
feature
that is for system App.
25
public final class SystemAppFeature implements
Feature
{
26
public static final
Feature
SYSTEM_APP_FEATURE = new SystemAppFeature();
Sdk.java
17
package com.android.tv.common.
feature
;
28
public static final
Feature
N_PRE_2_OR_HIGHER =
31
private static class SdkPreviewVersionFeature implements
Feature
{
59
public static final
Feature
AT_LEAST_N = new
Feature
() {
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
.FeatureUtils.OR;
21
import static com.android.tv.common.
feature
.TestableFeature.createTestableFeature;
24
* List of {@link
Feature
} that affect more than just the Live TV app.
26
* <p>Remove the {@code
Feature
} once it is launched.
44
public static final
Feature
FORCE_RECORDING_UNTIL_NO_SPACE =
52
public static final
Feature
USE_SW_CODEC_FOR_SD =
/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/src/com/android/tv/
Features.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;
31
import com.android.tv.common.
feature
.
Feature
;
32
import com.android.tv.common.
feature
.GServiceFeature;
33
import com.android.tv.common.
feature
.PropertyFeature;
37
* List of {@link
Feature
} for the Live TV App
[
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
/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
...]
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() {
/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
/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
...]
/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
...]
/external/libchrome/base/
feature_list.h
23
// Specifies whether a given
feature
is enabled or disabled by default.
29
// The
Feature
struct is used to define the default state for a
feature
. See
31
// for a given
feature
name - generally defined as a constant global variable or
33
struct BASE_EXPORT
Feature
{
34
// The name of the
feature
. This should be unique to each
feature
and is used
38
// The default state (i.e. enabled or disabled) for this
feature
.
42
// The FeatureList class is used to determine whether a given
feature
is on or
46
// The basic use case is for any
feature
that can be toggled (e.g. throug
[
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() {
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() {
/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...");
/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/src/com/android/tv/config/
RemoteConfigFeature.java
22
import com.android.tv.common.
feature
.
Feature
;
25
* A {@link
Feature
} controlled by a {@link RemoteConfig} boolean.
27
public class RemoteConfigFeature implements
Feature
{
/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
...]
Completed in 405 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>