Searched refs:feature (Results 1 - 25 of 42) sorted by relevance

12

/packages/apps/TV/common/src/com/android/tv/common/feature/
H A DCommonFeatures.java17 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;
H A DFeature.java17 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
H A DEngOnlyFeature.java17 package com.android.tv.common.feature;
24 * A feature that is only available on {@link BuildConfig#ENG} builds.
H A DSystemAppFeature.java17 package com.android.tv.common.feature;
23 * A feature that is for system App.
H A DGServiceFeature.java17 package com.android.tv.common.feature;
23 * A feature controlled by a GServices flag.
H A DPropertyFeature.java17 package com.android.tv.common.feature;
32 * Create System Property backed feature.
H A DFeatureUtils.java17 package com.android.tv.common.feature;
29 * Returns a feature that is enabled if any of {@code features} is enabled.
54 * Returns a feature that is enabled if all of {@code features} is enabled.
78 * A feature that is always enabled.
93 * A feature that is always disabled.
H A DPackageVersionFeature.java17 package com.android.tv.common.feature;
25 * A feature controlled by package version.
H A DSdk.java17 package com.android.tv.common.feature;
H A DSharedPreferencesFeature.java17 package com.android.tv.common.feature;
39 * Create SharedPreferences controlled feature.
43 * @param baseFeature if {@code baseFeature} is turned off, this feature is always disabled.
H A DTestableFeature.java17 package com.android.tv.common.feature;
26 * When run in a test harness this feature can be turned on or off, overriding the normal value.
28 * <p><b>Warning</b> making a feature testable will cause the code to stay in the APK and
70 Log.e(TAG, "Not resetting feature: " + this, new IllegalStateException(DETAIL_MESSAGE));
/packages/apps/TV/src/com/android/tv/
H A DFeatures.java19 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;
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
H A DFeatures.java27 * Provides access to feature flags configured in config.xml.
49 * Call this to force-enable any particular feature known by this instance.
50 * Note that all feature may not support being enabled at runtime as
51 * they may depend on runtime initialization guarded by feature check.
55 * @param feature int reference to a boolean feature resource.
57 void forceFeature(@BoolRes int feature, boolean enabled); argument
76 public void forceFeature(@BoolRes int feature, boolean enabled) { argument
77 mDebugEnabled.put(feature, enabled);
80 private boolean isEnabled(@BoolRes int feature) { argument
[all...]
/packages/apps/TV/common/src/com/android/tv/common/
H A DSoftPreconditions.java23 import com.android.tv.common.feature.Feature;
131 * @param feature the required feature
134 * @throws IllegalStateException if {@code feature} is not enabled
136 public static void checkFeatureEnabled(Context context, Feature feature, String tag) { argument
137 checkState(feature.isEnabled(context), tag, feature.toString());
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
H A DSuggestionRanker.java78 for (String feature : WEIGHTS.keySet()) {
79 sum += WEIGHTS.get(feature) * features.get(feature);
/packages/apps/TV/src/com/android/tv/config/
H A DRemoteConfigFeature.java22 import com.android.tv.common.feature.Feature;
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
H A DDvrRecordingServiceTest.java26 import com.android.tv.common.feature.CommonFeatures;
27 import com.android.tv.common.feature.TestableFeature;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestFeatures.java98 public void forceFeature(@BoolRes int feature, boolean enabled) { argument
/packages/apps/TV/src/com/android/tv/receiver/
H A DBootCompletedReceiver.java29 import com.android.tv.common.feature.CommonFeatures;
64 // Enable the application if this is the first "unhide" feature is enabled just in
/packages/apps/TV/src/com/android/tv/tuner/util/
H A DTunerInputInfoUtils.java29 import com.android.tv.common.feature.CommonFeatures;
/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrRecordingService.java32 import com.android.tv.common.feature.CommonFeatures;
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
H A DMpegTsVideoTrackRenderer.java16 import com.android.tv.common.feature.CommonFeatures;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DWearPackageInstallerService.java310 for (FeatureInfo feature : pkg.reqFeatures) {
311 if (feature.name != null && !pm.hasSystemFeature(feature.name) &&
312 (feature.flags & FeatureInfo.FLAG_REQUIRED) != 0) {
313 Log.e(TAG, "Wearable does not have required feature: " + feature +
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
H A DTunerTvInputService.java30 import com.android.tv.common.feature.CommonFeatures;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastSettings.java328 public static boolean isFeatureEnabled(Context context, String feature, boolean defaultValue) { argument
344 return carrierConfig.getBoolean(feature, defaultValue);

Completed in 1284 milliseconds

12