Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/debuggerd/
Ddebuggerd_cts_crasher.cpp26 return android_crash_detail_register(name, strlen(name), data, strlen(data)); in android_crash_detail_register_strs()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2044/
Dpoc.cpp36 if(!desc->setTo(raw, strlen(raw))) { in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9472/
Dpoc.cpp35 size_t strlen(const char *str) { in strlen() function
/cts/tests/tests/drm/jni/
Dandroid_drm_cts_NativeCodeTest.cpp41 if (!strncmp(buffer, match, strlen(match))) { in android_drm_cts_InstallDrmEngineTest()
/cts/tests/media/jni/
DNativeMediaCommon.cpp119 if (!strncmp(refMediaType, "audio/", strlen("audio/"))) { in isFormatSimilar()
135 } else if (!strncmp(refMediaType, "video/", strlen("video/"))) { in isFormatSimilar()
155 if (strncmp(mediaType, "video/", strlen("video/")) == 0) return true; in isMediaTypeOutputUnAffectedBySeek()
DNativeCodecTestBase.cpp384 mIsAudio = strncmp(mediaType, "audio/", strlen("audio/")) == 0; in CodecTestBase()
385 mIsVideo = strncmp(mediaType, "video/", strlen("video/")) == 0; in CodecTestBase()
691 if (!strncmp(refMediaType, "audio/", strlen("audio/"))) { in isFormatSimilar()
701 (strncmp(testMediaType, "audio/", strlen("audio/")) == 0); in isFormatSimilar()
702 } else if (!strncmp(refMediaType, "video/", strlen("video/"))) { in isFormatSimilar()
709 (strncmp(testMediaType, "video/", strlen("video/")) == 0); in isFormatSimilar()
DNativeMuxerTest.cpp344 ALOGV("strlen(thisMediaType)%zu", strlen(thisMediaType)); in appendMedia()
376 ALOGV("strlen(thisMediaType)%zu", strlen(thisMediaType)); in appendMediaFromTime()
444 int tolerance = !strncmp(thisMediaType, "video/", strlen("video/")) ? STTS_TOLERANCE_US : 0; in isSubsetOf()
455 int tolerance = !strncmp(thisMediaType, "video/", strlen("video/")) in isSubsetOf()
506 if (strncmp(thisMediaType, "video/", strlen("video/")) == 0) { in offsetTimeStamp()
508 } else if (strncmp(thisMediaType, "audio/", strlen("audio/")) == 0) { in offsetTimeStamp()
535 strncmp(mediaType, "application/", strlen("application/")) == 0) in isCodecContainerPairValid()
DNativeExtractorTest.cpp555 if (strlen(cMediaType) != 0 && strcmp(refMediaType, cMediaType) != 0) { in nativeReadAllData()
561 if (strncmp(refMediaType, "audio/", strlen("audio/")) == 0) { in nativeReadAllData()
571 } else if (strncmp(refMediaType, "video/", strlen("video/")) == 0) { in nativeReadAllData()
799 if (hasKey && mediaType && strlen(mediaType) > 0) { in nativeTestFileFormat()
DNativeMediaFormatUnitTest.cpp113 size_t sz = strlen(story) + 1; in NativeMediaFormatUnitTest()
117 sz = strlen(dragon) + 1; in NativeMediaFormatUnitTest()
DNativeMuxerUnitTest.cpp41 info->size = strlen(greeting); in insertPerFrameSubtitles()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2180/
Dpoc.c41 size_t strlen(const char *str) { in strlen() function
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
Dconnector.cpp34 *addr_len = offsetof(struct sockaddr_un, sun_path) + strlen(name); in SetUnixSocketAddr()
/cts/hostsidetests/tagging/common/jni/
Dandroid_cts_tagging_Utils.cpp108 return strncmp(buf, kScudoPrefix, strlen(kScudoPrefix)) == 0; in Java_android_cts_tagging_Utils_allocatorIsScudo()
/cts/tests/tests/nativemedia/mediametrics/src/
DMediaMetricsTest.cpp122 EXPECT_TRUE(strlen(mediametrics_readable(handle_)) > 0); in TEST_F()
/cts/common/device-side/util/jni/
Dandroid_cts_FileUtils.cpp102 if (strlen(fileStr) <= 0) { in android_cts_FileUtils_setPermissions()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java861 int strlen = 2; // {}
864 strlen += 3; // ...
868 strlen += 3 * len - (len > 0 ? 1 : 0); // XX,XX
869 char[] res = new char[strlen];
871 res[strlen - 1] = '}';
873 res[strlen - 2] = res[strlen - 3] = res[strlen - 4] = '.';
/cts/hostsidetests/securitybulletin/securityPatch/Bug-137878930/
Dpoc.cpp162 response.appendArray((const unsigned char *)key, strlen(key)); in provideKeyResponse()
/cts/tools/release-parser/tests/resources/
DCtsAslrMallocTestCases32.pb.txt315 name: "strlen"
DCtsJniTestCases.apk.pb.txt4692 name: "strlen"
5092 name: "strlen"
5557 name: "strlen"
6011 name: "strlen"
6691 name: "strlen"
6899 name: "strlen"
/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp532 bool isVideo = strncmp(mediaType, "video/", strlen("video/")) == 0; in testNonTunneledTrickPlay()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_attributes.cpp68 for (size_t i = 0; i < strlen(str); ++i) { in printStrToTestName()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp165 if (strlen(url) > kFileSchemeStrLen && strncmp(url, kFileScheme, kFileSchemeStrLen) == 0) { in setDataSourceFdOrUrl()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c247 u32 len = strlen(s); in buf_str16()
1237 size_t l = strlen(pipedir); in make_pipe_path()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferGLTest.cpp101 if (strlen(format_string) == 0) { in GetTestName()