Lines Matching refs:string
71 std::string appcompat_path;
72 std::string mount_path;
73 std::string real_sysprop_dir = "/dev/__properties__";
522 std::vector<std::pair<std::string, std::string>> short_properties = { in TEST()
523 { "ro.0char", std::string() }, in TEST()
524 { "ro.50char", std::string(50, 'x') }, in TEST()
525 { "ro.91char", std::string(91, 'x') }, in TEST()
528 std::vector<std::pair<std::string, std::string>> long_properties = { in TEST()
529 { "ro.92char", std::string(92, 'x') }, in TEST()
530 { "ro.93char", std::string(93, 'x') }, in TEST()
531 { "ro.1000char", std::string(1000, 'x') }, in TEST()
535 const std::string& name = property.first; in TEST()
536 const std::string& value = property.second; in TEST()
541 const std::string& name = property.first; in TEST()
542 const std::string& value = property.second; in TEST()
546 auto check_with_legacy_read = [&system_properties](const std::string& name, in TEST()
547 const std::string& expected_value) { in TEST()
554 auto check_with_read_callback = [&system_properties](const std::string& name, in TEST()
555 const std::string& expected_value) { in TEST()
558 std::string value; in TEST()
561 auto* out_value = reinterpret_cast<std::string*>(cookie); in TEST()
569 const std::string& name = property.first; in TEST()
570 const std::string& value = property.second; in TEST()
578 const std::string& name = property.first; in TEST()
579 const std::string& value = property.second; in TEST()
598 auto value = std::string(1024 * 1024 + 1, 'x'); in TEST()
600 auto value = std::string(128 * 1024 + 1, 'x'); in TEST()
620 std::string property_name = in TEST()
626 std::string expected_name = property_name; in TEST()
643 std::string property_info_file = in TEST()
672 std::string shell_cmd = android::base::StringPrintf( in TEST()
677 std::string property_name = in TEST()