/system/core/init/ |
D | tokenizer_test.cpp | 93 RunTest(R"(1 token\ntoken 2)", {{"1", "token\ntoken", "2"}}); in TEST() 94 RunTest(R"(1 token\rtoken 2)", {{"1", "token\rtoken", "2"}}); in TEST() 95 RunTest(R"(1 token\ttoken 2)", {{"1", "token\ttoken", "2"}}); in TEST() 96 RunTest(R"(1 token\\token 2)", {{"1", "token\\token", "2"}}); in TEST() 97 RunTest(R"(1 token\btoken 2)", {{"1", "tokenbtoken", "2"}}); in TEST() 99 RunTest(R"(1 token\n 2)", {{"1", "token\n", "2"}}); in TEST() 100 RunTest(R"(1 token\r 2)", {{"1", "token\r", "2"}}); in TEST() 101 RunTest(R"(1 token\t 2)", {{"1", "token\t", "2"}}); in TEST() 102 RunTest(R"(1 token\\ 2)", {{"1", "token\\", "2"}}); in TEST() 103 RunTest(R"(1 token\b 2)", {{"1", "tokenb", "2"}}); in TEST() [all …]
|
D | ueventd_parser_test.cpp | 77 auto ueventd_file = R"( in TEST() 102 auto ueventd_file = R"( in TEST() 128 auto ueventd_file = R"( in TEST() 144 auto ueventd_file = R"( in TEST() 172 auto ueventd_file = R"( in TEST() 189 auto ueventd_file = R"( in TEST() 198 auto ueventd_file = R"( in TEST() 206 auto ueventd_file2 = R"( in TEST() 216 auto ueventd_file = R"( in TEST() 293 auto ueventd_file = R"( in TEST()
|
/system/tools/aidl/tests/ |
D | test_data_ping_responder.cpp | 26 const char kInterfaceDefinition[] = R"( 64 R"(some/path/to/output.cpp : \ 79 R"(#include <android/os/IPingResponder.h> 388 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_PING_RESPONDER_H_ 439 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BP_PING_RESPONDER_H_ 469 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BN_PING_RESPONDER_H_ 493 R"(#include <android/os/IPingResponder.h> 859 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_PING_RESPONDER_H_ 921 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BP_PING_RESPONDER_H_ 957 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BN_PING_RESPONDER_H_
|
D | test_data_string_constants.cpp | 25 const char kInterfaceDefinition[] = R"( 35 R"(/* 135 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_STRING_CONSTANTS_H_ 169 R"(#include <android/os/IStringConstants.h> 235 R"(/* 412 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_STRING_CONSTANTS_H_ 457 R"(#include <android/os/IStringConstants.h>
|
D | test_data_example_interface.cpp | 39 const char kInterfaceDefinition[] = R"( 74 const char kInterfaceDefinitionOutlining[] = R"( 106 R"(some/path/to/output.java : \ 121 R"(/* 589 R"(/* 1109 R"(/* 1649 R"(/* 2143 R"(/*
|
/system/tools/sysprop/tests/ |
D | InvalidSyspropTest.cpp | 30 R"( 48 R"( 54 R"( 66 R"( 79 R"( 91 R"( 104 R"( 116 R"( 129 R"( 142 R"( [all …]
|
D | CppGenTest.cpp | 30 R"(owner: Platform 105 R"(// Generated by the sysprop generator. DO NOT EDIT! 165 R"(// Generated by the sysprop generator. DO NOT EDIT! 197 R"(// Generated by the sysprop generator. DO NOT EDIT!
|
D | TypeCheckerTest.cpp | 31 R"( 71 R"( 80 R"(
|
/system/update_engine/update_manager/ |
D | update_manager-inl.h | 31 template <typename R, typename... Args> 35 EvaluationContext*, State*, std::string*, R*, Args...) const, in EvaluatePolicy() argument 36 R* result, in EvaluatePolicy() 79 template <typename R, typename... Args> 82 base::Callback<void(EvalStatus status, const R& result)> callback, in OnPolicyReadyToEvaluate() 84 EvaluationContext*, State*, std::string*, R*, Args...) const, in OnPolicyReadyToEvaluate() argument 87 R result; in OnPolicyReadyToEvaluate() 98 base::Bind(&UpdateManager::OnPolicyReadyToEvaluate<R, Args...>, in OnPolicyReadyToEvaluate() 116 template <typename R, typename... ActualArgs, typename... ExpectedArgs> 119 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, in PolicyRequest() argument [all …]
|
D | update_manager.h | 81 template <typename R, typename... ActualArgs, typename... ExpectedArgs> 84 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 85 R* result, 96 template <typename R, typename... ActualArgs, typename... ExpectedArgs> 98 base::Callback<void(EvalStatus, const R& result)> callback, 100 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 129 template <typename R, typename... Args> 133 EvaluationContext*, State*, std::string*, R*, Args...) const, 134 R* result, 143 template <typename R, typename... Args> [all …]
|
D | policy_test_utils.h | 57 template <typename T, typename R, typename... Args> 58 void ExpectStatus(EvalStatus expected, T method, R* result, Args... args) { in ExpectStatus() 70 template <typename T, typename R, typename... Args> 71 EvalStatus CallMethodWithContext(T method, R* result, Args... args) { in CallMethodWithContext() 79 template <typename T, typename R, typename... Args> 82 R* result, in ExpectPolicyStatus()
|
/system/core/adb/ |
D | adb_utils_test.cpp | 85 EXPECT_EQ(R"('')", escape_arg("")); 87 EXPECT_EQ(R"('abc')", escape_arg("abc")); 90 const std::string q = R"('\'')"; 100 EXPECT_EQ(R"(' abc')", escape_arg(" abc")); 101 EXPECT_EQ(R"('"abc')", escape_arg("\"abc")); 108 EXPECT_EQ(R"('abc\abc')", escape_arg("abc\\abc")); 109 EXPECT_EQ(R"('abc(abc')", escape_arg("abc(abc")); 110 EXPECT_EQ(R"('abc)abc')", escape_arg("abc)abc")); 112 EXPECT_EQ(R"('abc ')", escape_arg("abc ")); 113 EXPECT_EQ(R"('abc"')", escape_arg("abc\""));
|
/system/libbase/ |
D | test_utils_test.cpp | 28 ASSERT_MATCH("foobar", R"(fo+baz?r)"); in TEST() 29 EXPECT_FATAL_FAILURE(ASSERT_MATCH("foobar", R"(foobaz)"), "regex mismatch"); in TEST() 33 ASSERT_NOT_MATCH("foobar", R"(foobaz)"); in TEST() 34 EXPECT_FATAL_FAILURE(ASSERT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch"); in TEST() 38 EXPECT_MATCH("foobar", R"(fo+baz?r)"); in TEST() 39 EXPECT_NONFATAL_FAILURE(EXPECT_MATCH("foobar", R"(foobaz)"), "regex mismatch"); in TEST() 43 EXPECT_NOT_MATCH("foobar", R"(foobaz)"); in TEST() 44 EXPECT_NONFATAL_FAILURE(EXPECT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch"); in TEST()
|
/system/bt/gd/common/ |
D | contextual_callback.h | 31 template <typename R, typename... Args> 35 template <typename R, typename... Args> 36 class ContextualOnceCallback<R(Args...)> { 38 ContextualOnceCallback(common::OnceCallback<R(Args...)>&& callback, IPostableContext* context) in ContextualOnceCallback() 63 common::OnceCallback<R(Args...)> callback_; 67 template <typename R, typename... Args> 71 template <typename R, typename... Args> 72 class ContextualCallback<R(Args...)> { 74 ContextualCallback(common::Callback<R(Args...)>&& callback, IPostableContext* context) in ContextualCallback() 99 common::Callback<R(Args...)> callback_;
|
D | observer_registry.h | 35 template <typename R, typename... T> 36 decltype(auto) Register(Callback<R(T...)> callback) { in decltype() 38 …return Bind(&SingleObserverRegistry::callback_wrapper<R, T...>, Unretained(this), session_, callba… in decltype() 46 template <typename R, typename... T> 47 void callback_wrapper(int session, Callback<R(T...)> callback, T... t) { in callback_wrapper() 60 template <typename R, typename... T> 61 decltype(auto) Register(int event_type, Callback<R(T...)> callback) { in decltype()
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 115 R"("is_delta":true,)" in TEST_F() 116 R"("metadata_signature":"",)" in TEST_F() 117 R"("metadata_size":187,)" in TEST_F() 118 R"("sha256_hex":"Rtrj9v3xXhrAi1741HAojtGxAQEOZ7mDyhzskIF4PJc=",)" in TEST_F() 119 R"("size":233,)" in TEST_F() 120 R"("source_version":"123.0.0",)" in TEST_F() 121 R"("target_version":"456.7.8",)" in TEST_F() 122 R"("version":2)" in TEST_F()
|
/system/tools/sysprop/ |
D | CppGen.cpp | 41 R"(#include <cstdint> 49 R"(#include <cctype> 76 R"(template <typename T> constexpr bool is_vector = false;
|
/system/linkerconfig/ |
D | rundiff.sh | 52 linkerconfig -v R -r $TMP_ROOT -t $1/stage0 56 linkerconfig -v R -r $TMP_ROOT -t $1/stage1 60 linkerconfig -v R -r $TMP_ROOT -t $1/stage2 63 linkerconfig -v R -p R -r $TMP_ROOT -t $1/product-enabled
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 43 R"(package android.os; 58 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BP_COMPLEX_TYPE_INTERFACE_H_ 92 R"(#include <android/os/BpComplexTypeInterface.h> 407 R"(#include <android/os/BpComplexTypeInterface.h> 730 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BN_COMPLEX_TYPE_INTERFACE_H_ 754 R"(#include <android/os/BnComplexTypeInterface.h> 1007 R"(#include <android/os/BnComplexTypeInterface.h> 1268 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_COMPLEX_TYPE_INTERFACE_H_ 1341 R"(#include <android/os/IComplexTypeInterface.h> 1355 const string kEnumAIDL = R"(package android.os; [all …]
|
D | ast_cpp_unittest.cpp | 34 R"(#ifndef HEADER_INCLUDE_GUARD_H_ 63 R"(switch (var) { 79 R"(return_type ClassName::MethodName(arg 1, arg 2, arg 3) const { 148 R"(enum Foo { in TEST_F() 163 R"(enum class Foo : int32_t { in TEST_F() 204 string expected = R"(ClassName::ClassName(a, b, c) in TEST_F()
|
/system/linkerconfig/modules/tests/ |
D | namespace_test.cc | 33 R"(namespace.test_namespace.isolated = false 47 R"(namespace.test_namespace.isolated = true 67 R"(namespace.test_namespace.isolated = false
|
/system/teeui/libteeui/src/ |
D | utils.cpp | 72 Point<pxs> R = P - Q; in pixelLineIntersect() local 73 TEEUI_LOG << " R: " << R; in pixelLineIntersect() 74 area = R.x() * R.y() * pxs(.5); in pixelLineIntersect() 75 if (R.y() > 1.0) { in pixelLineIntersect() 76 auto r = R.y() - pxs(1.0); in pixelLineIntersect() 77 area -= r * R.x() * ((r) / R.y()) * pxs(.5); in pixelLineIntersect()
|
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/ |
D | CameraActivity.java | 27 setContentView(R.layout.activity_camera); in onCreate() 30 .replace(R.id.container, CameraAvgFragment.newInstance()) in onCreate()
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/java/com/example/simpleperf/simpleperfexamplewithnative/ |
D | MainActivity.java | 17 setContentView(R.layout.activity_main); in onCreate() 20 TextView tv = (TextView) findViewById(R.id.sample_text); in onCreate()
|
/system/extras/simpleperf/demo/CppApi/app/src/main/java/simpleperf/demo/cpp_api/ |
D | MainActivity.java | 35 setContentView(R.layout.activity_main); in onCreate() 36 textView = findViewById(R.id.textView); in onCreate()
|