Home
last modified time | relevance | path

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

1234

/art/test/995-breakpoints-throw/
Dexpected.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()
DPerformanceTest.java45 AhatHandler handler = new ObjectHandler(snapshot); in bigArray() local
53 handler.handle(doc, query); in bigArray()
/art/test/1929-exception-catch-exception/
Dexpected.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/995-breakpoints-throw/src/art/
DTest995.java115 for (BreakpointHandler handler : handlers) {
118 HANDLER = handler;
120 test, handler);
123 test, handler);
126 test, e.getClass().getName(), e.getMessage(), handler);
128 System.out.printf("Test \"%s\": Finished running with handler \"%s\"\n", test, handler);
/art/runtime/
Dfault_handler.cc180 for (const auto& handler : other_handlers_) { in HandleFaultByOtherHandlers() local
181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
221 for (const auto& handler : generated_code_handlers_) { in HandleFault() local
222 VLOG(signals) << "invoking Action on handler " << handler; in HandleFault()
223 if (handler->Action(sig, info, context)) { in HandleFault()
243 void FaultManager::AddHandler(FaultHandler* handler, bool generated_code) { in AddHandler() argument
246 generated_code_handlers_.push_back(handler); in AddHandler()
248 other_handlers_.push_back(handler); in AddHandler()
252 void FaultManager::RemoveHandler(FaultHandler* handler) { in RemoveHandler() argument
253 auto it = std::find(generated_code_handlers_.begin(), generated_code_handlers_.end(), handler); in RemoveHandler()
[all …]
/art/test/1928-exception-event-exception/
Dexpected.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/115-native-bridge/
Dexpected.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/sigchainlib/
Dsigchain.cc299 for (const auto& handler : chains[signo].special_handlers_) { in Handler() local
300 if (handler.sc_sigaction == nullptr) { in Handler()
307 bool handler_noreturn = (handler.sc_flags & SIGCHAIN_ALLOW_NORETURN); in Handler()
309 linked_sigprocmask(SIG_SETMASK, &handler.sc_mask, &previous_mask); in Handler()
316 if (handler.sc_sigaction(signo, siginfo, ucontext_raw)) { in Handler()
347 auto handler = chains[signo].action_.sa_handler; in Handler() local
348 if (handler == SIG_IGN) { in Handler()
350 } else if (handler == SIG_DFL) { in Handler()
353 handler(signo); in Handler()
406 extern "C" sighandler_t signal(int signo, sighandler_t handler) { in signal() argument
[all …]
/art/tools/class2greylist/test/src/com/android/class2greylist/
DRepeatedAnnotationHandlerTest.java65 TestAnnotationHandler handler = new TestAnnotationHandler(); in testRepeated() local
68 new RepeatedAnnotationHandler("Lannotation/Annotation;", handler)); in testRepeated()
72 assertThat(handler.getClasses()).containsExactly( in testRepeated()
/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/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/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/ahat/src/main/com/android/ahat/
DAhatHttpHandler.java33 public AhatHttpHandler(AhatHandler handler) { in AhatHttpHandler() argument
34 mAhatHandler = handler; in AhatHttpHandler()
/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()

1234