Lines Matching refs:enable

284 static void SetupDdmTracking(art::DdmCallback* listener, bool enable) {  in SetupDdmTracking()  argument
286 if (enable) { in SetupDdmTracking()
353 static void SetupObjectAllocationTracking(bool enable) { in SetupObjectAllocationTracking() argument
357 if (enable) { in SetupObjectAllocationTracking()
529 …orListener(art::MonitorCallback* monitor_listener, art::ParkCallback* park_listener, bool enable) { in SetupMonitorListener() argument
533 if (enable) { in SetupMonitorListener()
576 static void SetupGcPauseTracking(JvmtiGcPauseListener* listener, ArtJvmtiEvent event, bool enable) { in SetupGcPauseTracking() argument
580 listener->SetStartEnabled(enable); in SetupGcPauseTracking()
582 listener->SetFinishEnabled(enable); in SetupGcPauseTracking()
1187 jvmtiError EventHandler::HandleEventDeopt(ArtJvmtiEvent event, jthread thread, bool enable) { in HandleEventDeopt() argument
1194 if (enable) { in HandleEventDeopt()
1232 bool enable) { in SetupTraceListener() argument
1241 if (enable) { in SetupTraceListener()
1302 void EventHandler::SetupFramePopTraceListener(bool enable) { in SetupFramePopTraceListener() argument
1303 if (enable) { in SetupFramePopTraceListener()
1305 SetupTraceListener(method_trace_listener_.get(), ArtJvmtiEvent::kFramePop, enable); in SetupFramePopTraceListener()
1319 SetupTraceListener(method_trace_listener_.get(), ArtJvmtiEvent::kFramePop, enable); in SetupFramePopTraceListener()
1324 void EventHandler::HandleEventType(ArtJvmtiEvent event, bool enable) { in HandleEventType() argument
1327 SetupDdmTracking(ddm_listener_.get(), enable); in HandleEventType()
1330 SetupObjectAllocationTracking(enable); in HandleEventType()
1334 SetupGcPauseTracking(gc_pause_listener_.get(), event, enable); in HandleEventType()
1339 if (enable && frame_pop_enabled) { in HandleEventType()
1342 SetupFramePopTraceListener(enable); in HandleEventType()
1354 SetupTraceListener(method_trace_listener_.get(), event, enable); in HandleEventType()
1361 SetupMonitorListener(monitor_listener_.get(), park_listener_.get(), enable); in HandleEventType()