Searched refs:to_string (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/tools/aapt2/
H A DFlags.cpp35 *value = arg.to_string();
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
47 value->push_back(arg.to_string());
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false});
59 *value = arg.to_string();
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false});
71 value->push_back(arg.to_string());
[all...]
H A DSource.h39 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit)
43 : path(path.to_string()), line(line) {}
H A DResourceTable.h78 : config(config), product(product.to_string()) {}
113 explicit ResourceEntry(const android::StringPiece& name) : name(name.to_string()) {}
/frameworks/base/core/jni/
H A 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()));
H A Dandroid_os_VintfObject.cpp45 using vintf::to_string;
124 std::string cString = to_string(manifest->sepolicyVersion());
136 std::string key = to_string(vndk.versionRange());
/frameworks/base/tools/aapt2/io/
H A DFileSystem.cpp59 return (files_[path.to_string()] = util::make_unique<RegularFile>(Source(path))).get();
63 auto iter = files_.find(path.to_string());
H A DZipArchive.cpp116 std::string nested_path = path.to_string() + "@" + zip_entry_path;
131 auto iter = files_by_name_.find(path.to_string());
/frameworks/base/tools/aapt2/java/
H A DClassDefinition.cpp30 statements_.push_back(statement.to_string());
65 std::string new_prefix = prefix.to_string();
H A DClassDefinition.h58 : name_(name.to_string()), val_(val) {}
84 : name_(name.to_string()), val_(val) {}
110 explicit PrimitiveArrayMember(const android::StringPiece& name) : name_(name.to_string()) {}
151 : signature_(signature.to_string()) {}
176 : name_(name.to_string()), qualifier_(qualifier), create_if_empty_(createIfEmpty) {}
H A DAnnotationProcessor.cpp59 std::string lineCopy = line.to_string();
/frameworks/base/tools/aapt2/xml/
H A DXmlUtil.cpp47 return ExtractedPackage{package.to_string(), false /* is_private */};
57 return ExtractedPackage{package.to_string(), true /* is_private */};
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp143 ALOGE("Invalid layer type change: %s --> %s", to_string(from).c_str(),
144 to_string(to).c_str());
151 to_string(connected).c_str());
277 to_string(error).c_str(), static_cast<int32_t>(error));
331 to_string(error).c_str(), static_cast<int32_t>(error));
356 to_string(error).c_str(), static_cast<int32_t>(error));
373 "%s (%d)", mode, displayId, to_string(error).c_str(),
411 ": %s (%d)", to_string(enabled).c_str(), displayId,
413 to_string(error).c_str(), static_cast<int32_t>(error));
430 to_string(erro
[all...]
H A DHWC2.cpp120 ": %s (%d)", display->getId(), to_string(error).c_str(),
129 ": %s (%d)", display->getId(), to_string(error).c_str(),
181 to_string(connected).c_str());
324 " %s (%d)", display, to_string(error).c_str(), intError);
343 id, to_string(error).c_str(), intError);
453 layer->getId(), to_string(type).c_str());
737 configId, to_string(attribute).c_str(),
738 to_string(error).c_str(), intError);
767 to_string(error).c_str(), intError);
783 " failed: %s (%d)", mId, layerId, to_string(erro
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp327 error.to_string().c_str());
336 error.to_string().c_str());
345 error.to_string().c_str());
354 error.to_string().c_str());
363 error.to_string().c_str());
383 error.to_string().c_str());
424 layers_[i].GetCompositionType().to_string().c_str());
430 error.to_string().c_str());
440 error.to_string().c_str());
1017 error.to_string()
[all...]
/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.cpp45 std::string Text(const StringPiece& text) override { return text.to_string(); }
46 std::string Placeholder(const StringPiece& text) override { return text.to_string(); }
119 std::string chunk = text.substr(lastpos, size).to_string();
440 return kPlaceholderOpen + source.to_string() + kPlaceholderClose;
470 return kRlm + kRlo + source.to_string() + kPdf + kRlm;
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp77 return _mkdir(path.to_string().c_str());
79 return mkdir(path.to_string().c_str(), S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP);
187 if (!android::base::ReadFileToString(path.to_string(), &contents, true /*follow_symlinks*/)) {
197 out_arglist->push_back(line.to_string());
270 const std::string root_dir = path.to_string();
H A DBigBuffer.cpp79 std::string BigBuffer::to_string() const { function in class:aapt::BigBuffer
H A DBigBuffer.h120 std::string to_string() const;
/frameworks/native/services/vr/bufferhubd/
H A Dbuffer_hub.cpp71 std::string size = std::to_string(info.width) + " B";
74 std::string dimensions = std::to_string(info.width) + "x" +
75 std::to_string(info.height) + "x" +
76 std::to_string(info.layer_count);
112 stream << (" channel_id=" + std::to_string(channel->channel_id()));
118 std::string size = std::to_string(info.width) + " B";
121 std::string dimensions = std::to_string(info.width) + "x" +
122 std::to_string(info.height) + "x" +
123 std::to_string(info.layer_count);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DSaveLayer2Animation.cpp54 std::string stri = std::to_string(i);
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp309 to_string(descriptor).c_str());
377 output << " " << to_string(capability) << '\n';
424 ALOGV("registerCallback(%s, %p, %p)", to_string(descriptor).c_str(),
595 to_string(Error::BadConfig).c_str());
615 to_string(attribute).c_str(), *outValue);
642 to_string(element.second).c_str());
788 to_string(error).c_str());
931 ALOGV("[%" PRIu64 "] setPowerMode(%s)", mId, to_string(mode).c_str());
981 to_string(request.second).c_str());
1347 return std::string("Unknown (") + std::to_string(typ
1422 static std::string to_string(const hwc_layer_1_t& hwcLayer, function in namespace:android
1482 static std::string to_string(const hwc_display_contents_1_t& hwcContents, function in namespace:android
[all...]
/frameworks/base/libs/hwui/
H A DPathParser.cpp192 + std::to_string(start) + " of path: " + pathStr;
209 + std::to_string(start) + " of path: " + pathStr;
/frameworks/base/tools/aapt2/test/
H A DContext.h56 compilation_package_ = package.to_string();
106 context_->compilation_package_ = package.to_string();
/frameworks/base/tools/bit/
H A Dmake.cpp56 cmd.AddArg(string("-j") + std::to_string(get_thread_count()));
212 cmd.AddArg(string("-j") + std::to_string(get_thread_count()));
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp623 " %s (%d)", mName.string(), to_string(blendMode).c_str(),
624 to_string(error).c_str(), static_cast<int32_t>(error));
684 to_string(error).c_str(), static_cast<int32_t>(error));
694 sourceCrop.right, sourceCrop.bottom, to_string(error).c_str(),
703 "%s (%d)", mName.string(), alpha, to_string(error).c_str(),
708 mName.string(), z, to_string(error).c_str(),
776 "%s (%d)", mName.string(), to_string(transform).c_str(),
777 to_string(error).c_str(), static_cast<int32_t>(error));
811 to_string(error).c_str(), static_cast<int32_t>(error));
818 to_string(erro
[all...]

Completed in 9753 milliseconds

123