Home
last modified time | relevance | path

Searched refs:getInteger (Results 1 – 25 of 161) sorted by relevance

1234567

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java64 when(resources.getInteger( in setUpResources()
67 when(resources.getInteger( in setUpResources()
70 when(resources.getInteger( in setUpResources()
73 when(resources.getInteger( in setUpResources()
76 when(resources.getInteger( in setUpResources()
79 when(resources.getInteger( in setUpResources()
82 when(resources.getInteger( in setUpResources()
85 when(resources.getInteger( in setUpResources()
88 when(resources.getInteger( in setUpResources()
91 when(resources.getInteger( in setUpResources()
DSavedNetworkEvaluatorTest.java62 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
64 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
66 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
68 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
70 mThresholdSaturatedRssi2G = mResource.getInteger( in setUp()
72 mThresholdSaturatedRssi5G = mResource.getInteger( in setUp()
104 when(mResource.getInteger( in setupResource()
107 when(mResource.getInteger( in setupResource()
110 when(mResource.getInteger( in setupResource()
113 when(mResource.getInteger( in setupResource()
[all …]
DWifiNetworkSelectorTest.java69 mThresholdMinimumRssi2G = mResource.getInteger( in setUp()
71 mThresholdMinimumRssi5G = mResource.getInteger( in setUp()
73 mThresholdQualifiedRssi2G = mResource.getInteger( in setUp()
75 mThresholdQualifiedRssi5G = mResource.getInteger( in setUp()
135 when(mResource.getInteger( in setupResources()
138 when(mResource.getInteger( in setupResources()
141 when(mResource.getInteger( in setupResources()
144 when(mResource.getInteger( in setupResources()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java76 mThresholdMinimumRssi5 = context.getResources().getInteger( in WifiScoreReport()
78 mThresholdQualifiedRssi5 = context.getResources().getInteger( in WifiScoreReport()
80 mThresholdSaturatedRssi5 = context.getResources().getInteger( in WifiScoreReport()
82 mThresholdMinimumRssi24 = context.getResources().getInteger( in WifiScoreReport()
84 mThresholdQualifiedRssi24 = context.getResources().getInteger( in WifiScoreReport()
86 mThresholdSaturatedRssi24 = context.getResources().getInteger( in WifiScoreReport()
88 mBadLinkSpeed24 = context.getResources().getInteger( in WifiScoreReport()
90 mBadLinkSpeed5 = context.getResources().getInteger( in WifiScoreReport()
92 mGoodLinkSpeed24 = context.getResources().getInteger( in WifiScoreReport()
94 mGoodLinkSpeed5 = context.getResources().getInteger( in WifiScoreReport()
DSavedNetworkEvaluator.java58 mRssiScoreSlope = context.getResources().getInteger( in SavedNetworkEvaluator()
60 mRssiScoreOffset = context.getResources().getInteger( in SavedNetworkEvaluator()
62 mSameBssidAward = context.getResources().getInteger( in SavedNetworkEvaluator()
64 mSameNetworkAward = context.getResources().getInteger( in SavedNetworkEvaluator()
66 mLastSelectionAward = context.getResources().getInteger( in SavedNetworkEvaluator()
68 mSecurityAward = context.getResources().getInteger( in SavedNetworkEvaluator()
70 mBand5GHzAward = context.getResources().getInteger( in SavedNetworkEvaluator()
72 mThresholdSaturatedRssi24 = context.getResources().getInteger( in SavedNetworkEvaluator()
74 mThresholdSaturatedRssi5 = context.getResources().getInteger( in SavedNetworkEvaluator()
DWifiConnectivityManager.java551 mMin5GHzRssi = context.getResources().getInteger( in WifiConnectivityManager()
553 mMin24GHzRssi = context.getResources().getInteger( in WifiConnectivityManager()
555 mBand5GHzBonus = context.getResources().getInteger( in WifiConnectivityManager()
557 mCurrentConnectionBonus = context.getResources().getInteger( in WifiConnectivityManager()
559 mSameNetworkBonus = context.getResources().getInteger( in WifiConnectivityManager()
561 mSecureBonus = context.getResources().getInteger( in WifiConnectivityManager()
563 int thresholdSaturatedRssi24 = context.getResources().getInteger( in WifiConnectivityManager()
567 mInitialScoreMax = (context.getResources().getInteger( in WifiConnectivityManager()
569 + context.getResources().getInteger( in WifiConnectivityManager()
571 * context.getResources().getInteger( in WifiConnectivityManager()
DWifiNetworkSelector.java520 mThresholdQualifiedRssi24 = context.getResources().getInteger( in WifiNetworkSelector()
522 mThresholdQualifiedRssi5 = context.getResources().getInteger( in WifiNetworkSelector()
524 mThresholdMinimumRssi24 = context.getResources().getInteger( in WifiNetworkSelector()
526 mThresholdMinimumRssi5 = context.getResources().getInteger( in WifiNetworkSelector()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteGlobal.java84 Resources.getSystem().getInteger( in getJournalSizeLimit()
111 Resources.getSystem().getInteger( in getWALAutoCheckpoint()
121 Resources.getSystem().getInteger( in getWALConnectionPoolSize()
/frameworks/base/core/java/com/android/internal/app/
DNightDisplayController.java156 autoMode = mContext.getResources().getInteger( in getAutoMode()
201 startTimeValue = mContext.getResources().getInteger( in getCustomStartTime()
235 endTimeValue = mContext.getResources().getInteger( in getCustomEndTime()
296 return mContext.getResources().getInteger( in getMinimumColorTemperature()
304 return mContext.getResources().getInteger( in getMaximumColorTemperature()
312 return mContext.getResources().getInteger( in getDefaultColorTemperature()
/frameworks/base/core/java/android/os/
DPowerManager.java503 return mContext.getResources().getInteger( in getMinimumScreenBrightnessSetting()
514 return mContext.getResources().getInteger( in getMaximumScreenBrightnessSetting()
523 return mContext.getResources().getInteger( in getDefaultScreenBrightnessSetting()
532 return mContext.getResources().getInteger( in getMinimumScreenBrightnessForVrSetting()
543 return mContext.getResources().getInteger( in getMaximumScreenBrightnessForVrSetting()
552 return mContext.getResources().getInteger( in getDefaultScreenBrightnessForVrSetting()
/frameworks/base/media/java/android/media/
DSubtitleController.java227 format.getInteger(MediaFormat.KEY_IS_FORCED_SUBTITLE, 0) != 0; in getDefaultTrack()
229 format.getInteger(MediaFormat.KEY_IS_AUTOSELECT, 1) != 0; in getDefaultTrack()
231 format.getInteger(MediaFormat.KEY_IS_DEFAULT, 0) != 0; in getDefaultTrack()
276 mSelectedTrack.getFormat().getInteger( in doSelectDefaultTrack()
DMediaFormat.java833 public final int getInteger(String name) { in getInteger() method in MediaFormat
842 public final int getInteger(String name, int defaultValue) { in getInteger() method in MediaFormat
844 return getInteger(name); in getInteger()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java293 final int screenBrightnessSettingMinimum = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
296 mScreenBrightnessDozeConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
299 mScreenBrightnessDimConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
302 mScreenBrightnessDarkConfig = clampAbsoluteBrightness(resources.getInteger( in DisplayPowerController()
328 mBrightnessRampRateFast = resources.getInteger( in DisplayPowerController()
330 mBrightnessRampRateSlow = resources.getInteger( in DisplayPowerController()
335 int lightSensorRate = resources.getInteger( in DisplayPowerController()
337 int initialLightSensorRate = resources.getInteger( in DisplayPowerController()
346 long brighteningLightDebounce = resources.getInteger( in DisplayPowerController()
348 long darkeningLightDebounce = resources.getInteger( in DisplayPowerController()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseCardView.java162 mCardType = a.getInteger(R.styleable.lbBaseCardView_cardType, CARD_TYPE_MAIN_ONLY); in BaseCardView()
171 mInfoVisibility = a.getInteger(R.styleable.lbBaseCardView_infoVisibility, in BaseCardView()
173 mExtraVisibility = a.getInteger(R.styleable.lbBaseCardView_extraVisibility, in BaseCardView()
180 mSelectedAnimationDelay = a.getInteger( in BaseCardView()
182 getResources().getInteger(R.integer.lb_card_selected_animation_delay)); in BaseCardView()
184 mSelectedAnimDuration = a.getInteger( in BaseCardView()
186 getResources().getInteger(R.integer.lb_card_selected_animation_duration)); in BaseCardView()
189 a.getInteger(R.styleable.lbBaseCardView_activatedAnimationDuration, in BaseCardView()
190 getResources().getInteger(R.integer.lb_card_activated_animation_duration)); in BaseCardView()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DAudioTrackDecoder.java56 mAudioSampleRate = format.getInteger(MediaFormat.KEY_SAMPLE_RATE); in AudioTrackDecoder()
57 mAudioChannelCount = format.getInteger(MediaFormat.KEY_CHANNEL_COUNT); in AudioTrackDecoder()
DCpuVideoTrackDecoder.java61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); in CpuVideoTrackDecoder()
62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in CpuVideoTrackDecoder()
87 mColorFormat = codec.getOutputFormat().getInteger(MediaFormat.KEY_COLOR_FORMAT); in onDataAvailable()
DGpuVideoTrackDecoder.java82 mOutputWidth = format.getInteger(MediaFormat.KEY_WIDTH); in GpuVideoTrackDecoder()
83 mOutputHeight = format.getInteger(MediaFormat.KEY_HEIGHT); in GpuVideoTrackDecoder()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java168 mCriticalBatteryLevel = mContext.getResources().getInteger( in BatteryService()
170 mLowBatteryWarningLevel = mContext.getResources().getInteger( in BatteryService()
172 mLowBatteryCloseWarningLevel = mLowBatteryWarningLevel + mContext.getResources().getInteger( in BatteryService()
174 mShutdownBatteryTemperature = mContext.getResources().getInteger( in BatteryService()
235 int defWarnLevel = mContext.getResources().getInteger( in updateBatteryWarningLevelLocked()
245 mLowBatteryCloseWarningLevel = mLowBatteryWarningLevel + mContext.getResources().getInteger( in updateBatteryWarningLevelLocked()
893 mBatteryLowARGB = context.getResources().getInteger( in Led()
895 mBatteryMediumARGB = context.getResources().getInteger( in Led()
897 mBatteryFullARGB = context.getResources().getInteger( in Led()
899 mBatteryLedOn = context.getResources().getInteger( in Led()
[all …]
DNetworkTimeUpdateService.java110 mPollingIntervalMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
112 mPollingIntervalShorterMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
114 mTryAgainTimesMax = mContext.getResources().getInteger( in NetworkTimeUpdateService()
116 mTimeErrorThresholdMs = mContext.getResources().getInteger( in NetworkTimeUpdateService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java105 int critLevel = mContext.getResources().getInteger( in updateBatteryWarningLevels()
109 int defWarnLevel = mContext.getResources().getInteger( in updateBatteryWarningLevels()
123 + mContext.getResources().getInteger( in updateBatteryWarningLevels()
239 resources.getInteger(R.integer.config_showTemperatureWarning)) == 0) { in initTemperatureWarning()
244 resources.getInteger(R.integer.config_warningTemperature)); in initTemperatureWarning()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DBatteryMeterDrawableTest.java84 int criticalLevel = mResources.getInteger( in testDrawTextWarningAtCriticalLevel()
96 int criticalLevel = mResources.getInteger( in testDrawTextNoWarningAboveCriticalLevel()
/frameworks/base/services/net/java/android/net/util/
DMultinetworkPolicyTracker.java133 return (mContext.getResources().getInteger(R.integer.config_networkAvoidBadWifi) == 0); in configRestrictsAvoidBadWifi()
163 return mContext.getResources().getInteger( in configMeteredMultipathPreference()
/frameworks/base/core/java/com/android/internal/util/
DScreenShapeHelper.java20 return resources.getInteger(com.android.internal.R.integer.config_windowOutsetBottom); in getWindowOutsetBottomPx()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOManager.java367 updateIdentifier = getInteger(modRoot.getChildren().iterator().next()); in modifySP()
369 if (getInteger(oldUdi) != updateIdentifier) { in modifySP()
421 updateIdentifier = getInteger(modRoot.getChildren().iterator().next()); in modifySP()
423 if (getInteger(oldUdi) != updateIdentifier) { in modifySP()
714 updateIdentifier = getInteger(child); in buildSPs()
804 policy, getInteger(ppsRoot.getChild(TAG_CredentialPriority), 0), in buildHomeSP()
834 int eapID = getInteger(eapMethodNode.getChild(TAG_EAPType)); in buildCredential()
894 new EAPMethod(EAP.mapEAPMethod(getInteger(simNode.getChild(TAG_EAPType))), in buildCredential()
978 private static int getInteger(OMANode intNode, int dflt) throws OMAException { in getInteger() method in MOManager
982 return getInteger(intNode); in getInteger()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DPropConfig.java26 return SystemProperties.getInt(propName, context.getResources().getInteger(resId)); in getInt()

1234567