/frameworks/native/libs/ftl/ |
D | algorithm_test.cpp | 41 const ftl::StaticVector vector = {"upside"sv, "down"sv, "cake"sv}; in TEST() 42 EXPECT_EQ(ftl::find_if(vector, [](const auto& str) { return str.front() == 'c'; }), "cake"sv); in TEST() 45 12, "snow"sv, "cone"sv)(13, "tiramisu"sv)(14, "upside"sv, "down"sv, "cake"sv); in TEST() 58 EXPECT_EQ(opt->get(), ftl::StaticVector("tiramisu"sv)); in TEST() 64 const ftl::SmallMap map = ftl::init::map(13, "tiramisu"sv)(14, "upside-down cake"sv); in TEST() 65 ASSERT_EQ("???"sv, in TEST() 66 map.get(20).or_else(ftl::static_ref<std::string_view>([] { return "???"sv; }))->get()); in TEST() 70 ASSERT_EQ("snow cone"sv, in TEST() 73 .or_else(ftl::static_ref<std::string_view>([] { return "snow cone"sv; })) in TEST()
|
D | small_map_test.cpp | 56 EXPECT_EQ(map, SmallMap(ftl::init::map(-1, "xyz"sv)(0, "nil"sv)(42, "???"sv)(123, "abc"sv))); in TEST() 76 EXPECT_EQ(map, SmallMap(ftl::init::map(123, "abc"sv)(456, "def"sv)(789, "ghi"sv))); in TEST() 87 EXPECT_EQ(map, SmallMap(ftl::init::map(42, "???"sv)(123, "abc"sv)(-1, ""sv))); in TEST() 98 EXPECT_EQ(map, SmallMap(ftl::init::map(-1, ""sv)(42, "???"sv)(123, "abc"sv))); in TEST() 114 const SmallMap map2 = ftl::init::map('T', "tera"sv)('P', "peta"sv); in TEST()
|
D | function_test.cpp | 135 MyFunction::make([cls = &cls, ptr](std::string_view sv) { return cls->on_string(ptr, sv); }); in TEST() argument 136 int r = f1("abc"sv); in TEST() 140 r = f1("abc"sv); in TEST()
|
/frameworks/base/services/incremental/ |
D | path.cpp | 95 if (path.starts_with("../"sv)) { in normalize() 116 if (part.empty() || part == "."sv) { in normalize() 119 if (part == ".."sv) { in normalize() 142 if (path == "/"sv) { in basename() 143 return "/"sv; in basename() 151 return path.empty() ? "/"sv : path; in basename() 160 if (path == "/"sv) { in dirname() 161 return "/"sv; in dirname() 165 return "/"sv; in dirname() 168 return "."sv; in dirname() [all …]
|
D | path.h | 29 CStrWrapper(std::string_view sv); 66 inline details::CStrWrapper c_str(std::string_view sv) { in c_str() argument 67 return {sv}; in c_str()
|
D | BinderIncrementalService.cpp | 35 static constexpr auto kAndroidDataEnv = "ANDROID_DATA"sv; 36 static constexpr auto kDataDir = "/data"sv; 37 static constexpr auto kIncrementalSubDir = "incremental"sv;
|
D | IncrementalService.cpp | 57 static constexpr auto backing = "backing_store"sv; 58 static constexpr auto mount = "mount"sv; 59 static constexpr auto mountKeyPrefix = "MT_"sv; 60 static constexpr auto storagePrefix = "st"sv; 61 static constexpr auto mountpointMdPrefix = ".mountpoint."sv; 62 static constexpr auto infoMdName = ".info"sv; 63 static constexpr auto readLogsDisabledMarkerName = ".readlogs_disabled"sv; 64 static constexpr auto libDir = "lib"sv; 65 static constexpr auto libSuffix = ".so"sv; 67 static constexpr auto systemPackage = "android"sv; [all …]
|
/frameworks/rs/ |
D | rsFifoSocket.cpp | 39 int ret = socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, sv); in init() 46 ::send(sv[0], &d, sizeof(d), 0); in shutdown() 47 ::send(sv[1], &d, sizeof(d), 0); in shutdown() 48 close(sv[0]); in shutdown() 49 close(sv[1]); in shutdown() 57 size_t ret = ::send(sv[0], data, bytes, 0); in writeAsync() 71 size_t ret = ::recv(sv[0], retData, retBytes, MSG_WAITALL); in writeWaitReturn() 82 size_t ret = ::recv(sv[1], data, bytes, MSG_WAITALL); in read() 93 p.fd = sv[1]; in isEmpty() 102 ::send(sv[1], data, bytes, 0); in readReturn()
|
D | rsFifoSocket.h | 43 int getWriteFd() {return sv[0];} in getWriteFd() 44 int getReadFd() {return sv[1];} in getReadFd() 47 int sv[2];
|
/frameworks/base/tools/aapt2/ |
D | SdkConstants.cpp | 32 "Q"sv, "R"sv, "S"sv, "Sv2"sv, "Tiramisu"sv, "UpsideDownCake"sv, "VanillaIceCream"sv}; 34 static constexpr auto sPrivacySandboxSuffix = "PrivacySandbox"sv;
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AbstractClassAdapter.java | 321 public RenameSignatureAdapter(SignatureVisitor sv) { in RenameSignatureAdapter() argument 323 mSv = sv; in RenameSignatureAdapter() 340 SignatureVisitor sv = mSv.visitArrayType(); in visitArrayType() local 341 return new RenameSignatureAdapter(sv); in visitArrayType() 351 SignatureVisitor sv = mSv.visitClassBound(); in visitClassBound() local 352 return new RenameSignatureAdapter(sv); in visitClassBound() 362 SignatureVisitor sv = mSv.visitExceptionType(); in visitExceptionType() local 363 return new RenameSignatureAdapter(sv); in visitExceptionType() 373 SignatureVisitor sv = mSv.visitInterface(); in visitInterface() local 374 return new RenameSignatureAdapter(sv); in visitInterface() [all …]
|
/frameworks/av/media/codec2/tests/ |
D | C2SampleComponent_test.cpp | 265 void dumpFSV(const C2FieldSupportedValues &sv, T*t) { in dumpFSV() argument 270 if (sv.type == sv.RANGE) { in dumpFSV() 271 cout << ".range(" << get(sv.range.min, t); in dumpFSV() 272 if (get(sv.range.step, t) != std::is_integral<T>::value) { in dumpFSV() 273 cout << ":" << get(sv.range.step, t); in dumpFSV() 275 if (get(sv.range.num, t) != 1 || get(sv.range.denom, t) != 1) { in dumpFSV() 276 cout << ":" << get(sv.range.num, t) << "/" << get(sv.range.denom, t); in dumpFSV() 278 cout << get(sv.range.max, t) << ")"; in dumpFSV() 280 if (sv.values.size()) { in dumpFSV() 281 cout << (sv.type == sv.FLAGS ? ".flags(" : ".list("); in dumpFSV() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | FrameRateOverrideMappings.cpp | 95 dumper.dump("FrameRateOverrides"sv, hasOverrides ? ""sv : "none"sv); in dump() 99 dump(dumper, "setFrameRate"sv, mFrameRateOverridesByContent); in dump() 101 dump(dumper, "GameManager"sv, mFrameRateOverridesFromGameManager); in dump() 103 dump(dumper, "Backdoor"sv, mFrameRateOverridesFromBackdoor); in dump() 116 dumper.dump("(uid, frameRate)"sv, uid, frameRate); in dump()
|
D | RefreshRateSelector.cpp | 1597 dumper.dump("renderRate"sv, to_string(activeMode.fps)); in dump() 1598 dumper.dump("activeMode"sv, to_string(*activeMode.modePtr)); in dump() 1600 dumper.dump("displayModes"sv); in dump() 1608 dumper.dump("displayManagerPolicy"sv, mDisplayManagerPolicy.toString()); in dump() 1612 dumper.dump("overridePolicy"sv, currentPolicy.toString()); in dump() 1615 dumper.dump("frameRateOverrideConfig"sv, *ftl::enum_name(mFrameRateOverrideConfig)); in dump() 1617 dumper.dump("idleTimer"sv); in dump() 1620 dumper.dump("interval"sv, mIdleTimer.transform(&OneShotTimer::interval)); in dump() 1621 dumper.dump("controller"sv, in dump() 1624 .value_or("Platform"sv)); in dump()
|
D | Scheduler.cpp | 845 utils::Dumper::Section section(dumper, "Features"sv); in dump() 854 utils::Dumper::Section section(dumper, "Policy"sv); in dump() 858 dumper.dump("pacesetterDisplayId"sv, mPacesetterDisplayId); in dump() 860 dumper.dump("layerHistory"sv, mLayerHistory.dump()); in dump() 861 dumper.dump("touchTimer"sv, mTouchTimer.transform(&OneShotTimer::interval)); in dump() 862 dumper.dump("displayPowerTimer"sv, mDisplayPowerTimer.transform(&OneShotTimer::interval)); in dump() 875 utils::Dumper::Section section(dumper, "Frame Targeting"sv); in dump()
|
/frameworks/base/proto/src/ |
D | gnss.proto | 52 // Total number of sv status messages processed 55 // Total number of L5 sv status messages processed 58 // Total number of sv status messages processed, where sv is used in fix 61 // Total number of L5 sv status messages processed, where sv is used in fix
|
/frameworks/base/services/incremental/test/ |
D | path_test.cpp | 37 EXPECT_TRUE(PathLess()("/a/b"sv, "/a\0"sv)); in TEST() 50 EXPECT_STREQ("/", path::join("/"sv, "/").c_str()); in TEST()
|
/frameworks/native/services/surfaceflinger/Utils/ |
D | Dumper.h | 43 for (int i = mIndent; i-- > 0;) mOut += " "sv; 56 dump(name, value ? "true"sv : "false"sv); in dump() 65 dump(name, "nullopt"sv); in dump()
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplaySnapshot.cpp | 65 dumper.dump("connectionType"sv, ftl::enum_string(mConnectionType)); in dump() 67 dumper.dump("colorModes"sv); in dump() 75 dumper.dump("deviceProductInfo"sv, mDeviceProductInfo); in dump()
|
/frameworks/base/tools/aapt2/compile/ |
D | Pseudolocalizer.cpp | 31 "fourteen fiveteen sixteen seventeen nineteen twenty"sv; 34 static constexpr auto kRlm = "\u200f"sv; 35 static constexpr auto kRlo = "\u202e"sv; 36 static constexpr auto kPdf = "\u202c"sv; 39 static constexpr auto kPlaceholderOpen = "\u00bb"sv; 40 static constexpr auto kPlaceholderClose = "\u00ab"sv;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceControlTests.java | 135 final SurfaceView sv = new SurfaceView(activity); in testSurfaceChangedOnRotation() local 138 instrumentation.runOnMainSync(() -> activity.setContentView(sv)); in testSurfaceChangedOnRotation() 139 sv.getHolder().addCallback(new SurfaceHolder.Callback() { in testSurfaceChangedOnRotation() 151 sv.getViewRootImpl().getSurfaceControl().getTransformHint(); in testSurfaceChangedOnRotation()
|
/frameworks/native/include/ftl/ |
D | enum.h | 53 const auto value_begin = view.rfind("V = "sv); in ftl_enum_builder() 61 const auto pos = S ? view.rfind("::"sv) - 2 : view.npos; in ftl_enum_builder() 63 const auto name_begin = view.rfind("::"sv, pos); in ftl_enum_builder()
|
/frameworks/base/tools/aapt2/integration-tests/DumpTest/ |
D | minimal_expected.txt | 58 application-label-sv:'Bubble Girl' 91 …s' 'nb' 'nl' 'pa' 'pl' 'pt-BR' 'pt-PT' 'ro' 'ru' 'sk' 'sl' 'sq' 'sr' 'su' 'sv' 'ta' 'te' 'th' 'tl'…
|
/frameworks/native/libs/binder/ |
D | servicedispatcher.cpp | 49 using std::string_view_literals::operator""sv; 304 if (name == "manager"sv) { in main()
|
/frameworks/base/api/ |
D | api.go | 601 for _, sv := range s { 602 if sv != v { 603 s2 = append(s2, sv)
|