Home
last modified time | relevance | path

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

1234567

/aosp14/frameworks/base/core/java/android/util/
H A DFeatureFlagUtils.java275 public static boolean isEnabled(Context context, String feature) { in isEnabled() argument
282 value = Settings.Global.getString(context.getContentResolver(), feature); in isEnabled()
290 value = SystemProperties.get(getSystemPropertyPrefix(feature) + feature); in isEnabled()
295 value = getAllFeatureFlags().get(feature); in isEnabled()
302 public static void setEnabled(Context context, String feature, boolean enabled) { in setEnabled() argument
303 SystemProperties.set(getSystemPropertyPrefix(feature) + feature, in setEnabled()
314 private static String getSystemPropertyPrefix(String feature) { in getSystemPropertyPrefix() argument
315 return PERSISTENT_FLAGS.contains(feature) ? PERSIST_PREFIX : FFLAG_OVERRIDE_PREFIX; in getSystemPropertyPrefix()
/aosp14/frameworks/base/tools/aapt2/integration-tests/DumpTest/
H A Dcomponents_expected.txt26 feature-group: label=''
27 uses-feature: name='android.hardware.bluetooth'
28 uses-feature: name='android.hardware.camera'
29 uses-feature: name='android.hardware.faketouch'
30 uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
31 uses-feature-sdk-23: name='android.hardware.telephony'
32 …uses-implied-feature-sdk-23: name='android.hardware.telephony' reason='requested a telephony permi…
H A Dbuilt_with_aapt_expected.txt5 feature-group: label=''
6 uses-feature: name='android.hardware.faketouch'
7 uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
H A Dmultiple_uses_sdk_expected.txt16 feature-group: label=''
17 uses-feature: name='android.hardware.faketouch'
18 uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
H A Dminimal_expected.txt79 feature-group: label=''
81 uses-feature: name='android.software.live_wallpaper'
82 uses-feature: name='android.hardware.faketouch'
83 uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
84 uses-feature: name='android.hardware.screen.portrait'
85 …uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have …
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A 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 mOrganizersByFeatureIds.remove(feature).destroy(); in registerOrganizer()
139 Slog.d(TAG, "Replacing dead organizer for feature=" + feature); in registerOrganizer()
143 feature); in registerOrganizer()
153 if (da.mFeatureId != feature) return; in registerOrganizer()
[all …]
H A DRootDisplayArea.java89 Feature feature = features.get(i); in placeImeContainer() local
90 if (feature.getId() == FEATURE_IME_PLACEHOLDER) { in placeImeContainer()
92 mFeatureToDisplayAreas.get(feature); in placeImeContainer()
H A DDisplayAreaPolicyBuilder.java458 HierarchyBuilder addFeature(DisplayAreaPolicyBuilder.Feature feature) { in addFeature() argument
459 mFeatures.add(feature); in addFeature()
529 final Feature feature = mFeatures.get(i); in build() local
532 if (feature.mWindowLayers[layer]) { in build()
543 featureArea = new PendingArea(feature, layer, areaForLayer[layer]); in build()
861 Feature feature = features.get(i); in getDisplayAreas() local
862 if (feature.mId == featureId) { in getDisplayAreas()
863 displayAreas.addAll(root.mFeatureToDisplayAreas.get(feature)); in getDisplayAreas()
900 PendingArea(Feature feature, int minLayer, PendingArea parent) { in PendingArea() argument
902 mFeature = feature; in PendingArea()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
H A DSampleSidecarImpl.java83 CommonFoldingFeature feature = mStoredFeatures.get(i); in deviceStateFromFeature() local
84 final int state = feature.getState(); in deviceStateFromFeature()
125 SidecarDisplayFeature feature = new SidecarDisplayFeature(); in getDisplayFeatures() local
129 feature.setRect(featureRect); in getDisplayFeatures()
130 feature.setType(baseFeature.getType()); in getDisplayFeatures()
131 features.add(feature); in getDisplayFeatures()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A 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()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
H A 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()
/aosp14/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp704 <uses-feature android:name="feature" /> in TEST_F()
705 <uses-feature android:glEsVersion="1" /> in TEST_F()
706 <feature-group /> in TEST_F()
707 <feature-group> in TEST_F()
710 </feature-group> in TEST_F()
724 <uses-feature /> in TEST_F()
731 <feature-group> in TEST_F()
733 </feature-group> in TEST_F()
740 <feature-group> in TEST_F()
741 <uses-feature /> in TEST_F()
[all …]
/aosp14/frameworks/base/telephony/java/com/android/ims/
H A 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
/aosp14/frameworks/base/telephony/java/com/android/ims/internal/
H A 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
/aosp14/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsFeatureConfiguration.java24 import android.telephony.ims.feature.ImsFeature;
155 void addFeature(int slotId, int feature) { in addFeature() argument
156 mFeatures.add(new FeatureSlotPair(slotId, feature)); in addFeature()
H A DCapabilityExchangeEventListener.java27 import android.telephony.ims.feature.ImsFeature;
28 import android.telephony.ims.feature.RcsFeature;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DExtensionControllerImpl.java125 public ExtensionController.ExtensionBuilder<T> withFeature(String feature, in withFeature() argument
127 mExtension.addFeature(feature, supplier); in withFeature()
221 public void addFeature(String feature, Supplier<T> mode) { in addFeature() argument
222 mProducers.add(new FeatureItem<>(feature, mode)); in addFeature()
346 public FeatureItem(String feature, Supplier<T> supplier) { in FeatureItem() argument
348 mFeature = feature; in FeatureItem()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaRoute2Info.java713 for (String feature : features) { in hasAnyFeatures()
714 if (getFeatures().contains(feature)) { in hasAnyFeatures()
728 for (String feature : features) { in hasAllFeatures()
729 if (!getFeatures().contains(feature)) { in hasAllFeatures()
1063 public Builder addFeature(@NonNull String feature) { in addFeature() argument
1064 if (TextUtils.isEmpty(feature)) { in addFeature()
1067 mFeatures.add(feature); in addFeature()
1083 for (String feature : features) { in addFeatures()
1084 addFeature(feature); in addFeatures()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTestUtils.java71 final static public boolean isFeatureAvailable(Context context, String feature) { in isFeatureAvailable() argument
75 if (f.name != null && f.name.equals(feature)) { in isFeatureAvailable()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
H A DCommonFoldingFeature.java134 CommonFoldingFeature feature; in parseListFromString() local
136 feature = CommonFoldingFeature.parseFromString(featureString, hingeState); in parseListFromString()
143 features.add(feature); in parseListFromString()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DVisibilityExtractor.java97 private boolean adminAllowsKeyguardFeature(int userHandle, int feature) { in adminAllowsKeyguardFeature() argument
102 return (dpmFlags & feature) == 0; in adminAllowsKeyguardFeature()
/aosp14/frameworks/base/telephony/java/android/telephony/ims/compat/
H A DImsService.java26 import android.telephony.ims.compat.feature.ImsFeature;
27 import android.telephony.ims.compat.feature.MMTelFeature;
28 import android.telephony.ims.compat.feature.RcsFeature;
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFaceGetFeatureClient.java54 int feature, int faceId) { in FaceGetFeatureClient() argument
57 mFeature = feature; in FaceGetFeatureClient()
H A DFaceSetFeatureClient.java54 int feature, boolean enabled, byte[] hardwareAuthToken, int faceId) { in FaceSetFeatureClient() argument
57 mFeature = feature; in FaceSetFeatureClient()
/aosp14/frameworks/base/tools/aapt2/dump/
H A DDumpManifest.cpp1066 for (auto feature : features_) { in PrintGroup() local
1070 if (feature.second.version > 0) { in PrintGroup()
1081 for (auto& feature : features_) { in GroupToProto() local
1083 out_feature->set_name(feature.first); in GroupToProto()
1128 for (auto& feature : group->features_) { in Merge() local
1129 features_.insert(feature); in Merge()
1155 for (auto feature : implied_features_) { in PrintGroup() local
1364 std::string feature = in Extract() local
1366 if (!feature.empty()) { in Extract()
1367 requiredFeatures.push_back(feature); in Extract()
[all …]

1234567