/frameworks/base/core/java/android/app/admin/ |
D | ProvisioningIntentHelper.java | 139 String propertyName = (String) propertyNames.nextElement(); in createBundleFromProperties() local 140 addPropertyToBundle(propertyName, properties, bundle); in createBundleFromProperties() 146 String propertyName, Properties properties, Bundle bundle) { in addPropertyToBundle() argument 147 if (EXTRAS_TO_CLASS_MAP.get(propertyName) == ComponentName.class) { in addPropertyToBundle() 149 properties.getProperty(propertyName)); in addPropertyToBundle() 150 bundle.putParcelable(propertyName, componentName); in addPropertyToBundle() 151 } else if (EXTRAS_TO_CLASS_MAP.get(propertyName) == PersistableBundle.class) { in addPropertyToBundle() 153 bundle.putParcelable(propertyName, in addPropertyToBundle() 154 deserializeExtrasBundle(properties, propertyName)); in addPropertyToBundle() 157 "Failed to parse " + propertyName + ".", e); in addPropertyToBundle() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | ObjectAnimator.java | 108 public void setPropertyName(@NonNull String propertyName) { in setPropertyName() argument 114 valuesHolder.setPropertyName(propertyName); in setPropertyName() 116 mValuesMap.put(propertyName, valuesHolder); in setPropertyName() 118 mPropertyName = propertyName; in setPropertyName() 166 String propertyName = null; in getPropertyName() local 168 propertyName = mPropertyName; in getPropertyName() 170 propertyName = mProperty.getName(); in getPropertyName() 174 propertyName = ""; in getPropertyName() 176 propertyName += ","; in getPropertyName() 178 propertyName += mValues[i].getPropertyName(); in getPropertyName() [all …]
|
D | PropertyValuesHolder.java | 134 private PropertyValuesHolder(String propertyName) { in PropertyValuesHolder() argument 135 mPropertyName = propertyName; in PropertyValuesHolder() 156 public static PropertyValuesHolder ofInt(String propertyName, int... values) { in ofInt() argument 157 return new IntPropertyValuesHolder(propertyName, values); in ofInt() 185 public static PropertyValuesHolder ofMultiInt(String propertyName, int[][] values) { in ofMultiInt() argument 202 return new MultiIntValuesHolder(propertyName, null, evaluator, (Object[]) values); in ofMultiInt() 217 public static PropertyValuesHolder ofMultiInt(String propertyName, Path path) { in ofMultiInt() argument 220 return new MultiIntValuesHolder(propertyName, converter, null, keyframes); in ofMultiInt() 240 public static <V> PropertyValuesHolder ofMultiInt(String propertyName, in ofMultiInt() argument 242 return new MultiIntValuesHolder(propertyName, converter, evaluator, values); in ofMultiInt() [all …]
|
D | AnimatorInflater.java | 276 int valueFromId, int valueToId, String propertyName) { in getPVH() argument 314 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH() 317 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH() 322 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH() 348 returnValue = PropertyValuesHolder.ofFloat(propertyName, in getPVH() 351 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueFrom); in getPVH() 359 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueTo); in getPVH() 380 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom, valueTo); in getPVH() 382 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom); in getPVH() 393 returnValue = PropertyValuesHolder.ofInt(propertyName, valueTo); in getPVH() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | OptPropFactory.java | 59 public OptProp create(@NonNull String propertyName) { in create() argument 61 () -> mPackageManager.getProperty(propertyName, mPackageName).getBoolean(), in create() 62 propertyName); in create() 74 public OptProp create(@NonNull String propertyName, @NonNull BooleanSupplier gateCondition) { in create() argument 76 () -> mPackageManager.getProperty(propertyName, mPackageName).getBoolean(), in create() 77 propertyName, in create() 118 @NonNull String propertyName, in OptProp() argument 121 mPropertyName = propertyName; in OptProp() 127 @NonNull String propertyName) { in create() argument 128 return new OptProp(valueSupplier, propertyName, () -> true); in create() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageProperty.java | 63 public Property getProperty(@NonNull String propertyName, @NonNull String packageName, in getProperty() argument 66 return getApplicationProperty(propertyName, packageName); in getProperty() 68 return getComponentProperty(propertyName, packageName, className); in getProperty() 77 public List<Property> queryProperty(@NonNull String propertyName, in queryProperty() argument 97 propertyMap.get(propertyName); in queryProperty() 163 final String propertyName = property.getName(); in addProperties() local 165 ArrayMap<String, ArrayList<Property>> propertyMap = returnCollection.get(propertyName); in addProperties() 168 returnCollection.put(propertyName, propertyMap); in addProperties() 208 final String propertyName = property.getName(); in removeProperties() local 211 propertyCollection.get(propertyName); in removeProperties() [all …]
|
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/ |
D | AnnotationUtils.java | 124 @NonNull String propertyName, in typedArrayValuesByName() 128 return untypedArrayValuesByName(propertyName, element, annotationMirror) in typedArrayValuesByName() 167 @NonNull String propertyName, in untypedArrayValuesByName() 170 return typedValueByName(propertyName, List.class, element, annotationMirror) in untypedArrayValuesByName() 204 String propertyName, 208 return valueByName(propertyName, annotationMirror).map(annotationValue -> { 215 propertyName), 227 propertyName, 251 @NonNull String propertyName, 254 return valueByName(propertyName, annotationMirror).map(annotationValue -> { [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardSourceDetector.java | 103 final String propertyName = property.getName(); in onPropertyCreated() local 106 if (propertyName.equalsIgnoreCase(VCardConstants.PROPERTY_VERSION) in onPropertyCreated() 118 } else if (propertyName.equalsIgnoreCase(TYPE_FOMA_CHARSET_SIGN)) { in onPropertyCreated() 127 if (WINDOWS_MOBILE_PHONE_SIGNS.contains(propertyName)) { in onPropertyCreated() 129 } else if (FOMA_SIGNS.contains(propertyName)) { in onPropertyCreated() 131 } else if (JAPANESE_MOBILE_PHONE_SIGNS.contains(propertyName)) { in onPropertyCreated() 133 } else if (APPLE_SIGNS.contains(propertyName)) { in onPropertyCreated()
|
D | VCardParserImpl_V21.java | 167 protected boolean isValidPropertyName(final String propertyName) { in isValidPropertyName() argument 168 if (!(getKnownPropertyNameSet().contains(propertyName.toUpperCase()) || in isValidPropertyName() 169 propertyName.startsWith("X-")) in isValidPropertyName() 170 && !mUnknownTypeSet.contains(propertyName)) { in isValidPropertyName() 171 mUnknownTypeSet.add(propertyName); in isValidPropertyName() 172 Log.w(LOG_TAG, "Property name unsupported by vCard 2.1: " + propertyName); in isValidPropertyName() 382 final String propertyName = line.substring(nameIndex, i); in constructPropertyData() local 383 propertyData.setName(propertyName); in constructPropertyData() 395 final String propertyName = line.substring(nameIndex, i); in constructPropertyData() 396 propertyData.setName(propertyName); in constructPropertyData() [all …]
|
D | VCardBuilder.java | 1185 final String propertyName = VCardUtils.getPropertyNameForIm(protocolAsObject); in appendIms() local 1186 if (propertyName == null) { in appendIms() 1232 appendLineWithCharsetAndQPDetection(propertyName, parameterList, data); in appendIms() 1812 final String propertyName; in appendSipAddresses() local 1816 propertyName = VCardConstants.PROPERTY_TEL; in appendSipAddresses() 1819 propertyName = VCardConstants.PROPERTY_IMPP; in appendSipAddresses() 1821 appendLineWithCharsetAndQPDetection(propertyName, sipAddress); in appendSipAddresses() 1876 public void appendLineWithCharsetAndQPDetection(final String propertyName, in appendLineWithCharsetAndQPDetection() argument 1878 appendLineWithCharsetAndQPDetection(propertyName, null, rawValue); in appendLineWithCharsetAndQPDetection() 1882 final String propertyName, final List<String> rawValueList) { in appendLineWithCharsetAndQPDetection() argument [all …]
|
D | VCardEntry.java | 2139 final String propertyName = property.getName(); in addProperty() local 2152 if (propertyName.equals(VCardConstants.PROPERTY_VERSION)) { in addProperty() 2154 } else if (propertyName.equals(VCardConstants.PROPERTY_FN)) { in addProperty() 2156 } else if (propertyName.equals(VCardConstants.PROPERTY_NAME)) { in addProperty() 2162 } else if (propertyName.equals(VCardConstants.PROPERTY_N)) { in addProperty() 2164 } else if (propertyName.equals(VCardConstants.PROPERTY_SORT_STRING)) { in addProperty() 2166 } else if (propertyName.equals(VCardConstants.PROPERTY_NICKNAME) in addProperty() 2167 || propertyName.equals(VCardConstants.ImportOnly.PROPERTY_X_NICKNAME)) { in addProperty() 2169 } else if (propertyName.equals(VCardConstants.PROPERTY_SOUND)) { in addProperty() 2183 } else if (propertyName.equals(VCardConstants.PROPERTY_ADR)) { in addProperty() [all …]
|
/frameworks/base/core/java/android/view/inspector/ |
D | PropertyReader.java | 198 @Nullable String propertyName) { in PropertyTypeMismatchException() argument 199 super(formatMessage(id, expectedPropertyType, actualPropertyType, propertyName)); in PropertyTypeMismatchException() 213 @Nullable String propertyName) { in formatMessage() argument 215 if (propertyName == null) { in formatMessage() 227 propertyName, in formatMessage()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializer.java | 166 TypedXmlSerializer xmlSerializer, String propertyName, long propertyValue) in writePropertyTag() argument 168 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag() 170 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag() 174 TypedXmlSerializer xmlSerializer, String propertyName, String propertyValue) in writePropertyTag() argument 176 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag() 178 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag() 182 TypedXmlSerializer xmlSerializer, String propertyName, @Nullable byte[] propertyValue) in writePropertyTag() argument 187 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag() 189 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag() 193 TypedXmlSerializer xmlSerializer, String propertyName, CertPath certPath) in writePropertyTag() argument [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | PropertyProvider.cpp | 94 std::string propertyName = key.substr(gesturePropPrefix.length()); in loadPropertiesFromIdcFile() local 95 for (size_t i = 0; i < propertyName.length(); i++) { in loadPropertiesFromIdcFile() 96 if (propertyName[i] == '_') { in loadPropertiesFromIdcFile() 97 propertyName[i] = ' '; in loadPropertiesFromIdcFile() 101 auto it = mProperties.find(propertyName); in loadPropertiesFromIdcFile() 106 propertyName.c_str()); in loadPropertiesFromIdcFile() 250 const std::string& propertyName) { in trySetFromIdcProperty() argument 259 if (std::optional<int32_t> value = idcProperties.getInt(propertyName); value) { in trySetFromIdcProperty() 265 if (std::optional<bool> value = idcProperties.getBool(propertyName); value) { in trySetFromIdcProperty() 271 if (std::optional<double> value = idcProperties.getDouble(propertyName); value) { in trySetFromIdcProperty()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | SettingsToPropertiesMapper.java | 301 String propertyName = makePropertyName(scope, key); in updatePropertiesFromSettings() 302 if (propertyName == null) { in updatePropertiesFromSettings() 307 setProperty(propertyName, properties.getString(key, null)); in updatePropertiesFromSettings() 362 String propertyName = "next_boot." + makeAconfigFlagPropertyName( in updatePropertiesFromSettings() 365 setProperty(propertyName, flagValue); in updatePropertiesFromSettings() 593 String propertyName = SYSTEM_PROPERTY_PREFIX + categoryName + "." + flagName; in makePropertyName() local 595 if (!propertyName.matches(SYSTEM_PROPERTY_VALID_CHARACTERS_REGEX) in makePropertyName() 596 || propertyName.contains(SYSTEM_PROPERTY_INVALID_SUBSTRING)) { in makePropertyName() 600 return propertyName; in makePropertyName() 664 String propertyName = SYSTEM_PROPERTY_PREFIX + "aconfig_flags." + in makeAconfigFlagPropertyName() local [all …]
|
/frameworks/av/media/ndk/fuzzer/ |
D | ndk_drm_fuzzer.cpp | 167 const char* propertyName = name.c_str(); in invokeDrmPropertyAPI() local 168 AMediaDrm_setPropertyByteArray(mDrm, propertyName, value, sizeof(value)); in invokeDrmPropertyAPI() 175 const char* propertyName = name.c_str(); in invokeDrmPropertyAPI() local 176 AMediaDrm_getPropertyByteArray(mDrm, propertyName, &array); in invokeDrmPropertyAPI() 180 std::string propertyName = mFdp.ConsumeRandomLengthString(kMaxBytes); in invokeDrmPropertyAPI() local 182 AMediaDrm_setPropertyString(mDrm, propertyName.c_str(), value.c_str()); in invokeDrmPropertyAPI() 188 std::string propertyName = mFdp.ConsumeRandomLengthString(kMaxBytes); in invokeDrmPropertyAPI() local 189 AMediaDrm_getPropertyString(mDrm, propertyName.c_str(), &stringValue); in invokeDrmPropertyAPI()
|
/frameworks/av/media/module/foundation/ |
D | ADebug.cpp | 89 const char *name, const char *propertyName, long def) { in GetLevelFromProperty() argument 91 if (property_get(propertyName, value, NULL)) { in GetLevelFromProperty() 99 const char *name, const char *propertyName, ADebug::Level def) { in GetDebugLevelFromProperty() argument 100 long level = GetLevelFromProperty(name, propertyName, (long)def); in GetDebugLevelFromProperty()
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | TouchpadInputFuzzer.cpp | 104 for (auto& propertyName : boolPropertiesToFuzz) { in setDeviceSpecificConfig() local 106 eventHub.addProperty(propertyName, fdp.ConsumeBool() ? "1" : "0"); in setDeviceSpecificConfig() 110 for (auto& propertyName : doublePropertiesToFuzz) { in setDeviceSpecificConfig() local 112 eventHub.addProperty(propertyName, std::to_string(fdp.ConsumeFloatingPoint<double>())); in setDeviceSpecificConfig()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaDrm.h | 576 media_status_t AMediaDrm_getPropertyString(AMediaDrm *, const char *propertyName, 593 media_status_t AMediaDrm_getPropertyByteArray(AMediaDrm *, const char *propertyName, 601 media_status_t AMediaDrm_setPropertyString(AMediaDrm *, const char *propertyName, 609 media_status_t AMediaDrm_setPropertyByteArray(AMediaDrm *, const char *propertyName,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | AnimatorTestRuleOrderTest.kt | 43 propertyName: String, in animateThisX() 48 androidx.core.animation.ObjectAnimator.ofFloat(this, propertyName, 0f, 1f).also { in animateThisX() 58 propertyName: String, in animateThisP() 63 android.animation.ObjectAnimator.ofFloat(this, propertyName, 0f, 1f).also { in animateThisP()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpEvent.java | 207 public IllegalParameterAccess(String propertyName, int eventCode) { in IllegalParameterAccess() argument 208 super("Cannot obtain " + propertyName + " for the event: " + eventCode + "."); in IllegalParameterAccess()
|
/frameworks/base/services/tests/PackageManagerServiceTests/preverifieddomains/src/com/android/server/pm/test/preverifieddomains/ |
D | PreVerifiedDomainsTests.kt | 233 private fun getLimitFromDeviceConfig(propertyName: String): String? { in getLimitFromDeviceConfig() 237 propertyName in getLimitFromDeviceConfig() 242 private fun setLimitInDeviceConfig(propertyName: String, value: String?) { in setLimitInDeviceConfig() 246 propertyName in setLimitInDeviceConfig()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | DoPrivilegedPerfTest.java | 86 ReusableAction(String propertyName) { in ReusableAction() argument 87 this.mPropertyName = propertyName; in ReusableAction()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 182 final String propertyName = st.sval; in parse() local 183 if (!propertyNamePattern.matcher(propertyName).matches()) { in parse() 194 map.remove(propertyName); in parse() 204 final Object oldValue = map.remove(propertyName); in parse() 213 map.put(propertyName, value); in parse()
|
/frameworks/base/core/java/android/app/ |
D | PropertyInvalidatedCache.java | 545 public PropertyInvalidatedCache(int maxEntries, @NonNull String propertyName) { in PropertyInvalidatedCache() argument 546 this(maxEntries, propertyName, propertyName); in PropertyInvalidatedCache() 560 public PropertyInvalidatedCache(int maxEntries, @NonNull String propertyName, in PropertyInvalidatedCache() argument 562 mPropertyName = propertyName; in PropertyInvalidatedCache() 1250 public AutoCorker(@NonNull String propertyName) { 1251 this(propertyName, DEFAULT_AUTO_CORK_DELAY_MS); 1254 public AutoCorker(@NonNull String propertyName, int autoCorkDelayMs) { 1255 mPropertyName = propertyName; 1369 public final @NonNull String propertyName() {
|