/system/bt/gd/shim/ |
D | dumpsys_test.cc | 107 int sv[2]; in TEST_F() local 108 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F() 109 int socket_buffer_size = GetSocketBufferSize(sv[0]); in TEST_F() 113 dumpsys_module_->Dump(sv[0], args, std::move(promise)); in TEST_F() 117 ASSERT_TRUE(SimpleJsonValidator(sv[1], &dumpsys_byte_cnt)); in TEST_F() 124 int sv[2]; in TEST_F() local 125 ASSERT_EQ(0, socketpair(AF_LOCAL, SOCK_STREAM | SOCK_NONBLOCK, 0, sv)); in TEST_F() 126 int socket_buffer_size = GetSocketBufferSize(sv[0]); in TEST_F() 130 dumpsys_module_->Dump(sv[0], args, std::move(promise)); in TEST_F() 134 ASSERT_TRUE(SimpleJsonValidator(sv[1], &dumpsys_byte_cnt)); in TEST_F()
|
/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() 344 if (subdir == "/"sv) { in loadFrom() 346 subdir = ""sv; in loadFrom()
|
D | incfs.cpp | 150 static const auto kModulePrefix = "module:"sv; in parseProperty() 267 if (entry->d_name == "corefs"sv) { in readIncFsFeatures() 269 } else if (entry->d_name == "v2"sv || entry->d_name == "report_uid"sv) { in readIncFsFeatures() 342 if (entry->d_name == "."sv || entry->d_name == ".."sv) { in rmDirContent()
|
/system/incremental_delivery/incfs/include/ |
D | path.h | 57 if (path == "/"sv) { in baseName() 58 return "/"sv; in baseName() 66 return path.empty() ? "/"sv : path; in baseName() 76 if (path == "/"sv) { in dirName() 77 return "/"sv; in dirName() 81 return "/"sv; in dirName() 84 return "."sv; in dirName()
|
D | incfs_inline.h | 35 CStrWrapper(std::string_view sv) { in CStrWrapper() argument 36 if (!sv.data()) { in CStrWrapper() 38 } else 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/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/update_engine/aosp/ |
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/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/tools/aidl/ |
D | aidl_const_expressions.cpp | 251 bool ParseFloating(std::string_view sv, double* parsed) { in ParseFloating() argument 253 android::base::ConsumeSuffix(&sv, "f"); in ParseFloating() 254 return android::base::ParseDouble(std::string(sv).data(), parsed); in ParseFloating() 257 bool ParseFloating(std::string_view sv, float* parsed) { in ParseFloating() argument 259 if (!android::base::ConsumeSuffix(&sv, "f")) { in ParseFloating() 262 return android::base::ParseFloat(std::string(sv).data(), parsed); in ParseFloating()
|
D | aidl_language.h | 77 bool ParseFloating(std::string_view sv, double* parsed); 78 bool ParseFloating(std::string_view sv, float* parsed);
|
/system/bt/stack/include/ |
D | btm_api_types.h | 153 #define FIELDS_TO_COD(pd, mn, mj, sv) \ argument 156 (pd)[1] = (mj) + ((sv)&BTM_COD_SERVICE_CLASS_LO_B); \ 157 (pd)[0] = (sv) >> 8; \
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 44 static IncFsSpan metadata(std::string_view sv) { in metadata() argument 45 return {.data = sv.data(), .size = IncFsSize(sv.size())}; in metadata() 381 const std::string_view md = "abc"sv; in TEST_F() 402 const std::string_view test_file = "test1.txt"sv; in TEST_F()
|
/system/libziparchive/ |
D | zip_archive.cc | 1054 std::string_view sv; in Next() local 1055 int32_t result = Next(cookie, data, &sv); in Next() 1057 *name = std::string(sv); in Next()
|
/system/core/init/ |
D | property_service.cpp | 1231 constexpr auto ANDROIDBOOT_PREFIX = "androidboot."sv;
|
/system/timezone/output_data/android/ |
D | tzids.prototxt | 1608 isoCode: "sv"
|
/system/timezone/input_data/android/ |
D | countryzones.txt | 2999 isoCode:"sv"
|