/packages/apps/TV/common/src/com/android/tv/common/feature/ |
H A D | 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;
|
H A D | 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
|
H A D | EngOnlyFeature.java | 17 package com.android.tv.common.feature; 24 * A feature that is only available on {@link BuildConfig#ENG} builds.
|
H A D | SystemAppFeature.java | 17 package com.android.tv.common.feature; 23 * A feature that is for system App.
|
H A D | GServiceFeature.java | 17 package com.android.tv.common.feature; 23 * A feature controlled by a GServices flag.
|
H A D | PropertyFeature.java | 17 package com.android.tv.common.feature; 32 * Create System Property backed feature.
|
H A D | FeatureUtils.java | 17 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 D | PackageVersionFeature.java | 17 package com.android.tv.common.feature; 25 * A feature controlled by package version.
|
H A D | Sdk.java | 17 package com.android.tv.common.feature;
|
H A D | SharedPreferencesFeature.java | 17 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 D | TestableFeature.java | 17 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 D | 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;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
H A D | Features.java | 27 * 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 D | SoftPreconditions.java | 23 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 D | SuggestionRanker.java | 78 for (String feature : WEIGHTS.keySet()) { 79 sum += WEIGHTS.get(feature) * features.get(feature);
|
/packages/apps/TV/src/com/android/tv/config/ |
H A D | RemoteConfigFeature.java | 22 import com.android.tv.common.feature.Feature;
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
H A D | DvrRecordingServiceTest.java | 26 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 D | TestFeatures.java | 98 public void forceFeature(@BoolRes int feature, boolean enabled) { argument
|
/packages/apps/TV/src/com/android/tv/receiver/ |
H A D | BootCompletedReceiver.java | 29 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 D | TunerInputInfoUtils.java | 29 import com.android.tv.common.feature.CommonFeatures;
|
/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | DvrRecordingService.java | 32 import com.android.tv.common.feature.CommonFeatures;
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
H A D | MpegTsVideoTrackRenderer.java | 16 import com.android.tv.common.feature.CommonFeatures;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
H A D | WearPackageInstallerService.java | 310 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 D | TunerTvInputService.java | 30 import com.android.tv.common.feature.CommonFeatures;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastSettings.java | 328 public static boolean isFeatureEnabled(Context context, String feature, boolean defaultValue) { argument 344 return carrierConfig.getBoolean(feature, defaultValue);
|