/frameworks/av/media/libmediahelper/include/media/ |
D | TypeConverter.h | 78 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { variable 80 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) { 172 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in collectionFromString() local 174 if (fromString(cstr, value)) { in collectionFromString() 187 for (const char *cstr = strtok(literal, del); cstr != NULL; cstr = strtok(NULL, del)) { in maskFromString() local 189 if (fromString(cstr, type)) { in maskFromString()
|
/frameworks/base/core/jni/ |
D | android_os_GraphicsEnvironment.cpp | 67 const char* cstr = env->GetStringUTFChars(jstr, nullptr); in setAngleInfo_native() local 68 if (cstr == nullptr) { in setAngleInfo_native() 71 features.emplace_back(cstr); in setAngleInfo_native() 72 env->ReleaseStringUTFChars(jstr, cstr); in setAngleInfo_native()
|
D | android_os_HidlMemory.cpp | 43 jstring stringToJava(JNIEnv* env, const std::string& cstr) { in stringToJava() argument 44 return env->NewStringUTF(cstr.c_str()); in stringToJava()
|
D | android_os_VintfObject.cpp | 64 auto cstr = env->GetStringUTFChars(jstr, nullptr); in runCmd() local 65 output = std::string(cstr); in runCmd() 66 env->ReleaseStringUTFChars(jstr, cstr); in runCmd()
|
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | SystemPropertiesParser.cpp | 31 char cstr[len + 1]; in convertToFieldName() local 32 strcpy(cstr, name.c_str()); in convertToFieldName() 34 if (!isValidChar(cstr[i])) { in convertToFieldName() 35 cstr[i] = '_'; in convertToFieldName() 38 return string(cstr); in convertToFieldName()
|
/frameworks/av/media/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 40 template <class T> std::unique_ptr<T> alloc_unique_cstr(const char *cstr) { in alloc_unique_cstr() argument 41 size_t len = strlen(cstr); in alloc_unique_cstr() 43 memcpy(ptr->m.value, cstr, len); in alloc_unique_cstr()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 279 auto cstr = env->GetStringUTFChars(jStr.get(), nullptr); in StringFromJava() local 280 std::string str(cstr); in StringFromJava() 281 env->ReleaseStringUTFChars(jStr.get(), cstr); in StringFromJava()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 136 auto cstr = path::c_str(name); in mkdirOrLog() local 137 if (::mkdir(cstr, mode)) { in mkdirOrLog() 143 if (::stat(cstr, &st) || !S_ISDIR(st.st_mode)) { in mkdirOrLog() 148 if (::chmod(cstr, mode)) { in mkdirOrLog()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 4043 const char *cstr = env->GetStringUTFChars(jstr, nullptr); in PopulateNamesVector() local 4044 if (cstr == nullptr) { in PopulateNamesVector() 4050 names->emplace_back(cstr); in PopulateNamesVector() 4051 env->ReleaseStringUTFChars(jstr, cstr); in PopulateNamesVector()
|