OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BatterySaverUtils
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/
BatterySaverAction.java
22
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
34
BatterySaverUtils
.setPowerSaveMode(mContext, true, /*needFirstTimeWarning*/ true);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySaverModeVoiceActivity.java
25
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
37
if (
BatterySaverUtils
.setPowerSaveMode(this,
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
AutoBatterySaverPreferenceController.java
24
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
65
BatterySaverUtils
.setAutoBatterySaverTriggerLevel(mContext,
BatterySaverButtonPreferenceController.java
30
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
85
return
BatterySaverUtils
.setPowerSaveMode(mContext, stateOn,
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/
BatterySaverUtilsTest.java
73
assertEquals(false,
BatterySaverUtils
.setPowerSaveMode(mMockContext, true, true));
90
assertEquals(true,
BatterySaverUtils
.setPowerSaveMode(mMockContext, true, true));
104
assertEquals(true,
BatterySaverUtils
.setPowerSaveMode(mMockContext, true, true));
118
assertEquals(true,
BatterySaverUtils
.setPowerSaveMode(mMockContext, true, false));
133
assertEquals(true,
BatterySaverUtils
.setPowerSaveMode(mMockContext, false, false));
149
assertEquals(true,
BatterySaverUtils
.setPowerSaveMode(mMockContext, false, true));
163
BatterySaverUtils
.ensureAutoBatterySaver(mMockContext, BATTERY_SAVER_THRESHOLD_1);
169
BatterySaverUtils
.ensureAutoBatterySaver(mMockContext, BATTERY_SAVER_THRESHOLD_2);
179
BatterySaverUtils
.setAutoBatterySaverTriggerLevel(mMockContext, 0);
185
BatterySaverUtils
.setAutoBatterySaverTriggerLevel(mMockContext, BATTERY_SAVER_THRESHOLD_1 )
[
all
...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
BatterySaverUtils.java
32
public class
BatterySaverUtils
{
33
private static final String TAG = "
BatterySaverUtils
";
35
private
BatterySaverUtils
() {
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
BatterySaverCondition.java
28
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
81
BatterySaverUtils
.setPowerSaveMode(mManager.getContext(), false,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
BatteryControllerImpl.java
31
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
97
BatterySaverUtils
.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerNotificationWarnings.java
48
import com.android.settingslib.fuelgauge.
BatterySaverUtils
;
90
BatterySaverUtils
.ACTION_SHOW_START_SAVER_CONFIRMATION;
92
BatterySaverUtils
.ACTION_SHOW_AUTO_SAVER_SUGGESTION;
613
BatterySaverUtils
.setPowerSaveMode(mContext, mode, needFirstTimeWarning);
623
BatterySaverUtils
.ensureAutoBatterySaver(mContext, autoTriggerThreshold);
681
BatterySaverUtils
.suppressAutoBatterySaver(context);
Completed in 696 milliseconds