Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 61) sorted by relevance

123

/packages/apps/TV/src/com/android/tv/
DFeatures.java26 import com.android.tv.common.feature.Feature;
27 import com.android.tv.common.feature.GServiceFeature;
28 import com.android.tv.common.feature.PropertyFeature;
37 import static com.android.tv.common.feature.EngOnlyFeature.ENG_ONLY_FEATURE;
38 import static com.android.tv.common.feature.FeatureUtils.AND;
39 import static com.android.tv.common.feature.FeatureUtils.OFF;
40 import static com.android.tv.common.feature.FeatureUtils.ON;
41 import static com.android.tv.common.feature.FeatureUtils.OR;
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFeatures.java61 void forceFeature(@BoolRes int feature, boolean enabled); in forceFeature() argument
80 public void forceFeature(@BoolRes int feature, boolean enabled) { in forceFeature() argument
81 mDebugEnabled.put(feature, enabled); in forceFeature()
84 private boolean isEnabled(@BoolRes int feature) { in isEnabled() argument
85 return mDebugEnabled.get(feature, mRes.getBoolean(feature)); in isEnabled()
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java23 import com.android.tv.common.feature.Feature;
136 public static void checkFeatureEnabled(Context context, Feature feature, String tag) { in checkFeatureEnabled() argument
137 checkState(feature.isEnabled(context), tag, feature.toString()); in checkFeatureEnabled()
/packages/apps/TV/common/src/com/android/tv/common/feature/
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.TestableFeature.createTestableFeature;
DFeature.java17 package com.android.tv.common.feature;
DSdk.java17 package com.android.tv.common.feature;
DSystemAppFeature.java17 package com.android.tv.common.feature;
DEngOnlyFeature.java17 package com.android.tv.common.feature;
DGServiceFeature.java17 package com.android.tv.common.feature;
DPropertyFeature.java17 package com.android.tv.common.feature;
DPackageVersionFeature.java17 package com.android.tv.common.feature;
DFeatureUtils.java17 package com.android.tv.common.feature;
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
DSuggestionRanker.java78 for (String feature : WEIGHTS.keySet()) { in getRelevanceMetric()
79 sum += WEIGHTS.get(feature) * features.get(feature); in getRelevanceMetric()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java312 for (FeatureInfo feature : pkg.reqFeatures) { in installPackage()
313 if (feature.name != null && !pm.hasSystemFeature(feature.name) && in installPackage()
314 (feature.flags & FeatureInfo.FLAG_REQUIRED) != 0) { in installPackage()
315 Log.e(TAG, "Wearable does not have required feature: " + feature + in installPackage()
/packages/apps/TimeZoneData/testing/
DREADME1 This directory contains files associated with testing the Time Zone update feature.
3 xts/ - Libraries to support automated testing of the Time Zone update feature.
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DBaseDvrDataManagerTest.java27 import com.android.tv.common.feature.CommonFeatures;
28 import com.android.tv.common.feature.TestableFeature;
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
DScheduledProgramReaperTest.java27 import com.android.tv.common.feature.CommonFeatures;
28 import com.android.tv.common.feature.TestableFeature;
DSchedulerTest.java35 import com.android.tv.common.feature.CommonFeatures;
36 import com.android.tv.common.feature.TestableFeature;
DDvrRecordingServiceTest.java27 import com.android.tv.common.feature.CommonFeatures;
28 import com.android.tv.common.feature.TestableFeature;
DSeriesRecordingSchedulerTest.java27 import com.android.tv.common.feature.CommonFeatures;
28 import com.android.tv.common.feature.TestableFeature;
DRecordingTaskTest.java39 import com.android.tv.common.feature.CommonFeatures;
40 import com.android.tv.common.feature.TestableFeature;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSettings.java378 public static boolean isFeatureEnabled(Context context, String feature, boolean defaultValue) { in isFeatureEnabled() argument
394 return carrierConfig.getBoolean(feature, defaultValue); in isFeatureEnabled()
/packages/apps/TV/src/com/android/tv/config/
DRemoteConfigFeature.java22 import com.android.tv.common.feature.Feature;
/packages/apps/TimeZoneData/oem_template/
DREADME.oem2 Contained within is code for implementing the time zone update feature.
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1615 private void enforceFeature(String feature) { in enforceFeature() argument
1617 if (!pm.hasSystemFeature(feature)) { in enforceFeature()
1619 "System does not support feature " + feature); in enforceFeature()

123