/cts/tests/signature/dex-checker/ |
D | dex-checker.cpp | 35 const char* c_str() const { in c_str() function in ScopedUtfChars 50 jfieldID fid = env->GetFieldID(klass, utf_name.c_str(), utf_type.c_str()); in Java_android_signature_cts_DexMemberChecker_getField_1JNI() 64 jfieldID fid = env->GetStaticFieldID(klass, utf_name.c_str(), utf_type.c_str()); in Java_android_signature_cts_DexMemberChecker_getStaticField_1JNI() 78 jmethodID mid = env->GetMethodID(klass, utf_name.c_str(), utf_signature.c_str()); in Java_android_signature_cts_DexMemberChecker_getMethod_1JNI() 92 jmethodID mid = env->GetStaticMethodID(klass, utf_name.c_str(), utf_signature.c_str()); in Java_android_signature_cts_DexMemberChecker_getStaticMethod_1JNI()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_MMapExecutableTest.cpp | 42 int fd = open(filename.c_str(), O_RDONLY); in mmap_executable() 44 ALOGE("open %s: %s", filename.c_str(), strerror(errno)); in mmap_executable() 50 ALOGE("fstat %s: %s", filename.c_str(), strerror(errno)); in mmap_executable() 55 ALOGE("file %s is too small", filename.c_str()); in mmap_executable() 63 ALOGE("mmap %s: %s", filename.c_str(), strerror(errno)); in mmap_executable() 68 ALOGE("munmap %s: %s", filename.c_str(), strerror(errno)); in mmap_executable()
|
/cts/tests/tests/jni/libjnitest/ |
D | android_jni_cts_LinkerNamespacesTest.cpp | 97 void *handle = dlopen(path.c_str(), RTLD_NOW); in try_dlopen() 126 ScopedLocalRef<jstring> jpath(env, env->NewStringUTF(path.c_str())); in load_library() 136 std::string baselib = basename(path.c_str()); in load_library() 137 ScopedLocalRef<jstring> jname(env, env->NewStringUTF(baselib.c_str())); in load_library() 145 const std::string java_load_error(ScopedUtfChars(env, java_load_errmsg).c_str()); in load_library() 151 const std::string java_load_lib_error(ScopedUtfChars(env, java_load_lib_errmsg).c_str()); in load_library() 163 void* handle = dlopen(path.c_str(), RTLD_NOW); in load_library() 187 std::string baselib = basename(path.c_str()); in check_lib() 238 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(dir.c_str()), closedir); in check_path() 253 if (is_directory(path.c_str())) { in check_path() [all …]
|
D | android_jni_cts_BasicLoaderTest.cpp | 74 return env->NewStringUTF(error_str.c_str()); in Java_android_jni_cts_BasicLoaderTestHelper_nativeRunTests()
|
/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 86 ASSERT_TRUE(execl(self_.c_str(), self_.c_str(), argPrint.c_str(), in GetAddress() 87 android::base::StringPrintf("%zu", allocSize).c_str(), in GetAddress() 102 ASSERT_TRUE(android::base::ParseUint(output.c_str(), &address)); in GetAddress()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 51 const char* c_str() const { in c_str() function in __anon591119570111::ScopedUtfChars 116 AFontMatcher_setLocales(mMatcher.get(), locales.c_str()); in setLocales() 128 AFont* font = AFontMatcher_match(mMatcher.get(), familyName.c_str(), text.data(), in match() 197 .setLocales(langTagsChars.c_str()) in nMatchFamilyStyleCharacter() 199 .match(familyNameChars.c_str(), utf16).first); in nMatchFamilyStyleCharacter() 211 .setLocales(langTagsChars.c_str()) in nMatchFamilyStyleCharacter_runLength() 213 .match(familyNameChars.c_str(), utf16).second; in nMatchFamilyStyleCharacter_runLength()
|
D | android_graphics_cts_VulkanFeaturesTest.cpp | 28 return env->NewStringUTF(vkjson.c_str()); in android_graphics_cts_VulkanFeaturesTest_nativeGetVkJSON()
|
D | android_graphics_cts_BasicVulkanGpuTest.cpp | 142 formatDesc.name.c_str(), x + y, x, y, framePixels[offset]); in verifyBasicBufferImport()
|
/cts/tests/tests/permission/jni/ |
D | android_permission_cts_FileUtils.cpp | 59 int res = statLinks == true ? lstat(cPath.c_str(), &s) in android_permission_cts_FileUtils_getFileStatus() 60 : stat(cPath.c_str(), &s); in android_permission_cts_FileUtils_getFileStatus() 103 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &capData, in isPermittedCapBitSet() 110 cPath.c_str(), result, strerror(errno), errno); in isPermittedCapBitSet() 187 ssize_t result = getxattr(cPath.c_str(), XATTR_NAME_CAPS, &actualCapData, in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly() 194 cPath.c_str(), result, strerror(errno), errno); in android_permission_cts_FileUtils_CapabilitySet_fileHasOnly()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 38 return utf_chars.c_str(); in GetClassName() 54 object_klass_descriptor.c_str(), in ObjectAllocated() 55 object_klass_descriptor2.c_str(), in ObjectAllocated() 105 return env->NewStringUTF(result.c_str()); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
|
/cts/tests/tests/selinux/common/jni/ |
D | android_security_SELinuxTargetSdkTest.cpp | 44 if (path.c_str() == NULL) { in getFileContext() 49 int ret = getfilecon(path.c_str(), &tmp); in getFileContext()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | utils.cpp | 87 LOGE("OpenGL error : %s : %s (%#08x)\n", msg.c_str(), str.c_str(), e); in GLCheckErrorStr()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_status.cpp | 131 AStatus_fromExceptionCodeWithMessage(exception, kMessage.c_str()); in TEST() 149 AStatus_fromServiceSpecificErrorWithMessage(error, kMessage.c_str()); in TEST() 181 AStatus_fromExceptionCodeWithMessage(exception, kMessage.c_str()); in TEST()
|
D | test_parcel.cpp | 227 return vector->element.c_str(); in TEST_F() 258 EXPECT_OK(AParcel_writeString(in, kTestcase.c_str(), i)); in TEST_F()
|
/cts/hostsidetests/gputools/apps/jni/ |
D | android_gputools_cts_RootlessGpuDebug.cpp | 128 return env->NewStringUTF(result.c_str()); in android_gputools_cts_RootlessGpuDebug_nativeInitVulkan() 137 return env->NewStringUTF(result.c_str()); in android_gputools_cts_RootlessGpuDebug_nativeInitGLES()
|
/cts/tools/cts-device-info/jni/ |
D | com_android_cts_deviceinfo_VulkanDeviceInfo.cpp | 27 return env->NewStringUTF(vkjson.c_str()); in GetVkJSON()
|
/cts/hostsidetests/statsd/apps/statsdapp/jni/ |
D | alloc_stress_activity.cpp | 44 LOG(ss.str().c_str()); in Java_com_android_server_cts_device_statsd_StatsdCtsBackgroundService_cmain()
|
/cts/tests/tests/net/native/dns/ |
D | NativeDnsAsyncTest.cpp | 90 EXPECT_EQ(1, inet_pton(ipType, answer.c_str(), pton)); in expectAnswersValid() 217 exceedingLabelQuery.c_str(), ns_c_in, ns_t_a, 0); in TEST() 220 exceedingDomainQuery.c_str(), ns_c_in, ns_t_a, 0); in TEST()
|
/cts/tests/signature/api-check/src/jni/ |
D | classdescriptors.cpp | 178 env->ThrowNew(rt_exception, error.c_str()); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() 202 env->ThrowNew(rt_exception, error.c_str()); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 244 memcpy(data, test_string.c_str(), test_string.size()); in testExternalBuffer() 253 memcpy(data, test_string.c_str(), test_string.size()); in testExternalBuffer() 260 ASSERT_EQ(strncmp(static_cast<char*>(data), test_string.c_str(), in testExternalBuffer() 501 LOGV("Filtered Result: %8.8X Flags =%s", *middle_pixel, flag_string.str().c_str()); in testLinearMagnification() 590 LOGV("Blending Result: %8.8X Flags =%s", *final_color, flag_string.str().c_str()); in testFramebufferBlending()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 176 ALOGE("Received message: %s", memoryAsHexString(&clientMsg, clientMsg.size()).c_str()); in checkMessage() 178 memoryAsHexString(&sanitizedClientMsg, clientMsg.size()).c_str()); in checkMessage()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.cpp | 261 ALOGI("RESULT: %s", debugStr.c_str()); in checkDynamicKeyFrames() 322 ALOGI("RESULT: %s", debugStr.c_str()); in checkDynamicBitrate()
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 454 ALOGE("**|%s", line.c_str()); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 456 ALOGI(" |%s", line.c_str()); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
|
/cts/common/device-side/nativetesthelper/jni/ |
D | gtest_wrapper.cpp | 87 ScopedLocalRef<jstring> jTestName(env, env->NewStringUTF(mangledName.c_str())); in createTestDescription() 132 ScopedLocalRef<jstring> jmessage(mEnv, mEnv->NewStringUTF(error.c_str())); in OnTestEnd()
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 107 std::string tmp = str.c_str(); in Java_android_jvmti_JvmtiActivity_didSeeLoadOf()
|