Home
last modified time | relevance | path

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

/external/libweave/src/
Dbackoff_entry_unittest.cc14 BackoffEntry::Policy base_policy = {0, 1000, 2.0, 0.0, 20000, 2000, false}; variable
38 TestBackoffEntry entry(&base_policy); in TEST()
48 BackoffEntry::Policy never_expires_policy = base_policy; in TEST()
57 TestBackoffEntry entry(&base_policy); in TEST()
70 TimeDelta::FromMilliseconds(base_policy.maximum_backoff_ms + 1)); in TEST()
75 TimeDelta::FromMilliseconds(base_policy.entry_lifetime_ms - 1)); in TEST()
79 TimeDelta::FromMilliseconds(base_policy.entry_lifetime_ms)); in TEST()
84 BackoffEntry::Policy always_delay_policy = base_policy; in TEST()
104 BackoffEntry::Policy no_store_policy = base_policy; in TEST()
111 BackoffEntry::Policy lenient_policy = base_policy; in TEST()
[all …]
/external/libbrillo/brillo/
Dbackoff_entry_unittest.cc13 BackoffEntry::Policy base_policy = { 0, 1000, 2.0, 0.0, 20000, 2000, false }; variable
40 TestBackoffEntry entry(&base_policy); in TEST()
50 BackoffEntry::Policy never_expires_policy = base_policy; in TEST()
59 TestBackoffEntry entry(&base_policy); in TEST()
72 base_policy.maximum_backoff_ms + 1)); in TEST()
77 base_policy.entry_lifetime_ms - 1)); in TEST()
81 base_policy.entry_lifetime_ms)); in TEST()
86 BackoffEntry::Policy always_delay_policy = base_policy; in TEST()
106 BackoffEntry::Policy no_store_policy = base_policy; in TEST()
113 BackoffEntry::Policy lenient_policy = base_policy; in TEST()
[all …]
/external/selinux/checkpolicy/
Dpolicy_parse.y162 policy : base_policy
165 base_policy : { if (define_policy(pass, 0) == -1) return -1; }