/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 | 99 void *handle = dlopen(path.c_str(), RTLD_NOW); in try_dlopen() 128 ScopedLocalRef<jstring> jpath(env, env->NewStringUTF(path.c_str())); in load_library() 138 std::string baselib = basename(path.c_str()); in load_library() 139 ScopedLocalRef<jstring> jname(env, env->NewStringUTF(baselib.c_str())); in load_library() 147 const std::string java_load_error(ScopedUtfChars(env, java_load_errmsg).c_str()); in load_library() 153 const std::string java_load_lib_error(ScopedUtfChars(env, java_load_lib_errmsg).c_str()); in load_library() 165 void* handle = dlopen(path.c_str(), RTLD_NOW); in load_library() 189 std::string baselib = basename(path.c_str()); in check_lib() 251 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(dir.c_str()), closedir); in check_path() 266 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/tests/binder_ndk/libbinder_ndk_test/ |
D | utilities.cpp | 81 jclass cl = env->FindClass(clazz.c_str()); in callStaticJavaMethodForObject() 83 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "No class %s", clazz.c_str()); in callStaticJavaMethodForObject() 87 jmethodID mid = env->GetStaticMethodID(cl, method.c_str(), type.c_str()); in callStaticJavaMethodForObject() 89 __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, "No method id %s", method.c_str()); in callStaticJavaMethodForObject()
|
D | test_status.cpp | 134 AStatus_fromExceptionCodeWithMessage(exception, kMessage.c_str()); in TEST() 152 AStatus_fromServiceSpecificErrorWithMessage(error, kMessage.c_str()); in TEST() 184 AStatus_fromExceptionCodeWithMessage(exception, kMessage.c_str()); in TEST()
|
/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 __anon6417662e0111::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()
|
D | cts_logging.cpp | 43 JvmtiErrorToException(env, jvmti_env, set_flag_ext(jvmti_env, data.c_str(), true)); in Java_android_jvmti_cts_JvmtiRunTestBasedTest_setupExtraLogging()
|
/cts/tests/tests/selinux/common/jni/ |
D | android_security_SELinuxTargetSdkTest.cpp | 74 if (path.c_str() == NULL) { in getFileContext() 79 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/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/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/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/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/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/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()
|