Home
last modified time | relevance | path

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

123456789

/frameworks/minikin/libs/minikin/
DFontFeatureUtils.cpp46 static hb_feature_t feature; in cleanAndAddDefaultFontFeatures() local
49 if (hb_feature_from_string(featureStr.data(), featureStr.size(), &feature) && in cleanAndAddDefaultFontFeatures()
50 feature.start == 0 && feature.end == (unsigned int)-1) { in cleanAndAddDefaultFontFeatures()
57 (feature.tag == chws_tag || in cleanAndAddDefaultFontFeatures()
58 (feature.value && (feature.tag == halt_tag || feature.tag == palt_tag)))) { in cleanAndAddDefaultFontFeatures()
62 features.push_back(feature); in cleanAndAddDefaultFontFeatures()
/frameworks/base/core/java/android/util/
DFeatureFlagUtils.java131 public static boolean isEnabled(Context context, String feature) { in isEnabled() argument
138 value = Settings.Global.getString(context.getContentResolver(), feature); in isEnabled()
146 value = SystemProperties.get(getSystemPropertyPrefix(feature) + feature); in isEnabled()
151 value = getAllFeatureFlags().get(feature); in isEnabled()
158 public static void setEnabled(Context context, String feature, boolean enabled) { in setEnabled() argument
159 SystemProperties.set(getSystemPropertyPrefix(feature) + feature, in setEnabled()
170 private static String getSystemPropertyPrefix(String feature) { in getSystemPropertyPrefix() argument
171 return PERSISTENT_FLAGS.contains(feature) ? PERSIST_PREFIX : FFLAG_OVERRIDE_PREFIX; in getSystemPropertyPrefix()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java45 import android.telephony.ims.feature.ImsFeature;
46 import android.telephony.ims.feature.MmTelFeature;
161 OverrideConfig(int slotIndex, boolean isCarrier, Map<Integer, String> feature) { in OverrideConfig() argument
164 featureTypeToPackageMap = feature; in OverrideConfig()
187 void addFeatureForAllSlots(int numSlots, int feature) { in addFeatureForAllSlots() argument
189 mSupportedFeatures.add(new ImsFeatureConfiguration.FeatureSlotPair(i, feature)); in addFeatureForAllSlots()
747 public @Nullable IImsRegistration getImsRegistration(int slotId, int feature) { in getImsRegistration() argument
748 ImsFeatureContainer fc = mRepo.getIfExists(slotId, feature).orElse(null); in getImsRegistration()
755 public @Nullable IImsConfig getImsConfig(int slotId, int feature) { in getImsConfig() argument
756 ImsFeatureContainer fc = mRepo.getIfExists(slotId, feature).orElse(null); in getImsConfig()
[all …]
DImsServiceControllerCompat.java31 import android.telephony.ims.compat.feature.ImsFeature;
32 import android.telephony.ims.compat.feature.MMTelFeature;
239 IImsMMTelFeature feature = mServiceController.createMMTelFeature(slotId); in getInterface() local
240 if (feature == null) { in getInterface()
244 return new MmTelInterfaceAdapter(slotId, feature.asBinder()); in getInterface()
DMmTelInterfaceAdapter.java122 IImsMMTelFeature feature = IImsMMTelFeature.Stub.asInterface(mBinder); in getInterface() local
123 if (feature == null) { in getInterface()
126 return feature; in getInterface()
DMmTelFeatureCompatAdapter.java30 import android.telephony.ims.feature.CapabilityChangeRequest;
31 import android.telephony.ims.feature.MmTelFeature;
100 public void onGetFeatureResponse(int feature, int network, int value, int status) in onGetFeatureResponse() argument
102 if (feature == mCapability && network == mTech) { in onGetFeatureResponse()
107 + feature + " and network=" + network); in onGetFeatureResponse()
112 public void onSetFeatureResponse(int feature, int network, int value, int status) in onSetFeatureResponse() argument
114 if (feature == mCapability && network == mTech) { in onSetFeatureResponse()
119 + feature + " and network=" + network); in onSetFeatureResponse()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java60 DeathRecipient(IDisplayAreaOrganizer organizer, int feature) { in DeathRecipient() argument
62 mFeature = feature; in DeathRecipient()
86 DisplayAreaOrganizerState(IDisplayAreaOrganizer organizer, int feature) { in DisplayAreaOrganizerState() argument
88 mDeathRecipient = new DeathRecipient(organizer, feature); in DisplayAreaOrganizerState()
129 IDisplayAreaOrganizer organizer, int feature) { in registerOrganizer() argument
137 if (mOrganizersByFeatureIds.get(feature) != null) { in registerOrganizer()
138 if (mOrganizersByFeatureIds.get(feature).mOrganizer.asBinder() in registerOrganizer()
144 mOrganizersByFeatureIds.remove(feature).destroy(); in registerOrganizer()
145 Slog.d(TAG, "Replacing dead organizer for feature=" + feature); in registerOrganizer()
149 feature); in registerOrganizer()
[all …]
DRootDisplayArea.java85 Feature feature = features.get(i); in placeImeContainer() local
86 if (feature.getId() == FEATURE_IME_PLACEHOLDER) { in placeImeContainer()
88 mFeatureToDisplayAreas.get(feature); in placeImeContainer()
/frameworks/base/tools/aapt2/link/
DManifestFixer_test.cpp656 <uses-feature android:name="feature" /> in TEST_F()
657 <uses-feature android:glEsVersion="1" /> in TEST_F()
658 <feature-group /> in TEST_F()
659 <feature-group> in TEST_F()
660 <uses-feature android:name="feature_in_group" /> in TEST_F()
661 <uses-feature android:glEsVersion="2" /> in TEST_F()
662 </feature-group> in TEST_F()
669 <uses-feature android:name="feature" android:glEsVersion="1" /> in TEST_F()
676 <uses-feature /> in TEST_F()
683 <feature-group> in TEST_F()
[all …]
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSampleSidecarImpl.java84 CommonFoldingFeature feature = mStoredFeatures.get(i); in deviceStateFromFeature() local
85 final int state = feature.getState(); in deviceStateFromFeature()
124 SidecarDisplayFeature feature = new SidecarDisplayFeature(); in getDisplayFeatures() local
128 feature.setRect(featureRect); in getDisplayFeatures()
129 feature.setType(baseFeature.getType()); in getDisplayFeatures()
130 features.add(feature); in getDisplayFeatures()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlConversionUtils.java186 public static byte convertFrameworkToAidlFeature(int feature) throws IllegalArgumentException { in convertFrameworkToAidlFeature() argument
187 switch (feature) { in convertFrameworkToAidlFeature()
193 Slog.e(TAG, "Unsupported feature : " + feature); in convertFrameworkToAidlFeature()
198 public static int convertAidlToFrameworkFeature(byte feature) throws IllegalArgumentException { in convertAidlToFrameworkFeature() argument
199 switch (feature) { in convertAidlToFrameworkFeature()
205 Slog.e(TAG, "Unsupported feature : " + feature); in convertAidlToFrameworkFeature()
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsConfigImplBase.java125 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue() argument
139 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue() argument
319 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue() argument
321 getImsConfigImpl().getFeatureValue(feature, network, listener); in getFeatureValue()
328 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue() argument
330 getImsConfigImpl().setFeatureValue(feature, network, value, listener); in setFeatureValue()
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py176 def regSortCategoryKey(feature): argument
177 if (feature.elem.tag == 'feature'):
179 elif (feature.category == 'ARB' or
180 feature.category == 'KHR' or
181 feature.category == 'OES'):
188 def regSortNameKey(feature): argument
189 return feature.name
194 def regSortNumberKey(feature): argument
195 return feature.number
792 for feature in self.reg.findall('feature'):
[all …]
/frameworks/base/telephony/java/com/android/ims/
DImsConfigListener.aidl34 void onGetFeatureResponse(int feature, int network, int value, int status); in onGetFeatureResponse() argument
51 void onSetFeatureResponse(int feature, int network, int value, int status); in onSetFeatureResponse() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java22 import static android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_SMS;
23 import static android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_UT;
24 import static android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VIDEO;
25 import static android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.CAPABILITY_TYPE_VOICE;
44 import android.telephony.ims.feature.MmTelFeature.MmTelCapabilities;
45 import android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.MmTelCapability;
294 @MmTelCapability int feature, @ImsRegistrationTech int network, int value) { in onSetFeatureResponse()
299 lastCapableFeatures.addCapabilities(feature); in onSetFeatureResponse()
301 lastCapableFeatures.removeCapabilities(feature); in onSetFeatureResponse()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsConfig.aidl81 oneway void getFeatureValue(int feature, int network, ImsConfigListener listener); in getFeatureValue() argument
94 oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener); in setFeatureValue() argument
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DFeatureResolver.java97 private Bundle getFeatureBundle(String feature) { in getFeatureBundle() argument
108 feature, in getFeatureBundle()
111 Log.w(TAG, String.format("Fail to resolve %s feature from suw provider", feature)); in getFeatureBundle()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DContextFixture.java168 public void addSystemFeature(String feature) { in addSystemFeature() argument
169 mSystemFeatures.add(feature); in addSystemFeature()
172 public void removeSystemFeature(String feature) { in removeSystemFeature() argument
173 mSystemFeatures.remove(feature); in removeSystemFeature()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DTestMmTelFeature.java22 import android.telephony.ims.feature.CapabilityChangeRequest;
23 import android.telephony.ims.feature.ImsFeature;
24 import android.telephony.ims.feature.MmTelFeature;
DTestImsServiceCompat.java22 import android.telephony.ims.feature.MmTelFeature;
23 import android.telephony.ims.feature.RcsFeature;
DTestImsService.java22 import android.telephony.ims.feature.MmTelFeature;
23 import android.telephony.ims.feature.RcsFeature;
DTestImsFeature.java20 import android.telephony.ims.feature.CapabilityChangeRequest;
21 import android.telephony.ims.feature.ImsFeature;
/frameworks/av/media/libmediaformatshaper/include/media/formatshaper/
DFormatShaper.h84 typedef int (*setFeature_t)(shaperHandle_t shaper, const char *feature, int value);
90 typedef int (*setTuning_t)(shaperHandle_t shaper, const char *feature, const char * value);
/frameworks/base/media/java/android/media/
DMediaRoute2Info.java588 for (String feature : features) { in hasAnyFeatures()
589 if (getFeatures().contains(feature)) { in hasAnyFeatures()
603 for (String feature : features) { in hasAllFeatures()
604 if (!getFeatures().contains(feature)) { in hasAllFeatures()
812 public Builder addFeature(@NonNull String feature) { in addFeature() argument
813 if (TextUtils.isEmpty(feature)) { in addFeature()
816 mFeatures.add(feature); in addFeature()
832 for (String feature : features) { in addFeatures()
833 addFeature(feature); in addFeatures()
/frameworks/av/media/libmediaformatshaper/
DFormatShaper.cpp86 int setFeature(shaperHandle_t shaper, const char *feature, int value) { in setFeature() argument
87 ALOGV("set_feature: feature %s value %d", feature, value); in setFeature()
98 codec->setFeatureValue(feature, value); in setFeature()

123456789