Home
last modified time | relevance | path

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

123456789

/system/core/fs_mgr/libdm/
Ddm_target.cpp61 return block_device_ + " " + std::to_string(physical_sector_); in GetParameterString()
72 std::to_string(version), in DmTargetVerity()
75 std::to_string(data_block_size), in DmTargetVerity()
76 std::to_string(hash_block_size), in DmTargetVerity()
77 std::to_string(num_data_blocks), in DmTargetVerity()
78 std::to_string(hash_start_block), in DmTargetVerity()
90 optional_args_.emplace_back(std::to_string(num_roots)); in UseFec()
92 optional_args_.emplace_back(std::to_string(num_blocks)); in UseFec()
94 optional_args_.emplace_back(std::to_string(start)); in UseFec()
116 return base + " " + std::to_string(optional_args_.size()) + " " + optional; in GetParameterString()
[all …]
/system/libvintf/
DKernelInfo.cpp60 to_string(matrixConfig.second); in matchKernelConfigs()
113 << (kernelLevel == Level::UNSPECIFIED ? "unspecified" : to_string(kernelLevel)) in getMatchedKernelRequirements()
148 to_string(mVersion) + in getMatchedKernelRequirements()
169 *error = "Kernel FCM Version is " + to_string(kernelLevel) + " and kernel version is " + in getMatchedKernelRequirements()
170 to_string(mVersion) + in getMatchedKernelRequirements()
172 to_string(mVersion.dropMinor()) + ".y is " + to_string(firstMatrixKernelLevel); in getMatchedKernelRequirements()
186 to_string(matrixKernelLevel) + ", " + errorForLevel + "\n"; in getMatchedKernelRequirements()
195 to_string(kernelLevel) + ").\n"); in getMatchedKernelRequirements()
254 *error = "Conflicting kernel version: " + to_string(version()) + " vs. " + in merge()
255 to_string(other->version()); in merge()
[all …]
DRuntimeInfo.cpp80 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility()
88 "kernelSepolicyVersion = " + to_string(kernelSepolicyVersion()) + in checkCompatibility()
89 " but required >= " + to_string(mat.framework.mSepolicy.kernelSepolicyVersion()); in checkCompatibility()
DHalManifest.cpp75 *error = "Conflicting major version: " + to_string(existingVersion); in shouldAdd()
79 *error += " vs. " + to_string(v); in shouldAdd()
376 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility()
377 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
386 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility()
388 *error += " Manifest level = " + to_string(level()) + "."; in checkCompatibility()
414 *error = "Sepolicy version " + to_string(device.mSepolicyVersion) in checkCompatibility()
501 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath()
502 std::to_string(version.minorVer) + ".xml"; in getXmlFilePath()
618 *error = "Cannot add a " + to_string(other->type()) + " manifest to a " + in addAll()
[all …]
DCompatibilityMatrix.cpp51 *error = "Cannot add <kernel> to a " + to_string(mType) + " compatibility matrix."; in addKernel()
71 to_string(kernel.getSourceMatrixLevel()) + ", cannot add " + in addKernel()
72 to_string(kernel.minLts()) + " because " + to_string(it->minLts()) + in addKernel()
95 to_string(kernel.minLts()) + " for unknown reason."; in addKernel()
138 xmlFileName + "_V" + std::to_string(matrixXmlFile.versionRange().majorVer) + in getXmlSchemaPath()
139 "_" + std::to_string(matrixXmlFile.versionRange().maxMinor) + "." + in getXmlSchemaPath()
140 to_string(matrixXmlFile.format()); in getXmlSchemaPath()
279 *error = "Cannot add kernel version " + to_string(ver) + ": " + *error; in addAllKernels()
DManifestHal.cpp41 *error += "Duplicated major version: " + to_string(v) + " vs. " + to_string(it->second); in isValid()
168 to_string(Version(e.getMajorVersion(), minorVer)) + "', interface='" + in insertInstance()
/system/core/libunwindstack/tests/
DRegsInfoTest.cpp68 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
72 ASSERT_FALSE(info.IsSaved(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
74 ASSERT_EQ(reg, &regs[i]) << "Reg " + std::to_string(i) + " failed."; in TEST()
76 ASSERT_EQ(i * 0x1000 + 0x100, regs[i]) << "Reg " + std::to_string(i) + " failed."; in TEST()
80 ASSERT_TRUE(info.IsSaved(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
81 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
DLogFake.cpp53 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' '; in __android_log_buf_write()
70 g_fake_log_print += std::to_string(prio) + ' '; in __android_log_vprint()
DMapsTest.cpp505 ASSERT_TRUE(info != nullptr) << "Failed verifying index " + std::to_string(i); in TEST()
506 EXPECT_EQ(i * 4096, info->start) << "Failed verifying index " + std::to_string(i); in TEST()
507 EXPECT_EQ((i + 1) * 4096, info->end) << "Failed verifying index " + std::to_string(i); in TEST()
508 EXPECT_EQ(0U, info->offset) << "Failed verifying index " + std::to_string(i); in TEST()
510 EXPECT_EQ(overlap1_name, info->name) << "Failed verifying overlap1 name " + std::to_string(i); in TEST()
512 EXPECT_EQ(overlap2_name, info->name) << "Failed verifying overlap2 name " + std::to_string(i); in TEST()
514 EXPECT_EQ("", info->name) << "Failed verifying index " + std::to_string(i); in TEST()
553 EXPECT_EQ(start + i * 4096, info->start) << "Failed at map " + std::to_string(i); in TEST()
554 EXPECT_EQ(start + (i + 1) * 4096, info->end) << "Failed at map " + std::to_string(i); in TEST()
555 std::string name = "/fake" + std::to_string(i) + ".so"; in TEST()
[all …]
/system/core/init/
Dproperty_type_test.cpp39 EXPECT_TRUE(CheckType("int", std::to_string(std::numeric_limits<int64_t>::min()))); in TEST()
40 EXPECT_TRUE(CheckType("int", std::to_string(std::numeric_limits<int64_t>::max()))); in TEST()
50 EXPECT_TRUE(CheckType("uint", std::to_string(std::numeric_limits<uint64_t>::max()))); in TEST()
60 EXPECT_TRUE(CheckType("double", std::to_string(std::numeric_limits<double>::min()))); in TEST()
61 EXPECT_TRUE(CheckType("double", std::to_string(std::numeric_limits<double>::max()))); in TEST()
/system/bt/btif/src/
Dbtif_bqr.cc44 << ": Parameter total length: " << std::to_string(length) in ParseBqrLinkQualityEvt()
46 << std::to_string(kLinkQualityParamTotalLen); in ParseBqrLinkQualityEvt()
127 << ", PwLv: " << std::to_string(bqr_link_quality_event_.tx_power_level) in ToString()
128 << ", RSSI: " << std::to_string(bqr_link_quality_event_.rssi) in ToString()
129 << ", SNR: " << std::to_string(bqr_link_quality_event_.snr) in ToString()
131 << std::to_string(bqr_link_quality_event_.unused_afh_channel_count) in ToString()
133 << std::to_string(bqr_link_quality_event_.afh_select_unideal_channel_count) in ToString()
135 << std::to_string(bqr_link_quality_event_.retransmission_count) in ToString()
136 << ", NoRX: " << std::to_string(bqr_link_quality_event_.no_rx_count) in ToString()
137 << ", NAK: " << std::to_string(bqr_link_quality_event_.nak_count) in ToString()
[all …]
/system/memory/libmeminfo/tools/
Dlibrank.cpp260 + "," + std::to_string(l.pss() / 1024) in to_csv()
262 + ",\"[" + std::to_string(p.pid()) + "]\"" in to_csv()
263 + "," + std::to_string(usage.vss/1024) in to_csv()
264 + "," + std::to_string(usage.rss/1024) in to_csv()
265 + "," + std::to_string(usage.pss/1024) in to_csv()
266 + "," + std::to_string(usage.uss/1024) in to_csv()
267 + (g_has_swap ? "," + std::to_string(usage.swap/1024) : ""); in to_csv()
309 + ",\"Total_RSS\":" + std::to_string(l.pss() / 1024) in to_json()
311 + ",\"PID\":\"" + std::to_string(p.pid()) + "\"" in to_json()
312 + ",\"VSS\":" + std::to_string(usage.vss/1024) in to_json()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_command_handler.cc120 response_string_ = std::to_string(dev_index) + std::string(":") + new_dev->ToString(); in Add()
147 response_string_ = args[0] + std::string("@") + std::to_string(port); in AddRemote()
155 …response_string_ = "TestCommandHandler 'del' called with device at index " + std::to_string(dev_in… in Del()
174 …response_string_ = "TestCommandHandler 'del_phy' called with phy at index " + std::to_string(phy_i… in DelPhy()
187 …response_string_ = "TestCommandHandler 'add_device_to_phy' called with device " + std::to_string(d… in AddDeviceToPhy()
188 " and phy " + std::to_string(phy_index); in AddDeviceToPhy()
202 …ing_ = "TestCommandHandler 'del_device_from_phy' called with device " + std::to_string(dev_index) + in DelDeviceFromPhy()
203 " and phy " + std::to_string(phy_index); in DelDeviceFromPhy()
/system/core/debuggerd/libdebuggerd/test/
Dlog_fake.cpp50 g_fake_log_buf += std::to_string(bufId) + ' ' + std::to_string(prio) + ' '; in __android_log_buf_write()
58 g_fake_log_print += std::to_string(prio) + ' '; in __android_log_print()
/system/bt/include/hardware/
Dbt_av.h220 " priority: " + std::to_string(codec_priority) + in ToString()
224 " codec_specific_1: " + std::to_string(codec_specific_1) + in ToString()
225 " codec_specific_2: " + std::to_string(codec_specific_2) + in ToString()
226 " codec_specific_3: " + std::to_string(codec_specific_3) + in ToString()
227 " codec_specific_4: " + std::to_string(codec_specific_4); in ToString()
/system/bt/gd/storage/
Dconfig_cache_helper.cc44 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint64()
56 config_cache_.SetProperty(section, property, std::to_string(value)); in SetUint32()
75 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt64()
87 config_cache_.SetProperty(section, property, std::to_string(value)); in SetInt()
Dconfig_cache_test.cc223 config.SetProperty(GetTestAddress(i), "Name", "Hello" + std::to_string(i)); in TEST()
225 config.SetProperty(GetTestAddress(i), "LinkKey", "Key" + std::to_string(i)); in TEST()
232 …_THAT(config.GetProperty(GetTestAddress(i), "Name"), Optional(StrEq("Hello" + std::to_string(i)))); in TEST()
235 …_THAT(config.GetProperty(GetTestAddress(i), "Name"), Optional(StrEq("Hello" + std::to_string(i)))); in TEST()
286 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::BR_EDR)))); in TEST()
288 …config.SetProperty("CC:DD:EE:FF:00:11", "DevType", std::to_string(bluetooth::hci::DeviceType::BR_E… in TEST()
293 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::BR_EDR)))); in TEST()
298 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::DUAL)))); in TEST()
303 Optional(StrEq(std::to_string(bluetooth::hci::DeviceType::LE)))); in TEST()
Dconfig_cache_helper_test.cc55 …ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<int>::… in TEST()
74 …config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<uint32_t>::max()) … in TEST()
88 …ASSERT_THAT(config.GetProperty("A", "B"), Optional(StrEq(std::to_string(std::numeric_limits<int32_… in TEST()
93 …config.GetProperty("A", "B"), Optional(StrEq("-" + std::to_string(std::numeric_limits<int32_t>::ma… in TEST()
/system/core/llkd/
Dlibllkd.cpp221 auto ret = ::readlink((procdir + std::to_string(tid) + "/exe").c_str(), &c, sizeof(c)); in llkIsMissingExeLink()
237 std::string content = ReadFile(procdir + std::to_string(tid) + node); in llkProcGetName()
254 std::string content = ReadFile(procdir + std::to_string(tid) + "/status"); in llkProcGetUid()
465 … forTid = " for '" + llkProcGetName(tid, tcomm, tcmdline) + "' (" + std::to_string(tid) + ")"; in llkKillOneProcess()
559 auto piddir = procdir + std::to_string(tid) + "/stat"; in llkPanicKernel()
622 return std::to_string(s.count()) + 's'; in llkFormat()
711 if (llkSkipName(std::to_string(procp->pid), ignorelist)) return true; in llkSkipProc()
732 if (llkSkipProc(procp, llkSkipName(std::to_string(pprocp->pid), ignorelist))) return true; in llkSkipPproc()
740 return llkSkipName(std::to_string(pid), llkIgnorelistProcess); in llkSkipPid()
744 return llkSkipName(std::to_string(ppid), llkIgnorelistParent); in llkSkipPpid()
[all …]
/system/libhidl/gtest_helper/hidl/
DGtestPrinter.h33 std::string name = std::to_string(info.index) + "/" + info.param; in PrintInstanceNameToString()
52 param_string += std::to_string(info.index); in PrintInstanceTupleNameToString()
/system/tools/hidl/
DArrayType.cpp60 return std::to_string(dimension()) + "d array of " + mElementType->typeName(); in typeName()
241 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in emitReaderWriterEmbedded()
370 std::string offsetName = "_hidl_array_offset_" + std::to_string(depth); in emitJavaFieldReaderWriter()
384 "_hidl_index_" + std::to_string(depth) + "_" + std::to_string(dim); in emitJavaFieldReaderWriter()
423 out << offsetName << " += " << std::to_string(elementSize) << ";\n"; in emitJavaFieldReaderWriter()
437 std::string elemName = "_hidl_array_item_" + std::to_string(depth); in emitJavaFieldReaderWriter()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp40 << ((kernelWakelock) ? notApplicable : std::to_string(entry.pid)) << sep in operator <<()
44 << std::right << std::setw(12) << std::to_string(entry.totalTime) + "ms" << sep in operator <<()
45 << std::right << std::setw(12) << std::to_string(entry.maxTime) + "ms" << sep in operator <<()
47 << ((kernelWakelock) ? std::to_string(entry.eventCount) : notApplicable) << sep in operator <<()
49 << ((kernelWakelock) ? std::to_string(entry.wakeupCount) : notApplicable) << sep in operator <<()
51 << ((kernelWakelock) ? std::to_string(entry.expireCount) : notApplicable) << sep in operator <<()
53 << ((kernelWakelock) ? std::to_string(entry.preventSuspendTime) + "ms" : notApplicable) in operator <<()
55 << std::right << std::setw(16) << std::to_string(entry.lastChange) + "ms" << sep; in operator <<()
/system/vold/
DAppFuseUtil.cpp106 std::string name = std::to_string(mountId); in MountAppFuse()
140 std::string name = std::to_string(mountId); in UnmountAppFuse()
153 std::string name = std::to_string(mountId); in OpenAppFuseFile()
/system/libvintf/test/
Dtest_constants.h25 const static std::string kMetaVersionStr{"version=\"" + to_string(kMetaVersion) + "\""};
/system/bt/gd/os/linux_generic/
Dqueue_unittest.cc209 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
251 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
263 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
286 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
318 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
330 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
352 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
387 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
417 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
459 std::unique_ptr<std::string> data = std::make_unique<std::string>(std::to_string(i)); in TEST_F()
[all …]

123456789