Home
last modified time | relevance | path

Searched refs:mLocationMode (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/powermanager/include/android/
DPowerSaveState.h41 mLocationMode(locationMode), in mBatterySaverEnabled()
48 LocationMode getLocationMode() const { return mLocationMode; } in getLocationMode()
54 mLocationMode == ps.mLocationMode &&
67 LocationMode mLocationMode; member
DBatterySaverPolicyConfig.h71 mLocationMode(locationMode), in mAdjustBrightnessFactor()
95 mLocationMode == bsp.mLocationMode &&
137 LocationMode mLocationMode; member
/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java53 private final int mLocationMode; field in BatterySaverPolicyConfig
75 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.Builder
372 mLocationMode = batterySaverPolicyConfig.getLocationMode(); in Builder()
553 mLocationMode = locationMode; in setLocationMode()
DPowerSaveState.java44 locationMode = builder.mLocationMode; in PowerSaveState()
75 private int mLocationMode = 0; field in PowerSaveState.Builder
97 mLocationMode = mode; in setLocationMode()
/frameworks/native/services/powermanager/
DPowerSaveState.cpp33 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mLocationMode)) in readFromParcel()
46 ?: parcel->writeInt32(static_cast<int32_t>(mLocationMode)) in writeToParcel()
DBatterySaverPolicyConfig.cpp66 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mLocationMode)) in readFromParcel()
108 ?: parcel->writeInt32(static_cast<int32_t>(mLocationMode)) in writeToParcel()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemSettingsHelper.java78 private final IntegerSecureSetting mLocationMode; field in SystemSettingsHelper
90 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()