Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_ptrace_test.cpp63 enum class HwFeature { Watchpoint, Breakpoint }; enum
65 static void check_hw_feature_supported(pid_t child, HwFeature feature) { in check_hw_feature_supported()
81 } else if (feature == HwFeature::Watchpoint && wp_count == 0) { in check_hw_feature_supported()
83 } else if (feature == HwFeature::Breakpoint && hb_count == 0) { in check_hw_feature_supported()
94 feature == HwFeature::Watchpoint ? NT_ARM_HW_WATCH : NT_ARM_HW_BREAK, &iov); in check_hw_feature_supported()
99 if (feature == HwFeature::Watchpoint) { in check_hw_feature_supported()
186 check_hw_feature_supported(child, HwFeature::Watchpoint); in run_watchpoint_test()
360 check_hw_feature_supported(child, HwFeature::Breakpoint); in TEST()