/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 | TestRecorder.java | 90 public void started(String className) { in started() argument 92 map.put("name", className); in started() 96 int rowsAffected = getDatabase().update("tests", map, "name = '" + className + "'", null); in started() 103 public void finished(String className) { in finished() argument 107 getDatabase().update("tests", map, "name = '" + className + "'", null); in finished() 110 …public void performance(String className, long itemTimeNS, int iterations, List<IntermediateTime> … in performance() argument 115 getDatabase().update("tests", map, "name = '" + className + "'", null); in performance() 124 "(SELECT _id FROM tests WHERE name = '" + className + "'));"); in performance() 129 public void passed(String className) { in passed() argument 133 getDatabase().update("tests", map, "name = '" + className + "'", null); in passed() [all …]
|
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() 226 String className = apkClassNames.nextElement(); in findClassesInApk() local 228 if (className.startsWith(packageName)) { in findClassesInApk() 230 int lastPackageSeparator = className.lastIndexOf('.'); in findClassesInApk() 232 subPackageName = className.substring(0, lastPackageSeparator); in findClassesInApk() 236 } else if (isToplevelClass(className)) { in findClassesInApk() 237 classNames.add(className); in findClassesInApk() [all …]
|
D | TestBrowserControllerImpl.java | 56 String className = ""; in getIntentForTestAt() local 60 className = TEST_RUNNER_ACTIVITY_CLASS_NAME; in getIntentForTestAt() 66 className = mTargetBrowserActivityClassName; in getIntentForTestAt() 71 className = TEST_RUNNER_ACTIVITY_CLASS_NAME; in getIntentForTestAt() 77 intent.setClassName(packageName, className); in getIntentForTestAt()
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 89 String className = binaryToInternalClassName(signature.substring(0, pos)); in AsmGenerator() local 91 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator() 94 mDelegateMethods.put(className, methods); in AsmGenerator() 98 for (String className : createInfo.getDelegateClassNatives()) { in AsmGenerator() 99 className = binaryToInternalClassName(className); in AsmGenerator() 100 Set<String> methods = mDelegateMethods.get(className); in AsmGenerator() 103 mDelegateMethods.put(className, methods); in AsmGenerator() 127 for (String className : deleteReturns) { in AsmGenerator() 129 if (className == null) { in AsmGenerator() 140 renamedClass = binaryToInternalClassName(className); in AsmGenerator() [all …]
|
D | AsmAnalyzer.java | 115 String className = classReaderToClassName(cr); in parseZip() local 116 classes.put(className, cr); in parseZip() 140 static String internalToBinaryClassName(String className) { in internalToBinaryClassName() argument 141 if (className == null) { in internalToBinaryClassName() 144 return className.replace('/', '.'); in internalToBinaryClassName() 175 ClassReader findClass(String className, Map<String, ClassReader> zipClasses, in findClass() argument 177 ClassReader classReader = zipClasses.get(className); in findClass() 180 className, mOsSourceJar); in findClass() 183 inOutFound.put(className, classReader); in findClass() 237 String className = entry.getKey(); in findClassesDerivingFrom() local [all …]
|
/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/include/android_runtime/ |
D | AndroidRuntime.h | 44 const char* className, const JNINativeMethod* gMethods, int numMethods); 49 status_t callStatic(const char* className, const char* methodName); 54 status_t callMain(const char* className, int argc, const char* const argv[]); 60 static jclass findClass(JNIEnv* env, const char* className);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
D | StkLog.java | 29 String className = caller.getClass().getName(); in d() local 30 Log.d("STK", className.substring(className.lastIndexOf('.') + 1) + ": " in d()
|
/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()
|
/frameworks/base/core/jni/ |
D | AndroidRuntime.cpp | 272 const char* className, const JNINativeMethod* gMethods, int numMethods) in registerNativeMethods() argument 274 return jniRegisterNativeMethods(env, className, gMethods, numMethods); in registerNativeMethods() 280 status_t AndroidRuntime::callStatic(const char* className, const char* methodName) in callStatic() argument 290 clazz = findClass(env, className); in callStatic() 292 LOGE("ERROR: could not find class '%s'\n", className); in callStatic() 297 LOGE("ERROR: could not find method %s.%s\n", className, methodName); in callStatic() 307 const char* className, int argc, const char* const argv[]) in callMain() argument 313 LOGD("Calling main entry %s", className); in callMain() 319 clazz = findClass(env, className); in callMain() 321 LOGE("ERROR: could not find class '%s'\n", className); in callMain() [all …]
|
D | android_content_res_ObbScanner.cpp | 92 #define FIND_CLASS(var, className) \ argument 93 var = env->FindClass(className); \ 94 LOG_FATAL_IF(! var, "Unable to find class " className); \
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | ListTestCaseNames.java | 50 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()
|
D | UnitTestSuiteBuilderTest.java | 54 String className = clazz.getName(); in packageFor() local 55 return className.substring(0, className.lastIndexOf('.')); in packageFor()
|
/frameworks/base/opengl/tools/glgen/src/ |
D | JFunc.java | 22 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()
|
/frameworks/base/test-runner/src/junit/runner/ |
D | LoadingTestCollector.java | 37 String className= classNameFromFile(classFileName); in classFromFile() local 38 if (!fLoader.isExcluded(className)) in classFromFile() 39 return fLoader.loadClass(className, false); in classFromFile()
|
D | ClassPathTestCollector.java | 45 String className= classNameFromFile(classFileName); in gatherFiles() local 46 result.put(className, className); in gatherFiles()
|
D | BaseTestRunner.java | 168 public String extractClassName(String className) { in extractClassName() argument 169 if(className.startsWith("Default package for")) in extractClassName() 170 return className.substring(className.lastIndexOf(".")+1); in extractClassName() 171 return className; in extractClassName()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GeocoderProxy.java | 69 public void onServiceConnected(ComponentName className, IBinder service) { in onServiceConnected() argument 70 Log.d(TAG, "onServiceConnected " + className); in onServiceConnected() 76 public void onServiceDisconnected(ComponentName className) { in onServiceDisconnected() argument 77 Log.d(TAG, "onServiceDisconnected " + className); in onServiceDisconnected()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RuntimeInit.java | 185 private static void invokeStaticMain(String className, String[] argv) in invokeStaticMain() argument 195 cl = Class.forName(className); in invokeStaticMain() 198 "Missing class when invoking static main " + className, in invokeStaticMain() 207 "Missing static main on " + className, ex); in invokeStaticMain() 210 "Problem getting static main on " + className, ex); in invokeStaticMain() 216 "Main method is not public and static on " + className); in invokeStaticMain()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 60 public String className; field in ApplicationInfo 389 if (className != null) { in dump() 390 pw.println(prefix + "className=" + className); in dump() 455 className = orig.className; in ApplicationInfo() 488 dest.writeString(className); in writeToParcel() 521 className = source.readString(); in ApplicationInfo()
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 255 String className = ri.activityInfo.metaData.getString(DETAILS_META_DATA); in getVoiceDetailsIntent() 256 if (className == null) return null; in getVoiceDetailsIntent() 259 detailsIntent.setComponent(new ComponentName(ri.activityInfo.packageName, className)); in getVoiceDetailsIntent()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | TestBrowserActivityTest.java | 224 String className = StubTestBrowserActivity.class.getName(); in createIntent() local 226 intent.setClassName(packageName, className); in createIntent() 257 String className = TestBrowserControllerImpl.TEST_RUNNER_ACTIVITY_CLASS_NAME; in getIntentForTestAt() local 260 String packageName = className.substring(0, className.lastIndexOf(".")); in getIntentForTestAt() 261 intent.setClassName(packageName, className); in getIntentForTestAt()
|