Home
last modified time | relevance | path

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

/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/
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()
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 …]
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()
DFuzzerSingleExecute.java26 public FuzzerSingleExecute(BaseListener listener) { in FuzzerSingleExecute() argument
27 super(listener); in FuzzerSingleExecute()
DFuzzerSingle.java26 protected FuzzerSingle(BaseListener listener) { in FuzzerSingle() argument
27 super(listener); in FuzzerSingle()
/art/runtime/
Dinstrumentation.cc565 InstrumentationListener* listener, in PotentiallyAddListenerTo() argument
576 *it = listener; in PotentiallyAddListenerTo()
578 list.push_back(listener); in PotentiallyAddListenerTo()
583 void Instrumentation::AddListener(InstrumentationListener* listener, uint32_t events) { in AddListener() argument
588 listener, in AddListener()
593 listener, in AddListener()
598 listener, in AddListener()
603 listener, in AddListener()
608 listener, in AddListener()
613 listener, in AddListener()
[all …]
Dinstrumentation_test.cc224 TestInstrumentationListener listener; in TestEvent() local
228 instr->AddListener(&listener, instrumentation_event); in TestEvent()
237 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
246 EXPECT_TRUE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
248 listener.Reset(); in TestEvent()
252 instr->RemoveListener(&listener, instrumentation_event); in TestEvent()
257 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
266 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
442 static bool DidListenerReceiveEvent(const TestInstrumentationListener& listener, in DidListenerReceiveEvent() argument
447 return listener.received_method_enter_event; in DidListenerReceiveEvent()
[all …]
Dinstrumentation.h216 void AddListener(InstrumentationListener* listener, uint32_t events)
220 void RemoveListener(InstrumentationListener* listener, uint32_t events)
/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()
DArm64InterpreterExecutor.java23 public Arm64InterpreterExecutor(BaseListener listener, Device device) { in Arm64InterpreterExecutor() argument
24 super("ARM64 Interpreter", 30, listener, Architecture.ARM64, device, in Arm64InterpreterExecutor()
DArmInterpreterExecutor.java23 public ArmInterpreterExecutor(BaseListener listener, Device device) { in ArmInterpreterExecutor() argument
24 super("ARM Interpreter", 30, listener, Architecture.ARM, device, in ArmInterpreterExecutor()
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/openjdkjvmti/
Devents.cc284 static void SetupDdmTracking(art::DdmCallback* listener, bool enable) { in SetupDdmTracking() argument
287 art::Runtime::Current()->GetRuntimeCallbacks()->AddDdmCallback(listener); in SetupDdmTracking()
289 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveDdmCallback(listener); in SetupDdmTracking()
576 static void SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) { in SetupGcPauseTracking() argument
577 bool old_state = listener->IsEnabled(); in SetupGcPauseTracking()
580 listener->SetStartEnabled(enable); in SetupGcPauseTracking()
582 listener->SetFinishEnabled(enable); in SetupGcPauseTracking()
585 bool new_state = listener->IsEnabled(); in SetupGcPauseTracking()
589 art::Runtime::Current()->GetHeap()->SetGcPauseListener(listener); in SetupGcPauseTracking()
1230 void EventHandler::SetupTraceListener(JvmtiMethodTraceListener* listener, in SetupTraceListener() argument
[all …]
Devents.h321 void SetupTraceListener(JvmtiMethodTraceListener* listener, ArtJvmtiEvent event, bool enable);