/frameworks/base/core/java/com/android/internal/util/ |
D | AnnotationValidations.java | 70 String paramName, long param) { in validate() argument 71 switch (paramName) { in validate() 74 invalid(annotation, value, paramName, param); in validate() 79 invalid(annotation, value, paramName, param); in validate() 98 String paramName, long param) { in validate() argument 99 switch (paramName) { in validate() 102 invalid(annotation, value, paramName, param); in validate() 107 invalid(annotation, value, paramName, param); in validate() 120 String paramName, float param) { in validate() argument 121 switch (paramName) { in validate() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardProperty.java | 87 public void setParameter(final String paramName, final String paramValue) { in setParameter() argument 89 addParameter(paramName, paramValue); in setParameter() 92 public void addParameter(final String paramName, final String paramValue) { in addParameter() argument 94 if (!mParameterMap.containsKey(paramName)) { in addParameter() 95 if (paramName.equals("TYPE")) { in addParameter() 100 mParameterMap.put(paramName, values); in addParameter() 102 values = mParameterMap.get(paramName); in addParameter()
|
D | VCardParserImpl_V30.java | 163 VCardProperty propertyData, final String paramName, final String paramValue) { in handleAnyParam() argument 164 splitAndPutParam(propertyData, paramName, paramValue); in handleAnyParam() 201 private void splitAndPutParam(VCardProperty property, String paramName, String paramValue) { in splitAndPutParam() argument 218 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 231 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 241 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam() 263 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
|
D | VCardParserImpl_V21.java | 447 final String paramName = strArray[0].trim().toUpperCase(); 449 if (paramName.equals("TYPE")) { 451 } else if (paramName.equals("VALUE")) { 453 } else if (paramName.equals("ENCODING")) { 455 } else if (paramName.equals("CHARSET")) { 457 } else if (paramName.equals("LANGUAGE")) { 459 } else if (paramName.startsWith("X-")) { 460 handleAnyParam(propertyData, paramName, paramValue); 462 throw new VCardException("Unknown type \"" + paramName + "\""); 567 VCardProperty propertyData, String paramName, String paramValue) { [all …]
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | CommandOptions.kt | 69 private fun getParam(paramName: String, params: Map<String, String>): String { in <lambda>() 70 if (!params.containsKey(paramName)) { in <lambda>() 71 throw InvalidCommandException("Param $paramName required") in <lambda>() 73 return params.getValue(paramName) in <lambda>() 76 private fun getOptionalParam(paramName: String, params: Map<String, String>): String? { in <lambda>() 77 if (!params.containsKey(paramName)) { in <lambda>() 80 return params.getValue(paramName) in <lambda>() 83 private fun validateNotSpecified(paramName: String, params: Map<String, String>): String { in <lambda>() 84 if (params.containsKey(paramName)) { in <lambda>() 85 throw InvalidCommandException("Unsupported param $paramName") in <lambda>()
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 194 C2String paramName = desc->name(); in addParamDesc() local 205 paramName = "vendor." + paramName; in addParamDesc() 207 mParamNames.emplace(desc->index(), paramName); in addParamDesc() 211 auto it = mWholeParams.find(paramName); in addParamDesc() 213 mMap.emplace(paramName, FieldDesc{ desc, nullptr, 0 /* offset */ }); in addParamDesc() 218 addParamStructDesc(desc, paramName, 0 /* offset */, structDesc, reflector); in addParamDesc()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppSearchShortcutInfo.java | 660 for (String paramName: params.keySet()) { in setCapabilityBindings() 661 params.get(paramName).stream() in setCapabilityBindings() 662 .map(v -> capabilityName + "/" + paramName + "/" + v) in setCapabilityBindings() 819 final String paramName = binding.substring(capabilityStopIndex + 1, paramStopIndex); in parseCapabilityBindings() 825 if (!params.containsKey(paramName)) { in parseCapabilityBindings() 826 params.put(paramName, new ArrayList<>(1)); in parseCapabilityBindings() 828 params.get(paramName).add(paramValue); in parseCapabilityBindings()
|
D | ShortcutInfo.java | 2301 for (String paramName : params.keySet()) { in cloneCapabilityBindings() 2302 final List<String> paramValues = params.get(paramName); in cloneCapabilityBindings() 2303 clone.put(paramName, Collections.unmodifiableList(paramValues)); in cloneCapabilityBindings()
|
/frameworks/base/core/java/android/os/ |
D | VibrationEffect.java | 1515 String paramName) { in checkVibrationParameter() argument 1516 Preconditions.checkNotNull(vibrationParameter, "%s is null", paramName); in checkVibrationParameter() 1520 "%s is a unknown parameter", paramName); in checkVibrationParameter() local
|
/frameworks/base/errorprone/java/com/google/errorprone/bugpatterns/android/ |
D | RequiresPermissionChecker.java | 310 Predicate<String> paramName) { in findArgumentByParameterName() argument 314 if (paramName.test(params.get(i).name.toString())) { in findArgumentByParameterName()
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 1637 private static void validateArgumentIsNonEmpty(String paramName, String val) { in validateArgumentIsNonEmpty() argument 1639 throw new IllegalArgumentException(paramName + " can't be null"); in validateArgumentIsNonEmpty()
|