Home
last modified time | relevance | path

Searched refs:StartType (Results 1 – 3 of 3) sorted by relevance

/art/tools/jvmti-agents/chain-agents/
Dchainagents.cc51 enum class StartType { enum
65 static jint Load(StartType start, in Load()
78 dlsym(handle, start == StartType::OnLoad ? kOnLoad : kOnAttach)); in Load()
80 oss << "Failed to dlsym " << (start == StartType::OnLoad ? kOnLoad : kOnAttach) << " due to " in Load()
97 static jint AgentStart(StartType start, JavaVM* vm, char* options, void* reserved) { in AgentStart()
117 return AgentStart(StartType::OnAttach, vm, options, reserved); in Agent_OnAttach()
124 return AgentStart(StartType::OnLoad, jvm, options, reserved); in Agent_OnLoad()
/art/tools/jvmti-agents/wrapagentproperties/
Dwrapagentproperties.cc244 enum class StartType { enum
248 static jint CallNextAgent(StartType start, in CallNextAgent()
254 return ((start == StartType::OnLoad) ? vm->load : vm->attach)(vm, options.c_str(), reserved); in CallNextAgent()
305 static jint AgentStart(StartType start, JavaVM* vm, char* options, void* reserved) { in AgentStart()
327 return AgentStart(StartType::OnAttach, vm, options, reserved); in Agent_OnAttach()
333 return AgentStart(StartType::OnLoad, jvm, options, reserved); in Agent_OnLoad()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc346 enum class StartType { enum
350 static jint AgentStart(StartType start, in AgentStart()
415 if (start == StartType::OnAttach) { in AgentStart()
438 return AgentStart(StartType::OnAttach, vm, options, reserved); in Agent_OnAttach()
443 return AgentStart(StartType::OnLoad, jvm, options, reserved); in Agent_OnLoad()