Home
last modified time | relevance | path

Searched refs:featureName (Results 1 – 25 of 31) sorted by relevance

12

/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarFeatureController.java207 public boolean isFeatureEnabled(String featureName) { in isFeatureEnabled() argument
208 return mEnabledFeatures.contains(featureName); in isFeatureEnabled()
223 private int checkFeatureExisting(String featureName) { in checkFeatureExisting() argument
224 if (MANDATORY_FEATURES.contains(featureName)) { in checkFeatureExisting()
227 if (!OPTIONAL_FEATURES.contains(featureName)) { in checkFeatureExisting()
231 + featureName); in checkFeatureExisting()
240 public int enableFeature(String featureName) { in enableFeature() argument
242 int checkResult = checkFeatureExisting(featureName); in enableFeature()
255 mPendingEnabledFeatures.add(featureName); in enableFeature()
270 public int disableFeature(String featureName) { in disableFeature() argument
[all …]
H A DICarImpl.java491 public boolean isFeatureEnabled(String featureName) { in isFeatureEnabled() argument
492 return mFeatureController.isFeatureEnabled(featureName); in isFeatureEnabled()
496 public int enableFeature(String featureName) { in enableFeature() argument
498 return mFeatureController.enableFeature(featureName); in enableFeature()
502 public int disableFeature(String featureName) { in disableFeature() argument
504 return mFeatureController.disableFeature(featureName); in disableFeature()
526 public String getCarManagerClassForFeature(String featureName) { in getCarManagerClassForFeature() argument
530 return mCarExperimentalFeatureServiceController.getCarManagerClassForFeature(featureName); in getCarManagerClassForFeature()
H A DCarExperimentalFeatureServiceController.java206 public String getCarManagerClassForFeature(String featureName) { in getCarManagerClassForFeature() argument
209 info = mEnabledFeatures.get(featureName); in getCarManagerClassForFeature()
H A DCarShellCommand.java1065 String featureName = args[1];
1070 r = mFeatureController.enableFeature(featureName);
1072 r = mFeatureController.disableFeature(featureName);
1077 writer.println("Enabled feature:" + featureName);
1079 writer.println("Disabled feature:" + featureName);
1084 writer.println("Already enabled:" + featureName);
1086 writer.println("Already disabled:" + featureName);
1090 writer.println("Cannot change mandatory feature:" + featureName);
1093 writer.println("Non-existing feature:" + featureName);
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DICar.aidl33 boolean isFeatureEnabled(in String featureName) = 13; field
34 int enableFeature(in String featureName) = 14; field
35 int disableFeature(in String featureName) = 15; field
43 String getCarManagerClassForFeature(in String featureName) = 19; field
H A DCarFeatures.java57 boolean isFeatureEnabled(@NonNull ICar service, @NonNull String featureName) { in isFeatureEnabled() argument
59 Boolean supported = mCachedFeatures.get(featureName); in isFeatureEnabled()
66 boolean supported = service.isFeatureEnabled(featureName); in isFeatureEnabled()
68 mCachedFeatures.put(featureName, Boolean.valueOf(supported)); in isFeatureEnabled()
H A DCar.java1613 public boolean isFeatureEnabled(@NonNull String featureName) { in isFeatureEnabled() argument
1621 return mFeatures.isFeatureEnabled(service, featureName); in isFeatureEnabled()
1635 public int enableFeature(@NonNull String featureName) { in enableFeature() argument
1644 return service.enableFeature(featureName); in enableFeature()
1661 public int disableFeature(@NonNull String featureName) { in disableFeature() argument
1670 return service.disableFeature(featureName); in disableFeature()
/aosp12/hardware/qcom/display/msm8996/libqdutils/
H A Dqd_utils.cpp54 const char *featureName; in querySDEInfo() local
62 featureName = "tile_format"; in querySDEInfo()
66 featureName = "ubwc"; in querySDEInfo()
94 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfo()
/aosp12/hardware/qcom/display/msm8909w_3100/libqdutils/
H A Dqd_utils.cpp112 const char *featureName; in querySDEInfoFB() local
120 featureName = "ubwc"; in querySDEInfoFB()
123 featureName = "wb_ubwc"; in querySDEInfoFB()
150 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
/aosp12/hardware/qcom/display/msm8998/libqdutils/
H A Dqd_utils.cpp112 const char *featureName; in querySDEInfoFB() local
120 featureName = "ubwc"; in querySDEInfoFB()
123 featureName = "wb_ubwc"; in querySDEInfoFB()
150 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
/aosp12/hardware/qcom/display/msm8909/libqdutils/
H A Dqd_utils.cpp112 const char *featureName; in querySDEInfoFB() local
120 featureName = "ubwc"; in querySDEInfoFB()
123 featureName = "wb_ubwc"; in querySDEInfoFB()
150 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
/aosp12/hardware/qcom/sdm845/display/libqdutils/
H A Dqd_utils.cpp113 const char *featureName; in querySDEInfoFB() local
121 featureName = "ubwc"; in querySDEInfoFB()
124 featureName = "wb_ubwc"; in querySDEInfoFB()
151 if (!strncmp(tokens[i], featureName, strlen(featureName))) { in querySDEInfoFB()
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/resolver/
H A DLRResolverRankerService.java166 String featureName = target.keyAt(i); in predict() local
167 float weight = mFeatureWeights.getOrDefault(featureName, 0.0f); in predict()
180 String featureName = target.keyAt(i); in update() local
181 float currentWeight = mFeatureWeights.getOrDefault(featureName, 0.0f); in update()
185 mFeatureWeights.put(featureName, currentWeight); in update()
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/
H A DFakeCar.java208 public boolean isFeatureEnabled(String featureName) { in isFeatureEnabled() argument
213 public int enableFeature(String featureName) { in enableFeature() argument
218 public int disableFeature(String featureName) { in disableFeature() argument
238 public String getCarManagerClassForFeature(String featureName) { in getCarManagerClassForFeature() argument
/aosp12/packages/services/Car/experimental/service/src/com/android/experimentalcar/
H A DIExperimentalCarImpl.java170 private String getClassNameForFeature(String featureName) { in getClassNameForFeature() argument
171 switch (featureName) { in getClassNameForFeature()
182 private CarServiceBase constructServiceForFeature(String featureName) { in constructServiceForFeature() argument
183 switch (featureName) { in constructServiceForFeature()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/
H A DCarTest.java78 public boolean isFeatureEnabled(String featureName) {
83 public int enableFeature(String featureName) {
88 public int disableFeature(String featureName) {
108 public String getCarManagerClassForFeature(String featureName) {
/aosp12/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py360 self.featureName = None
408 self.featureName = interface.get('name')
413 self.featureName = None
418 if (self.featureName == None):
424 if (self.featureName == None):
430 if (self.featureName == None):
577 write('#ifndef', self.featureName, file=self.outFile)
578 write('#define', self.featureName, '1', file=self.outFile)
599 write('#endif /*', self.featureName, '*/', file=self.outFile)
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DCarrierXmlParser.java452 String featureName = getSpecificAttributeValue(parser, ATTR_NAME); in parseXml() local
453 if (!TextUtils.isEmpty(featureName)) { in parseXml()
455 features.put(featureName, feature); in parseXml()
456 Log.d(LOG_TAG, "add " + featureName + " to map:" + feature.toString()); in parseXml()
/aosp12/frameworks/native/libs/binder/aidl/android/content/pm/
H A DIPackageManagerNative.aidl125 boolean hasSystemFeature(in String featureName, in int version); in hasSystemFeature() argument
/aosp12/frameworks/base/location/java/android/location/
H A DAddress.java132 public void setFeatureName(String featureName) { in setFeatureName() argument
133 mFeatureName = featureName; in setFeatureName()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/
H A DCarDisplayAreaOrganizer.java207 @Nullable ComponentName activity, int featureId, String featureName) { in setPersistentActivity() argument
209 Log.e(TAG, "Empty activity for " + featureName + " (" + featureId + ")"); in setPersistentActivity()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/app/
H A DMockPackageManager.java438 public boolean hasSystemFeature(@NonNull String featureName) { in hasSystemFeature() argument
443 public boolean hasSystemFeature(@NonNull String featureName, int version) { in hasSystemFeature() argument
/aosp12/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
H A DAtomTestCase.java1107 protected boolean hasFeature(String featureName, boolean requiredAnswer) throws Exception { in hasFeature() argument
1113 if (("feature:" + featureName).equals(featureToken.nextToken())) { in hasFeature()
1121 + featureName); in hasFeature()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DParsingPackageUtils.java1329 final String featureName = sa.getString( in parseRequiredFeature() local
1331 return TextUtils.isEmpty(featureName) in parseRequiredFeature()
1333 : input.success(featureName); in parseRequiredFeature()
1344 final String featureName = sa.getString( in parseRequiredNotFeature() local
1346 return TextUtils.isEmpty(featureName) in parseRequiredNotFeature()
1348 : input.success(featureName); in parseRequiredNotFeature()
/aosp12/frameworks/base/core/java/com/android/server/
H A DSystemConfig.java1308 for (String featureName : mUnavailableFeatures) { in readPermissionsFromXml()
1309 removeFeature(featureName); in readPermissionsFromXml()

12