/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 56 return block_device_ + " " + std::to_string(physical_sector_); in GetParameterString() 67 std::to_string(version), in DmTargetVerity() 70 std::to_string(data_block_size), in DmTargetVerity() 71 std::to_string(hash_block_size), in DmTargetVerity() 72 std::to_string(num_data_blocks), in DmTargetVerity() 73 std::to_string(hash_start_block), in DmTargetVerity() 85 optional_args_.emplace_back(std::to_string(num_roots)); in UseFec() 87 optional_args_.emplace_back(std::to_string(num_blocks)); in UseFec() 89 optional_args_.emplace_back(std::to_string(start)); in UseFec() 111 return base + " " + std::to_string(optional_args_.size()) + " " + optional; in GetParameterString()
|
/system/core/libunwindstack/tests/ |
D | RegsInfoTest.cpp | 68 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, ®s[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()
|
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()
|
D | MapsTest.cpp | 505 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/bt/btif/src/ |
D | btif_bqr.cc | 38 << ": Parameter total length: " << std::to_string(length) in ParseBqrEvt() 40 << std::to_string(kBqrParamTotalLen); in ParseBqrEvt() 77 << ", RSSI: " << std::to_string(rssi_) in ToString() 78 << ", SNR: " << std::to_string(snr_) << ", UnusedCh: " in ToString() 79 << std::to_string(unused_afh_channel_count_) in ToString() 81 << std::to_string(afh_select_unideal_channel_count_) in ToString() 82 << ", ReTx: " << std::to_string(retransmission_count_) in ToString() 83 << ", NoRX: " << std::to_string(no_rx_count_) in ToString() 84 << ", NAK: " << std::to_string(nak_count_) in ToString() 85 << ", FlowOff: " << std::to_string(flow_off_count_) in ToString() [all …]
|
/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/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_command_handler.cc | 122 response_string_ = std::to_string(dev_index) + std::string(":") + new_dev->ToString(); in Add() 149 response_string_ = args[0] + std::string("@") + std::to_string(port); in AddRemote() 157 …response_string_ = "TestCommandHandler 'del' called with device at index " + std::to_string(dev_in… in Del() 178 …response_string_ = "TestCommandHandler 'del_phy' called with phy at index " + std::to_string(phy_i… in DelPhy() 191 …response_string_ = "TestCommandHandler 'add_device_to_phy' called with device " + std::to_string(d… in AddDeviceToPhy() 192 " and phy " + std::to_string(phy_index); in AddDeviceToPhy() 206 …ing_ = "TestCommandHandler 'del_device_from_phy' called with device " + std::to_string(dev_index) + in DelDeviceFromPhy() 207 " and phy " + std::to_string(phy_index); in DelDeviceFromPhy()
|
/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/libvintf/ |
D | HalManifest.cpp | 292 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility() 293 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility() 302 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility() 304 *error += " Manifest level = " + to_string(level()) + "."; in checkCompatibility() 330 *error = "Sepolicy version " + to_string(device.mSepolicyVersion) in checkCompatibility() 410 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath() 411 std::to_string(version.minorVer) + ".xml"; in getXmlFilePath() 486 *error = "Cannot merge manifest version " + to_string(mMetaVersion) + " and " + in addAll() 487 to_string(other->mMetaVersion); in addAll() 495 *error = "Cannot add a " + to_string(other->type()) + " manifest to a " + in addAll() [all …]
|
D | RuntimeInfo.cpp | 76 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility() 84 "kernelSepolicyVersion = " + to_string(kernelSepolicyVersion()) + in checkCompatibility() 85 " but required >= " + to_string(mat.framework.mSepolicy.kernelSepolicyVersion()); in checkCompatibility()
|
D | CompatibilityMatrix.cpp | 36 *error = "Cannot add <kernel> to a " + to_string(mType) + " compatibility matrix."; in addKernel() 49 *error = "Kernel version mismatch; cannot add " + to_string(kernel.minLts()) + in addKernel() 50 " because " + to_string(it->minLts()) + " was added."; in addKernel() 72 to_string(kernel.minLts()) + " for unknown reason."; in addKernel() 121 xmlFileName + "_V" + std::to_string(matrixXmlFile.versionRange().majorVer) + in getXmlSchemaPath() 122 "_" + std::to_string(matrixXmlFile.versionRange().maxMinor) + "." + in getXmlSchemaPath() 123 to_string(matrixXmlFile.format()); in getXmlSchemaPath() 261 *error = "Cannot add kernel version " + to_string(ver) + ": " + *error; in addAllKernels() 291 *error = "Cannot add " + to_string(minLts) + ": " + *error; in addAllKernelsAsOptional()
|
D | parse_string.cpp | 107 return os << to_string(kctv.mIntegerValue); in operator <<() 109 return os << to_string(kctv.mRangeValue.first) << "-" in operator <<() 110 << to_string(kctv.mRangeValue.second); in operator <<() 112 return os << to_string(kctv.mTristateValue); in operator <<() 317 return os << to_string(ta.transport) << to_string(ta.arch); in operator <<() 413 s += "@" + to_string(vr); in expandInstances() 498 return toFQNameString(package, to_string(version), interface, instance); in toFQNameString() 510 return toFQNameString(package, to_string(range), interface, instance); in toFQNameString()
|
/system/bt/include/hardware/ |
D | bt_av.h | 220 " 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/core/llkd/ |
D | libllkd.cpp | 220 auto ret = ::readlink((procdir + std::to_string(tid) + "/exe").c_str(), &c, sizeof(c)); in llkIsMissingExeLink() 236 std::string content = ReadFile(procdir + std::to_string(tid) + node); in llkProcGetName() 253 std::string content = ReadFile(procdir + std::to_string(tid) + "/status"); in llkProcGetUid() 458 … forTid = " for '" + llkProcGetName(tid, tcomm, tcmdline) + "' (" + std::to_string(tid) + ")"; in llkKillOneProcess() 552 auto piddir = procdir + std::to_string(tid) + "/stat"; in llkPanicKernel() 614 return std::to_string(s.count()) + 's'; in llkFormat() 703 if (llkSkipName(std::to_string(procp->pid), blacklist)) return true; in llkSkipProc() 724 if (llkSkipProc(procp, llkSkipName(std::to_string(pprocp->pid), blacklist))) return true; in llkSkipPproc() 732 return llkSkipName(std::to_string(pid), llkBlacklistProcess); in llkSkipPid() 736 return llkSkipName(std::to_string(ppid), llkBlacklistParent); in llkSkipPpid() [all …]
|
/system/tools/hidl/ |
D | ArrayType.cpp | 57 return std::to_string(dimension()) + "d array of " + mElementType->typeName(); in typeName() 238 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in emitReaderWriterEmbedded() 313 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in emitResolveReferencesEmbedded() 448 std::string offsetName = "_hidl_array_offset_" + std::to_string(depth); in emitJavaFieldReaderWriter() 462 "_hidl_index_" + std::to_string(depth) + "_" + std::to_string(dim); in emitJavaFieldReaderWriter() 501 out << offsetName << " += " << std::to_string(elementSize) << ";\n"; in emitJavaFieldReaderWriter() 515 std::string elemName = "_hidl_array_item_" + std::to_string(depth); in emitJavaFieldReaderWriter()
|
D | VectorType.cpp | 324 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in emitReaderWriterEmbedded() 435 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in emitResolveReferencesEmbeddedHelper() 627 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in EmitJavaFieldReaderWriterForElementType() 648 iteratorName + " * " + std::to_string(elementSize), in EmitJavaFieldReaderWriterForElementType() 686 std::string iteratorName = "_hidl_index_" + std::to_string(depth); in EmitJavaFieldReaderWriterForElementType() 705 iteratorName + " * " + std::to_string(elementSize), in EmitJavaFieldReaderWriterForElementType()
|
/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()
|
/system/extras/simpleperf/ |
D | cmd_record_test.cpp | 111 ASSERT_FALSE(RunRecordCmd({"-f", std::to_string(UINT_MAX)})); in TEST() 286 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST() 314 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST() 428 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST() 482 std::to_string(getpid()), "-o", tmpfile.path, "--in-app"})); in TEST() 509 std::to_string(write_fd), "sleep", "1000000"})); in TEST() 526 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "-t", std::to_string(tid), "--in-app"})); in TEST() 533 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST() 550 exit(RunRecordCmd({"--start_profiling_fd", std::to_string(write_fd)}) ? 0 : 1); in TEST() 580 std::string pid = std::to_string(workloads[0]->GetPid()); in TEST() [all …]
|
D | InplaceSamplerClient.cpp | 56 std::string server_path = "inplace_sampler_server_" + std::to_string(pid_); in ConnectServer() 100 options += "freq=" + std::to_string(sample_freq_); in SendStartProfilingMessage() 113 options += std::to_string(tid); in SendStartProfilingMessage()
|
/system/core/fs_mgr/ |
D | fs_mgr_format.cpp | 74 std::string size_str = std::to_string(dev_sz / 4096); in format_ext4() 111 std::string size_str = std::to_string(dev_sz / 4096); in format_f2fs()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm_target.h | 40 return std::to_string(major_) + "." + std::to_string(minor_) + "." + std::to_string(patch_); in version()
|
/system/server_configurable_flags/disaster_recovery/ |
D | disaster_recovery.cc | 31 LOG(ERROR) << "argc: " << std::to_string(argc) << ", it should only be 2."; in main()
|
/system/core/fastboot/ |
D | fs.cpp | 123 std::string block_size_str = std::to_string(block_size); in generate_ext4_image() 142 std::string size_str = std::to_string(partSize / block_size); in generate_ext4_image() 173 std::string size_str = std::to_string(partSize); in generate_f2fs_image()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 171 return std::to_string(mMajor) + "." + std::to_string(mMinor); in version() 178 return "V" + std::to_string(mMajor) + "_" + std::to_string(mMinor); in sanitizedVersion() 441 components->push_back(std::to_string(getPackageMajorVersion()) + in getPackageAndVersionComponents() 442 "." + std::to_string(getPackageMinorVersion())); in getPackageAndVersionComponents()
|
/system/libhwbinder/vts/performance/ |
D | Latency.cpp | 54 using std::to_string; 186 IScheduleTest::getService("hwbinderService" + to_string(i), pass_through); in clientFx() 227 cout << "\"fifo_" + to_string(num) + "_data\": "; in clientFx() 341 service_pipes.push_back(makeServiceProces("hwbinderService" + to_string(i))); in main()
|