Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java506 rawPolicy.enableFirewall, in updatePolicyDependenciesLocked()
529 if (mEffectivePolicyRaw.enableFirewall) sb.append("f"); in updatePolicyDependenciesLocked()
642 public final boolean enableFirewall; field in BatterySaverPolicy.Policy
687 boolean enableFirewall, in Policy() argument
706 this.enableFirewall = enableFirewall; in Policy()
740 enableFirewall, in Policy()
793 .setEnableFirewall(enableFirewall) in toConfig()
862 final boolean enableFirewall = userSettingDeviceConfigMediator.getBoolean( in fromSettings()
863 KEY_ENABLE_FIREWALL + configSuffix, defaultPolicy.enableFirewall); in fromSettings()
891 enableFirewall, in fromSettings()
[all …]
/frameworks/native/services/powermanager/include/android/
DBatterySaverPolicyConfig.h47 bool enableFirewall = false,
66 mEnableFirewall(enableFirewall), in mAdjustBrightnessFactor()
/frameworks/base/core/tests/coretests/jni/
DNativePowerManagerTest.cpp53 jfieldID enableFirewall; member
127 env->GetBooleanField(bsObj, gBSPCFieldIds.enableFirewall), in nativeObtainBSPConfigParcel()
177 env->GetBooleanField(bsObj, gBSPCFieldIds.enableFirewall), in nativeUnparcelAndVerifyBSPConfig()
237 gBSPCFieldIds.enableFirewall = GetFieldIDOrDie(env, bspcClazz, "mEnableFirewall", "Z"); in JNI_OnLoad()
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java512 public Builder setEnableFirewall(boolean enableFirewall) { in setEnableFirewall() argument
513 mEnableFirewall = enableFirewall; in setEnableFirewall()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySaverPolicyTest.java459 assertTrue(policy.enableFirewall); in testUserSettingsOverrideDeviceConfig()
505 assertFalse(policy.enableFirewall); in testDeviceConfigOverridesDefaults()
582 assertTrue(policy.enableFirewall); in testDeviceConfig_AdaptiveValues()