Searched refs:policy_ (Results 1 – 14 of 14) sorted by relevance
/external/libbrillo/brillo/ |
D | backoff_entry.cc | 18 : policy_(policy) { in BackoffEntry() 19 DCHECK(policy_); in BackoffEntry() 46 if (policy_->always_use_initial_delay) in InformOfRequest() 47 delay = base::TimeDelta::FromMilliseconds(policy_->initial_delay_ms); in InformOfRequest() 73 if (policy_->entry_lifetime_ms == -1) in CanDiscard() 88 return unused_since_ms >= std::max(policy_->maximum_backoff_ms, in CanDiscard() 89 policy_->entry_lifetime_ms); in CanDiscard() 94 return unused_since_ms >= policy_->entry_lifetime_ms; in CanDiscard() 114 std::max(0, failure_count_ - policy_->num_errors_to_ignore); in CalculateReleaseTime() 118 if (policy_->always_use_initial_delay) in CalculateReleaseTime() [all …]
|
D | backoff_entry.h | 108 const Policy* const policy_; variable
|
/external/libweave/src/ |
D | backoff_entry.cc | 17 : policy_(policy) { in BackoffEntry() 18 DCHECK(policy_); in BackoffEntry() 45 if (policy_->always_use_initial_delay) in InformOfRequest() 46 delay = base::TimeDelta::FromMilliseconds(policy_->initial_delay_ms); in InformOfRequest() 72 if (policy_->entry_lifetime_ms == -1) in CanDiscard() 88 std::max(policy_->maximum_backoff_ms, policy_->entry_lifetime_ms); in CanDiscard() 93 return unused_since_ms >= policy_->entry_lifetime_ms; in CanDiscard() 113 std::max(0, failure_count_ - policy_->num_errors_to_ignore); in CalculateReleaseTime() 117 if (policy_->always_use_initial_delay) in CalculateReleaseTime() 133 double delay_ms = policy_->initial_delay_ms; in CalculateReleaseTime() [all …]
|
D | backoff_entry.h | 107 const Policy* const policy_; variable
|
/external/webrtc/webrtc/base/ |
D | winfirewall.cc | 31 WinFirewall::WinFirewall() : mgr_(NULL), policy_(NULL), profile_(NULL) { in WinFirewall() 51 hr = mgr_->get_LocalPolicy(&policy_); in Initialize() 52 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize() 53 hr = policy_->get_CurrentProfile(&profile_); in Initialize() 62 RELEASE(policy_); in Shutdown()
|
D | winfirewall.h | 48 INetFwPolicy* policy_; variable
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | sandbox_bpf.cc | 125 : proc_fd_(), sandbox_has_started_(false), policy_(policy) { in SandboxBPF() 150 DCHECK(policy_); in StartSandbox() 222 DCHECK(policy_); in AssembleFilter() 224 bpf_dsl::PolicyCompiler compiler(policy_.get(), Trap::Registry()); in AssembleFilter() 255 policy_.reset(); in InstallFilter()
|
D | sandbox_bpf.h | 107 scoped_ptr<bpf_dsl::Policy> policy_; variable
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | policy_compiler.cc | 91 : policy_(policy), in PolicyCompiler() 96 has_unsafe_traps_(HasUnsafeTraps(policy_)) { in PolicyCompiler() 104 CHECK(policy_->InvalidSyscall()->IsDeny()) in Compile() 112 CHECK(policy_->EvaluateSyscall(sysnum)->IsAllow()) in Compile() 227 const CodeGen::Node invalid_node = CompileResult(policy_->InvalidSyscall()); in FindRanges() 231 ? CompileResult(policy_->EvaluateSyscall(old_sysnum)) in FindRanges() 237 ? CompileResult(policy_->EvaluateSyscall(static_cast<int>(sysnum))) in FindRanges()
|
D | policy_compiler.h | 139 const Policy* policy_; variable
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 116 if (!policy_.ParseFromString(polstr) || !policy_.has_policy_data()) { in LoadPolicy() 120 policy_data_.ParseFromString(policy_.policy_data()); in LoadPolicy() 414 if (policy_.has_policy_data_signature()) { in VerifyPolicySignature() 415 std::string policy_data = policy_.policy_data(); in VerifyPolicySignature() 416 std::string policy_data_signature = policy_.policy_data_signature(); in VerifyPolicySignature()
|
D | device_policy_impl.h | 73 enterprise_management::PolicyFetchResponse policy_; variable
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process.cc | 43 policy_(denied_errno, permissions) { in BrokerProcess() 79 broker_client_.reset(new BrokerClient(policy_, std::move(ipc_writer), in Init() 89 BrokerHost broker_host(policy_, std::move(ipc_reader)); in Init()
|
D | broker_process.h | 84 syscall_broker::BrokerPolicy policy_; // The sandboxing policy. variable
|