/art/test/823-cha-inlining/src/ |
D | Main.java | 23 public default void m() throws Exception { in m() 24 throw new Exception("Don't inline me"); in m() 26 public default void mConflict() throws Exception { in mConflict() 27 throw new Exception("Don't inline me"); in mConflict() 42 public default void m() throws Exception { in m() 43 throw new Exception("Don't inline me"); in m() 60 } catch (Exception e) { in main() 68 } catch (Exception e) { in main() 76 } catch (Exception e) { in main() 94 } catch (Exception e) { in main() [all …]
|
/art/test/162-method-resolution/src/ |
D | Main.java | 89 private static void test1() throws Exception { in test1() 128 private static void test2() throws Exception { in test2() 162 private static void test3() throws Exception { in test3() 187 private static void test4() throws Exception { in test4() 227 private static void test5() throws Exception { in test5() 262 private static void test6() throws Exception { in test6() 310 private static void test7() throws Exception { in test7() 345 private static void test8() throws Exception { in test8() 374 private static void test9() throws Exception { in test9() 402 private static void test10() throws Exception { in test10() [all …]
|
/art/test/551-implicit-null-checks/src/ |
D | Main.java | 25 public static void main(String args[]) throws Exception { in main() 49 public void $opt$noinline$testGetLong() throws Exception { in $opt$noinline$testGetLong() 51 throw new Exception(); // prevent inline in $opt$noinline$testGetLong() 54 public void $opt$noinline$testPutLong(long a) throws Exception { in $opt$noinline$testPutLong() 56 throw new Exception(); // prevent inline in $opt$noinline$testPutLong() 59 public void $opt$noinline$testGetDouble() throws Exception { in $opt$noinline$testGetDouble() 61 throw new Exception(); // prevent inline in $opt$noinline$testGetDouble() 64 public void $opt$noinline$testPutDouble(double a) throws Exception { in $opt$noinline$testPutDouble() 66 throw new Exception(); // prevent inline in $opt$noinline$testPutDouble()
|
/art/test/921-hello-failure/ |
D | expected-stdout.txt | 2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO… 5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO… 8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO… 11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR… 14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR… 17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR… 21 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d… 24 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d… 29 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;… 32 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;… [all …]
|
/art/test/odsign/test-src/com/android/tests/odsign/ |
D | OdsignTestUtils.java | 91 public OdsignTestUtils(TestInformation testInfo) throws Exception { in OdsignTestUtils() 100 public void installTestApex() throws Exception { in installTestApex() 119 public void uninstallTestApex() throws Exception { in uninstallTestApex() 127 public Set<String> getMappedArtifacts(String pid, String grepPattern) throws Exception { in getMappedArtifacts() 145 public Set<String> getZygoteLoadedArtifacts(String zygoteName) throws Exception { in getZygoteLoadedArtifacts() 158 public Set<String> getSystemServerLoadedArtifacts() throws Exception { in getSystemServerLoadedArtifacts() 171 private Set<String> getExpectedBootImage(String bootImageStem, String isa) throws Exception { in getExpectedBootImage() 180 private Set<String> getExpectedBootImage(String bootImageStem) throws Exception { in getExpectedBootImage() 188 public Set<String> getExpectedPrimaryBootImage() throws Exception { in getExpectedPrimaryBootImage() 192 public Set<String> getExpectedMinimalBootImage() throws Exception { in getExpectedMinimalBootImage() [all …]
|
D | DeviceState.java | 58 public DeviceState(TestInformation testInfo) throws Exception { in DeviceState() 64 public void restore() throws Exception { in restore() 106 public void simulateArtApexUpgrade() throws Exception { in simulateArtApexUpgrade() 114 public void simulateArtApexUninstall() throws Exception { in simulateArtApexUninstall() 122 public void simulateApexUpgrade() throws Exception { in simulateApexUpgrade() 130 public void simulateApexUninstall() throws Exception { in simulateApexUninstall() 134 private void updateApexInfo(String moduleName, boolean isFactory) throws Exception { in updateApexInfo() 150 public void simulateBootClasspathOta() throws Exception { in simulateBootClasspathOta() 156 public void simulateSystemServerOta() throws Exception { in simulateSystemServerOta() 161 public void makeDex2oatFail() throws Exception { in makeDex2oatFail() [all …]
|
/art/test/099-vmdebug/src/ |
D | Main.java | 28 public static void main(String[] args) throws Exception { in main() 43 private static File createTempFile() throws Exception { in createTempFile() 57 private static void testMethodTracing() throws Exception { in testMethodTracing() 69 private static void testMethodTracingToFile(File tempFile) throws Exception { in testMethodTracingToFile() 111 } catch (Exception e) { in testMethodTracingToFile() 119 } catch (Exception e) { in testMethodTracingToFile() 126 } catch (Exception e) { in testMethodTracingToFile() 134 } catch (Exception e) { in testMethodTracingToFile() 140 } catch (Exception e) { in testMethodTracingToFile() 147 private static void checkNumber(String s) throws Exception { in checkNumber() [all …]
|
/art/test/2240-tracing-non-invokable-method/src/ |
D | Main.java | 18 public default void m() throws Exception { in m() 19 throw new Exception("Don't inline me"); in m() 21 public default void mConflict() throws Exception { in mConflict() 22 throw new Exception("Don't inline me"); in mConflict() 38 } catch (Exception e) { in main()
|
/art/test/530-checker-regression-reftyp-final/src/ |
D | Main.java | 24 public static void main(String[] args) throws Exception { in main() 34 public static void testReferenceTypePropagation() throws Exception { in testReferenceTypePropagation() 42 throw new Exception("Incorrect type check."); in testReferenceTypePropagation() 50 throw new Exception("Incorrect type bound."); in testReferenceTypePropagation() 54 public static void invokeTestInliner() throws Exception { in invokeTestInliner()
|
/art/test/042-new-instance/src/ |
D | Main.java | 39 } catch (Exception ex) { in testClassNewInstance() 51 } catch (Exception ex) { in testClassNewInstance() 63 } catch (Exception ex) { in testClassNewInstance() 79 } catch (Exception ex) { in testConstructorNewInstance() 90 } catch (Exception ex) { in testConstructorNewInstance() 101 } catch (Exception ex) { in testConstructorNewInstance() 112 } catch (Exception ex) { in testConstructorNewInstance() 125 } catch (Exception ex) { in testConstructorNewInstance() 139 } catch (Exception ex) { in testConstructorNewInstance() 154 } catch (Exception ex) { in testConstructorNewInstance() [all …]
|
/art/test/944-transform-classloaders/src/art/ |
D | Test944.java | 117 public static void run() throws Exception { in run() 123 private static void checkIsInstance(Class<?> klass, Object o) throws Exception { in checkIsInstance() 125 throw new Exception(klass + " is not the class of " + o); in checkIsInstance() 146 private static void checkDexFileInClassLoader(Class<?> klass) throws Exception { in checkDexFileInClassLoader() 205 throw new Exception("elementArrayValue is not an " + dexPathListElementClass + " array!"); in checkDexFileInClassLoader() 230 throw new Exception( in checkDexFileInClassLoader() 234 private static void doTest() throws Exception { in doTest() 241 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest() 259 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest() 262 throw new Exception("The class " + Transform.class + " did not get a new dex file!"); in doTest() [all …]
|
/art/test/2246-trace-stream/src/ |
D | Main.java | 28 public static void main(String[] args) throws Exception { in main() 45 throws Exception { in testTracing() 73 private static File createTempFile() throws Exception { in createTempFile() 98 public void callThrowFunction() throws Exception { in callThrowFunction() 99 throw new Exception("test"); in callThrowFunction() 105 } catch (Exception e) { in doSomeWorkThrow() 121 } catch (Exception e) { 128 throws Exception { in startMethodTracing() 132 public static void $noinline$stopMethodTracing() throws Exception { in $noinline$stopMethodTracing() 135 public static int getMethodTracingMode() throws Exception { in getMethodTracingMode()
|
/art/test/ExceptionHandle/ |
D | ExceptionHandle.java | 20 int f() throws Exception { in f() 25 } catch (Exception e) { in f() 35 void g(int doThrow) throws Exception { in g() 37 throw new Exception(); in g()
|
/art/test/718-zipfile-finalizer/src/ |
D | Main.java | 20 public static void main(String[] args) throws Exception { in main() 27 } catch (Exception e) { in main() 37 public static int throwException() throws Exception { in throwException() 38 throw new Exception(); in throwException()
|
/art/test/802-deoptimization/src/ |
D | DeoptimizationController.java | 28 private static File createTempFile() throws Exception { in createTempFile() 52 } catch (Exception exc) { in startDeoptimization() 67 } catch (Exception exc) { in stopDeoptimization() 84 } catch (Exception e) { 90 boolean samplingEnabled, int intervalUs) throws Exception { in startMethodTracing() 94 public static void stopMethodTracing() throws Exception { in stopMethodTracing() 97 public static int getMethodTracingMode() throws Exception { in getMethodTracingMode()
|
/art/test/570-checker-osr/src/ |
D | DeoptimizationController.java | 31 private static File createTempFile() throws Exception { in createTempFile() 55 } catch (Exception exc) { in startDeoptimization() 70 } catch (Exception exc) { in stopDeoptimization() 87 } catch (Exception e) { 93 boolean samplingEnabled, int intervalUs) throws Exception { in startMethodTracing() 97 public static void stopMethodTracing() throws Exception { in stopMethodTracing() 100 public static int getMethodTracingMode() throws Exception { in getMethodTracingMode()
|
/art/test/1930-monitor-info/src/art/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/1932-monitor-events-misc/src/art/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/jvmti-common/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/1931-monitor-events/src/art/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/1934-jvmti-signal-thread/src/art/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/1933-monitor-current-contended/src/art/ |
D | Monitors.java | 49 public final void DoWait() throws Exception { in DoWait() 56 public final void DoWait(long t) throws Exception { in DoWait() 64 public final void DoNotifyAll() throws Exception { in DoNotifyAll() 69 public final void DoNotify() throws Exception { in DoNotify() 164 public synchronized void suspendWorker() throws Exception { in suspendWorker() 172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor() 227 } catch (Exception e) { in DoLock() 241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld() 249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep() 259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep() [all …]
|
/art/test/912-classes/src-art/art/ |
D | Test912Art.java | 27 public static void run() throws Exception { in run() 31 public static void doTest() throws Exception { in doTest() 35 private static void testClassEvents() throws Exception { in testClassEvents() 47 private static void testClassEventsJit() throws Exception { in testClassEventsJit() 59 private static void testClassEventsJitImpl() throws Exception { in testClassEventsJitImpl()
|
/art/test/2259-checker-code-sinking-infinite-try-catch/src/ |
D | Main.java | 18 public static void main(String[] args) throws Exception { in main() 21 throw new Exception("Unreachable"); in main() 46 throw new Exception(); in $noinline$testInfiniteLoopUnlessItThrows() 47 } catch (Exception e) { in $noinline$testInfiniteLoopUnlessItThrows()
|
/art/test/124-missing-classes/src/ |
D | Main.java | 19 public static void main(String[] args) throws Exception { in main() 32 private static void testMissingFieldType() throws Exception { in testMissingFieldType() 47 private static void testMissingMethodReturnType() throws Exception { in testMissingMethodReturnType() 60 private static void testMissingMethodParameterType() throws Exception { in testMissingMethodParameterType() 72 private static void testMissingInnerClass() throws Exception { in testMissingInnerClass()
|