blob: 96a427d77b49f5b573b916a55b220ad1655c23a8 [file] [log] [blame]
Andreas Gampeb5eb94a2016-10-27 19:23:09 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Andreas Gampeb5eb94a2016-10-27 19:23:09 -070017public class Main {
18 public static void main(String[] args) throws Exception {
Andreas Gampe53ae7802017-01-19 21:13:46 -080019 bindTest911Classes();
Andreas Gampeb5eb94a2016-10-27 19:23:09 -070020
Andreas Gampe966de9e2017-01-12 20:51:02 -080021 SameThread.doTest();
Andreas Gampea1a27c62017-01-11 16:37:16 -080022
Andreas Gampe966de9e2017-01-12 20:51:02 -080023 System.out.println();
24
25 OtherThread.doTestOtherThreadWait();
26
27 System.out.println();
28
29 OtherThread.doTestOtherThreadBusyLoop();
30
31 System.out.println();
32
33 AllTraces.doTest();
Andreas Gampea1a27c62017-01-11 16:37:16 -080034
Andreas Gampeeba32fb2017-01-12 17:40:05 -080035 System.out.println();
36
37 ThreadListTraces.doTest();
38
Andreas Gampef6f3b5f2017-01-13 09:21:42 -080039 System.out.println();
40
41 Frames.doTest();
42
Andreas Gampea1a27c62017-01-11 16:37:16 -080043 System.out.println("Done");
Andreas Gampeb5eb94a2016-10-27 19:23:09 -070044 }
Andreas Gampe53ae7802017-01-19 21:13:46 -080045
46 private static native void bindTest911Classes();
Andreas Gampeb5eb94a2016-10-27 19:23:09 -070047}