Searched refs:nameStr (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/security/jni/ |
D | android_security_cts_LinuxRngTest.cpp | 47 const char* nameStr = env->GetStringUTFChars(name, NULL); in android_security_cts_LinuxRngTest_getCharDeviceMajor() local 51 if (stat(nameStr, &st) == -1) { in android_security_cts_LinuxRngTest_getCharDeviceMajor() 52 throwIOException(env, "Failed to stat %s: %s", nameStr, strerror(errno)); in android_security_cts_LinuxRngTest_getCharDeviceMajor() 57 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode); in android_security_cts_LinuxRngTest_getCharDeviceMajor() 64 if (nameStr != NULL) { in android_security_cts_LinuxRngTest_getCharDeviceMajor() 65 env->ReleaseStringUTFChars(name, nameStr); in android_security_cts_LinuxRngTest_getCharDeviceMajor() 73 const char* nameStr = env->GetStringUTFChars(name, NULL); in android_security_cts_LinuxRngTest_getCharDeviceMinor() local 77 if (stat(nameStr, &st) == -1) { in android_security_cts_LinuxRngTest_getCharDeviceMinor() 78 throwIOException(env, "Failed to stat %s: %s", nameStr, strerror(errno)); in android_security_cts_LinuxRngTest_getCharDeviceMinor() 83 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode); in android_security_cts_LinuxRngTest_getCharDeviceMinor() [all …]
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_SeccompTest.cpp | 41 const char* nameStr = env->GetStringUTFChars(name, nullptr); in android_security_cts_SeccompBpfTest_runKernelUnitTest() local 44 if (strcmp(t->name, nameStr) == 0) { in android_security_cts_SeccompBpfTest_runKernelUnitTest()
|