Home
last modified time | relevance | path

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

12

/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;
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);
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 private static final class AtLeast implements Feature {
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
DPermissionFeature.java23 public class PermissionFeature implements Feature {
DModel.java28 final class ModelFeature implements Feature {
DPropertyFeature.java27 public final class PropertyFeature implements Feature {
DDeveloperPreferenceFeature.java24 public class DeveloperPreferenceFeature implements Feature {
DPackageVersionFeature.java27 public class PackageVersionFeature implements Feature {
DFlagFeature.java22 public class FlagFeature<T> implements Feature {
/packages/apps/TV/src/com/android/tv/features/
DTvFeatures.java32 import com.android.tv.common.feature.Feature;
49 public static final Feature STORE_NETWORK_AFFILIATION = ENG_ONLY_FEATURE;
51 private static final Feature TV_PROVIDER_ALLOWS_INSERT_TO_PROGRAM_TABLE =
70 public static final Feature EPG_SEARCH = OFF;
73 public static final Feature UNHIDE =
81 public static final Feature PICTURE_IN_PICTURE =
82 new Feature() {
99 public static final Feature SHOW_UPCOMING_CONFLICT_DIALOG = OFF;
102 public static final Feature USE_PARTNER_INPUT_BLOCKLIST = ON;
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.java70 @Mock RcsFeatureController.Feature mMockFeature;
96 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testRcsFeatureManagerConnectDisconnect()
118 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature()
121 assertEquals(mMockFeature, controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature()
123 controller.removeFeature(RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature()
125 assertNull(controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature()
206 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerDisconnectedAddFeature()
262 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testCarrierConfigChanged()
277 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testChangeSubId()
290 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testDestroy()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DRcsFeatureController.java54 public interface Feature { interface in RcsFeatureController
118 private final Map<Class<?>, Feature> mFeatures = new ArrayMap<>();
219 public <T extends Feature> void addFeature(T connector, Class<T> clazz) { in addFeature()
246 RcsFeatureController.Feature feature = mFeatures.remove(clazz); in removeFeature()
268 for (Feature c : mFeatures.values()) { in updateAssociatedSubscription()
281 for (Feature c : mFeatures.values()) { in onCarrierConfigChangedForSubscription()
296 for (Feature c : mFeatures.values()) { in destroy()
437 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
441 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
469 for (Feature f : mFeatures.values()) { in dump()
/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/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DGeoJsonTzToTzS2Polygons.java36 import org.geojson.Feature;
164 List<Feature> features = featureCollection.getFeatures(); in execute()
166 for (Feature feature : features) { in execute()
199 private static TzS2Polygons processFeature(Feature feature) { in processFeature()
/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()
DPhotoModule.java936 if (mCameraCapabilities.supports(CameraCapabilities.Feature.ZOOM)) { in saveFinalPhoto()
1888 if (mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_STABILIZATION)) { in updateCameraParametersInitialize()
1895 if (mCameraCapabilities.supports(CameraCapabilities.Feature.ZOOM)) { in updateCameraParametersZoom()
2194 mFocusAreaSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.FOCUS_AREA); in initializeCapabilities()
2195 … mMeteringAreaSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.METERING_AREA); in initializeCapabilities()
2196 … mAeLockSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.AUTO_EXPOSURE_LOCK); in initializeCapabilities()
2197 …mAwbLockSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.AUTO_WHITE_BALANCE_LOC… in initializeCapabilities()
DVideoModule.java403 if(!mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_SNAPSHOT)) { in takeASnapshot()
590 mFocusAreaSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.FOCUS_AREA); in onCameraAvailable()
592 mCameraCapabilities.supports(CameraCapabilities.Feature.METERING_AREA); in onCameraAvailable()
1656 if (mCameraCapabilities.supports(CameraCapabilities.Feature.ZOOM)) { in setCameraParameters()
1663 if (mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_STABILIZATION)) { in setCameraParameters()
1860 if (mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_SNAPSHOT) && in showVideoSnapshotUI()
/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/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…

12