/packages/apps/TV/src/com/android/tv/features/ |
D | TvFeatures.java | 19 import static com.android.tv.common.feature.BuildTypeFeature.ASOP_FEATURE; 20 import static com.android.tv.common.feature.BuildTypeFeature.ENG_ONLY_FEATURE; 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.and; 24 import static com.android.tv.common.feature.FeatureUtils.not; 25 import static com.android.tv.common.feature.FeatureUtils.or; 31 import com.android.tv.common.feature.CommonFeatures; 32 import com.android.tv.common.feature.Feature; 33 import com.android.tv.common.feature.FeatureUtils; [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/featureflags/ |
D | FeatureFlagPersistent.java | 42 public static boolean isEnabled(Context context, String feature) { in isEnabled() argument 43 String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + feature); in isEnabled() 47 return FeatureFlagUtils.isEnabled(context, feature); in isEnabled() 51 public static void setEnabled(Context context, String feature, boolean enabled) { in setEnabled() argument 52 SystemProperties.set(FeatureFlagUtils.PERSIST_PREFIX + feature, enabled ? "true" : "false"); in setEnabled() 53 FeatureFlagUtils.setEnabled(context, feature, enabled); in setEnabled() 56 public static boolean isPersistent(String feature) { in isPersistent() argument 57 return PERSISTENT_FLAGS.contains(feature); in isPersistent()
|
D | FeatureFlagsPreferenceController.java | 63 featureMap.keySet().stream().sorted().forEach(feature -> in onStart() 64 mGroup.addPreference(new FeatureFlagPreference(prefContext, feature))); in onStart()
|
/packages/apps/Settings/src/com/android/settings/development/featureflags/ |
D | FeatureFlagPersistent.java | 42 public static boolean isEnabled(Context context, String feature) { in isEnabled() argument 43 String value = SystemProperties.get(FeatureFlagUtils.PERSIST_PREFIX + feature); in isEnabled() 47 return FeatureFlagUtils.isEnabled(context, feature); in isEnabled() 51 public static void setEnabled(Context context, String feature, boolean enabled) { in setEnabled() argument 52 SystemProperties.set(FeatureFlagUtils.PERSIST_PREFIX + feature, enabled ? "true" : "false"); in setEnabled() 53 FeatureFlagUtils.setEnabled(context, feature, enabled); in setEnabled() 56 public static boolean isPersistent(String feature) { in isPersistent() argument 57 return PERSISTENT_FLAGS.contains(feature); in isPersistent()
|
D | FeatureFlagsPreferenceController.java | 63 featureMap.keySet().stream().sorted().forEach(feature -> in onStart() 64 mGroup.addPreference(new FeatureFlagPreference(prefContext, feature))); in onStart()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/features/ |
D | TunerFeatures.java | 19 import static com.android.tv.common.feature.FeatureUtils.OFF; 21 import com.android.tv.common.feature.CommonFeatures; 22 import com.android.tv.common.feature.DeveloperPreferenceFeature; 23 import com.android.tv.common.feature.Feature; 24 import com.android.tv.common.feature.Model; 25 import com.android.tv.common.feature.Sdk;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Features.java | 59 void forceFeature(@BoolRes int feature, boolean enabled); in forceFeature() argument 79 public void forceFeature(@BoolRes int feature, boolean enabled) { in forceFeature() argument 80 mDebugEnabled.put(feature, enabled); in forceFeature() 83 private boolean isEnabled(@BoolRes int feature) { in isEnabled() argument 84 return mDebugEnabled.get(feature, mRes.getBoolean(feature)); in isEnabled()
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | CommonFeatures.java | 17 package com.android.tv.common.feature; 19 import static com.android.tv.common.feature.BuildTypeFeature.ENG_ONLY_FEATURE; 20 import static com.android.tv.common.feature.FeatureUtils.and; 21 import static com.android.tv.common.feature.FeatureUtils.or; 22 import static com.android.tv.common.feature.TestableFeature.createTestableFeature;
|
D | FeatureUtils.java | 17 package com.android.tv.common.feature; 79 public static Feature not(final Feature feature) { 83 return !feature.isEnabled(context); 88 return "not(" + feature + ")";
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarImporterTest.java | 17 package com.android.car.companiondevicesupport.feature.calendarsync; 43 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Attendee; 44 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendar; 45 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendars; 46 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Color; 47 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Event; 48 import com.android.car.companiondevicesupport.feature.calendarsync.proto.TimeZone; 49 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Timestamp;
|
D | CalendarSyncFeatureTest.java | 17 package com.android.car.companiondevicesupport.feature.calendarsync; 36 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendar; 37 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendars;
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | IpProvisioningMetrics.java | 89 public void setDhcpEnabledFeature(final DhcpFeature feature) { in setDhcpEnabledFeature() argument 90 if (feature == DhcpFeature.DF_UNKNOWN) return; in setDhcpEnabledFeature() 91 mDhcpFeatures.add(feature); in setDhcpEnabledFeature() 153 for (DhcpFeature feature : mDhcpFeatures) { in statsWrite() 154 mDhcpSessionBuilder.addUsedFeatures(feature); in statsWrite()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | FeatureEligibilityChecker.java | 39 for (String feature : featuresRequired.split(",")) { in isEligible() 40 if (TextUtils.isEmpty(feature)) { in isEligible() 43 } else if (!context.getPackageManager().hasSystemFeature(feature)) { in isEligible() 44 Log.i(TAG, id + " requires unavailable feature " + feature); in isEligible()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSettingsAttentionPreferenceController.java | 45 public void onCompleted(boolean success, int feature) { 46 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION) { 61 public void onCompleted(boolean success, int feature, boolean value) { 62 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION && success) {
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettingsAttentionPreferenceController.java | 45 public void onCompleted(boolean success, int feature) { 46 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION) { 61 public void onCompleted(boolean success, int feature, boolean value) { 62 if (feature == FaceManager.FEATURE_REQUIRE_ATTENTION && success) {
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/service/ |
D | CompanionDeviceSupportService.java | 34 import com.android.car.companiondevicesupport.feature.LocalFeature; 35 import com.android.car.companiondevicesupport.feature.howitzer.ConnectionHowitzer; 162 for (LocalFeature feature : mLocalFeatures) { in initializeFeatures() 163 feature.start(); in initializeFeatures()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | SoftPreconditions.java | 23 import com.android.tv.common.feature.Feature; 168 public static void checkFeatureEnabled(Context context, Feature feature, String tag) { in checkFeatureEnabled() argument 169 checkState(feature.isEnabled(context), tag, feature.toString()); in checkFeatureEnabled()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarSyncFeature.java | 17 package com.android.car.companiondevicesupport.feature.calendarsync; 29 import com.android.car.companiondevicesupport.feature.RemoteFeature; 30 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendar; 31 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendars;
|
D | CalendarImporter.java | 17 package com.android.car.companiondevicesupport.feature.calendarsync; 35 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Attendee; 36 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendar; 37 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Calendars; 38 import com.android.car.companiondevicesupport.feature.calendarsync.proto.Event;
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | TestImsService.java | 20 import android.telephony.ims.feature.ImsFeature; 21 import android.telephony.ims.feature.MmTelFeature; 22 import android.telephony.ims.feature.RcsFeature;
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/ |
D | SuggestionRanker.java | 103 for (String feature : WEIGHTS.keySet()) { in getRelevanceMetric() 104 sum += WEIGHTS.get(feature) * features.get(feature); in getRelevanceMetric()
|
/packages/apps/TimeZoneData/testing/ |
D | README | 1 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/common/src/com/android/tv/common/flags/proto/ |
D | typed-features.proto | 8 // These messages are to specify feature params that are a list of integers. 17 // This message is to specify feature params that are a list of strings.
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 17 package com.android.car.companiondevicesupport.feature.trust; 49 import com.android.car.companiondevicesupport.feature.trust.storage.TrustedDeviceDao; 50 import com.android.car.companiondevicesupport.feature.trust.storage.TrustedDeviceDatabase; 51 import com.android.car.companiondevicesupport.feature.trust.storage.TrustedDeviceEntity; 52 import com.android.car.companiondevicesupport.feature.trust.ui.TrustedDeviceActivity;
|
/packages/apps/TimeZoneData/oem_template/xts/ |
D | README.oem | 6 time zone update feature has been integrated properly. 8 These tests are not included in CTS because the OEM must perform their own feature
|