Home
last modified time | relevance | path

Searched refs:pwd (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java82 String pwd = device.executeShellCommand("run-as " + pkg + " pwd"); in testJvmtiAttachEarly() local
83 if (pwd == null) { in testJvmtiAttachEarly()
86 pwd = pwd.trim(); in testJvmtiAttachEarly()
87 if (pwd.isEmpty()) { in testJvmtiAttachEarly()
96 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAttachEarly()
128 String pwd = device.executeShellCommand("run-as " + pkg + " pwd"); in testJvmtiAgentAppExternal() local
129 if (pwd == null) { in testJvmtiAgentAppExternal()
132 pwd = pwd.trim(); in testJvmtiAgentAppExternal()
133 if (pwd.isEmpty()) { in testJvmtiAgentAppExternal()
142 installLibToDataData(device, pkg, abiName, apk, pwd, AGENT, in testJvmtiAgentAppExternal()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java126 String pwd = mDevice.executeShellCommand("run-as " + mPkg + " pwd"); in run() local
127 if (pwd == null) { in run()
130 pwd = pwd.trim(); in run()
131 if (pwd.isEmpty()) { in run()
135 String agentInDataData = installLibToDataData(pwd, "libctsjvmtiagent.so"); in run()
/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp83 struct passwd *pwd = getpwuid(uid); in android_cts_FileUtils_getUserName() local
84 return env->NewStringUTF(pwd->pw_name); in android_cts_FileUtils_getUserName()
/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp86 struct passwd *pwd = getpwuid(uid); in android_permission_cts_FileUtils_getUserName() local
87 return env->NewStringUTF(pwd->pw_name); in android_permission_cts_FileUtils_getUserName()