Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 79) sorted by relevance

1234

/art/test/995-breakpoints-throw/
Dexpected-stdout.txt1 Test "call Test995::breakpoint": Running breakpoint with handler "do nothing"
3 Test "call Test995::breakpoint": No error caught with handler "do nothing"
4 Test "call Test995::breakpoint": Finished running with handler "do nothing"
5 Test "call Test995::breakpointCatch": Running breakpoint with handler "do nothing"
7 Test "call Test995::breakpointCatch": No error caught with handler "do nothing"
8 Test "call Test995::breakpointCatch": Finished running with handler "do nothing"
9 Test "call Test995::breakpointCatchLate": Running breakpoint with handler "do nothing"
11 Test "call Test995::breakpointCatchLate": No error caught with handler "do nothing"
12 Test "call Test995::breakpointCatchLate": Finished running with handler "do nothing"
13 Test "catch subroutine Test995::breakpoint": Running breakpoint with handler "do nothing"
[all …]
/art/tools/ahat/src/test/com/android/ahat/
DObjectHandlerTest.java34 AhatHandler handler = new ObjectHandler(dump.getAhatSnapshot()); in noCrashClassInstance() local
35 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashClassInstance()
43 AhatHandler handler = new ObjectHandler(snapshot); in noCrashClassObj() local
48 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashClassObj()
56 AhatHandler handler = new ObjectHandler(snapshot); in noCrashSystemClassObj() local
61 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashSystemClassObj()
71 AhatHandler handler = new ObjectHandler(dump.getAhatSnapshot()); in noCrashArrayInstance() local
72 TestHandler.testNoCrash(handler, "http://localhost:7100/object?id=" + object.getId()); in noCrashArrayInstance()
DRootedHandlerTest.java27 AhatHandler handler = new RootedHandler(snapshot); in noCrash() local
28 TestHandler.testNoCrash(handler, "http://localhost:7100/rooted"); in noCrash()
DSiteHandlerTest.java27 AhatHandler handler = new SiteHandler(snapshot); in noCrash() local
28 TestHandler.testNoCrash(handler, "http://localhost:7100/sites"); in noCrash()
DOverviewHandlerTest.java30 AhatHandler handler = new OverviewHandler(snapshot, in noCrash() local
34 TestHandler.testNoCrash(handler, "http://localhost:7100"); in noCrash()
DTestHandler.java35 public static void testNoCrash(AhatHandler handler, String uri) throws IOException { in testNoCrash() argument
39 handler.handle(doc, query); in testNoCrash()
/art/test/305-other-fault-handler/
DAndroid.bp3 // Build rules for ART run-test `305-other-fault-handler`.
16 name: "art-run-test-305-other-fault-handler",
21 ":art-run-test-305-other-fault-handler-expected-stdout",
22 ":art-run-test-305-other-fault-handler-expected-stderr",
28 name: "art-run-test-305-other-fault-handler-expected-stdout",
29 out: ["art-run-test-305-other-fault-handler-expected-stdout.txt"],
36 name: "art-run-test-305-other-fault-handler-expected-stderr",
37 out: ["art-run-test-305-other-fault-handler-expected-stderr.txt"],
/art/test/1929-exception-catch-exception/
Dexpected-stdout.txt1 Test "art.Test1929$DoThrowClass": Running breakpoint with handler "art.Test1929$DoNothingHandler"
9 Test "art.Test1929$DoThrowClass": Caught error art.Test1929$TestException:"doThrow" with handler "a…
10 Test "art.Test1929$DoThrowClass": Finished running with handler "art.Test1929$DoNothingHandler"
11 Test "art.Test1929$DoThrowCatchBaseTestException": Running breakpoint with handler "art.Test1929$Do…
23 Test "art.Test1929$DoThrowCatchBaseTestException": No error caught with handler "art.Test1929$DoNot…
24 Test "art.Test1929$DoThrowCatchBaseTestException": Finished running with handler "art.Test1929$DoNo…
25 Test "art.Test1929$DoThrowCatchBaseTestExceptionTwice": Running breakpoint with handler "art.Test19…
37 Test "art.Test1929$DoThrowCatchBaseTestExceptionTwice": No error caught with handler "art.Test1929$…
38 Test "art.Test1929$DoThrowCatchBaseTestExceptionTwice": Finished running with handler "art.Test1929…
39 Test "art.Test1929$DoThrowCatchTestException": Running breakpoint with handler "art.Test1929$DoNoth…
[all …]
/art/test/1928-exception-event-exception/
Dexpected-stdout.txt1 Test "art.Test1928$DoThrowClass": Running with handler "art.Test1928$DoNothingHandler"
13 Test "art.Test1928$DoThrowClass": Caught error art.Test1928$TestException:"doThrow" with handler "a…
14 Test "art.Test1928$DoThrowClass": Finished running with handler "art.Test1928$DoNothingHandler"
15 Test "art.Test1928$DoThrowCatchBaseTestException": Running with handler "art.Test1928$DoNothingHand…
28 Test "art.Test1928$DoThrowCatchBaseTestException": No error caught with handler "art.Test1928$DoNot…
29 Test "art.Test1928$DoThrowCatchBaseTestException": Finished running with handler "art.Test1928$DoNo…
30 Test "art.Test1928$DoThrowCatchTestException": Running with handler "art.Test1928$DoNothingHandler"
43 Test "art.Test1928$DoThrowCatchTestException": No error caught with handler "art.Test1928$DoNothing…
44 Test "art.Test1928$DoThrowCatchTestException": Finished running with handler "art.Test1928$DoNothin…
45 Test "art.Test1928$DoThrowCatchTestExceptionNoRethrow": Running with handler "art.Test1928$DoNothin…
[all …]
/art/test/995-breakpoints-throw/src/art/
DTest995.java117 for (BreakpointHandler handler : handlers) {
120 HANDLER = handler;
122 "Test \"%s\": Running breakpoint with handler \"%s\"\n", test, handler);
125 "Test \"%s\": No error caught with handler \"%s\"\n", test, handler);
128 test, e.getClass().getName(), e.getMessage(), handler);
131 "Test \"%s\": Finished running with handler \"%s\"\n", test, handler);
/art/test/115-native-bridge/
Dexpected-stdout.txt64 NB signal handler with signal 11.
65 NB signal handler with signal 4.
66 NB signal handler with signal 11.
67 NB signal handler with signal 4.
76 NB signal handler with signal 11.
78 unblock SIGSEGV in handler
80 NB signal handler with signal 11.
82 back to test from signal handler via siglongjmp(), and done!
/art/test/044-proxy/src/
DClash.java28 InvocationHandler handler = new ClashInvocationHandler(); in main() local
34 handler); in main()
43 handler); in main()
DClash2.java28 InvocationHandler handler = new Clash2InvocationHandler(); in main() local
33 handler); in main()
DClash3.java28 InvocationHandler handler = new Clash3InvocationHandler(); in main() local
37 handler); in main()
DClash4.java28 InvocationHandler handler = new Clash4InvocationHandler(); in main() local
38 handler); in main()
/art/test/800-smali/smali/
Db_121245951_3.smali14 # Possibly throwing to merge v1 into catch handler as int.
20 # catch handler.
27 # handler, this will fail the class.
/art/test/1928-exception-event-exception/src/art/
DTest1928.java190 for (ExceptionHandler handler : handlers) { in run()
193 HANDLER = handler; in run()
195 test.getClass().getName(), handler.getClass().getName()); in run()
198 test.getClass().getName(), handler.getClass().getName()); in run()
204 handler.getClass().getName()); in run()
210 test.getClass().getName(), handler.getClass().getName()); in run()
/art/sigchainlib/
Dsigchain.cc410 for (const auto& handler : chains[signo].special_handlers_) { in Handler() local
411 if (handler.sc_sigaction == nullptr) { in Handler()
418 bool handler_noreturn = (handler.sc_flags & SIGCHAIN_ALLOW_NORETURN); in Handler()
420 linked_sigprocmask(SIG_SETMASK, &handler.sc_mask, &previous_mask); in Handler()
424 if (handler.sc_sigaction(signo, siginfo, ucontext_raw)) { in Handler()
485 auto handler = chains[signo].action_.sa_handler; in Handler() local
486 if (handler == SIG_IGN) { in Handler()
488 } else if (handler == SIG_DFL) { in Handler()
499 handler(signo); in Handler()
552 extern "C" sighandler_t signal(int signo, sighandler_t handler) { in signal() argument
[all …]
/art/runtime/
Dfault_handler.cc218 for (const auto& handler : other_handlers_) { in HandleFaultByOtherHandlers() local
219 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
251 for (const auto& handler : generated_code_handlers_) { in HandleSigsegvFault() local
252 VLOG(signals) << "invoking Action on handler " << handler; in HandleSigsegvFault()
253 if (handler->Action(sig, info, context)) { in HandleSigsegvFault()
273 void FaultManager::AddHandler(FaultHandler* handler, bool generated_code) { in AddHandler() argument
276 generated_code_handlers_.push_back(handler); in AddHandler()
278 other_handlers_.push_back(handler); in AddHandler()
282 void FaultManager::RemoveHandler(FaultHandler* handler) { in RemoveHandler() argument
283 auto it = std::find(generated_code_handlers_.begin(), generated_code_handlers_.end(), handler); in RemoveHandler()
[all …]
/art/test/802-deoptimization/smali/
Dcatch_handler_on_entry.smali5 # Test we can execute a method starting with a catch handler (without
9 # We execute the catch handler (Label1) for the first time with p0 == 0.
12 # That exception is caught by the catch handler so we execute it a second time.
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedCatchHandlerList.java44 for (EncodedCatchHandler handler : list) { in incrementIndex()
45 handler.incrementIndex(kind, insertedIdx); in incrementIndex()
DEncodedCatchHandler.java57 for (EncodedTypeAddrPair handler : handlers) { in incrementIndex()
58 handler.incrementIndex(kind, insertedIdx); in incrementIndex()
/art/test/1929-exception-catch-exception/src/art/
DTest1929.java289 for (ExceptionHandler handler : handlers) { in run()
292 HANDLER = handler; in run()
294 test.getClass().getName(), handler.getClass().getName()); in run()
297 test.getClass().getName(), handler.getClass().getName()); in run()
303 handler.getClass().getName()); in run()
309 test.getClass().getName(), handler.getClass().getName()); in run()
/art/tools/ahat/src/main/com/android/ahat/
DAhatHttpHandler.java33 public AhatHttpHandler(AhatHandler handler) { in AhatHttpHandler() argument
34 mAhatHandler = handler; in AhatHttpHandler()
/art/runtime/interpreter/mterp/
DREADME.txt30 $handler_size_bytes - max size of an instruction handler, in bytes
31 $handler_size_bits - max size of an instruction handler, log 2
38 exceed "handler-size", but the VM will abort on startup if it detects an
39 oversized handler. On architectures with fixed-width instructions this
59 mechanism, in which the handler entrypoints are located at the base of the
60 handler table + (opcode * 128).

1234