Searched refs:c_str (Results 1 - 25 of 267) sorted by relevance

1234567891011

/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DUsage.cpp32 ALOGD("%s: Usage %s has identifier 0x%X", __FUNCTION__, getName().c_str(), identifier);
42 ALOGD("%s: %d for Usage %s", __FUNCTION__, strategy, getName().c_str());
50 ALOGD("%s: %d for Usage %s", __FUNCTION__, mApplicableStrategy, getName().c_str());
H A DInputSource.cpp33 ALOGD("%s: InputSource %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier);
54 __FUNCTION__, devices, getName().c_str());
57 ALOGD("%s: 0x%X for input source %s", __FUNCTION__, devices, getName().c_str());
65 ALOGV("%s: 0x%X for inputSource %s", __FUNCTION__, mApplicableDevices, getName().c_str());
H A DStrategy.cpp34 ALOGD("%s: Strategy %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier);
51 __FUNCTION__, devices, getName().c_str());
54 ALOGD("%s: 0x%X for strategy %s", __FUNCTION__, devices, getName().c_str());
62 ALOGV("%s: 0x%X for strategy %s", __FUNCTION__, mApplicableDevices, getName().c_str());
H A DStream.cpp35 ALOGD("%s: Stream %s identifier 0x%X", __FUNCTION__, getName().c_str(), identifier);
54 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, strategy, getName().c_str());
61 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mApplicableStrategy, getName().c_str());
72 ALOGD("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
79 ALOGV("%s: 0x%X for Stream %s", __FUNCTION__, mVolumeProfile, getName().c_str());
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp47 lib_handle_ = dlopen(lib_name.c_str(), RTLD_NOW);
49 ALOGE("NativeProgram: Error opening library: '%s': %s", lib_name.c_str(), dlerror());
60 process_function_ = reinterpret_cast<ProcessFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
62 ALOGE("NativeProgram: Could not find process function symbol: '%s'!", func_name.c_str());
71 init_function_ = reinterpret_cast<InitFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
78 setvalue_function_ = reinterpret_cast<SetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
85 getvalue_function_ = reinterpret_cast<GetValueFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
92 reset_function_ = reinterpret_cast<ResetFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
99 teardown_function_ = reinterpret_cast<TeardownFunctionPtr>(dlsym(lib_handle_, func_name.c_str()));
128 setvalue_function_(key.c_str(), valu
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_SELinux.cpp119 context_c_str = context->c_str();
147 if (path.c_str() == NULL) {
152 if (context.c_str() == NULL) {
157 char *tmp = const_cast<char *>(context.c_str());
158 int ret = setfilecon(path.c_str(), tmp);
160 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
180 if (path.c_str() == NULL) {
185 int ret = getfilecon(path.c_str(), &tmp);
193 ALOGV("getFileCon(%s) => %s", path.c_str(), contex
[all...]
H A Dandroid_app_ApplicationLoaders.cpp32 loader_data.layer_path = layerPathChars.c_str();
36 layerPathChars.c_str(), ns);
H A Dandroid_util_jar_StrictJarFile.cpp56 if (fileChars.c_str() == NULL) {
61 int32_t error = OpenArchive(fileChars.c_str(), &handle);
93 if (prefixChars.c_str() == NULL) {
103 ZipString entry_name(prefixChars.c_str());
138 if (entryNameChars.c_str() == NULL) {
144 ZipString(entryNameChars.c_str()), &data);
/frameworks/base/tools/aapt2/
H A DLocale.cpp83 setLanguage(lang.c_str());
96 setRegion(part2.c_str());
98 setScript(part2.c_str());
100 setVariant(part2.c_str());
113 setRegion(part3.c_str());
115 setVariant(part3.c_str());
126 setVariant(part4.c_str());
149 setLanguage(subtags[0].c_str());
151 setLanguage(subtags[0].c_str());
157 setRegion(subtags[1].c_str());
[all...]
H A DConfigDescription.cpp471 uint16_t w = (uint16_t)atoi(xName.c_str());
472 uint16_t h = (uint16_t)atoi(yName.c_str());
503 out->smallestScreenWidthDp = (uint16_t)atoi(xName.c_str());
525 out->screenWidthDp = (uint16_t)atoi(xName.c_str());
547 out->screenHeightDp = (uint16_t)atoi(xName.c_str());
573 out->sdkVersion = (uint16_t)atoi(sdkName.c_str());
594 if (parseMcc(partIter->c_str(), &config)) {
601 if (parseMnc(partIter->c_str(), &config)) {
621 if (parseLayoutDirection(partIter->c_str(), &config)) {
628 if (parseSmallestScreenWidthDp(partIter->c_str(),
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp216 const char *lang = item.mLanguage.empty() ? "und" : item.mLanguage.c_str();
493 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str());
542 ALOGV("base:'%s', url:'%s' => '%s'", baseURL, url, out->c_str());
568 // ALOGI("#%s#", line.c_str());
674 CHECK(MakeURL(mBaseURI.c_str(), line.c_str(), &item->mURI));
713 groupID.c_str());
733 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x);
757 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x);
780 char c = line.c_str()[offse
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecListOverrides.cpp70 *width = strtol(sWidth.c_str(), NULL, 10);
71 *height = strtol(sHeight.c_str(), NULL, 10);
89 *bitrate = strtol(minBitrate.c_str(), NULL, 10);
132 ALOGV("doProfileEncoderInputBuffers: name %s, mime %s", name.c_str(), mime.c_str());
140 ALOGV("doProfileEncoderInputBuffers: format %s", format->debugString().c_str());
148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
150 ALOGE("Failed to create codec: %s", name.c_str());
156 ALOGE("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str());
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp203 systrace_path.c_str());
205 systrace_path.c_str(), NULL)) {
215 MYLOGE("Unable to add systrace file %s to zip file\n", systrace_path.c_str());
217 if (remove(systrace_path.c_str())) {
218 MYLOGE("Error removing systrace file %s: %s", systrace_path.c_str(), strerror(errno));
247 "-o", raft_log_path.c_str(), NULL);
249 MYLOGE("Unable to add raft log %s to zip file\n", raft_log_path.c_str());
251 if (remove(raft_log_path.c_str())) {
252 MYLOGE("Error removing raft file %s: %s\n", raft_log_path.c_str(), strerror(errno));
564 printf("Bugreport format version: %s\n", version.c_str());
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DOpDumperTests.cpp31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str());
35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str());
42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
/frameworks/native/cmds/installd/
H A Dotapreopt.cpp138 return StringPrintf("%s/%s", GetOtaDirectoryPrefix().c_str(), target_slot_.c_str());
227 int result = setenv(ASEC_MOUNTPOINT_ENV_NAME, asec_mountpoint_.c_str(), 0);
233 if (!init_globals_from_data_and_root(GetAndroidData().c_str(), GetAndroidRoot().c_str())) {
240 if (access(GetOtaDirectoryPrefix().c_str(), R_OK) < 0) {
296 environ_.push_back(StringPrintf("BOOTCLASSPATH=%s", boot_classpath_.c_str()));
297 environ_.push_back(StringPrintf("ANDROID_DATA=%s", GetOTADataDirectory().c_str()));
298 environ_.push_back(StringPrintf("ANDROID_ROOT=%s", android_root_.c_str()));
301 putenv(const_cast<char*>(e.c_str()));
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp67 if ((size_t)eolPos > i && desc.c_str()[eolPos - 1] == '\r') {
80 if (line.size() < 2 || line.c_str()[1] != '=') {
84 ALOGI("%s", line.c_str());
86 switch (line.c_str()[0]) {
89 if (strcmp(line.c_str(), "v=0")) {
124 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
133 AString(line, 2, line.size() - 2).c_str());
152 ALOGV("adding '%s' => '%s'", key.c_str(), value.c_str());
[all...]
H A DARTPSource.cpp58 if (!strncmp(desc.c_str(), "H264/", 5)) {
61 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) {
63 } else if (!strncmp(desc.c_str(), "H263-1998/", 10)
64 || !strncmp(desc.c_str(), "H263-2000/", 10)) {
67 } else if (!strncmp(desc.c_str(), "AMR/", 4)) {
69 } else if (!strncmp(desc.c_str(), "AMR-WB/", 7)) {
71 } else if (!strncmp(desc.c_str(), "MP4V-ES/", 8)
72 || !strncasecmp(desc.c_str(), "mpeg4-generic/", 14)) {
75 } else if (ARawAudioAssembler::Supports(desc.c_str())) {
76 mAssembler = new ARawAudioAssembler(notify, desc.c_str(), param
[all...]
H A DAPacketSource.cpp83 char c = s.c_str()[i];
265 const char *s = val.c_str();
425 if (!strncmp(desc.c_str(), "H264/", 5)) {
436 MakeAVCCodecSpecificData(params.c_str(), &encWidth, &encHeight);
456 } else if (!strncmp(desc.c_str(), "H263-2000/", 10)
457 || !strncmp(desc.c_str(), "H263-1998/", 10)) {
468 } else if (!strncmp(desc.c_str(), "MP4A-LATM/", 10)) {
473 desc.c_str(), &sampleRate, &numChannels);
479 MakeAACCodecSpecificData(params.c_str());
484 } else if (!strncmp(desc.c_str(), "AM
[all...]
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.cpp107 ALOGV("opening layer library '%s'", path_.c_str());
119 dlhandle_ = android_dlopen_ext(path_.c_str(), RTLD_NOW | RTLD_LOCAL,
122 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL);
125 ALOGE("failed to load layer library '%s': %s", path_.c_str(),
137 ALOGV("closing layer library '%s'", path_.c_str());
153 path_.c_str());
174 path_.c_str(), result);
184 path_.c_str(), result);
195 path_.c_str(), result);
204 path_.c_str(), resul
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp51 ALOGD("policy-parameter-manager: %s", log.c_str());
55 ALOGW("policy-parameter-manager: %s", log.c_str());
108 ALOGE("%s: Policy PFW start error: %s", __FUNCTION__, error.c_str());
119 "CriterionType %s already added", typeName.c_str());
120 ALOGD("%s: Adding new criterionType %s", __FUNCTION__, typeName.c_str());
131 "CriterionType %s not found", typeName.c_str());
133 numericValue, literalValue.c_str(), typeName.c_str());
187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str());
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str());
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp46 return (*it).c_str();
53 return (*--entry.end()).c_str();
/frameworks/compile/mclinker/unittests/
H A DPathTest.cpp132 EXPECT_STREQ("/usr/lib/", m_pTestee->generic_string().c_str());
137 EXPECT_STREQ("aa/bb/cc", m_pTestee->parent_path().c_str());
140 EXPECT_STREQ("/aa/bb", m_pTestee->parent_path().c_str());
143 EXPECT_STREQ("/aa", m_pTestee->parent_path().c_str());
146 EXPECT_STREQ("aa", m_pTestee->parent_path().c_str());
154 EXPECT_STREQ("cc", m_pTestee->filename().c_str());
157 EXPECT_STREQ("", m_pTestee->filename().c_str());
160 EXPECT_STREQ("aa", m_pTestee->filename().c_str());
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp280 "closing >] in: %s", rectDesc.c_str());
373 testPrintE("Error parsing format from: %s", rectStr.c_str());
376 format = hwcTestGraphicFormatLookup(str.c_str());
378 testPrintE("Unknown graphic format in: %s", rectStr.c_str());
386 testPrintE("Invalid display frame in: %s", rectStr.c_str());
411 rectStr.c_str());
433 testPrintE("Unknown transform of \"%s\" in: %s", str.c_str(),
434 rectStr.c_str());
448 testPrintE("Unknown blend of \"%s\" in: %s", str.c_str(),
449 rectStr.c_str());
[all...]
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp49 pInput->getBufferIdentifier(), ec.message().c_str());
100 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
101 mb_or_error.getError().message().c_str());
117 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false);
132 ErrorStream.str().c_str());
139 pModule.getModuleIdentifier().c_str());
162 getIdentifier().c_str(), pSource.getIdentifier().c_str());
177 ALOGE("Out of memory when creating empty LLVM module `%s'!", pName.c_str());
181 Source *result = CreateFromModule(pContext, pName.c_str(), *modul
[all...]
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp58 extHeaders.add(String8("User-Agent"), String8(MakeUserAgent().c_str()));
62 // reconnect() calls with uri == old mLastURI.c_str(), which gets zapped
66 bool success = mHTTPConnection->connect(mLastURI.c_str(), &extHeaders);
74 mName = String8::format("MediaHTTP(%s)", sanitized.c_str());
152 return connect(mLastURI.c_str(), &mLastHeaders, offset);
168 String8(mLastURI.c_str()), mime);
194 return String8(mLastURI.c_str());

Completed in 700 milliseconds

1234567891011