Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 25 of 28) 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/
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.java80 protected BaseListener listener; field in Fuzzer
82 protected Fuzzer(BaseListener listener) { in Fuzzer() argument
85 this.listener = listener; in Fuzzer()
99 timerDexInput.printTime(listener); in printTimingInfo()
100 timerProgGen.printTime(listener); in printTimingInfo()
101 timerMutation.printTime(listener); in printTimingInfo()
102 timerDexOutput.printTime(listener); in printTimingInfo()
103 timerChecksumCalc.printTime(listener); in printTimingInfo()
104 totalTimer.printTime(listener); in printTimingInfo()
128 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.cc468 InstrumentationListener* listener, in PotentiallyAddListenerTo() argument
479 *it = listener; in PotentiallyAddListenerTo()
481 list.push_back(listener); in PotentiallyAddListenerTo()
486 void Instrumentation::AddListener(InstrumentationListener* listener, uint32_t events) { in AddListener() argument
491 listener, in AddListener()
496 listener, in AddListener()
501 listener, in AddListener()
506 listener, in AddListener()
511 listener, in AddListener()
516 listener, in AddListener()
[all …]
Dinstrumentation_test.cc233 TestInstrumentationListener listener; in TestEvent() local
237 instr->AddListener(&listener, instrumentation_event); in TestEvent()
246 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
255 EXPECT_TRUE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
257 listener.Reset(); in TestEvent()
261 instr->RemoveListener(&listener, instrumentation_event); in TestEvent()
266 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
275 EXPECT_FALSE(DidListenerReceiveEvent(listener, instrumentation_event, with_object)); in TestEvent()
456 static bool DidListenerReceiveEvent(const TestInstrumentationListener& listener, in DidListenerReceiveEvent() argument
461 return listener.received_method_enter_event; in DidListenerReceiveEvent()
[all …]
/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()
DMips64InterpreterExecutor.java23 public Mips64InterpreterExecutor(BaseListener listener, Device device) { in Mips64InterpreterExecutor() argument
24 super("MIPS64 Interpreter", 30, listener, Architecture.MIPS64, device, in Mips64InterpreterExecutor()
DMipsInterpreterExecutor.java23 public MipsInterpreterExecutor(BaseListener listener, Device device) { in MipsInterpreterExecutor() argument
24 super("MIPS Interpreter", 30, listener, Architecture.MIPS, device, in MipsInterpreterExecutor()
DMipsOptimizingBackendExecutor.java23 public MipsOptimizingBackendExecutor(BaseListener listener, Device device) { in MipsOptimizingBackendExecutor() argument
24 super("MIPS Optimizing Backend", 5, listener, Architecture.MIPS, device, in MipsOptimizingBackendExecutor()
DMips64OptimizingBackendExecutor.java23 public Mips64OptimizingBackendExecutor(BaseListener listener, Device device) { in Mips64OptimizingBackendExecutor() argument
24 super("MIPS64 Optimizing Backend", 5, listener, Architecture.MIPS64, device, in Mips64OptimizingBackendExecutor()
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()
DArm64OptimizingBackendExecutor.java23 public Arm64OptimizingBackendExecutor(BaseListener listener, Device device) { in Arm64OptimizingBackendExecutor() argument
24 super("ARM64 Optimizing Backend", 5, listener, Architecture.ARM64, device, in Arm64OptimizingBackendExecutor()
DArmOptimizingBackendExecutor.java23 public ArmOptimizingBackendExecutor(BaseListener listener, Device device) { in ArmOptimizingBackendExecutor() argument
24 super("ARM Optimizing Backend", 5, listener, Architecture.ARM, device, in ArmOptimizingBackendExecutor()
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/openjdkjvmti/
Devents.cc254 static void SetupDdmTracking(art::DdmCallback* listener, bool enable) { in SetupDdmTracking() argument
257 art::Runtime::Current()->GetRuntimeCallbacks()->AddDdmCallback(listener); in SetupDdmTracking()
259 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveDdmCallback(listener); in SetupDdmTracking()
323 static void SetupObjectAllocationTracking(art::gc::AllocationListener* listener, bool enable) { in SetupObjectAllocationTracking() argument
329 art::Runtime::Current()->GetHeap()->SetAllocationListener(listener); in SetupObjectAllocationTracking()
413 static void SetupMonitorListener(art::MonitorCallback* listener, bool enable) { in SetupMonitorListener() argument
418 art::Runtime::Current()->GetRuntimeCallbacks()->AddMonitorCallback(listener); in SetupMonitorListener()
420 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveMonitorCallback(listener); in SetupMonitorListener()
458 static void SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) { in SetupGcPauseTracking() argument
459 bool old_state = listener->IsEnabled(); in SetupGcPauseTracking()
[all …]

12