Home
last modified time | relevance | path

Searched refs:to_string (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/tools/aapt2/
DFlags.cpp35 *value = arg.to_string(); in RequiredFlag()
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlag()
47 value->push_back(arg.to_string()); in RequiredFlagList()
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlagList()
59 *value = arg.to_string(); in OptionalFlag()
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlag()
71 value->push_back(arg.to_string()); in OptionalFlagList()
75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
83 value->insert(arg.to_string()); in OptionalFlagList()
87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
[all …]
DSource.h39 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) in Source()
43 : path(path.to_string()), line(line) {} in Source()
DResourceParser.cpp106 res->comment = trimmed_comment.to_string(); in AddResourcesToTable()
331 parsed_resource.product = maybe_product.value().to_string(); in ParseResources()
420 resource_type = maybe_type.value().to_string(); in ParseResource()
444 resource_type = maybe_type.value().to_string(); in ParseResource()
465 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
482 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
508 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
533 out_resource->name.entry = maybe_name.value().to_string(); in ParseResource()
770 comment = util::TrimWhitespace(parser->comment()).to_string(); in ParsePublicGroup()
806 child_resource.name.entry = maybe_name.value().to_string(); in ParsePublicGroup()
[all …]
DResourceTable.h78 : config(config), product(product.to_string()) {} in ResourceConfigValue()
113 explicit ResourceEntry(const android::StringPiece& name) : name(name.to_string()) {} in ResourceEntry()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp117 ALOGE("Invalid layer type change: %s --> %s", to_string(from).c_str(), in validateChange()
118 to_string(to).c_str()); in validateChange()
125 to_string(connection).c_str()); in onHotplug()
252 to_string(error).c_str(), static_cast<int32_t>(error)); in createLayer()
267 to_string(error).c_str(), static_cast<int32_t>(error)); in destroyLayer()
319 to_string(error).c_str(), static_cast<int32_t>(error)); in getActiveConfig()
342 to_string(error).c_str(), static_cast<int32_t>(error)); in getColorModes()
359 "%s (%d)", mode, displayId, to_string(error).c_str(), in setActiveColorMode()
397 ": %s (%d)", to_string(enabled).c_str(), displayId, in setVsyncEnabled()
399 to_string(error).c_str(), static_cast<int32_t>(error)); in setVsyncEnabled()
[all …]
DHWC2.cpp184 displayId, to_string(error).c_str(), intError); in onHotplug()
247 ") failed: %s (%d)", mId, to_string(error).c_str(), intError); in ~Display()
252 ": %s (%d)", mId, to_string(error).c_str(), in ~Display()
369 layer->getId(), to_string(type).c_str()); in getChangedCompositionTypes()
659 configId, to_string(attribute).c_str(), in getAttribute()
660 to_string(error).c_str(), intError); in getAttribute()
689 to_string(error).c_str(), intError); in loadConfigs()
727 " failed: %s (%d)", mDisplayId, mId, to_string(error).c_str(), in ~Layer()
/frameworks/base/core/jni/
Dandroid_os_VintfRuntimeInfo.cpp46 MAP_STRING_METHOD(getKernelVersion, vintf::to_string(info->kernelVersion()));
47 MAP_STRING_METHOD(getBootAvbVersion, vintf::to_string(info->bootAvbVersion()));
48 MAP_STRING_METHOD(getBootVbmetaAvbVersion, vintf::to_string(info->bootVbmetaAvbVersion()));
Dandroid_os_VintfObject.cpp45 using vintf::to_string;
127 std::string cString = to_string(manifest->sepolicyVersion()); in android_os_VintfObject_getSepolicyVersion()
139 std::string key = to_string(vndk.versionRange()); in android_os_VintfObject_getVndkSnapshots()
/frameworks/base/tools/aapt2/java/
DClassDefinition.h64 : name_(name.to_string()), val_(val) {} in PrimitiveMember()
93 : name_(name.to_string()), val_(val) {} in PrimitiveMember()
125 explicit PrimitiveArrayMember(const android::StringPiece& name) : name_(name.to_string()) {} in PrimitiveArrayMember()
174 : signature_(signature.to_string()) {} in MethodDefinition()
208 : name_(name.to_string()), qualifier_(qualifier), create_if_empty_(createIfEmpty) {} in ClassDefinition()
DClassDefinition.cpp30 statements_.push_back(statement.to_string()); in AppendStatement()
79 std::string new_prefix = prefix.to_string(); in WriteToStream()
/frameworks/native/libs/vr/libvrflinger/
Dhardware_composer.cpp339 error.to_string().c_str()); in GetDisplayMetrics()
348 error.to_string().c_str()); in GetDisplayMetrics()
358 error.to_string().c_str()); in GetDisplayMetrics()
367 error.to_string().c_str()); in GetDisplayMetrics()
376 error.to_string().c_str()); in GetDisplayMetrics()
399 stream << " type=" << layers_[i].GetCompositionType().to_string(); in Dump()
425 error.to_string().c_str()); in PostLayers()
465 layers_[i].GetCompositionType().to_string().c_str()); in PostLayers()
472 error.to_string().c_str()); in PostLayers()
482 error.to_string().c_str()); in PostLayers()
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer.cpp45 std::string Text(const StringPiece& text) override { return text.to_string(); } in Text()
46 std::string Placeholder(const StringPiece& text) override { return text.to_string(); } in Placeholder()
119 std::string chunk = text.substr(lastpos, size).to_string(); in Text()
440 return kPlaceholderOpen + source.to_string() + kPlaceholderClose; in Placeholder()
480 return kRlm + kRlo + source.to_string() + kPdf + kRlm; in Placeholder()
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp59 return (files_[path.to_string()] = util::make_unique<RegularFile>(Source(path))).get(); in InsertFile()
63 auto iter = files_.find(path.to_string()); in FindFile()
DZipArchive.cpp116 std::string nested_path = path.to_string() + "@" + zip_entry_path; in Create()
131 auto iter = files_by_name_.find(path.to_string()); in FindFile()
/frameworks/base/tools/aapt2/xml/
DXmlUtil.cpp47 return ExtractedPackage{package.to_string(), false /* is_private */}; in ExtractPackageFromNamespace()
57 return ExtractedPackage{package.to_string(), true /* is_private */}; in ExtractPackageFromNamespace()
/frameworks/native/cmds/lshal/
DTableEntry.h70 return std::to_string(threadUsage) + "/" + std::to_string(threadCount); in getThreadUsage()
/frameworks/base/tools/aapt2/flatten/
DArchive.cpp44 dir_ = out_dir.to_string(); in Open()
63 file::mkdirs(file::GetStem(full_path).to_string()); in StartEntry()
126 file_ = {::android::base::utf8::fopen(path.to_string().c_str(), "w+b"), fclose}; in Open()
/frameworks/native/libs/hwc2on1adapter/
DHWC2On1Adapter.cpp309 to_string(descriptor).c_str()); in doGetFunction()
377 output << " " << to_string(capability) << '\n'; in dump()
424 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(), in registerCallback()
432 ALOGI("unregisterCallback(%s)", to_string(descriptor).c_str()); in registerCallback()
601 to_string(Error::BadConfig).c_str()); in getActiveConfig()
621 to_string(attribute).c_str(), *outValue); in getAttribute()
648 to_string(element.second).c_str()); in getChangedCompositionTypes()
794 to_string(error).c_str()); in present()
937 ALOGV("[%" PRIu64 "] setPowerMode(%s)", mId, to_string(mode).c_str()); in setPowerMode()
987 to_string(request.second).c_str()); in validate()
[all …]
/frameworks/native/services/vr/bufferhubd/
Dbuffer_hub.cpp79 std::string size = std::to_string(info.width) + " B"; in DumpState()
82 std::string dimensions = std::to_string(info.width) + "x" + in DumpState()
83 std::to_string(info.height) + "x" + in DumpState()
84 std::to_string(info.layer_count); in DumpState()
185 stream << (" channel_id=" + std::to_string(channel->channel_id())); in DumpState()
/frameworks/native/services/surfaceflinger/
DLayer.cpp682 " %s (%d)", mName.string(), to_string(blendMode).c_str(),
683 to_string(error).c_str(), static_cast<int32_t>(error));
743 to_string(error).c_str(), static_cast<int32_t>(error));
753 sourceCrop.right, sourceCrop.bottom, to_string(error).c_str(),
762 "%s (%d)", mName.string(), alpha, to_string(error).c_str(),
767 mName.string(), z, to_string(error).c_str(),
835 "%s (%d)", mName.string(), to_string(transform).c_str(),
836 to_string(error).c_str(), static_cast<int32_t>(error));
870 to_string(error).c_str(), static_cast<int32_t>(error));
877 to_string(error).c_str(), static_cast<int32_t>(error));
[all …]
/frameworks/base/tools/aapt2/util/
DFiles.cpp201 if (!ReadFileToString(path.to_string(), &contents, true /*follow_symlinks*/)) { in AppendArgsFromFile()
211 out_arglist->push_back(line.to_string()); in AppendArgsFromFile()
284 const std::string root_dir = path.to_string(); in FindFiles()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp280 config->artifact_format = TrimWhitespace(t->text).to_string(); in __anon84c32c5c0402()
305 group.push_back(kStringToAbiMap.at(TrimWhitespace(t->text).to_string())); in __anon84c32c5c0502()
464 result.texture_paths.push_back(TrimWhitespace(t->text).to_string()); in __anon84c32c5c0902()
494 group.push_back(TrimWhitespace(t->text).to_string()); in __anon84c32c5c0a02()
/frameworks/base/libs/hwui/
DPathParser.cpp192 + std::to_string(start) + " of path: " + pathStr; in getPathDataFromAsciiString()
209 + std::to_string(start) + " of path: " + pathStr; in getPathDataFromAsciiString()
/frameworks/base/tools/aapt2/test/
DContext.h56 compilation_package_ = package.to_string(); in SetCompilationPackage()
106 context_->compilation_package_ = package.to_string(); in SetCompilationPackage()
/frameworks/base/tools/bit/
Dmake.cpp56 cmd.AddArg(string("-j") + std::to_string(get_thread_count())); in get_build_var()
212 cmd.AddArg(string("-j") + std::to_string(get_thread_count())); in build_goals()

123