/system/core/fs_mgr/libdm/ |
D | dm_target.cpp | 61 return block_device_ + " " + std::to_string(physical_sector_); in GetParameterString() 65 return "2 " + std::to_string(chunksize) + " " + block_device0_ + " 0 " + block_device1_ + " 0"; in GetParameterString() 76 std::to_string(version), in DmTargetVerity() 79 std::to_string(data_block_size), in DmTargetVerity() 80 std::to_string(hash_block_size), in DmTargetVerity() 81 std::to_string(num_data_blocks), in DmTargetVerity() 82 std::to_string(hash_start_block), in DmTargetVerity() 94 optional_args_.emplace_back(std::to_string(num_roots)); in UseFec() 96 optional_args_.emplace_back(std::to_string(num_blocks)); in UseFec() 98 optional_args_.emplace_back(std::to_string(start)); in UseFec() [all …]
|
/system/librustutils/ |
D | system_properties_fuzzer.rs | 48 Property::KeystoreBootLevel => "keystore.boot_level".to_string(), in fmt() 49 Property::Random { name } => name.to_string(), in fmt() 55 Property::Writable { prop } => prop.to_string(), in fmt() 63 WritableProperty::Fuzzer1 => "unique.fuzz.prop".to_string(), in fmt() 64 WritableProperty::Fuzzer2 => "unique.fuzz.two.prop".to_string(), in fmt() 81 system_properties::read(&prop.to_string()); 84 system_properties::write(&prop.to_string(), &value); 87 … if let Ok(mut watcher) = system_properties::PropertyWatcher::new(&prop.to_string()) { 88 watcher.read(|_n, v| Ok(v.to_string())); 111 system_properties::write(prop_str, &cur_value.to_string());
|
/system/libvintf/ |
D | KernelInfo.cpp | 60 << to_string(matrixConfig.second); in matchKernelConfigs() 123 << (kernelLevel == Level::UNSPECIFIED ? "unspecified" : to_string(kernelLevel)) in getMatchedKernelRequirements() 158 to_string(mVersion) + in getMatchedKernelRequirements() 181 *error = "Kernel FCM Version is " + to_string(kernelLevel) + " and kernel version is " + in getMatchedKernelRequirements() 182 to_string(mVersion) + in getMatchedKernelRequirements() 184 to_string(mVersion.dropMinor()) + ".y is " + to_string(firstMatrixKernelLevel); in getMatchedKernelRequirements() 198 to_string(matrixKernelLevel) + ", " + errorForLevel + "\n"; in getMatchedKernelRequirements() 207 to_string(kernelLevel) + ").\n"); in getMatchedKernelRequirements() 266 *error = "Conflicting kernel version: " + to_string(version()) + " vs. " + in merge() 267 to_string(other->version()); in merge() [all …]
|
D | ManifestHal.cpp | 43 *error += "Duplicated major version: " + to_string(v) + " vs. " + in isValid() 44 to_string(it->second) + ".\n"; in isValid() 155 *error = "Duplicated HAL version: " + to_string(it->version().minorVer) + in insertInstance() 156 " vs " + to_string(e.getMinorVersion()); in insertInstance() 158 *error = "Duplicated major version: " + to_string(it->version()) + " vs " + in insertInstance() 159 to_string(Version(e.getMajorVersion(), e.getMinorVersion())); in insertInstance() 175 to_string(Version(e.getMajorVersion(), minorVer)) + "', interface='" + in insertInstance()
|
D | parse_string.cpp | 111 return os << to_string(kctv.mIntegerValue); 113 return os << to_string(kctv.mRangeValue.first) << "-" 114 << to_string(kctv.mRangeValue.second); 116 return os << to_string(kctv.mTristateValue); 377 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() 541 return to_string(v.minorVer); in aidlVersionToString() 550 return to_string(vr.minMinor); in aidlVersionRangeToString() [all …]
|
D | TransportArch.cpp | 41 *error += "Transport " + to_string(transport) + in isValid() 59 *error += "Transport " + to_string(transport) + in isValid()
|
D | HalManifest.cpp | 87 *error = "Conflicting major version: " + to_string(existingVersion); in addingConflictingMajorVersion() 91 *error += " vs. " + to_string(v); in addingConflictingMajorVersion() 470 *error = "Wrong type; checking " + to_string(mType) + " manifest against " in checkCompatibility() 471 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility() 480 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility() 482 *error += " Manifest level = " + to_string(level()) + "."; in checkCompatibility() 508 *error = "Sepolicy version " + to_string(device.mSepolicyVersion) in checkCompatibility() 605 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath() 606 std::to_string(version.minorVer) + ".xml"; in getXmlFilePath() 752 *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/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/extras/profcollectd/libprofcollectd/ |
D | config.rs | 79 binary_filter: get_device_config("binary_filter", DEFAULT_BINARY_FILTER.to_string())?, in from_env() 88 write!(f, "{}", serde_json::to_string(self).expect("Failed to deserialise configuration.")) in fmt() 110 get_property("ro.build.fingerprint", "unknown".to_string()) in get_build_fingerprint() 118 let default_value = default_value.to_string(); in get_device_config() 136 let default_value = default_value.to_string(); in get_property() 145 let value = value.to_string(); in set_property() 158 String::from_utf8_lossy(&output.stdout).trim().to_string() in get_kernel_release()
|
/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/update_engine/payload_generator/ |
D | payload_properties.cc | 66 std::to_string(metadata_size_)); in GetPropertiesAsJson() 71 std::to_string(payload_size_)); in GetPropertiesAsJson() 82 properties.SetString(kPayloadPropertyFileSize, std::to_string(payload_size_)); in GetPropertiesAsKeyValue() 84 std::to_string(metadata_size_)); in GetPropertiesAsKeyValue()
|
/system/libvintf/test/ |
D | vintf_object_tests.cpp | 553 kMetaVersionStr.c_str(), to_string(level).c_str()); 1582 return "compatibility_matrix." + to_string(static_cast<Level>(i)) + ".xml"; in getFileName() 1856 to_string(static_cast<Level>(targetFcm)) + "\">\n"; in expectKernelFcmVersion() 1858 xml += " <kernel target-level=\"" + to_string(kernelFcm) + "\"/>\n"; in expectKernelFcmVersion() 2073 android::base::StringReplace(to_string(kernelInfo.version()), ".", "_", true) + "_" + in PrintKernelTestParam() 2076 (targetFcm == Level::UNSPECIFIED ? "Unspecified" : to_string(targetFcm)) + in PrintKernelTestParam() 2078 (kernelFcm == Level::UNSPECIFIED ? "Unspecified" : to_string(kernelFcm)) + in PrintKernelTestParam() 2115 ret += "_TargetFcm" + (targetFcm == Level::UNSPECIFIED ? "Unspecified" : to_string(targetFcm)); in GkiPrintKernelTestParam() 2116 ret += "_KernelFcm" + (kernelFcm == Level::UNSPECIFIED ? "Unspecified" : to_string(kernelFcm)); in GkiPrintKernelTestParam() 2294 to_string(static_cast<Level>(level)).c_str()); in expectTargetFcmVersion() [all …]
|
/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/media/audio_utils/include/audio_utils/ |
D | mutex.h | 598 std::string to_string() const { in to_string() function 605 return std::string("locks: ").append(std::to_string(locks)) in to_string() 606 .append("\nuncontested: ").append(std::to_string(uncontested)) in to_string() 607 .append("\nwaits: ").append(std::to_string(waits)) in to_string() 608 .append("\nunlocks: ").append(std::to_string(unlocks)) in to_string() 609 .append("\navg_wait_ms: ").append(std::to_string(avg_wait_ms)) in to_string() 610 .append("\nstd_wait_ms: ").append(std::to_string(std_wait_ms)) in to_string() 782 std::string to_string() const { in to_string() function 784 s.append(std::to_string(size())) in to_string() 785 .append(" true_size: ").append(std::to_string(true_size())) in to_string() [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/security/keystore2/tests/ |
D | keystore2_client_delete_key_tests.rs | 38 Some(alias.to_string()), in keystore2_delete_key_success() 61 alias: Some(test_alias.to_string()), in keystore2_delete_key_fail() 81 Some(alias.to_string()), in keystore2_delete_key_with_blob_domain_fail() 103 Some(alias.to_string()), in keystore2_delete_key_blob_success()
|
D | keystore2_client_key_id_domain_tests.rs | 43 Some(alias.to_string()), in keystore2_generate_key_with_key_id_domain_expect_sys_error() 64 Some(alias.to_string()), in keystore2_find_key_with_key_id_as_domain() 75 alias: Some(alias.to_string()), in keystore2_find_key_with_key_id_as_domain() 121 Some(alias.to_string()), in keystore2_key_id_alias_rebind_verify_by_alias() 188 Some(alias.to_string()), in keystore2_key_id_alias_rebind_verify_by_key_id() 199 alias: Some(alias.to_string()), in keystore2_key_id_alias_rebind_verify_by_key_id()
|
D | keystore2_client_list_entries_tests.rs | 77 alias.to_string(), in keystore2_list_entries_success() 83 alias: Some(alias.to_string()), in keystore2_list_entries_success() 94 Some(alias.to_string()), in keystore2_list_entries_success() 133 Some(alias.to_string()), in keystore2_list_entries_success() 351 key_generations::import_aes_keys(&sec_level, ALIAS_PREFIX.to_string(), 1..4) in keystore2_list_entries_batched_with_multi_procs_success() 380 key_generations::import_aes_keys(&sec_level, ALIAS_PREFIX.to_string(), 4..9) in keystore2_list_entries_batched_with_multi_procs_success() 469 alias: Some(alias.to_string()), in keystore2_list_entries_batched_with_selinux_domain_success() 481 Some(alias.to_string()), in keystore2_list_entries_batched_with_selinux_domain_success() 506 alias: Some(alias.to_string()), in keystore2_list_entries_batched_with_selinux_domain_success() 545 key_generations::import_aes_keys(&sec_level, ALIAS_PREFIX.to_string(), 1..6) in keystore2_list_entries_batched_validate_count_and_order_success() [all …]
|
D | keystore2_client_update_subcomponent_tests.rs | 41 Some(alias.to_string()), in keystore2_update_subcomponent_success() 73 alias: Some(alias.to_string()), in keystore2_update_subcomponent_fail() 95 alias: Some(alias.to_string()), in keystore2_update_subcomponent_no_key_entry_cert_fail() 118 &KeyDescriptor { domain, nspace, alias: Some(alias.to_string()), blob: None }, in keystore2_update_subcomponent_no_key_entry_cert_chain_success() 128 alias: Some(alias.to_string()), in keystore2_update_subcomponent_no_key_entry_cert_chain_success() 141 alias: Some(alias.to_string()), in keystore2_update_subcomponent_no_key_entry_cert_chain_success()
|
/system/security/keystore2/src/hal_instance_names/ |
D | hal_names.cpp | 29 std::string version = std::to_string(major_version) + "." + std::to_string(minor_version); in get_hidl_instances()
|
/system/secretkeeper/core/src/ta/ |
D | bootloader.rs | 62 Err("extra data after request".to_string()) in from_slice() 130 return Err("response missing marker bit".to_string()); in from_slice() 171 ("00000002", Err("unrecognized opcode 2".to_string())), in test_deserialize_req() 172 ("000000", Err("data too short (len=3)".to_string())), in test_deserialize_req()
|
/system/keymint/hal/src/ |
D | env.rs | 43 None => Err("failed to find match".to_string()), in extract_u32() 63 .ok_or_else(|| "failed to match patchlevel regex".to_string())?; in extract_truncated_patchlevel() 80 .ok_or_else(|| "failed to match patchlevel regex".to_string())?; in extract_patchlevel() 103 .ok_or_else(|| "failed to match OS version regex".to_string())?; in populate_hal_info_from()
|
/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()
|