/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelAnalyzer.java | 109 public abstract ModelClass loadPrimitive(String className); in loadPrimitive() argument 134 public String applyImports(String className, Map<String, String> imports) { in applyImports() argument 135 className = className.trim(); in applyImports() 139 while (className.endsWith("[]")) { in applyImports() 141 className = className.substring(0, className.length() - 2); in applyImports() 144 final int lastCharIndex = className.length() - 1; in applyImports() 145 if ('>' == className.charAt(lastCharIndex)) { in applyImports() 147 int open = className.indexOf('<'); in applyImports() 149 L.e("un-matching generic syntax for %s", className); in applyImports() 150 return className; in applyImports() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | TestRunner.java | 152 void started(String className); in started() argument 153 void finished(String className); in finished() argument 154 void performance(String className, in performance() argument 157 void passed(String className); in passed() argument 158 void failed(String className, Throwable execption); in failed() argument 180 private void started(String className) { in started() argument 184 mListeners.get(i).started(className); in started() 188 private void finished(String className) { in finished() argument 191 mListeners.get(i).finished(className); in finished() 195 private void performance(String className, in performance() argument [all …]
|
D | TestPrinter.java | 48 public void started(String className) { in started() argument 50 Log.i(mTag, "started: " + className); in started() 54 public void finished(String className) { in finished() argument 56 Log.i(mTag, "finished: " + className); in finished() 60 public void performance(String className, in performance() argument 63 Log.i(mTag, "perf: " + className + " = " + itemTimeNS + "ns/op (done " in performance() 75 public void passed(String className) { in passed() argument 77 Log.i(mTag, "passed: " + className); in passed() 81 public void failed(String className, Throwable exception) { in failed() argument 82 Log.i(mTag, "failed: " + className); in failed()
|
D | ClassPathPackageInfoSource.java | 80 for (String className : classNames) { in createPackageInfo() 81 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo() 88 topLevelClasses.add(Class.forName(className, false, in createPackageInfo() 94 + "Make sure it is in your apk. Class name: '" + className in createPackageInfo() 215 String className = apkClassNames.nextElement(); in findClassesInApk() local 217 if (className.startsWith(packageName)) { in findClassesInApk() 219 int lastPackageSeparator = className.lastIndexOf('.'); in findClassesInApk() 221 subPackageName = className.substring(0, lastPackageSeparator); in findClassesInApk() 225 } else if (isToplevelClass(className)) { in findClassesInApk() 226 classNames.add(className); in findClassesInApk() [all …]
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
D | JavaAnalyzer.java | 53 public JavaClass loadPrimitive(String className) { in loadPrimitive() argument 54 Class clazz = PRIMITIVE_TYPES.get(className); in loadPrimitive() 68 public ModelClass findClass(String className, Map<String, String> imports) { in findClass() argument 70 JavaClass loaded = mClassCache.get(className); in findClass() 74 L.d("trying to load class %s from %s", className, mClassLoader.toString()); in findClass() 75 loaded = loadPrimitive(className); in findClass() 78 if (className.startsWith("[") && className.contains("L")) { in findClass() 79 int indexOfL = className.indexOf('L'); in findClass() 81 className.substring(indexOfL + 1, className.length() - 1), null); in findClass() 82 String realClassName = className.substring(0, indexOfL + 1) + in findClass() [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 116 for (String className : createInfo.getDelegateClassNatives()) { in AsmGenerator() 117 className = binaryToInternalClassName(className); in AsmGenerator() 118 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator() 121 mDelegateMethods.put(className, methods); in AsmGenerator() 156 for (String className : deleteReturns) { in AsmGenerator() 158 if (className == null) { in AsmGenerator() 169 renamedClass = binaryToInternalClassName(className); in AsmGenerator() 177 returnTypes.add(binaryToInternalClassName(className)); in AsmGenerator() 196 String className = binaryToInternalClassName(entry.substring(0, pos)); 198 Set<String> set = map.get(className); [all …]
|
D | AsmAnalyzer.java | 146 String className = classReaderToClassName(cr); in parseZip() local 147 classes.put(className, cr); in parseZip() 177 static String internalToBinaryClassName(String className) { in internalToBinaryClassName() argument 178 if (className == null) { in internalToBinaryClassName() 181 return className.replace('/', '.'); in internalToBinaryClassName() 212 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass() argument 214 ClassReader classReader = zipClasses.get(className); in findClass() 217 className, mOsSourceJar); in findClass() 220 inOutFound.put(className, classReader); in findClass() 283 String className = entry.getKey(); in findClassesDerivingFrom() local [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
D | AnnotationAnalyzer.java | 69 public AnnotationClass loadPrimitive(String className) { in loadPrimitive() argument 70 TypeKind typeKind = PRIMITIVE_TYPES.get(className); in loadPrimitive() 80 public AnnotationClass findClass(String className, Map<String, String> imports) { in findClass() argument 81 className = className.trim(); in findClass() 83 while (className.endsWith("[]")) { in findClass() 85 className = className.substring(0, className.length() - 2); in findClass() 87 AnnotationClass primitive = loadPrimitive(className); in findClass() 91 int templateOpenIndex = className.indexOf('<'); in findClass() 94 TypeElement typeElement = getTypeElement(className, imports); in findClass() 100 int templateCloseIndex = className.lastIndexOf('>'); in findClass() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | IntentFilterVerificationKey.java | 28 public String className; field in IntentFilterVerificationKey 30 public IntentFilterVerificationKey(String[] domains, String packageName, String className) { in IntentFilterVerificationKey() argument 37 this.className = className; in IntentFilterVerificationKey() 48 if (className != null ? !className.equals(that.className) : that.className != null) in equals() 60 result = 31 * result + (className != null ? className.hashCode() : 0); in hashCode()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | TestCaseCollector.java | 52 for (String className : classNames) { in addTestClasses() 53 addTestClass(className); in addTestClasses() 65 public void addTestClass(String className) throws ClassNotFoundException { in addTestClass() argument 66 int hashPos = className.indexOf('#'); in addTestClass() 69 methodName = className.substring(hashPos + 1); in addTestClass() 70 className = className.substring(0, hashPos); in addTestClass() 72 addTestClass(className, methodName); in addTestClass() 83 public void addTestClass(String className, String methodName) throws ClassNotFoundException { in addTestClass() argument 84 Class<?> clazz = mClassLoader.loadClass(className); in addTestClass()
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 166 String className) { in appendShortClassName() argument 167 if (className.startsWith(packageName)) { in appendShortClassName() 169 int CN = className.length(); in appendShortClassName() 170 if (CN > PN && className.charAt(PN) == '.') { in appendShortClassName() 171 sb.append(className, PN, CN); in appendShortClassName() 175 sb.append(className); in appendShortClassName() 179 String className) { in printShortClassName() argument 180 if (className.startsWith(packageName)) { in printShortClassName() 182 int CN = className.length(); in printShortClassName() 183 if (CN > PN && className.charAt(PN) == '.') { in printShortClassName() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatLog.java | 29 String className = caller.getClass().getName(); in d() local 30 Rlog.d("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in d() 42 String className = caller.getClass().getName(); in e() local 43 Rlog.e("CAT", className.substring(className.lastIndexOf('.') + 1) + ": " in e()
|
/frameworks/base/tools/preload/ |
D | MemoryUsage.java | 174 static MemoryUsage forClass(String className) { in forClass() argument 175 MeasureWithTimeout measurer = new MeasureWithTimeout(className); in forClass() 193 + className + "."); in forClass() 198 System.err.println("Got memory usage for " + className + "."); in forClass() 205 final String className; field in MemoryUsage.MeasureWithTimeout 208 MeasureWithTimeout(String className) { in MeasureWithTimeout() argument 209 this.className = className; in MeasureWithTimeout() 223 if (className != null) { in measure() 227 commandList.add(className); in measure() 250 System.err.println("Got bad response for " + className in measure() [all …]
|
D | sorttable.js | 35 if (table.className.search(/\bsortable\b/) != -1) { 61 if (table.rows[i].className.search(/\bsortbottom\b/) != -1) { 81 if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col 82 mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/); 94 if (this.className.search(/\bsorttable_sorted\b/) != -1) { 98 this.className = this.className.replace('sorttable_sorted', 107 if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) { 111 this.className = this.className.replace('sorttable_sorted_reverse', 125 cell.className = cell.className.replace('sorttable_sorted_reverse',''); 126 cell.className = cell.className.replace('sorttable_sorted',''); [all …]
|
/frameworks/base/core/java/android/transition/ |
D | TransitionInflater.java | 200 String className = attrs.getAttributeValue(null, "class"); in createCustom() local 202 if (className == null) { in createCustom() 208 Constructor constructor = sConstructors.get(className); in createCustom() 210 Class c = mContext.getClassLoader().loadClass(className) in createCustom() 215 sConstructors.put(className, constructor); in createCustom() 222 className, e); in createCustom() 225 className, e); in createCustom() 228 className, e); in createCustom() 231 className, e); in createCustom() 234 className, e); in createCustom() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | JNIHelpers.cpp | 20 void jniThrowException(JNIEnv* env, const char* className, const char* msg) { in jniThrowException() argument 21 jclass clazz = env->FindClass(className); in jniThrowException() 23 ALOGE("Unable to find exception class %s", className); in jniThrowException() 29 ALOGE("Failed throwing '%s' '%s'", className, msg); in jniThrowException()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
D | ComponentWriter.java | 95 for (String className : classes) { in createComponent() 96 addGetter(builder, simpleName, className, index++); in createComponent() 106 private static String simpleName(String className) { in simpleName() argument 107 int dotIndex = className.lastIndexOf('.'); in simpleName() 109 return className; in simpleName() 111 return className.substring(dotIndex + 1); in simpleName() 115 private static void addGetter(StringBuilder builder, String simpleName, String className, in addGetter() argument 118 .append(className) in addGetter()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | FilterFactory.java | 83 public boolean isFilterAvailable(String className) { in isFilterAvailable() argument 84 return getFilterClass(className) != null; in isFilterAvailable() 87 public Filter createFilterByClassName(String className, String filterName, MffContext context) { in createFilterByClassName() argument 88 if (mLogVerbose) Log.v(TAG, "Looking up class " + className); in createFilterByClassName() 89 Class<? extends Filter> filterClass = getFilterClass(className); in createFilterByClassName() 91 throw new IllegalArgumentException("Unknown filter class '" + className + "'!"); in createFilterByClassName()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 43 void setClassNameAndArgs(const String8& className, int argc, char * const *argv) { in setClassNameAndArgs() argument 44 mClassName = className; in setClassNameAndArgs() 243 String8 className; in main() local 258 className.setTo(arg); in main() 267 if (!className.isEmpty()) { in main() 274 runtime.setClassNameAndArgs(className, argc - i, argv + i); in main() 308 } else if (className) { in main()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterFactory.java | 88 public Filter createFilterByClassName(String className, String filterName) { in createFilterByClassName() argument 89 if (mLogVerbose) Log.v(TAG, "Looking up class " + className); in createFilterByClassName() 95 if (mLogVerbose) Log.v(TAG, "Trying "+packageName + "." + className); in createFilterByClassName() 97 filterClass = mCurrentClassLoader.loadClass(packageName + "." + className); in createFilterByClassName() 108 throw new IllegalArgumentException("Unknown filter class '" + className + "'!"); in createFilterByClassName()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/jni/ |
D | native.cpp | 40 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument 45 clazz = env->FindClass(className); in registerNativeMethods() 47 ALOGE("Native registration unable to find class '%s'", className); in registerNativeMethods() 51 ALOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/jni/ |
D | native.cpp | 40 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument 45 clazz = env->FindClass(className); in registerNativeMethods() 47 ALOGE("Native registration unable to find class '%s'", className); in registerNativeMethods() 51 ALOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/jni/ |
D | native.cpp | 40 static int registerNativeMethods(JNIEnv* env, const char* className, in registerNativeMethods() argument 45 clazz = env->FindClass(className); in registerNativeMethods() 47 ALOGE("Native registration unable to find class '%s'", className); in registerNativeMethods() 51 ALOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
|
/frameworks/base/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 67 static void throwException(JNIEnv* env, const char* className, const char* message) { in throwException() argument 68 jclass exceptionClass = env->FindClass(className); in throwException() 73 const char* className = "java/lang/IllegalStateException"; in throwIllegalStateException() local 74 throwException(env, className, message); in throwIllegalStateException() 78 const char* className = "java/lang/IllegalArgumentException"; in throwIllegalArgumentException() local 79 throwException(env, className, message); in throwIllegalArgumentException()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | ClassHasNativeVisitorTest.java | 36 String className = in testHasNative() local 38 ClassReader cr = new ClassReader(className); in testHasNative() 48 String className = in testHasNoNative() local 50 ClassReader cr = new ClassReader(className); in testHasNoNative()
|