Home
last modified time | relevance | path

Searched refs:set_scoped_mocker (Results 1 – 2 of 2) sorted by relevance

/system/extras/libatrace_rust/src/
Dlib.rs472 pub fn set_scoped_mocker<T: ATraceMocker + 'static>(m: T) -> MockerGuard { in set_scoped_mocker() function
557 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_set_tracing_enabled()
582 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_atrace_init()
609 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_atrace_get_enabled_tags()
645 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_trace_begin()
674 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in trace_begin_not_called_with_disabled_tag()
700 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_trace_end()
733 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in can_combine_tags()
760 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_is_tag_enabled()
797 let _guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in forwards_async_begin()
[all …]
Dtracing_subscriber.rs314 pub fn set_scoped_mocker<T: ATraceMocker + 'static>(m: T) -> MockerGuard { in set_scoped_mocker() function
359 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in emits_span_begin()
391 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in emits_span_end()
444 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in span_begin_end_is_ordered()
479 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in emits_instant_event()
510 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in formats_event_without_message_with_fields_disabled()
541 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in formats_event_without_message_with_fields_enabled()
586 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in can_set_tag()
627 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in fields_ignored_when_disabled()
658 let _mock_guard = mock_atrace::set_scoped_mocker(CallCheck::default()); in formats_instant_event_fields()
[all …]