/frameworks/base/test-runner/src/android/test/ |
D | TestRunner.java | 153 void started(String className); in started() argument 154 void finished(String className); in finished() argument 155 void performance(String className, in performance() argument 158 void passed(String className); in passed() argument 159 void failed(String className, Throwable execption); in failed() argument 181 private void started(String className) { in started() argument 185 mListeners.get(i).started(className); in started() 189 private void finished(String className) { in finished() argument 192 mListeners.get(i).finished(className); in finished() 196 private void performance(String className, in performance() argument [all …]
|
D | TestPrinter.java | 49 public void started(String className) { in started() argument 51 Log.i(mTag, "started: " + className); in started() 55 public void finished(String className) { in finished() argument 57 Log.i(mTag, "finished: " + className); in finished() 61 public void performance(String className, in performance() argument 64 Log.i(mTag, "perf: " + className + " = " + itemTimeNS + "ns/op (done " in performance() 76 public void passed(String className) { in passed() argument 78 Log.i(mTag, "passed: " + className); in passed() 82 public void failed(String className, Throwable exception) { in failed() argument 83 Log.i(mTag, "failed: " + className); in failed()
|
D | ClassPathPackageInfoSource.java | 81 for (String className : classNames) { in createPackageInfo() 82 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo() 89 topLevelClasses.add(Class.forName(className, false, in createPackageInfo() 95 + "Make sure it is in your apk. Class name: '" + className in createPackageInfo() 216 String className = apkClassNames.nextElement(); in findClassesInApk() local 218 if (className.startsWith(packageName)) { in findClassesInApk() 220 int lastPackageSeparator = className.lastIndexOf('.'); in findClassesInApk() 222 subPackageName = className.substring(0, lastPackageSeparator); in findClassesInApk() 226 } else if (isToplevelClass(className)) { in findClassesInApk() 227 classNames.add(className); in findClassesInApk() [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
D | ModelAnalyzer.java | 115 public abstract ModelClass loadPrimitive(String className); in loadPrimitive() argument 140 public String applyImports(String className, Map<String, String> imports) { in applyImports() argument 141 className = className.trim(); in applyImports() 145 while (className.endsWith("[]")) { in applyImports() 147 className = className.substring(0, className.length() - 2); in applyImports() 150 final int lastCharIndex = className.length() - 1; in applyImports() 151 if ('>' == className.charAt(lastCharIndex)) { in applyImports() 153 int open = className.indexOf('<'); in applyImports() 155 L.e("un-matching generic syntax for %s", className); in applyImports() 156 return className; in applyImports() [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 | 145 String className = classReaderToClassName(cr); in parseZip() local 146 classes.put(className, cr); in parseZip() 176 static String internalToBinaryClassName(String className) { in internalToBinaryClassName() argument 177 if (className == null) { in internalToBinaryClassName() 180 return className.replace('/', '.'); in internalToBinaryClassName() 211 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass() argument 213 ClassReader classReader = zipClasses.get(className); in findClass() 216 className, mOsSourceJar); in findClass() 219 inOutFound.put(className, classReader); in findClass() 282 String className = entry.getKey(); in findClassesDerivingFrom() local [all …]
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
D | AnnotationAnalyzer.java | 77 public AnnotationClass loadPrimitive(String className) { in loadPrimitive() argument 78 TypeKind typeKind = PRIMITIVE_TYPES.get(className); in loadPrimitive() 88 public AnnotationClass findClass(String className, Map<String, String> imports) { in findClass() argument 89 className = className.trim(); in findClass() 91 while (className.endsWith("[]")) { in findClass() 93 className = className.substring(0, className.length() - 2); in findClass() 95 AnnotationClass primitive = loadPrimitive(className); in findClass() 99 int templateOpenIndex = className.indexOf('<'); in findClass() 102 TypeElement typeElement = getTypeElement(className, imports); in findClass() 108 int templateCloseIndex = className.lastIndexOf('>'); in findClass() [all …]
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/ |
D | JavaAnalyzer.java | 60 public JavaClass loadPrimitive(String className) { in loadPrimitive() argument 61 Class clazz = PRIMITIVE_TYPES.get(className); in loadPrimitive() 75 public ModelClass findClass(String className, Map<String, String> imports) { in findClass() argument 77 JavaClass loaded = mClassCache.get(className); in findClass() 81 L.d("trying to load class %s from %s", className, mClassLoader.toString()); in findClass() 82 loaded = loadPrimitive(className); in findClass() 85 if (className.startsWith("[") && className.contains("L")) { in findClass() 86 int indexOfL = className.indexOf('L'); in findClass() 88 className.substring(indexOfL + 1, className.length() - 1), null); in findClass() 89 String realClassName = className.substring(0, indexOfL + 1) + 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/base/graphics/java/android/graphics/drawable/ |
D | DrawableInflater.java | 180 private Drawable inflateFromClass(@NonNull String className) { in inflateFromClass() argument 184 constructor = CONSTRUCTOR_MAP.get(className); in inflateFromClass() 187 mClassLoader.loadClass(className).asSubclass(Drawable.class); in inflateFromClass() 189 CONSTRUCTOR_MAP.put(className, constructor); in inflateFromClass() 195 "Error inflating class " + className); in inflateFromClass() 201 "Class is not a Drawable " + className); in inflateFromClass() 207 "Class not found " + className); in inflateFromClass() 212 "Error inflating class " + className); in inflateFromClass()
|
/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/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/packages/PrintSpooler/jni/ |
D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 74 static void throwException(JNIEnv* env, const char* className, const char* message) { in throwException() argument 75 jclass exceptionClass = env->FindClass(className); in throwException() 80 const char* className = "java/lang/IllegalStateException"; in throwIllegalStateException() local 81 throwException(env, className, message); in throwIllegalStateException() 85 const char* className = "java/lang/IllegalArgumentException"; in throwIllegalArgumentException() local 86 throwException(env, className, message); in throwIllegalArgumentException()
|
/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/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/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/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
D | ComponentWriter.java | 40 for (String className : classes) { in createComponent() 41 addGetter(builder, simpleName, className, index++); in createComponent() 51 private static void addGetter(StringBuilder builder, String simpleName, String className, in addGetter() argument 54 .append(className) in addGetter()
|