APISonar


com.android.server.power.BatterySaverPolicy.ServiceType.GPS

> com > android > server > power > BatterySaverPolicy > ServiceType > GPS
com APIs android APIs server APIs power APIs BatterySaverPolicy APIs ServiceType APIs GPS APIs

Example 1
public void testGetBatterySaverPolicy_PolicyGps_DefaultValueCorrect() {
        testServiceDefaultValue(ServiceType.GPS);

        PowerSaveState stateOn =
                mBatterySaverPolicy.getBatterySaverPolicy(ServiceType.GPS, true);
        assertThat(stateOn.gpsMode).isEqualTo(DEFAULT_GPS_MODE);
    }