/system/core/init/ |
D | tokenizer_test.cpp | 92 RunTest(R"(1 token\ntoken 2)", {{"1", "token\ntoken", "2"}}); in TEST() 93 RunTest(R"(1 token\rtoken 2)", {{"1", "token\rtoken", "2"}}); in TEST() 94 RunTest(R"(1 token\ttoken 2)", {{"1", "token\ttoken", "2"}}); in TEST() 95 RunTest(R"(1 token\\token 2)", {{"1", "token\\token", "2"}}); in TEST() 96 RunTest(R"(1 token\btoken 2)", {{"1", "tokenbtoken", "2"}}); in TEST() 98 RunTest(R"(1 token\n 2)", {{"1", "token\n", "2"}}); in TEST() 99 RunTest(R"(1 token\r 2)", {{"1", "token\r", "2"}}); in TEST() 100 RunTest(R"(1 token\t 2)", {{"1", "token\t", "2"}}); in TEST() 101 RunTest(R"(1 token\\ 2)", {{"1", "token\\", "2"}}); in TEST() 102 RunTest(R"(1 token\b 2)", {{"1", "tokenb", "2"}}); in TEST() [all …]
|
D | ueventd_parser_test.cpp | 75 auto ueventd_file = R"( in TEST() 100 auto ueventd_file = R"( in TEST() 126 auto ueventd_file = R"( in TEST() 142 auto ueventd_file = R"( in TEST() 151 auto ueventd_file = R"( in TEST() 219 auto ueventd_file = R"( in TEST()
|
/system/tools/aidl/tests/ |
D | test_data_ping_responder.cpp | 25 const char kInterfaceDefinition[] = R"( 63 R"(some/path/to/output.cpp : \ 78 R"(#include <android/os/IPingResponder.h> 401 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_PING_RESPONDER_H_ 443 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BP_PING_RESPONDER_H_ 473 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BN_PING_RESPONDER_H_ 496 R"(#include <android/os/IPingResponder.h> 851 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_PING_RESPONDER_H_ 896 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BP_PING_RESPONDER_H_ 929 R"(#ifndef AIDL_GENERATED_ANDROID_OS_BN_PING_RESPONDER_H_
|
D | test_data_string_constants.cpp | 25 const char kInterfaceDefinition[] = R"( 35 R"(/* 129 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_STRING_CONSTANTS_H_ 162 R"(#include <android/os/IStringConstants.h> 226 R"(/* 355 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_STRING_CONSTANTS_H_ 391 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"(/* 583 R"(/* 1097 R"(/* 1639 R"(/* 2127 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 | 72 template <typename R, typename... ActualArgs, typename... ExpectedArgs> 75 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 76 R* result, 87 template <typename R, typename... ActualArgs, typename... ExpectedArgs> 89 base::Callback<void(EvalStatus, const R& result)> callback, 91 EvaluationContext*, State*, std::string*, R*, ExpectedArgs...) const, 112 template <typename R, typename... Args> 116 EvaluationContext*, State*, std::string*, R*, Args...) const, 117 R* result, 126 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/tools/sysprop/tests/ |
D | InvalidSyspropTest.cpp | 30 R"( 48 R"( 54 R"( 66 R"( 78 R"( 91 R"( 103 R"( 115 R"( 128 R"(
|
D | CppGenTest.cpp | 30 R"(owner: Platform 106 R"(// Generated by the sysprop generator. DO NOT EDIT! 167 R"(// Generated by the sysprop generator. DO NOT EDIT! 194 R"(// Generated by the sysprop generator. DO NOT EDIT!
|
/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/core/base/ |
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/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_ 753 R"(#include <android/os/BnComplexTypeInterface.h> 1000 R"(#include <android/os/BnComplexTypeInterface.h> 1263 R"(#ifndef AIDL_GENERATED_ANDROID_OS_I_COMPLEX_TYPE_INTERFACE_H_ 1319 R"(#include <android/os/IComplexTypeInterface.h>
|
D | ast_cpp_unittest.cpp | 34 R"(#ifndef HEADER_INCLUDE_GUARD_H_ 63 R"(enum Foo { 70 R"(switch (var) { 86 R"(return_type ClassName::MethodName(arg 1, arg 2, arg 3) const { 188 string expected = R"(ClassName::ClassName(a, b, c) in TEST_F()
|
/system/linkerconfig/modules/tests/ |
D | section_test.cc | 24 R"([test_section] 79 R"([test_section] 96 R"(dir.test_section = binary_path1
|
D | namespace_test.cc | 23 R"(namespace.test_namespace.isolated = false 39 R"(namespace.test_namespace.isolated = true
|
D | configwriter_test.cc | 25 R"(Lorem ipsum dolor sit amet 31 R"(/Value/Test
|
/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()
|
D | CameraAvgFragment.java | 425 return inflater.inflate(R.layout.fragment_camera_avg, container, false); in onCreateView() 430 view.findViewById(R.id.picture).setOnClickListener(this); in onViewCreated() 431 view.findViewById(R.id.info).setOnClickListener(this); in onViewCreated() 432 mTextureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated() 488 ErrorDialog.newInstance(getString(R.string.request_permission)) in onRequestPermissionsResult() 605 ErrorDialog.newInstance(getString(R.string.camera_error)) in setUpCameraOutputs() 900 case R.id.picture: { in onClick() 904 case R.id.info: { in onClick() 908 .setMessage(R.string.intro_message) in onClick() 909 .setPositiveButton(android.R.string.ok, null) in onClick() [all …]
|
/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()
|
/system/bt/btif/include/ |
D | btif_common.h | 186 template <typename R, typename... Args> 187 base::Callback<R(Args...)> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper() 188 base::Callback<R(Args...)> cb) { in jni_thread_wrapper() 190 [](const base::Location& from_here, base::Callback<R(Args...)> cb, in jni_thread_wrapper()
|
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 108 static const char TEST_ANIMATION[] = R"desc( in TEST() 119 static const char TEST_ANIMATION[] = R"desc( in TEST() 129 static const char TEST_ANIMATION[] = R"desc( in TEST() 139 static const char TEST_ANIMATION[] = R"desc( in TEST() 150 static const char TEST_ANIMATION[] = R"desc( in TEST()
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 210 std::string fstab_contents = R"fs( in TEST() 315 std::string fstab_contents = R"fs( in TEST() 394 std::string fstab_contents = R"fs( in TEST() 479 std::string fstab_contents = R"fs( in TEST() 500 std::string fstab_contents = R"fs( in TEST() 543 std::string fstab_contents = R"fs( in TEST() 569 std::string fstab_contents = R"fs( in TEST() 595 std::string fstab_contents = R"fs( in TEST() 645 std::string fstab_contents = R"fs( in TEST() 668 std::string fstab_contents = R"fs( in TEST() [all …]
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem_unittest.cc | 154 string filemap = R"(dir1/file1 96 4000 in TEST_F() 167 string filemap = R"(dir1/file1 96 4000 in TEST_F() 195 string filemap = R"(file1 0 6000 in TEST_F() 210 string filemap = R"(file1 0 4000 in TEST_F() 225 string filemap = R"(file1 0 8000 in TEST_F() 257 string filemap = R"( in TEST_F()
|