Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 7 of 7) sorted by relevance

/cts/suite/audio_quality/test/
DStringUtilTest.cpp34 android::String8 sub1 = StringUtil::substr(str, 0, 5); in TEST_F()
37 android::String8 sub2 = StringUtil::substr(str, 10, 5); in TEST_F()
40 android::String8 sub3 = StringUtil::substr(str, 6, 5); in TEST_F()
43 android::String8 sub4 = StringUtil::substr(str, 100, 5); in TEST_F()
/cts/suite/audio_quality/lib/src/
DStringUtil.cpp31 tokens->push_back(substr(str, lastTokenEnd, i - lastTokenEnd)); in split()
37 tokens->push_back(substr(str, lastTokenEnd, str.length() - lastTokenEnd)); in split()
42 android::String8 StringUtil::substr(const android::String8& str, size_t pos, size_t n) in substr() function in StringUtil
/cts/suite/audio_quality/lib/src/audio/
DAudioHardware.cpp66 android::String8 product = StringUtil::substr(resultStr, pmatch[1].rm_so, in detectAudioHw()
69 android::String8 cardNumber = StringUtil::substr(resultStr, pmatch[2].rm_so, in detectAudioHw()
/cts/suite/audio_quality/lib/include/
DStringUtil.h34 static android::String8 substr(const android::String8& str, size_t pos, size_t n);
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp256 translated.append(StringUtil::substr(orig, strStart, pmatch[1].rm_so - 1)); //-1 for $ in translateVarName()
258 indexName.append(StringUtil::substr(orig, matchStart, matchEnd - matchStart)); in translateVarName()
273 translated.append(StringUtil::substr(orig, matchEnd, orig.length() - matchEnd)); in translateVarName()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp94 return library_search_paths.count(path.substr(0, path.size() - tail.size())) > 0; in is_library_on_path()
300 std::string type = soname.substr(space_pos + 1); in jobject_array_to_set()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_parcel.cpp234 const std::string expectedString = kTestcase.substr(0, i); in TEST_F()