Searched refs:disableVibration (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverPolicy.java | 503 rawPolicy.disableVibration && !mAccessibilityEnabled.get(), in updatePolicyDependenciesLocked() 522 if (mEffectivePolicyRaw.disableVibration) sb.append("v"); in updatePolicyDependenciesLocked() 617 public final boolean disableVibration; field in BatterySaverPolicy.Policy 684 boolean disableVibration, in Policy() argument 703 this.disableVibration = disableVibration; in Policy() 737 disableVibration, in Policy() 790 .setDisableVibration(disableVibration) in toConfig() 856 KEY_DISABLE_VIBRATION + configSuffix, defaultPolicy.disableVibration); in fromSettings() 914 && disableVibration == other.disableVibration in equals() 979 return builder.setBatterySaverEnabled(currPolicy.disableVibration) in getBatterySaverPolicy() [all …]
|
/frameworks/native/services/powermanager/include/android/ |
D | BatterySaverPolicyConfig.h | 44 bool disableVibration = false, 63 mDisableVibration(disableVibration), in mAdjustBrightnessFactor()
|
/frameworks/base/core/tests/coretests/jni/ |
D | NativePowerManagerTest.cpp | 50 jfieldID disableVibration; member 124 env->GetBooleanField(bsObj, gBSPCFieldIds.disableVibration), in nativeObtainBSPConfigParcel() 174 env->GetBooleanField(bsObj, gBSPCFieldIds.disableVibration), in nativeUnparcelAndVerifyBSPConfig() 233 gBSPCFieldIds.disableVibration = GetFieldIDOrDie(env, bspcClazz, "mDisableVibration", "Z"); in JNI_OnLoad()
|
/frameworks/base/core/java/android/os/ |
D | BatterySaverPolicyConfig.java | 488 public Builder setDisableVibration(boolean disableVibration) { in setDisableVibration() argument 489 mDisableVibration = disableVibration; in setDisableVibration()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 456 assertTrue(policy.disableVibration); in testUserSettingsOverrideDeviceConfig() 502 assertFalse(policy.disableVibration); in testDeviceConfigOverridesDefaults() 579 assertTrue(policy.disableVibration); in testDeviceConfig_AdaptiveValues()
|