Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 25 of 26) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/listeners/
DMultiplexerListener.java40 public void addListener(BaseListener listener) { in addListener() argument
41 listeners.add(listener); in addListener()
42 listener.setup(); in addListener()
47 for (BaseListener listener : listeners) { in shutdown()
48 listener.shutdown(); in shutdown()
54 for (BaseListener listener : listeners) { in handleSuccessfulHostVerification()
55 listener.handleSuccessfulHostVerification(); in handleSuccessfulHostVerification()
61 for (BaseListener listener : listeners) { in handleFailedHostVerification()
62 listener.handleFailedHostVerification(verificationResult); in handleFailedHostVerification()
68 for (BaseListener listener : listeners) { in handleFailedTargetVerification()
[all …]
/art/tools/dexfuzz/src/dexfuzz/fuzzers/
DFuzzer.java76 protected BaseListener listener; field in Fuzzer
78 protected Fuzzer(BaseListener listener) { in Fuzzer() argument
81 this.listener = listener; in Fuzzer()
95 timerDexInput.printTime(listener); in printTimingInfo()
96 timerProgGen.printTime(listener); in printTimingInfo()
97 timerMutation.printTime(listener); in printTimingInfo()
98 timerDexOutput.printTime(listener); in printTimingInfo()
99 timerChecksumCalc.printTime(listener); in printTimingInfo()
100 totalTimer.printTime(listener); in printTimingInfo()
124 executors.add(constructor.newInstance(listener, device)); in addExecutorsForArchitecture()
[all …]
DFuzzerMultipleNoExecute.java26 public FuzzerMultipleNoExecute(BaseListener listener) { in FuzzerMultipleNoExecute() argument
27 super(listener); in FuzzerMultipleNoExecute()
40 listener.handleIterationStarted(iterations); in run()
42 listener.handleIterationFinished(iterations); in run()
44 listener.handleSummary(); in run()
DFuzzerMultipleExecute.java27 public FuzzerMultipleExecute(BaseListener listener) { in FuzzerMultipleExecute() argument
28 super(listener); in FuzzerMultipleExecute()
42 listener.handleIterationStarted(iterations); in run()
47 listener.handleIterationFinished(iterations); in run()
49 listener.handleSummary(); in run()
DFuzzerMultiple.java29 protected FuzzerMultiple(BaseListener listener) { in FuzzerMultiple() argument
30 super(listener); in FuzzerMultiple()
40 listener.handleFuzzingFile(inputFile); in getNextInputFilename()
DFuzzerSingleNoExecute.java25 public FuzzerSingleNoExecute(BaseListener listener) { in FuzzerSingleNoExecute() argument
26 super(listener); in FuzzerSingleNoExecute()
DFuzzerSingle.java26 protected FuzzerSingle(BaseListener listener) { in FuzzerSingle() argument
27 super(listener); in FuzzerSingle()
DFuzzerSingleExecute.java26 public FuzzerSingleExecute(BaseListener listener) { in FuzzerSingleExecute() argument
27 super(listener); in FuzzerSingleExecute()
/art/runtime/
Dinstrumentation.cc591 void ReportMethodEntryForOnStackMethods(InstrumentationListener* listener, Thread* thread) in ReportMethodEntryForOnStackMethods() argument
637 listener->MethodEntered(thread, *smi); in ReportMethodEntryForOnStackMethods()
736 InstrumentationListener* listener) in PotentiallyAddListenerTo() argument
746 *it = listener; in PotentiallyAddListenerTo()
748 list.push_back(listener); in PotentiallyAddListenerTo()
756 InstrumentationListener* listener, in PotentiallyAddListenerTo() argument
759 if (PotentiallyAddListenerTo(event, events, list, listener)) { in PotentiallyAddListenerTo()
767 InstrumentationListener* listener, in PotentiallyAddListenerTo() argument
771 if (PotentiallyAddListenerTo(event, events, list, listener)) { in PotentiallyAddListenerTo()
776 void Instrumentation::AddListener(InstrumentationListener* listener, in AddListener() argument
[all …]
Dinstrumentation_test.cc220 TestInstrumentationListener listener; in TestEvent() local
224 instr->AddListener(&listener, instrumentation_event); in TestEvent()
233 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
242 EXPECT_TRUE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
244 listener.Reset(); in TestEvent()
248 instr->RemoveListener(&listener, instrumentation_event); in TestEvent()
253 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
262 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
324 TestInstrumentationListener listener; in EnableMethodTracing() local
330 instrumentation->EnableMethodTracing(key, &listener, needs_interpreter); in EnableMethodTracing()
[all …]
Dinstrumentation.h237 EXPORT void AddListener(InstrumentationListener* listener,
243 EXPORT void RemoveListener(InstrumentationListener* listener,
301 InstrumentationListener* listener,
/art/tools/dexfuzz/src/dexfuzz/executors/
DExecutor.java37 protected BaseListener listener; field in Executor
44 protected Executor(String name, int timeout, BaseListener listener, Architecture architecture, in Executor() argument
55 this.listener = listener; in Executor()
126 listener.handleHostVerificationSigabort(verificationResult); in verifyOnHost()
140 listener.handleDumpVerify(line.replaceFirst(".*(cc|h):\\d+] ", "")); in verifyOnHost()
146 listener.handleFailedHostVerification(verificationResult); in verifyOnHost()
DX86_64InterpreterExecutor.java23 public X86_64InterpreterExecutor(BaseListener listener, Device device) { in X86_64InterpreterExecutor() argument
24 super("x86_64 Interpreter", 30, listener, Architecture.X86_64, device, in X86_64InterpreterExecutor()
DX86_64OptimizingBackendExecutor.java23 public X86_64OptimizingBackendExecutor(BaseListener listener, Device device) { in X86_64OptimizingBackendExecutor() argument
24 super("x86_64 Optimizing Backend", 5, listener, Architecture.X86_64, device, in X86_64OptimizingBackendExecutor()
DArmInterpreterExecutor.java23 public ArmInterpreterExecutor(BaseListener listener, Device device) { in ArmInterpreterExecutor() argument
24 super("ARM Interpreter", 30, listener, Architecture.ARM, device, in ArmInterpreterExecutor()
DArm64InterpreterExecutor.java23 public Arm64InterpreterExecutor(BaseListener listener, Device device) { in Arm64InterpreterExecutor() argument
24 super("ARM64 Interpreter", 30, listener, Architecture.ARM64, device, in Arm64InterpreterExecutor()
DArmOptimizingBackendExecutor.java23 public ArmOptimizingBackendExecutor(BaseListener listener, Device device) { in ArmOptimizingBackendExecutor() argument
24 super("ARM Optimizing Backend", 5, listener, Architecture.ARM, device, in ArmOptimizingBackendExecutor()
DArm64OptimizingBackendExecutor.java23 public Arm64OptimizingBackendExecutor(BaseListener listener, Device device) { in Arm64OptimizingBackendExecutor() argument
24 super("ARM64 Optimizing Backend", 5, listener, Architecture.ARM64, device, in Arm64OptimizingBackendExecutor()
DX86InterpreterExecutor.java24 public X86InterpreterExecutor(BaseListener listener, Device device) { in X86InterpreterExecutor() argument
25 super("x86 Interpreter", 30, listener, Architecture.X86, device, in X86InterpreterExecutor()
DX86OptimizingBackendExecutor.java24 public X86OptimizingBackendExecutor(BaseListener listener, Device device) { in X86OptimizingBackendExecutor() argument
25 super("x86 Optimizing Backend", 5, listener, Architecture.X86, device, in X86OptimizingBackendExecutor()
/art/tools/dexfuzz/src/dexfuzz/
DTimer.java67 public void printTime(BaseListener listener) { in printTime() argument
68 listener.handleTiming(name, ((float)elapsedTime) / 1000.0f); in printTime()
/art/tools/dexfuzz/src/dexfuzz/program/
DProgram.java142 private BaseListener listener; field in Program
154 BaseListener listener) { in Program() argument
155 this.listener = listener; in Program()
166 listener.handleSeed(seed); in Program()
486 listener.handleMutationStats(mutationStats.getStatsString()); in mutateTheProgram()
/art/test/1940-ddms-ext/src-art/art/
DTest1940.java207 Thread listener = new Thread(() -> { Test1940.publishListen(publish); }); in run() local
208 listener.setDaemon(true); in run()
209 listener.start(); in run()
/art/openjdkjvmti/
Devents.cc283 static void SetupDdmTracking(art::DdmCallback* listener, bool enable) { in SetupDdmTracking() argument
286 art::Runtime::Current()->GetRuntimeCallbacks()->AddDdmCallback(listener); in SetupDdmTracking()
288 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveDdmCallback(listener); in SetupDdmTracking()
572 static void SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) { in SetupGcPauseTracking() argument
573 bool old_state = listener->IsEnabled(); in SetupGcPauseTracking()
576 listener->SetStartEnabled(enable); in SetupGcPauseTracking()
578 listener->SetFinishEnabled(enable); in SetupGcPauseTracking()
581 bool new_state = listener->IsEnabled(); in SetupGcPauseTracking()
585 art::Runtime::Current()->GetHeap()->SetGcPauseListener(listener); in SetupGcPauseTracking()
1213 void EventHandler::SetupTraceListener(JvmtiMethodTraceListener* listener, in SetupTraceListener() argument
[all …]
Devents.h318 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);

12