Searched refs:mLocationMode (Results 1 – 7 of 7) sorted by relevance
41 mLocationMode(locationMode), in mBatterySaverEnabled()48 LocationMode getLocationMode() const { return mLocationMode; } in getLocationMode()54 mLocationMode == ps.mLocationMode &&67 LocationMode mLocationMode; member
71 mLocationMode(locationMode), in mAdjustBrightnessFactor()95 mLocationMode == bsp.mLocationMode &&137 LocationMode mLocationMode; member
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()
33 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mLocationMode)) in readFromParcel()46 ?: parcel->writeInt32(static_cast<int32_t>(mLocationMode)) in writeToParcel()
66 ?: parcel->readInt32(reinterpret_cast<int32_t *>(&mLocationMode)) in readFromParcel()108 ?: parcel->writeInt32(static_cast<int32_t>(mLocationMode)) in writeToParcel()
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()