/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | FeatureUtils.java | 31 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 …]
|
D | TestableFeature.java | 30 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()
|
D | CommonFeatures.java | 56 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;
|
D | BuildTypeFeature.java | 23 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);
|
D | Sdk.java | 26 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 {
|
D | SharedPreferencesFeature.java | 25 public final class SharedPreferencesFeature implements Feature { 33 private final Feature mBaseFeature; 42 public SharedPreferencesFeature(String key, boolean defaultValue, Feature baseFeature) { in SharedPreferencesFeature()
|
D | SystemAppFeature.java | 23 public final class SystemAppFeature implements Feature { 24 public static final Feature SYSTEM_APP_FEATURE = new SystemAppFeature();
|
D | Feature.java | 35 public interface Feature { interface
|
D | PermissionFeature.java | 23 public class PermissionFeature implements Feature {
|
D | Model.java | 28 final class ModelFeature implements Feature {
|
D | PropertyFeature.java | 27 public final class PropertyFeature implements Feature {
|
D | DeveloperPreferenceFeature.java | 24 public class DeveloperPreferenceFeature implements Feature {
|
D | FlagFeature.java | 22 public class FlagFeature<T> implements Feature {
|
D | PackageVersionFeature.java | 27 public class PackageVersionFeature implements Feature {
|
/packages/apps/TV/src/com/android/tv/features/ |
D | TvFeatures.java | 32 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_BLACKLIST = ON;
|
D | PartnerFeatures.java | 22 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/ |
D | RcsFeatureControllerTest.java | 67 @Mock RcsFeatureController.Feature mMockFeature; 93 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testRcsFeatureManagerConnectDisconnect() 114 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature() 117 assertEquals(mMockFeature, controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature() 119 controller.removeFeature(RcsFeatureController.Feature.class); in testFeatureManagerConnectedAddRemoveFeature() 121 assertNull(controller.getFeature(RcsFeatureController.Feature.class)); in testFeatureManagerConnectedAddRemoveFeature() 197 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testFeatureManagerDisconnectedAddFeature() 251 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testChangeSubId() 264 controller.addFeature(mMockFeature, RcsFeatureController.Feature.class); in testDestroy() 270 assertNull(controller.getFeature(RcsFeatureController.Feature.class)); in testDestroy()
|
/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
D | RcsFeatureController.java | 56 public interface Feature { interface in RcsFeatureController 109 private final Map<Class<?>, Feature> mFeatures = new ArrayMap<>(); 205 public <T extends Feature> void addFeature(T connector, Class<T> clazz) { in addFeature() 232 RcsFeatureController.Feature feature = mFeatures.remove(clazz); in removeFeature() 259 for (Feature c : mFeatures.values()) { in updateAssociatedSubscription() 274 for (Feature c : mFeatures.values()) { in destroy() 401 for (Feature c : mFeatures.values()) { in updateConnectionStatus() 405 for (Feature c : mFeatures.values()) { in updateConnectionStatus()
|
D | UserCapabilityExchangeImpl.java | 44 public class UserCapabilityExchangeImpl implements RcsFeatureController.Feature, SubscribePublisher,
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/features/ |
D | TunerFeatures.java | 23 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/apps/Camera2/src/com/android/camera/ |
D | FocusOverlayManager.java | 179 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()
|
D | PhotoModule.java | 936 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()
|
D | VideoModule.java | 406 if(!mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_SNAPSHOT)) { in takeASnapshot() 593 mFocusAreaSupported = mCameraCapabilities.supports(CameraCapabilities.Feature.FOCUS_AREA); in onCameraAvailable() 595 mCameraCapabilities.supports(CameraCapabilities.Feature.METERING_AREA); in onCameraAvailable() 1668 if (mCameraCapabilities.supports(CameraCapabilities.Feature.ZOOM)) { in setCameraParameters() 1675 if (mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_STABILIZATION)) { in setCameraParameters() 1872 if (mCameraCapabilities.supports(CameraCapabilities.Feature.VIDEO_SNAPSHOT) && in showVideoSnapshotUI()
|
D | PhotoUI.java | 323 !capabilities.supports(CameraCapabilities.Feature.ZOOM)) { in initializeZoom()
|
/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()
|