Home
last modified time | relevance | path

Searched refs:variableName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/lint/checks/src/main/java/com/google/android/lint/
DCallingIdentityTokenDetector.kt75 getIncidentMessageUnusedToken(token.variableName) in <lambda>()
96 val variableName = node.getName() in <lambda>() constant
101 getIncidentMessageNonFinalToken(variableName) in <lambda>()
106 val oldToken = tokensMap[variableName] in <lambda>()
111 getIncidentMessageUnusedToken(oldToken.variableName) in <lambda>()
123 firstCallToken.variableName, in <lambda>()
124 variableName in <lambda>()
136 getIncidentMessageClearIdentityCallNotFollowedByTryFinally(variableName) in <lambda>()
139 tokensMap[variableName] = Token( in <lambda>()
140 variableName, in <lambda>()
[all …]
/frameworks/base/tools/xmlpersistence/src/main/kotlin/
DGenerator.kt217 val variableName = nameAllocator.newName(field.variableName, field) in generateParseClassMethod() constant
242 "final \$1T \$2L =\$W\$3T.\$4L($5L)", field.type, variableName, in generateParseClassMethod()
248 field.type, variableName, stringVariableName, boxedType, in generateParseClassMethod()
256 variableName, field.attributeName in generateParseClassMethod()
263 val variableName = nameAllocator.newName(field.variableName, field) in generateParseClassMethod() constant
266 addStatement("\$1T \$2L =\$Wnull", field.type, variableName) in generateParseClassMethod()
269 "final \$1T \$2L =\$Wnew \$3T<>()", field.type, variableName, in generateParseClassMethod()
291 val variableName = nameAllocator.get(field) in generateParseClassMethod() constant
294 addControlFlow("if (\$1L != null)", variableName) { in generateParseClassMethod()
301 "\$1L =\$W\$2L(parser)", variableName, in generateParseClassMethod()
[all …]
/frameworks/rs/script_api/
DGenerateTestFiles.cpp266 *mJava << " " << p->variableName << ";\n"; in writeJavaArgumentClass()
275 *mJava << " " + p->variableName << "Double;\n"; in writeJavaArgumentClass()
438 mJava->indent() << "args." << p->variableName << " = " << p->javaArrayName << "[i"; in writeJavaVerifyScalarMethod()
449 << p->variableName << ");\n"; in writeJavaVerifyScalarMethod()
458 mJava->indent() << "args." << p->variableName << " = " << p->javaArrayName in writeJavaVerifyScalarMethod()
463 << p->variableName << ");\n"; in writeJavaVerifyScalarMethod()
508 writeJavaAppendInputToMessage(*p, "args." + p->variableName); in writeJavaVerifyScalarMethod()
557 mJava->indent() << "args." << p->variableName << " = new " << type << "[" in writeJavaVerifyVectorMethod()
560 mJava->indent() << "args." << p->variableName << "Double = new double[" in writeJavaVerifyVectorMethod()
570 mJava->indent() << "args." << p->variableName << " = " << p->javaArrayName << "[i]" in writeJavaVerifyVectorMethod()
[all …]
DSpecification.cpp161 variableName = "out"; in parseParameterDefinition()
163 variableName += capitalize(specName); in parseParameterDefinition()
167 doubleVariableName = variableName + "Double"; in parseParameterDefinition()
169 variableName = "in"; in parseParameterDefinition()
173 variableName += capitalize(specName); in parseParameterDefinition()
174 doubleVariableName = variableName + "Double"; in parseParameterDefinition()
176 rsAllocName = "gAlloc" + capitalize(variableName); in parseParameterDefinition()
177 javaAllocName = variableName; in parseParameterDefinition()
DSpecification.h95 std::string variableName; // e.g. inX, used both in .rs and .java member
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DNativeProgram.java126 public void setHostValue(String variableName, Object value) { in setHostValue() argument
134 if (!callNativeSetValue(variableName, value.toString())) { in setHostValue()
135 … throw new RuntimeException("Error setting native value for variable '" + variableName + "'!"); in setHostValue()
140 public Object getHostValue(String variableName) { in getHostValue() argument
148 return callNativeGetValue(variableName); in getHostValue()
DProgram.java38 public abstract void setHostValue(String variableName, Object value); in setHostValue() argument
40 public abstract Object getHostValue(String variableName); in getHostValue() argument
DShaderProgram.java132 public void setHostValue(String variableName, Object value) { in setHostValue() argument
133 if (!setUniformValue(variableName, value)) { in setHostValue()
135 variableName + "'!"); in setHostValue()
140 public Object getHostValue(String variableName) { in getHostValue() argument
141 return getUniformValue(variableName); in getHostValue()
DGenerateProgramPort.java30 String variableName() default ""; in variableName() method
DFilter.java606 String varName = generator.variableName().isEmpty() ? name in addProgramGenerator()
607 : generator.variableName(); in addProgramGenerator()
/frameworks/base/core/java/android/os/
DEnvironment.java1472 static File getDirectory(String variableName, String defaultPath) { in getDirectory() argument
1473 String path = System.getenv(variableName); in getDirectory()
1478 static String getDirectoryPath(@NonNull String variableName, @NonNull String defaultPath) { in getDirectoryPath() argument
1479 String path = System.getenv(variableName); in getDirectoryPath()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java183 private ExportedEntry createDebugEntry(String variableName, long value) { in createDebugEntry() argument
184 final Entry entry = new Entry(DEBUG_ENTRY_PREFIX + variableName); in createDebugEntry()
DBinderCallsStats.java574 private ExportedCallStat createDebugEntry(String variableName, long value) { in createDebugEntry() argument
582 callStat.methodName = DEBUG_ENTRY_PREFIX + variableName; in createDebugEntry()