Searched refs:mLocationMode (Results 1 – 3 of 3) sorted by relevance
53 private final int mLocationMode; field in BatterySaverPolicyConfig75 mLocationMode = Math.max(PowerManager.MIN_LOCATION_MODE, in BatterySaverPolicyConfig()76 Math.min(in.mLocationMode, PowerManager.MAX_LOCATION_MODE)); in BatterySaverPolicyConfig()111 mLocationMode = Math.max(PowerManager.MIN_LOCATION_MODE, in BatterySaverPolicyConfig()162 dest.writeInt(mLocationMode); in writeToParcel()184 + "gps_mode=" + mLocationMode + "," in toString()315 return mLocationMode; in getLocationMode()338 private int mLocationMode = PowerManager.LOCATION_MODE_NO_CHANGE; field in BatterySaverPolicyConfig.Builder372 mLocationMode = batterySaverPolicyConfig.getLocationMode(); in Builder()553 mLocationMode = locationMode; in setLocationMode()
44 locationMode = builder.mLocationMode; in PowerSaveState()75 private int mLocationMode = 0; field in PowerSaveState.Builder97 mLocationMode = mode; in setLocationMode()
78 private final IntegerSecureSetting mLocationMode; field in SystemSettingsHelper90 mLocationMode = new IntegerSecureSetting(context, LOCATION_MODE, FgThread.getHandler()); in SystemSettingsHelper()113 mLocationMode.register(); in onSystemReady()123 return mLocationMode.getValueForUser(LOCATION_MODE_OFF, userId) != LOCATION_MODE_OFF; in isLocationEnabled()144 mLocationMode.addListener(listener); in addOnLocationEnabledChangedListener()149 mLocationMode.removeListener(listener); in removeOnLocationEnabledChangedListener()