/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 61 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() 118 return base + " " + std::to_string(optional_args_.size()) + " " + optional; in GetParameterString() [all …]
|
/system/libvintf/ |
D | KernelInfo.cpp | 59 to_string(matrixConfig.second); in matchKernelConfigs() 112 << (kernelLevel == Level::UNSPECIFIED ? "unspecified" : to_string(kernelLevel)) in getMatchedKernelRequirements() 147 to_string(mVersion) + in getMatchedKernelRequirements() 168 *error = "Kernel FCM Version is " + to_string(kernelLevel) + " and kernel version is " + in getMatchedKernelRequirements() 169 to_string(mVersion) + in getMatchedKernelRequirements() 171 to_string(mVersion.dropMinor()) + ".y is " + to_string(firstMatrixKernelLevel); in getMatchedKernelRequirements() 185 to_string(matrixKernelLevel) + ", " + errorForLevel + "\n"; in getMatchedKernelRequirements() 194 to_string(kernelLevel) + ").\n"); in getMatchedKernelRequirements() 253 *error = "Conflicting kernel version: " + to_string(version()) + " vs. " + in merge() 254 to_string(other->version()); in merge() [all …]
|
D | parse_string.cpp | 110 return os << to_string(kctv.mIntegerValue); 112 return os << to_string(kctv.mRangeValue.first) << "-" 113 << to_string(kctv.mRangeValue.second); 115 return os << to_string(kctv.mTristateValue); 329 return os << to_string(ta.transport) << to_string(ta.arch); in operator <<() 409 s += "@" + to_string(vr); in expandInstances() 494 return toFQNameString(package, to_string(version), interface, instance); in toFQNameString() 506 return toFQNameString(package, to_string(range), interface, instance); in toFQNameString() 537 return to_string(v.minorVer); in aidlVersionToString() 546 return to_string(vr.minMinor); in aidlVersionRangeToString() [all …]
|
D | HalManifest.cpp | 84 *error = "Conflicting major version: " + to_string(existingVersion); in addingConflictingMajorVersion() 88 *error += " vs. " + to_string(v); in addingConflictingMajorVersion() 386 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility() 387 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility() 396 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility() 398 *error += " Manifest level = " + to_string(level()) + "."; in checkCompatibility() 424 *error = "Sepolicy version " + to_string(device.mSepolicyVersion) in checkCompatibility() 525 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath() 526 std::to_string(version.minorVer) + ".xml"; in getXmlFilePath() 654 *error = "Cannot add a " + to_string(other->type()) + " manifest to a " + in addAll() [all …]
|
/system/unwinding/libunwindstack/tests/ |
D | RegsInfoTest.cpp | 69 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST() 73 ASSERT_FALSE(info.IsSaved(i)) << "Reg " + std::to_string(i) + " failed."; in TEST() 75 ASSERT_EQ(reg, ®s[i]) << "Reg " + std::to_string(i) + " failed."; in TEST() 77 ASSERT_EQ(i * 0x1000 + 0x100, regs[i]) << "Reg " + std::to_string(i) + " failed."; in TEST() 81 ASSERT_TRUE(info.IsSaved(i)) << "Reg " + std::to_string(i) + " failed."; in TEST() 82 ASSERT_EQ(i * 0x100, info.Get(i)) << "Reg " + std::to_string(i) + " failed."; in TEST()
|
D | LogFake.cpp | 53 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()
|
/system/extras/profcollectd/libprofcollectd/ |
D | config.rs | 72 binary_filter: get_device_config("binary_filter", "".to_string())?, in from_env() 78 fn to_string(&self) -> String { in to_string() method 79 serde_json::to_string(self).expect("Failed to deserialise configuration.") in to_string() 101 get_property("ro.build.fingerprint", "unknown".to_string()) in get_build_fingerprint() 109 let default_value = default_value.to_string(); in get_device_config() 123 let default_value = default_value.to_string(); in get_property() 132 let value = value.to_string(); in set_property()
|
/system/core/init/ |
D | property_type_test.cpp | 39 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/memory/libmeminfo/tools/ |
D | librank.cpp | 260 + "," + 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/btif/src/ |
D | btif_bqr.cc | 47 << ": Parameter total length: " << std::to_string(length) in ParseBqrLinkQualityEvt() 49 << std::to_string(kLinkQualityParamTotalLen); in ParseBqrLinkQualityEvt() 131 << ", PwLv: " << std::to_string(bqr_link_quality_event_.tx_power_level) in ToString() 132 << ", RSSI: " << std::to_string(bqr_link_quality_event_.rssi) in ToString() 133 << ", SNR: " << std::to_string(bqr_link_quality_event_.snr) in ToString() 135 << std::to_string(bqr_link_quality_event_.unused_afh_channel_count) in ToString() 137 << std::to_string(bqr_link_quality_event_.afh_select_unideal_channel_count) in ToString() 139 << std::to_string(bqr_link_quality_event_.retransmission_count) in ToString() 140 << ", NoRX: " << std::to_string(bqr_link_quality_event_.no_rx_count) in ToString() 141 << ", NAK: " << std::to_string(bqr_link_quality_event_.nak_count) in ToString() [all …]
|
/system/core/debuggerd/libdebuggerd/test/ |
D | log_fake.cpp | 50 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/vendor_libs/test_vendor_lib/model/setup/ |
D | test_command_handler.cc | 142 response_string_ = std::to_string(dev_index) + std::string(":") + new_dev->ToString(); in Add() 169 response_string_ = args[0] + std::string("@") + std::to_string(port); in AddRemote() 177 …response_string_ = "TestCommandHandler 'del' called with device at index " + std::to_string(dev_in… in Del() 196 …response_string_ = "TestCommandHandler 'del_phy' called with phy at index " + std::to_string(phy_i… in DelPhy() 209 …response_string_ = "TestCommandHandler 'add_device_to_phy' called with device " + std::to_string(d… in AddDeviceToPhy() 210 " and phy " + std::to_string(phy_index); in AddDeviceToPhy() 224 …ing_ = "TestCommandHandler 'del_device_from_phy' called with device " + std::to_string(dev_index) + in DelDeviceFromPhy() 225 " and phy " + std::to_string(phy_index); in DelDeviceFromPhy()
|
/system/libfmq/include/fmq/ |
D | AidlMQDescriptorShim.h | 93 std::to_string(desc.quantum) + in AidlMQDescriptorShim() 94 ". flags: " + std::to_string(desc.flags)); in AidlMQDescriptorShim() 106 std::to_string(i) + ". offset: " + std::to_string(desc.grantors[i].offset) + in AidlMQDescriptorShim() 107 ". extent: " + std::to_string(desc.grantors[i].extent)); in AidlMQDescriptorShim() 186 "Queue size is too large. Message size: " + std::to_string(messageSize) + in AidlMQDescriptorShim() 187 " bytes. Data buffer size: " + std::to_string(bufferSize) + " bytes. Max size: " + in AidlMQDescriptorShim() 188 std::to_string(std::numeric_limits<int32_t>::max()) + " bytes."); in AidlMQDescriptorShim()
|
/system/bt/include/hardware/ |
D | bt_av.h | 225 " priority: " + std::to_string(codec_priority) + in ToString() 229 " codec_specific_1: " + std::to_string(codec_specific_1) + in ToString() 230 " codec_specific_2: " + std::to_string(codec_specific_2) + in ToString() 231 " codec_specific_3: " + std::to_string(codec_specific_3) + in ToString() 232 " codec_specific_4: " + std::to_string(codec_specific_4); in ToString()
|
/system/bt/gd/storage/ |
D | config_cache_helper.cc | 44 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()
|
D | config_cache_test.cc | 223 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()
|
D | config_cache_helper_test.cc | 55 …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/bt/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 19 file.write_all(gen.to_string().as_bytes()).unwrap(); in debug_output_to_file() 64 if !attr.path.get_ident().unwrap().to_string().eq("dbus_method") { in generate_dbus_exporter() 92 let mut dbus_input_ident = ident.to_string(); in generate_dbus_exporter() 95 let ident_string = ident.to_string(); in generate_dbus_exporter() 125 e.to_string().as_str() in generate_dbus_exporter() 199 debug_output_to_file(&gen, format!("/tmp/out-{}.rs", fn_ident.to_string())); in generate_dbus_exporter() 229 let struct_str = struct_ident.to_string(); in dbus_propmap() 242 let field_str = field_ident.as_ref().unwrap().clone().to_string(); in dbus_propmap() 251 ident.unwrap().to_string().eq("dbus_propmap_field_propmap") in dbus_propmap() 255 t.path.get_ident().unwrap().to_string() in dbus_propmap() [all …]
|
/system/core/llkd/ |
D | libllkd.cpp | 221 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/vold/bench/inodeop_bench/ |
D | inodeop_bench.cpp | 86 std::string to_string() const { in to_string() function 115 for (const Command& command : commands) std::cout << command.to_string(); in print_commands() 160 std::string filename = basename + std::to_string(i); in delete_files() 180 std::string filename = basename + std::to_string(i); in create_files() 214 std::string from_filename = from_basename + std::to_string(i); in move_files() 215 std::string to_filename = to_basename + std::to_string(i); in move_files() 246 std::string from_filename = from_basename + std::to_string(i); in hardlink_files() 247 std::string to_filename = to_basename + std::to_string(i); in hardlink_files() 271 std::string from_filepath = from_dir + from_basename + std::to_string(i); in symlink_files() 272 std::string to_filename = to_basename + std::to_string(i); in symlink_files()
|
/system/libhidl/gtest_helper/hidl/ |
D | GtestPrinter.h | 33 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/ |
D | ArrayType.cpp | 60 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/security/keystore2/src/ |
D | try_insert.rs | 73 Err("fail".to_string()) in fails() 83 assert_eq!(x.get_or_try_to_insert_with(fails), Err("fail".to_string())); in test()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | WakeLockEntryList.cpp | 40 << ((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/ |
D | AppFuseUtil.cpp | 106 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()
|