Searched refs:pwd (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/ |
D | JvmtiAttachingHostTest.java | 82 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/ |
D | JvmtiHostTest.java | 126 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/ |
D | android_cts_FileUtils.cpp | 83 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/ |
D | android_permission_cts_FileUtils.cpp | 86 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()
|