/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | KeyValueListParserTest.java | 50 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 D | PosturesHelper.kt | 32 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 D | DeviceStateController.java | 80 .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 D | DeviceStateRotationLockSettingControllerLogger.kt | 33 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 D | DisplayDeviceConfigTest.java | 938 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 D | PosturesHelperTest.kt | 61 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 D | DeviceStateRotationLockSettingsManagerTest.java | 75 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 D | AlwaysOnDisplayPolicy.java | 192 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 D | IkeSaProposalUtils.java | 67 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 D | ChildSaProposalUtils.java | 59 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 D | FoldStateListener.kt | 42 context.resources.getIntArray(R.array.config_foldedDeviceStates) 44 context.resources.getIntArray(R.array.config_deviceStatesOnWhichToSleep)
|
/aosp14/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProvider.java | 69 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 D | DeviceStateControllerTests.java | 181 .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 D | ColorDisplayServiceTest.java | 99 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 D | FaceAuthenticationClient.java | 89 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 D | FaceEnrollClient.java | 70 .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 D | AlwaysOnDisplayPolicyTest.java | 68 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 D | FaceAuthenticationClient.java | 121 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 D | FaceHelpMessageDeferral.kt | 44 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 D | AmbientKeyboardBacklightControllerTests.kt | 110 `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 D | FoldableTestUtils.kt | 26 val foldedDeviceStates: IntArray = context.resources.getIntArray(
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | CellSignalStrengthNr.java | 413 mSsRsrpThresholds = cc.getIntArray( in updateLevel() 419 mSsRsrqThresholds = cc.getIntArray( in updateLevel() 425 mSsSinrThresholds = cc.getIntArray( in updateLevel()
|
H A D | CellSignalStrengthLte.java | 271 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 D | AmbientKeyboardBacklightController.java | 310 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 D | Food.java | 55 return context.getResources().getIntArray(R.array.food_intervals)[mType]; in getInterval()
|