Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/app/admin/
DProvisioningIntentHelper.java139 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/
DObjectAnimator.java114 public void setPropertyName(@NonNull String propertyName) { in setPropertyName() argument
120 valuesHolder.setPropertyName(propertyName); in setPropertyName()
122 mValuesMap.put(propertyName, valuesHolder); in setPropertyName()
124 mPropertyName = propertyName; in setPropertyName()
172 String propertyName = null; in getPropertyName() local
174 propertyName = mPropertyName; in getPropertyName()
176 propertyName = mProperty.getName(); in getPropertyName()
180 propertyName = ""; in getPropertyName()
182 propertyName += ","; in getPropertyName()
184 propertyName += mValues[i].getPropertyName(); in getPropertyName()
[all …]
DPropertyValuesHolder.java134 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 …]
DAnimatorInflater.java273 int valueFromId, int valueToId, String propertyName) { in getPVH() argument
311 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
314 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
319 returnValue = PropertyValuesHolder.ofObject(propertyName, evaluator, in getPVH()
345 returnValue = PropertyValuesHolder.ofFloat(propertyName, in getPVH()
348 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueFrom); in getPVH()
356 returnValue = PropertyValuesHolder.ofFloat(propertyName, valueTo); in getPVH()
377 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom, valueTo); in getPVH()
379 returnValue = PropertyValuesHolder.ofInt(propertyName, valueFrom); in getPVH()
390 returnValue = PropertyValuesHolder.ofInt(propertyName, valueTo); in getPVH()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageProperty.java63 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/
DAnnotationUtils.java124 @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/
DVCardSourceDetector.java103 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()
DVCardParserImpl_V21.java167 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 …]
DVCardBuilder.java1185 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 …]
DVCardEntry.java2139 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/
DPropertyReader.java198 @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/
DKeyChainSnapshotSerializer.java165 TypedXmlSerializer xmlSerializer, String propertyName, long propertyValue) in writePropertyTag() argument
167 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag()
169 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag()
173 TypedXmlSerializer xmlSerializer, String propertyName, String propertyValue) in writePropertyTag() argument
175 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag()
177 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag()
181 TypedXmlSerializer xmlSerializer, String propertyName, @Nullable byte[] propertyValue) in writePropertyTag() argument
186 xmlSerializer.startTag(NAMESPACE, propertyName); in writePropertyTag()
188 xmlSerializer.endTag(NAMESPACE, propertyName); in writePropertyTag()
192 TypedXmlSerializer xmlSerializer, String propertyName, CertPath certPath) in writePropertyTag() argument
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java157 String propertyName = makePropertyName(scope, key); in updatePropertiesFromSettings()
158 if (propertyName == null) { in updatePropertiesFromSettings()
163 setProperty(propertyName, properties.getString(key, null)); in updatePropertiesFromSettings()
224 String propertyName = SYSTEM_PROPERTY_PREFIX + categoryName + "." + flagName; in makePropertyName() local
226 if (!propertyName.matches(SYSTEM_PROPERTY_VALID_CHARACTERS_REGEX) in makePropertyName()
227 || propertyName.contains(SYSTEM_PROPERTY_INVALID_SUBSTRING)) { in makePropertyName()
231 return propertyName; in makePropertyName()
/frameworks/av/media/libstagefright/foundation/
DADebug.cpp89 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/av/media/ndk/include/media/
DNdkMediaDrm.h576 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/media/java/android/mtp/
DMtpEvent.java207 public IllegalParameterAccess(String propertyName, int eventCode) { in IllegalParameterAccess() argument
208 super("Cannot obtain " + propertyName + " for the event: " + eventCode + "."); in IllegalParameterAccess()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java182 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/
DPropertyInvalidatedCache.java545 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() {
/frameworks/base/core/java/android/os/
DDebug.java2250 final String propertyName) { in modifyFieldIfSet() argument
2252 int stringInfo = properties.getStringInfo(propertyName); in modifyFieldIfSet()
2262 "Cannot set field for " + propertyName, ex); in modifyFieldIfSet()
2269 "Type of " + propertyName + " " + in modifyFieldIfSet()
2273 "Unexpected getStringInfo(" + propertyName + ") return value " + in modifyFieldIfSet()
2277 Object value = properties.get(propertyName); in modifyFieldIfSet()
2281 "Type of " + propertyName + " (" + value.getClass() + ") " + in modifyFieldIfSet()
2288 "Cannot set field for " + propertyName, ex); in modifyFieldIfSet()
2368 final String propertyName = cl.getName() + "." + field.getName(); in setFieldsOn() local
2373 throw new IllegalArgumentException(propertyName + in setFieldsOn()
[all …]
/frameworks/av/media/ndk/
DNdkMediaDrm.cpp703 media_status_t AMediaDrm_getPropertyString(AMediaDrm *mObj, const char *propertyName, in AMediaDrm_getPropertyString() argument
709 if (!propertyName || !propertyValue) { in AMediaDrm_getPropertyString()
713 status_t status = mObj->mDrm->getPropertyString(String8(propertyName), in AMediaDrm_getPropertyString()
726 const char *propertyName, AMediaDrmByteArray *propertyValue) { in AMediaDrm_getPropertyByteArray() argument
730 if (!propertyName || !propertyValue) { in AMediaDrm_getPropertyByteArray()
734 status_t status = mObj->mDrm->getPropertyByteArray(String8(propertyName), in AMediaDrm_getPropertyByteArray()
749 const char *propertyName, const char *value) { in AMediaDrm_setPropertyString() argument
754 return translateStatus(mObj->mDrm->setPropertyString(String8(propertyName), in AMediaDrm_setPropertyString()
760 const char *propertyName, const uint8_t *value, size_t valueSize) { in AMediaDrm_setPropertyByteArray() argument
765 return translateStatus(mObj->mDrm->setPropertyByteArray(String8(propertyName), in AMediaDrm_setPropertyByteArray()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java973 Property getProperty(String propertyName) { in getProperty() argument
974 if (ALPHA.getName().equals(propertyName)) { in getProperty()
1187 static int getPropertyIndex(String propertyName) { in getPropertyIndex() argument
1188 if (sPropertyIndexMap.containsKey(propertyName)) { in getPropertyIndex()
1189 return sPropertyIndexMap.get(propertyName); in getPropertyIndex()
1355 Property getProperty(String propertyName) { in getProperty() argument
1356 if (sPropertyMap.containsKey(propertyName)) { in getProperty()
1357 return sPropertyMap.get(propertyName); in getProperty()
1630 Property getProperty(String propertyName) { in getProperty() argument
1631 if (PATH_DATA.getName().equals(propertyName)) { in getProperty()
[all …]
DAnimatedVectorDrawable.java597 String propertyName = pvh.getPropertyName(); in updateAnimatorProperty() local
601 property = ((VectorDrawable.VObject) targetNameObj).getProperty(propertyName); in updateAnimatorProperty()
604 .getProperty(propertyName); in updateAnimatorProperty()
610 throw new RuntimeException("Wrong valueType for Property: " + propertyName in updateAnimatorProperty()
1343 mTmpValues.propertyName.equals("pathData")) { in createRTAnimator()
1369 propertyId = VectorDrawable.VGroup.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForGroup()
1380 mTmpValues.propertyName + " for Vector Drawable Group"); in createRTAnimatorForGroup()
1410 int propertyId = target.getPropertyIndex(mTmpValues.propertyName); in createRTAnimatorForFullPath()
1418 throw new IllegalArgumentException("Property: " + mTmpValues.propertyName in createRTAnimatorForFullPath()
1468 if (mTmpValues.propertyName.equals("alpha")) { in createRTAnimatorForRootGroup()
/frameworks/base/media/native/midi/
DMidiDeviceInfo.cpp40 String16 MidiDeviceInfo::getProperty(const char* propertyName) { in getProperty() argument
42 if (mProperties.getString(String16(propertyName), &value)) { in getProperty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java157 private boolean readDeviceConfigBooleanOrDefaultIfEmpty(String propertyName, in readDeviceConfigBooleanOrDefaultIfEmpty() argument
159 String value = mDeviceConfig.getProperty(DeviceConfig.NAMESPACE_SYSTEMUI, propertyName); in readDeviceConfigBooleanOrDefaultIfEmpty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyConstantsTest.java210 private void overrideSetting(String propertyName, String value) { in overrideSetting() argument
212 propertyName, value, false /* makeDefault */); in overrideSetting()

123