/system/incremental_delivery/incfs/ |
D | path.cpp | 38 CStrWrapper(std::string_view sv) { in CStrWrapper() argument 39 if (sv[sv.size()] == '\0') { in CStrWrapper() 40 mCstr = sv.data(); in CStrWrapper() 42 mCopy.emplace(sv); in CStrWrapper() 60 inline CStrWrapper c_str(std::string_view sv) { in c_str() argument 61 return {sv}; in c_str() 74 if (path.starts_with("../"sv)) { in normalize() 95 if (part.empty() || part == "."sv) { in normalize() 98 if (part == ".."sv) { in normalize() 118 static constexpr auto kDeletedSuffix = " (deleted)"sv; in fromFd() [all …]
|
D | MountRegistry.cpp | 41 static const auto kPrefix = "\\"sv; in fixProcPath() 349 if (subdir == "/"sv) { in loadFrom() 359 subdir = ""sv; in loadFrom()
|
D | incfs.cpp | 119 if (entry->d_name == "corefs"sv) { in readIncFsFeatures() 155 static const auto kModulePrefix = "module:"sv; in parseProperty() 276 if (entry->d_name == "."sv || entry->d_name == ".."sv) { in rmDirContent()
|
/system/incremental_delivery/incfs/tests/ |
D | MountRegistry_test.cpp | 75 ASSERT_EQ(std::pair("/root"sv, ""s), r().rootAndSubpathFor("/root")); in TEST_F() 76 ASSERT_EQ(std::pair("/root"sv, "1"s), r().rootAndSubpathFor("/bind")); in TEST_F() 77 ASSERT_EQ(std::pair("/root"sv, "2/3"s), r().rootAndSubpathFor("/bind2")); in TEST_F() 78 ASSERT_EQ(std::pair("/root"sv, "2/3/blah"s), r().rootAndSubpathFor("/bind2/blah")); in TEST_F() 79 ASSERT_EQ(std::pair("/root"sv, "2/3/blah"s), r().rootAndSubpathFor("/other/bind/blah")); in TEST_F()
|
D | incfs_test.cpp | 99 static IncFsSpan metadata(std::string_view sv) { in metadata() argument 100 return {.data = sv.data(), .size = IncFsSize(sv.size())}; in metadata() 193 inline static const std::string_view test_file_name_ = "test.txt"sv; 194 inline static const std::string_view test_dir_name_ = "test_dir"sv; 361 const std::string_view md = "abc"sv; in TEST_F() 382 const std::string_view test_file = "test1.txt"sv; in TEST_F()
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 384 EXPECT_THAT(IterableSplitStringViewVec("/hello", "/"), ElementsAre(""sv, "hello"sv)); in TEST() 385 …THAT(IterableSplitStringViewVec("/hello///", "/"), ElementsAre(""sv, "hello"sv, ""sv, ""sv, ""sv)); in TEST() 947 DCHECK_EQ(it.cur_value, "/"sv); in MakeBegin() 1162 EXPECT_EQ(PurePath{}.AsStringView(), "."sv); in TEST() 1163 EXPECT_EQ(PurePath{""}.AsStringView(), ""sv); in TEST() 1164 EXPECT_EQ(PurePath{""sv}.AsStringView(), ""sv); in TEST() 1165 EXPECT_EQ(PurePath{""s}.AsStringView(), ""sv); in TEST() 1166 EXPECT_EQ(PurePath{"/hello/world"}.AsStringView(), "/hello/world"sv); in TEST() 1167 EXPECT_EQ(PurePath{"/hello/world"s}.AsStringView(), "/hello/world"sv); in TEST() 1168 EXPECT_EQ(PurePath{"/hello/world"sv}.AsStringView(), "/hello/world"sv); in TEST() [all …]
|
/system/incremental_delivery/incfs/incfsdump/ |
D | main.cpp | 37 if (argv[i] == "--help"sv || argv[i] == "-h"sv) { in main()
|
/system/vold/tests/ |
D | VoldNativeServiceValidation_test.cpp | 47 EXPECT_FALSE(CheckArgumentPath(std::string("/data/strange\0one"sv)).isOk()); in TEST_F() 48 EXPECT_FALSE(CheckArgumentPath(std::string("/data/strange\ntwo"sv)).isOk()); in TEST_F()
|
/system/core/adb/client/ |
D | adb_install.cpp | 317 if (android::base::EndsWithIgnoreCase(arg, ".apk"sv)) { in install_app_incremental() 322 } else if (arg.starts_with("install"sv)) { in install_app_incremental() 440 if (arg == "--streaming"sv) { in parse_install_mode() 442 } else if (arg == "--no-streaming"sv) { in parse_install_mode() 444 } else if (strlen(arg) >= "--incr"sv.size() && "--incremental"sv.starts_with(arg)) { in parse_install_mode() 446 } else if (strlen(arg) >= "--no-incr"sv.size() && "--no-incremental"sv.starts_with(arg)) { in parse_install_mode() 448 } else if (arg == "--wait"sv) { in parse_install_mode() 465 if (arg == "--fastdeploy"sv) { in parse_fast_deploy_mode() 467 } else if (arg == "--no-fastdeploy"sv) { in parse_fast_deploy_mode() 469 } else if (arg == "--force-agent"sv) { in parse_fast_deploy_mode() [all …]
|
D | incremental.cpp | 223 static constexpr auto failure_msg_head = "Failure ["sv; in wait_for_installation()
|
/system/update_engine/ |
D | logging_android.cc | 240 std::string_view sv = str_newline; in RedirectToLiblog() local 241 ignore_result(android::base::ConsumeSuffix(&sv, "\n")); in RedirectToLiblog() 242 std::string str(sv.data(), sv.size()); in RedirectToLiblog()
|
/system/incremental_delivery/incfs/include/ |
D | incfs_inline.h | 37 CStrWrapper(std::string_view sv) { in CStrWrapper() argument 38 if (sv[sv.size()] == '\0') { in CStrWrapper() 39 mCstr = sv.data(); in CStrWrapper() 41 mCopy.emplace(sv); in CStrWrapper() 59 inline CStrWrapper c_str(std::string_view sv) { in c_str() argument 60 return {sv}; in c_str()
|
/system/vold/ |
D | VoldNativeServiceValidation.cpp | 84 if (path.find("/../"sv) != path.npos || android::base::EndsWith(path, "/.."sv)) { in CheckArgumentPath()
|
/system/bt/hci/src/ |
D | hci_layer_linux.cc | 209 int sv[2]; in hci_initialize() local 210 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0) { in hci_initialize() 214 reader_thread_ctrl_fd = sv[0]; in hci_initialize() 218 FROM_HERE, base::Bind(&monitor_socket, sv[1], bt_vendor_fd)); in hci_initialize()
|
/system/core/adb/ |
D | sysdeps.h | 201 extern int adb_socketpair(int sv[2]); 630 static inline int unix_socketpair(int d, int type, int protocol, int sv[2]) { in unix_socketpair() 631 return socketpair(d, type, protocol, sv); in unix_socketpair() 634 static inline int adb_socketpair(int sv[2]) { in adb_socketpair() 637 rc = unix_socketpair(AF_UNIX, SOCK_STREAM, 0, sv); in adb_socketpair() 640 close_on_exec(sv[0]); in adb_socketpair() 641 close_on_exec(sv[1]); in adb_socketpair()
|
D | socket_test.cpp | 370 "echo foo\0bar"sv); in TEST()
|
D | sysdeps_win32.cpp | 1179 int adb_socketpair(int sv[2]) { in adb_socketpair() 1211 sv[0] = client; in adb_socketpair() 1212 sv[1] = accepted; in adb_socketpair()
|
/system/bt/stack/include/ |
D | btm_api_types.h | 396 #define FIELDS_TO_COD(pd, mn, mj, sv) \ argument 399 (pd)[1] = (mj) + ((sv)&BTM_COD_SERVICE_CLASS_LO_B); \ 400 (pd)[0] = (sv) >> 8; \
|
/system/core/libziparchive/ |
D | zip_archive.cc | 748 std::string_view sv; in Next() local 749 int32_t result = Next(cookie, data, &sv); in Next() 751 *name = std::string(sv); in Next()
|
/system/core/libutils/ |
D | README | 92 constraints (the default being the empty set), eg res/values-sv-port
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 2967 isoCode:"sv"
|