/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 | 88 auto ueventd_file = R"( in TEST() 113 auto ueventd_file = R"( in TEST() 139 auto ueventd_file = R"( in TEST() 155 auto ueventd_file = R"( in TEST() 221 auto ueventd_file = R"( in TEST() 239 auto ueventd_file = R"( in TEST() 253 auto ueventd_file = R"( in TEST() 262 auto ueventd_file = R"( in TEST() 270 auto ueventd_file2 = R"( in TEST() 280 auto ueventd_file = R"( in TEST() [all …]
|
/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!
|
/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() 36 ASSERT_NOT_MATCH("foobar", R"(foobaz)"); in TEST() 37 EXPECT_FATAL_FAILURE(ASSERT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch"); in TEST() 44 EXPECT_MATCH("foobar", R"(fo+baz?r)"); in TEST() 45 EXPECT_NONFATAL_FAILURE(EXPECT_MATCH("foobar", R"(foobaz)"), "regex mismatch"); in TEST() 52 EXPECT_NOT_MATCH("foobar", R"(foobaz)"); in TEST() 53 EXPECT_NONFATAL_FAILURE(EXPECT_NOT_MATCH("foobar", R"(foobar)"), "regex mismatch"); in TEST()
|
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | IDeprecated.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> IDeprecated for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | INewName.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> INewName for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | INamedCallback.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> INamedCallback for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | IOldName.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> IOldName for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | ICircular.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> ICircular for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/ |
D | IDeprecated.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> IDeprecated for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | INamedCallback.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> INamedCallback for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | IOldName.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> IOldName for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | INewName.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> INewName for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
D | ICircular.rs | 40 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 43 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 45 struct Wrapper<T, R> { in new_async_binder() 47 _rt: R, in new_async_binder() 49 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 53 impl<T, R> ICircular for Wrapper<T, R> in new_async_binder() 56 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder()
|
/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 105 R"("is_delta":true,)" in TEST_F() 106 R"("metadata_signature":"",)" in TEST_F() 107 R"("metadata_size":165,)" in TEST_F() 108 R"("metadata_size_str":"165",)" in TEST_F() 109 R"("sha256_hex":"cV7kfZBH3K0B6QJHxxykDh6b6x0WgVOmc63whPLOy7U=",)" in TEST_F() 110 R"("size":211,)" in TEST_F() 111 R"("size_str":"211",)" in TEST_F() 112 R"("version":2)" in TEST_F()
|
/system/keymint/hal/src/ |
D | lib.rs | 117 pub fn read_msg<R: Read>(r: &mut R) -> binder::Result<Vec<u8>> { in read_msg() 137 pub struct MessageChannel<R: Read, W: Write> { 138 r: R, 142 impl<R: Read + Debug + Send, W: Write + Debug + Send> SerializedChannel for MessageChannel<R, W> { 156 fn channel_execute<T, R, S>(channel: &mut T, req: R) -> binder::Result<S> in channel_execute() argument 159 R: AsCborValue + Code<KeyMintOperation>, in channel_execute() 165 <R>::CODE.to_cbor_value().map_err(failed_cbor)?, in channel_execute() 181 <R>::CODE, in channel_execute() 209 warn!("HAL: command {:?} failed: {:?}", <R>::CODE, error_code); in channel_execute() 252 fn execute<R, S>(&self, req: R) -> binder::Result<S> in execute() argument [all …]
|
/system/security/keystore2/test_utils/ |
D | run_as.rs | 167 pub struct ChildHandle<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> { 169 result_reader: ChannelReader<R>, 175 impl<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> ChildHandle<R, M> { 188 pub fn get_result(mut self) -> R { in get_result() argument 208 impl<R: Serialize + DeserializeOwned, M: Serialize + DeserializeOwned> Drop for ChildHandle<R, M> { 229 pub unsafe fn run_as_child<F, R, M>( in run_as_child() argument 234 ) -> Result<ChildHandle<R, M>, nix::Error> in run_as_child() argument 236 R: Serialize + DeserializeOwned, in run_as_child() 238 F: 'static + Send + FnOnce(&mut ChannelReader<M>, &mut ChannelWriter<M>) -> R, in run_as_child() argument 255 Ok(ChildHandle::<R, M> { in run_as_child() [all …]
|
/system/media/audio/include/system/audio_effects/ |
D | aidl_effects_utils.h | 62 template <typename T, typename R> 63 static inline bool inRange(const T& target, const R& ranges) { in inRange() 87 template <typename Range::Tag RangeTag, typename R, typename T> 88 static inline std::optional<R> getRange(const Capability& cap, T tag) { in getRange() 103 template <typename T, typename R> 104 static inline bool isRangeValid(const T& tag, const R& ranges) { in isRangeValid()
|
/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/tools/aidl/tests/golden_output/frozen/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/ |
D | INestedService.rs | 43 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 46 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 48 struct Wrapper<T, R> { in new_async_binder() 50 _rt: R, in new_async_binder() 52 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 56 impl<T, R> INestedService for Wrapper<T, R> in new_async_binder() 59 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 263 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 266 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 268 struct Wrapper<T, R> { in new_async_binder() [all …]
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-rust-source/gen/android/aidl/tests/nested/ |
D | INestedService.rs | 43 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 46 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 48 struct Wrapper<T, R> { in new_async_binder() 50 _rt: R, in new_async_binder() 52 …impl<T, R> binder::Interface for Wrapper<T, R> where T: binder::Interface, R: Send + Sync + 'stati… in new_async_binder() 56 impl<T, R> INestedService for Wrapper<T, R> in new_async_binder() 59 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 263 …pub fn new_async_binder<T, R>(inner: T, rt: R, features: binder::BinderFeatures) -> binder::Strong… in new_async_binder() argument 266 R: binder::binder_impl::BinderAsyncRuntime + Send + Sync + 'static, in new_async_binder() 268 struct Wrapper<T, R> { in new_async_binder() [all …]
|
/system/core/debuggerd/ |
D | debuggerd_test.cpp | 116 R"(#\d\d pc [0-9a-f]+\s+ \S+ (\(offset 0x[0-9a-f]+\) )?\()" frame_name R"(\+)"); 335 ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\), code 1 \(SEGV_MAPERR\), fault addr 0x0+dead)"); in TEST_F() 339 ASSERT_MATCH(result, R"(tagged_addr_ctrl: 000000000007fff3)" in TEST_F() 340 R"( \(PR_TAGGED_ADDR_ENABLE, PR_MTE_TCF_SYNC, mask 0xfffe\))"); in TEST_F() 345 ASSERT_MATCH(result, R"(pac_enabled_keys: 000000000000000f)" in TEST_F() 346 R"( \(PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY\))"); in TEST_F() 374 result, R"(signal 11 \(SIGSEGV\), code 1 \(SEGV_MAPERR\), fault addr 0x[01]00000000000dead)"); in TEST_F() 479 ASSERT_MATCH(result, R"(signal 11 \(SIGSEGV\))"); in TEST_P() 480 ASSERT_MATCH(result, R"(Cause: \[MTE\]: Use After Free, 0 bytes into a )" + in TEST_P() 481 std::to_string(GetParam()) + R"(-byte allocation)"); in TEST_P() [all …]
|
/system/linkerconfig/ |
D | rundiff.sh | 85 linkerconfig -v R -z -r $TMP_PATH -t $1/vendor_with_vndk 90 linkerconfig -v R -z -r $TMP_PATH --apex com.vendor.service2 -t $1/gen-only-a-single-apex 105 linkerconfig -v R -p R -z -r $TMP_PATH -t $1/guest
|
/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()
|