APISonar


android.os.PowerManager.ServiceType.GPS

> android > os > PowerManager > ServiceType > GPS
android APIs os APIs PowerManager 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);
    }