Home
last modified time | relevance | path

Searched refs:Feature (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/TV/common/src/com/android/tv/common/feature/
DFeatureUtils.java31 public static Feature or(final Feature... features) { in or()
32 return new Feature() { in or()
35 for (Feature f : features) { in or()
55 public static Feature and(final Feature... features) {
56 return new Feature() {
59 for (Feature f : features) {
79 public static Feature not(final Feature feature) {
80 return new Feature() {
94 public static final Feature ON =
95 new Feature() {
[all …]
DTestableFeature.java30 public class TestableFeature implements Feature {
35 private final Feature mDelegate;
39 public static TestableFeature createTestableFeature(Feature delegate) { in createTestableFeature()
44 public static TestableFeature createTestableFeature(Feature delegate, Boolean initialValue) { in createTestableFeature()
48 private TestableFeature(Feature delegate) { in TestableFeature()
52 private TestableFeature(Feature delegate, Boolean initialValue) { in TestableFeature()
DCommonFeatures.java56 public static final Feature FORCE_RECORDING_UNTIL_NO_SPACE =
60 public static final Feature ENABLE_CLOUD_EPG_REGION =
63 new Feature() {
83 public static final Feature TUNER_SIGNAL_STRENGTH = ENG_ONLY_FEATURE;
86 public static final Feature ENABLE_TV_SERVICE = ENG_ONLY_FEATURE;
DSdk.java26 public static final Feature AT_LEAST_N = new AtLeast(VERSION_CODES.N);
28 public static final Feature AT_LEAST_O = new AtLeast(VERSION_CODES.O);
30 public static final Feature AT_LEAST_T = new AtLeast(VERSION_CODES.TIRAMISU);
32 private static final class AtLeast implements Feature {
DBuildTypeFeature.java23 public final class BuildTypeFeature implements Feature {
24 public static final Feature ENG_ONLY_FEATURE = new BuildTypeFeature(BuildConfig.ENG);
25 public static final Feature ASOP_FEATURE = new BuildTypeFeature(BuildConfig.AOSP);
DSharedPreferencesFeature.java25 public final class SharedPreferencesFeature implements Feature {
33 private final Feature mBaseFeature;
42 public SharedPreferencesFeature(String key, boolean defaultValue, Feature baseFeature) { in SharedPreferencesFeature()
DSystemAppFeature.java23 public final class SystemAppFeature implements Feature {
24 public static final Feature SYSTEM_APP_FEATURE = new SystemAppFeature();
DFeature.java35 public interface Feature { interface
/packages/apps/TV/src/com/android/tv/features/
DTvFeatures.java33 import com.android.tv.common.feature.Feature;
51 public static final Feature STORE_NETWORK_AFFILIATION = ENG_ONLY_FEATURE;
53 private static final Feature TV_PROVIDER_ALLOWS_INSERT_TO_PROGRAM_TABLE =
72 public static final Feature EPG_SEARCH = OFF;
75 public static final Feature UNHIDE =
83 public static final Feature PICTURE_IN_PICTURE =
84 new Feature() {
101 public static final Feature SHOW_UPCOMING_CONFLICT_DIALOG = OFF;
104 public static final Feature USE_PARTNER_INPUT_BLOCKLIST = ON;
107 public static final Feature HAS_TIAF = Sdk.AT_LEAST_T;
[all …]
DPartnerFeatures.java22 import com.android.tv.common.feature.Feature;
29 public static final Feature TVPROVIDER_ALLOWS_SYSTEM_INSERTS_TO_PROGRAM_TABLE =
33 public static final Feature TURN_OFF_EMBEDDED_TUNER =
36 public static final Feature TVPROVIDER_ALLOWS_COLUMN_CREATION =
39 private static class PartnerFeature implements Feature {
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java71 @Mock RcsFeatureController.Feature mMockFeature;
97 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testRcsFeatureManagerConnectDisconnect()
119 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature()
122 assertEquals(mMockFeature, controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature()
124 controller.removeFeature(RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature()
126 assertNull(controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature()
207 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerDisconnectedAddFeature()
263 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testCarrierConfigChanged()
278 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testChangeSubId()
291 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testDestroy()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/features/
DTunerFeatures.java23 import com.android.tv.common.feature.Feature;
41 public static final Feature USE_SW_CODEC_FOR_SD =
54 public static final Feature TVPROVIDER_ALLOWS_COLUMN_CREATION = Sdk.AT_LEAST_O;
57 public static final Feature ENABLE_FILE_DVB = OFF;
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DRcsFeatureController.java58 public interface Feature { interface in RcsFeatureController
122 private final Map<Class<?>, Feature> mFeatures = new ArrayMap<>();
226 public <T extends Feature> void addFeature(T connector, Class<T> clazz) { in addFeature()
253 RcsFeatureController.Feature feature = mFeatures.remove(clazz); in removeFeature()
275 for (Feature c : mFeatures.values()) { in updateAssociatedSubscription()
288 for (Feature c : mFeatures.values()) { in onCarrierConfigChangedForSubscription()
303 for (Feature c : mFeatures.values()) { in destroy()
455 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
459 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
487 for (Feature f : mFeatures.values()) { in dump()
/packages/apps/Settings/aconfig/
Dsettings_flag_declarations.aconfig21 description: "Feature flag to enable the archiving feature."
28 description: "Feature flag to enable new settings homepage UX."
35 description: "Feature flag to enable injection into PreferenceCategory."
42 description: "Feature flag to remove relevant slices dependencies."
Dsettings_globalintl_flag_declarations.aconfig7 description: "Feature flag for Terms of Address"
14 description: "Feature flag for locale notification"
Dsettings_onboarding_experience_flag_declarations.aconfig7 description: "Feature flag for B&R sound settings."
/packages/apps/Settings/aconfig/development/
Dsettings_core_flag_declarations.aconfig7 description: "Feature flag for Bluetooth Audio Codec extensibility in Settings"
14 description: "Feature flag for deprecating ListActivity in Settings"
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DGeoJsonTzToTzS2Polygons.java37 import org.geojson.Feature;
165 List<Feature> features = featureCollection.getFeatures(); in execute()
167 for (Feature feature : features) { in execute()
200 private static TzS2Polygons processFeature(Feature feature) { in processFeature()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DSampleExampleStoreService.java33 import org.tensorflow.example.Feature;
48 Feature.newBuilder()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java179 mFocusAreaSupported = mCapabilities.supports(CameraCapabilities.Feature.FOCUS_AREA); in updateCapabilities()
180 mMeteringAreaSupported = mCapabilities.supports(CameraCapabilities.Feature.METERING_AREA); in updateCapabilities()
181 mLockAeAwbNeeded = (mCapabilities.supports(CameraCapabilities.Feature.AUTO_EXPOSURE_LOCK) in updateCapabilities()
182 || mCapabilities.supports(CameraCapabilities.Feature.AUTO_WHITE_BALANCE_LOCK)); in updateCapabilities()
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/federatedcompute/
DExampleStoreServiceTest.java42 import org.tensorflow.example.Feature;
60 Feature.newBuilder()
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java23 import com.android.tv.common.feature.Feature;
168 public static void checkFeatureEnabled(Context context, Feature feature, String tag) { in checkFeatureEnabled()
/packages/modules/OnDevicePersonalization/samples/odpsamplenetwork/src/main/java/com/example/odpsamplenetwork/
DSampleHandler.java74 import org.tensorflow.example.Feature;
339 private static Feature convertStringToFeature(String value) { in convertStringToFeature()
343 return Feature.newBuilder().setBytesList(bytesListBuilder.build()).build(); in convertStringToFeature()
346 private static Feature convertLongToFeature(String value) { in convertLongToFeature()
348 return Feature.newBuilder() in convertLongToFeature()
411 Feature inputsFeature = in handleOnTrainingExamples()
412 Feature.newBuilder() in handleOnTrainingExamples()
415 Feature outputsFeature = in handleOnTrainingExamples()
416 Feature.newBuilder() in handleOnTrainingExamples()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DEurope_London.geojson1 {"type":"FeatureCollection","features":[{"type":"Feature","properties":{"tzid":"Europe/London"},"ge…
/packages/apps/Settings/aconfig/media_drm/
Dsettings_mediadrm_flag_declarations.aconfig7 description: "Feature flag of forcing L3"

123