Home
last modified time | relevance | path

Searched refs:getIntArray (Results 1 – 25 of 112) sorted by relevance

12345

/aosp14/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyValueListParserTest.java50 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayNullInput()
57 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyInput()
64 int[] result = mParser.getIntArray(null, DEFAULT); in testParseIntArrayNullKey()
71 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayComplexInput()
80 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayLeadingSep()
87 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyItem()
94 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayTrailingSep()
104 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayGoodData()
/aosp14/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
H A DPosturesHelper.kt32 context.resources.getIntArray(R.array.config_foldedDeviceStates)
34 context.resources.getIntArray(R.array.config_halfFoldedDeviceStates)
36 context.resources.getIntArray(R.array.config_openDeviceStates)
38 context.resources.getIntArray(R.array.config_rearDisplayDeviceStates)
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDeviceStateController.java80 .getIntArray(R.array.config_openDeviceStates); in DeviceStateController()
82 .getIntArray(R.array.config_halfFoldedDeviceStates); in DeviceStateController()
84 .getIntArray(R.array.config_foldedDeviceStates); in DeviceStateController()
86 .getIntArray(R.array.config_rearDisplayDeviceStates); in DeviceStateController()
90 .getIntArray(R.array.config_deviceStatesToReverseDefaultDisplayRotationAroundZAxis); in DeviceStateController()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceStateRotationLockSettingControllerLogger.kt33 private val foldedStates = context.resources.getIntArray(R.array.config_foldedDeviceStates)
35 context.resources.getIntArray(R.array.config_halfFoldedDeviceStates)
36 private val unfoldedStates = context.resources.getIntArray(R.array.config_openDeviceStates)
38 context.resources.getIntArray(R.array.config_rearDisplayDeviceStates)
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DDisplayDeviceConfigTest.java938 when(mResources.getIntArray(com.android.internal.R.array in setupDisplayDeviceConfigFromConfigResourceFile()
941 when(mResources.getIntArray(com.android.internal.R.array in setupDisplayDeviceConfigFromConfigResourceFile()
943 when(mResources.getIntArray(com.android.internal.R.array in setupDisplayDeviceConfigFromConfigResourceFile()
952 when(mResources.getIntArray( in setupDisplayDeviceConfigFromConfigResourceFile()
963 when(mResources.getIntArray( in setupDisplayDeviceConfigFromConfigResourceFile()
968 when(mResources.getIntArray(R.array.config_screenBrighteningThresholds)) in setupDisplayDeviceConfigFromConfigResourceFile()
970 when(mResources.getIntArray(R.array.config_screenDarkeningThresholds)) in setupDisplayDeviceConfigFromConfigResourceFile()
982 when(mResources.getIntArray(R.array.config_brightnessThresholdsOfPeakRefreshRate)) in setupDisplayDeviceConfigFromConfigResourceFile()
984 when(mResources.getIntArray(R.array.config_ambientThresholdsOfPeakRefreshRate)) in setupDisplayDeviceConfigFromConfigResourceFile()
986 when(mResources.getIntArray( in setupDisplayDeviceConfigFromConfigResourceFile()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
H A DPosturesHelperTest.kt61 whenever(resources.getIntArray(R.array.config_foldedDeviceStates))
63 whenever(resources.getIntArray(R.array.config_halfFoldedDeviceStates))
65 whenever(resources.getIntArray(R.array.config_openDeviceStates))
67 whenever(resources.getIntArray(R.array.config_rearDisplayDeviceStates))
H A DDeviceStateRotationLockSettingsManagerTest.java75 when(mMockResources.getIntArray(R.array.config_foldedDeviceStates)) in setUp()
77 when(mMockResources.getIntArray(R.array.config_halfFoldedDeviceStates)) in setUp()
79 when(mMockResources.getIntArray(R.array.config_openDeviceStates)) in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicy.java192 screenBrightnessArray = mParser.getIntArray(KEY_SCREEN_BRIGHTNESS_ARRAY, in update()
193 resources.getIntArray( in update()
195 dimmingScrimArray = mParser.getIntArray(KEY_DIMMING_SCRIM_ARRAY, in update()
196 resources.getIntArray( in update()
/aosp14/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A DIkeSaProposalUtils.java67 final int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
73 final int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
79 final int[] prfArray = in.getIntArray(PRF_KEY); in fromPersistableBundle()
H A DChildSaProposalUtils.java59 final int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
65 final int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DFoldStateListener.kt42 context.resources.getIntArray(R.array.config_foldedDeviceStates)
44 context.resources.getIntArray(R.array.config_deviceStatesOnWhichToSleep)
/aosp14/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java69 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
96 int[] oldIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS); in onReceive()
97 int[] newIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDeviceStateControllerTests.java181 .getIntArray(R.array.config_openDeviceStates)) in mockFold()
184 .getIntArray(R.array.config_rearDisplayDeviceStates)) in mockFold()
198 .getIntArray(R.array.config_foldedDeviceStates)) in mockFold()
203 .getIntArray(R.array.config_halfFoldedDeviceStates)) in mockFold()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
H A DColorDisplayServiceTest.java99 doReturn(MINIMAL_COLOR_MODES).when(res).getIntArray(R.array.config_availableColorModes); in setUp()
1083 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_noResources()
1085 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_noResources()
1095 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_invalidResources()
1100 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_invalidResources()
1113 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_validColorMode()
1117 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_validColorMode()
1129 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_invalidColorMode()
1133 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_invalidColorMode()
1145 when(mResourcesSpy.getIntArray(R.array.config_availableColorModes)) in getColorMode_noAvailableModes_returnsNotSet()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFaceAuthenticationClient.java89 mBiometricPromptIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
91 mBiometricPromptIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
93 mKeyguardIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
95 mKeyguardIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
H A DFaceEnrollClient.java70 .getIntArray(R.array.config_face_acquire_enroll_ignorelist); in FaceEnrollClient()
72 .getIntArray(R.array.config_face_acquire_vendor_enroll_ignorelist); in FaceEnrollClient()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicyTest.java68 assertThat(policy.screenBrightnessArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue()
70 assertThat(policy.dimmingScrimArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DFaceAuthenticationClient.java121 mBiometricPromptIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
123 mBiometricPromptIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
125 mKeyguardIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
127 mKeyguardIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DFaceHelpMessageDeferral.kt44 resources.getIntArray(R.array.config_face_help_msgs_defer_until_timeout).toHashSet(),
45 resources.getIntArray(R.array.config_face_help_msgs_ignore).toHashSet(),
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/input/
H A DAmbientKeyboardBacklightControllerTests.kt110 `when`(resources.getIntArray(R.array.config_autoKeyboardBacklightBrightnessValues))
112 `when`(resources.getIntArray(R.array.config_autoKeyboardBacklightDecreaseLuxThreshold))
114 `when`(resources.getIntArray(R.array.config_autoKeyboardBacklightIncreaseLuxThreshold))
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/
H A DFoldableTestUtils.kt26 val foldedDeviceStates: IntArray = context.resources.getIntArray(
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrengthNr.java413 mSsRsrpThresholds = cc.getIntArray( in updateLevel()
419 mSsRsrqThresholds = cc.getIntArray( in updateLevel()
425 mSsSinrThresholds = cc.getIntArray( in updateLevel()
H A DCellSignalStrengthLte.java271 rsrpThresholds = cc.getIntArray( in updateLevel()
278 rsrqThresholds = cc.getIntArray( in updateLevel()
285 rssnrThresholds = cc.getIntArray( in updateLevel()
/aosp14/frameworks/base/services/core/java/com/android/server/input/
H A DAmbientKeyboardBacklightController.java310 int[] brightnessValueArray = res.getIntArray( in initConfiguration()
312 int[] decreaseThresholdArray = res.getIntArray( in initConfiguration()
314 int[] increaseThresholdArray = res.getIntArray( in initConfiguration()
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DFood.java55 return context.getResources().getIntArray(R.array.food_intervals)[mType]; in getInterval()

12345