Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dbackoff_entry.cc18 : 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 …]
Dbackoff_entry.h108 const Policy* const policy_; variable
/external/webrtc/webrtc/base/
Dwinfirewall.cc31 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()
Dwinfirewall.h48 INetFwPolicy* policy_; variable
/external/libbrillo/policy/
Ddevice_policy_impl.cc475 if (policy_.has_policy_data_signature()) { in VerifyPolicySignature()
476 std::string policy_data = policy_.policy_data(); in VerifyPolicySignature()
477 std::string policy_data_signature = policy_.policy_data_signature(); in VerifyPolicySignature()
495 if (policy::LoadPolicyFromPath(policy_path, &policy_data_str, &policy_) != in LoadPolicyFromFile()
499 if (!policy_.has_policy_data()) { in LoadPolicyFromFile()
503 if (!policy_data_.ParseFromString(policy_.policy_data()) || in LoadPolicyFromFile()
Ddevice_policy_impl.h104 enterprise_management::PolicyFetchResponse policy_; variable
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2637 storage_.policy_ = allocate & 0x3; in CZString()
2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2645 storage_.policy_ = (other.cstr_ in CZString()
2646 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication in CZString()
2648 : static_cast<DuplicationPolicy>(other.storage_.policy_)); in CZString()
2660 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2703 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
Djson.h617 unsigned policy_: 2; member