Searched refs:agent (Results 1 - 9 of 9) sorted by relevance
/art/test/909-attach-agent/ |
H A D | run | 18 agent=libtiagentd.so 20 agent=libtiagent.so 35 --args agent:${agent}=909-attach-agent 40 --args agent:${agent}=909-attach-agent 43 ./default-run "$@" --args agent:${agent} [all...] |
/art/test/909-attach-agent/src-art/ |
H A D | Main.java | 30 String agent = null; 34 if(a.startsWith("agent:")) { 35 agent = a.substring(6); 40 if (agent == null) { 41 throw new Error("Could not find agent: argument!"); 44 // Setup is finished. Try to attach agent in 2 ways. 46 VMDebug.attachAgent(agent); 58 if(a.startsWith("agent:")) { 66 String agent = a.substring(6).replace(agentName, newAgentName); 71 VMDebug.attachAgent(agent, c [all...] |
/art/runtime/ti/ |
H A D | agent.cc | 17 #include "agent.h" 51 VLOG(agents) << "Loading agent: " << name_ << " " << args_; 55 // Tries to attach the agent using its OnAttach method. Returns true on success. 61 VLOG(agents) << "Attaching agent: " << name_ << " " << args_; 77 std::unique_ptr<Agent> agent = DoDlOpen(env, class_loader, error, error_msg); local 78 if (agent == nullptr) { 82 AgentOnLoadFunction callback = attaching ? agent->onattach_ : agent->onload_; 84 *error_msg = StringPrintf("Unable to start agent %s: No %s callback found", 105 return agent; [all...] |
/art/tools/ |
H A D | run-prebuilt-libjdwp-tests.sh | 110 --agent-wrapper "${wrapper}"="${props_path}" \
|
H A D | run-jdwp-tests.sh | 106 elif [[ $1 == --agent-wrapper ]]; then 107 # Remove the --agent-wrapper from the arguments.
|
/art/test/etc/ |
H A D | run-test-jar | 241 elif [ "x$1" = "x--with-agent" ]; then 246 elif [ "x$1" = "x--debug-wrap-agent" ]; then 249 elif [ "x$1" = "x--debug-agent" ]; then 251 DEBUGGER="agent" 444 # TODO We should switch over to using the jvmti agent by default. 450 elif [ "$DEBUGGER" = "agent" ]; then 454 echo "--debug-agent not supported yet for target!" 486 agent=libtiagentd.so 489 agent=libtiagent.so 495 FLAGS="${FLAGS} -agentpath:${ANDROID_HOST_OUT}/nativetest64/${agent} [all...] |
/art/runtime/ |
H A D | java_vm_ext.cc | 50 #include "ti/agent.h" 1058 for (const std::unique_ptr<ti::Agent>& agent : Runtime::Current()->GetAgents()) { 1059 void* fn = agent->FindSymbol(jni_short_name); 1062 << " (symbol: " << jni_short_name << ") in " << *agent; local 1065 fn = agent->FindSymbol(jni_long_name); 1068 << " (symbol: " << jni_long_name << ") in " << *agent; local 1084 // Lookup JNI native methods from native TI Agent libraries. See runtime/ti/agent.h for more
|
H A D | runtime.cc | 161 #include "ti/agent.h" 392 for (auto& agent : agents_) { 393 agent->Unload(); 1589 std::unique_ptr<ti::Agent> agent = agent_spec.Load(&res, &error, &err); local 1591 if (agent != nullptr) { 1592 agents_.push_back(std::move(agent)); 1598 LOG(FATAL) << "Unable to initialize agent!"; 1602 LOG(ERROR) << "Unable to load an agent: " << err; 1658 // Attach a new agent and add it to the list of runtime agents 1677 std::unique_ptr<ti::Agent> agent local [all...] |
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 551 static void VMDebug_nativeAttachAgent(JNIEnv* env, jclass, jstring agent, jobject classloader) { argument 552 if (agent == nullptr) { 554 ThrowNullPointerException("agent is null"); 560 ThrowSecurityException("Can't attach agent, process is not debuggable."); 566 ScopedUtfChars chars(env, agent);
|
Completed in 2333 milliseconds