Searched refs:restrictBackground (Results 1 – 4 of 4) sorted by relevance
263 void NetSupplier::SetRestrictBackground(bool restrictBackground) in SetRestrictBackground() argument265 restrictBackground_ = restrictBackground; in SetRestrictBackground()
402 int32_t NetConnService::RestrictBackgroundChanged(bool restrictBackground) in RestrictBackgroundChanged() argument406 netConnEventHandler_->PostSyncTask([this, restrictBackground, &result]() { in RestrictBackgroundChanged()407 result = this->RestrictBackgroundChangedAsync(restrictBackground); in RestrictBackgroundChanged()862 int32_t NetConnService::RestrictBackgroundChangedAsync(bool restrictBackground) in RestrictBackgroundChangedAsync() argument864 NETMGR_LOG_I("Restrict background changed, background = %{public}d", restrictBackground); in RestrictBackgroundChangedAsync()870 if (it->second->GetRestrictBackground() == restrictBackground) { in RestrictBackgroundChangedAsync()878 it->second->SetRestrictBackground(restrictBackground); in RestrictBackgroundChangedAsync()
126 void SetRestrictBackground(bool restrictBackground);
443 int32_t RestrictBackgroundChangedAsync(bool restrictBackground);