Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 180) sorted by relevance

12345678

/frameworks/base/test-runner/src/android/test/
DTestRunner.java152 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 …]
DTestPrinter.java48 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()
DClassPathPackageInfoSource.java80 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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java96 String className = binaryToInternalClassName(signature.substring(0, pos)); in AsmGenerator() local
98 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator()
101 mDelegateMethods.put(className, methods); in AsmGenerator()
105 for (String className : createInfo.getDelegateClassNatives()) { in AsmGenerator()
106 className = binaryToInternalClassName(className); in AsmGenerator()
107 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator()
110 mDelegateMethods.put(className, methods); in AsmGenerator()
145 for (String className : deleteReturns) { in AsmGenerator()
147 if (className == null) { in AsmGenerator()
158 renamedClass = binaryToInternalClassName(className); in AsmGenerator()
[all …]
DAsmAnalyzer.java146 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/base/core/java/android/content/
DComponentName.java115 String className) { in appendShortClassName() argument
116 if (className.startsWith(packageName)) { in appendShortClassName()
118 int CN = className.length(); in appendShortClassName()
119 if (CN > PN && className.charAt(PN) == '.') { in appendShortClassName()
120 sb.append(className, PN, CN); in appendShortClassName()
124 sb.append(className); in appendShortClassName()
128 String className) { in printShortClassName() argument
129 if (className.startsWith(packageName)) { in printShortClassName()
131 int CN = className.length(); in printShortClassName()
132 if (CN > PN && className.charAt(PN) == '.') { in printShortClassName()
[all …]
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DTestCaseCollector.java52 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/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java29 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/
DMemoryUsage.java174 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 …]
Dsorttable.js35 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/
DTransitionInflater.java196 String className = attrs.getAttributeValue(null, "class"); in createCustom() local
198 if (className == null) { in createCustom()
204 Constructor constructor = sConstructors.get(className); in createCustom()
206 Class c = mContext.getClassLoader().loadClass(className) in createCustom()
210 sConstructors.put(className, constructor); in createCustom()
218 className, e); in createCustom()
221 className, e); in createCustom()
224 className, e); in createCustom()
227 className, e); in createCustom()
230 className, e); in createCustom()
[all …]
/frameworks/ex/framesequence/jni/
DJNIHelpers.cpp20 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/
DFilterFactory.java83 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/core/tests/hosttests/test-apps/SharedUid/64/jni/
Dnative.cpp40 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/
Dnative.cpp40 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/
Dnative.cpp40 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/media/mca/filterfw/java/android/filterfw/core/
DFilterFactory.java88 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/cmds/app_process/
Dapp_main.cpp42 void setClassNameAndArgs(const String8& className, int argc, char * const *argv) { in setClassNameAndArgs() argument
43 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/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DClassHasNativeVisitorTest.java36 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()
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp67 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/core/java/android/provider/
DSearchIndexableResource.java50 public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId) { in SearchIndexableResource() argument
54 this.className = className; in SearchIndexableResource()
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java105 public String className; field in WapPushManager.WapPushManDBHelper.queryData
138 ret.className = cur.getString(cur.getColumnIndex("class_name")); in queryLastApp()
195 + "/" + lastapp.className); in processMessage()
205 intent.setClassName(lastapp.packageName, lastapp.className); in processMessage()
212 lastapp.packageName + "/" + lastapp.className); in processMessage()
216 intent.setClassName(mContext, lastapp.className); in processMessage()
218 lastapp.className)); in processMessage()
221 lastapp.packageName + "/" + lastapp.className); in processMessage()
264 !lastapp.className.equals(class_name)) { in addPackage()
407 " lastapp.className: " + lastapp.className + in verifyData()
[all …]
/frameworks/base/include/android_runtime/
DAndroidRuntime.h54 const char* className, const JNINativeMethod* gMethods, int numMethods);
59 status_t callMain(const String8& className, jclass clazz, const Vector<String8>& args);
65 static jclass findClass(JNIEnv* env, const char* className);
114 static char* toSlashClassName(const char* className);
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DListTestCaseNames.java50 String className = test.getClass().getName(); in getTestNames() local
52 testNames.add(new TestDescriptor(className, testName)); in getTestNames()
67 public TestDescriptor(String className, String testName) { in TestDescriptor() argument
68 mClassName = className; in TestDescriptor()
/frameworks/native/opengl/tools/glgen/src/
DJFunc.java22 String className = "com.google.android.gles_jni.GL11Impl"; field in JFunc
60 public void setClassName(String className) { in setClassName() argument
61 this.className = className; in setClassName()
65 return className; in getClassName()

12345678