Searched refs:loadedClass (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tools/preload/ |
D | WritePreloadedClassFile.java | 52 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 53 loadedClass.preloaded = false; in main() 80 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 81 Set<String> names = loadedClass.processNames(); in main() 82 if (!Policy.isPreloadable(loadedClass)) { in main() 87 (loadedClass.medianTimeMicros() > MIN_LOAD_TIME_MICROS && names.size() > 1)) { in main() 88 toPreload.add(loadedClass); in main() 101 LoadedClass loadedClass = operation.loadedClass; in main() local 102 if (shouldPreload(loadedClass)) { in main() 103 toPreload.add(loadedClass); in main() [all …]
|
D | PrintCsv.java | 46 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 47 if (!loadedClass.systemClass) { in main() 51 printRow(System.out, baseline, loadedClass); in main() 71 LoadedClass loadedClass) { in printRow() argument 72 out.print(loadedClass.name); in printRow() 74 out.print(loadedClass.preloaded); in printRow() 76 out.print(loadedClass.medianLoadTimeMicros()); in printRow() 78 out.print(loadedClass.medianInitTimeMicros()); in printRow() 83 for (Operation op : loadedClass.loads) in printRow() 85 for (Operation op : loadedClass.initializations) in printRow() [all …]
|
D | Operation.java | 51 final LoadedClass loadedClass; field in Operation 57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, in Operation() argument 60 this.loadedClass = loadedClass; in Operation() 73 + loadedClass.name); in inclusiveTimeNanos() 90 throw new AssertionError(loadedClass.name); in exclusiveTimeMicros() 99 case LOAD: return loadedClass.medianLoadTimeMicros(); in medianExclusiveTimeMicros() 100 case INIT: return loadedClass.medianInitTimeMicros(); in medianExclusiveTimeMicros() 127 sb.append(loadedClass.toString()); in toString()
|
D | Root.java | 64 LoadedClass loadedClass = loadedClasses.get(name); in indexClassOperation() local 70 if (loadedClass == null) { in indexClassOperation() 71 loadedClass = new LoadedClass( in indexClassOperation() 73 if (loadedClass.systemClass) { in indexClassOperation() 76 loadedClass.measureMemoryUsage(); in indexClassOperation() 78 loadedClasses.put(name, loadedClass); in indexClassOperation() 85 loadedClass, record.time); in indexClassOperation() 93 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation() 98 process.startOperation(record.tid, loadedClass, record.time, in indexClassOperation() 103 loadedClass.loads.add(o); in indexClassOperation() [all …]
|
D | Proc.java | 90 void startOperation(int threadId, LoadedClass loadedClass, long time, in startOperation() argument 93 this, loadedClass, time, operationCount++, type); in startOperation() 117 LoadedClass loadedClass, long time) { in endOperation() argument 126 if (loadedClass != o.loadedClass) { in endOperation()
|
D | PrintHtmlDiff.java | 46 zygote.add(op.loadedClass); in main() 55 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 56 if (loadedClass.preloaded && !zygote.contains(loadedClass)) { in main() 57 added.add(loadedClass); in main()
|
D | MemoryUsage.java | 291 for (LoadedClass loadedClass : root.loadedClasses.values()) { in main() 292 if (loadedClass.systemClass) { in main() 293 loadedClass.measureMemoryUsage(); in main()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/ |
D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 152 private boolean isTestClass(Class<?> loadedClass) { in isTestClass() argument 154 if (Modifier.isAbstract(loadedClass.getModifiers())) { in isTestClass() 156 loadedClass.getName())); in isTestClass() 160 if (junit.framework.Test.class.isAssignableFrom(loadedClass)) { in isTestClass() 163 if (junit.framework.TestCase.class.isAssignableFrom(loadedClass)) { in isTestClass() 164 return hasJUnit3TestMethod(loadedClass); in isTestClass() 169 if (loadedClass.isAnnotationPresent(org.junit.runner.RunWith.class)) { in isTestClass() 172 for (Method testMethod : loadedClass.getMethods()) { in isTestClass() 177 logDebug(String.format("Skipping class %s: not a test", loadedClass.getName())); in isTestClass() 187 loadedClass.getName())); in isTestClass() [all …]
|