Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/util/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java168 screenBrightnessArray = mParser.getIntArray(KEY_SCREEN_BRIGHTNESS_ARRAY, in update()
169 resources.getIntArray( in update()
171 dimmingScrimArray = mParser.getIntArray(KEY_DIMMING_SCRIM_ARRAY, in update()
172 resources.getIntArray( in update()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
91 int[] oldIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS); in onReceive()
92 int[] newIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
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()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java126 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[0]); in setUp()
144 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in getTetheringConfiguration()
228 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[]{}); in testNoDefinedUpstreamTypesAddsEthernet()
250 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in testDefinedUpstreamTypesSansEthernetAddsEthernet()
268 when(mResources.getIntArray(R.array.config_tether_upstream_types)) in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
406 when(mResourcesForSubId.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in setUpResourceForSubId()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java1070 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_noResources()
1072 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_noResources()
1085 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_invalidResources()
1090 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_invalidResources()
1106 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_validColorMode()
1110 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_validColorMode()
1125 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_invalidColorMode()
1129 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_invalidColorMode()
1221 final int[] availableColorModes = mContext.getResources().getIntArray( in isColorModeValid()
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthNr.java306 mSsRsrpThresholds = cc.getIntArray( in updateLevel()
312 mSsRsrqThresholds = cc.getIntArray( in updateLevel()
318 mSsSinrThresholds = cc.getIntArray( in updateLevel()
DCellSignalStrengthLte.java250 rsrpThresholds = cc.getIntArray( in updateLevel()
257 rsrqThresholds = cc.getIntArray( in updateLevel()
264 rssnrThresholds = cc.getIntArray( in updateLevel()
DCellSignalStrengthGsm.java121 rssiThresholds = cc.getIntArray(CarrierConfigManager.KEY_GSM_RSSI_THRESHOLDS_INT_ARRAY); in updateLevel()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DArraysCheckWidget.java43 for (int i : resources.getIntArray(R.array.int_array)) { in ArraysCheckWidget()
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
DTestAppWidgetProvider.java47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DTestAppWidgetProvider.java50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java184 final int[] iconFgColors = resources.getIntArray(R.array.bt_icon_fg_colors); in buildBtRainbowDrawable()
185 final int[] iconBgColors = resources.getIntArray(R.array.bt_icon_bg_colors); in buildBtRainbowDrawable()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockResources.java74 public int[] getIntArray(int id) { in getIntArray() method in MockResources
/frameworks/base/core/java/android/net/apf/
DApfCapabilities.java133 return Resources.getSystem().getIntArray(R.array.config_apfEthTypeBlackList); in getApfEtherTypeBlackList()
/frameworks/base/tests/net/common/java/android/net/apf/
DApfCapabilitiesTest.java94 final int[] blacklistedEtherTypeArray = mContext.getResources().getIntArray(resId); in testGetApfEtherTypeBlackList()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java1057 .getIntArray(R.array.config_face_acquire_biometricprompt_ignorelist); in FaceService()
1059 .getIntArray(R.array.config_face_acquire_vendor_biometricprompt_ignorelist); in FaceService()
1061 .getIntArray(R.array.config_face_acquire_keyguard_ignorelist); in FaceService()
1063 .getIntArray(R.array.config_face_acquire_vendor_keyguard_ignorelist); in FaceService()
1065 .getIntArray(R.array.config_face_acquire_enroll_ignorelist); in FaceService()
1067 .getIntArray(R.array.config_face_acquire_vendor_enroll_ignorelist); in FaceService()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java396 when(mockResources.getIntArray(com.android.internal.R.array.config_autoBrightnessLevels)) in createResources()
399 when(mockResources.getIntArray( in createResources()
413 when(mockResources.getIntArray( in createResources()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java447 int[] ambientBrighteningThresholds = resources.getIntArray( in DisplayPowerController()
449 int[] ambientDarkeningThresholds = resources.getIntArray( in DisplayPowerController()
451 int[] ambientThresholdLevels = resources.getIntArray( in DisplayPowerController()
457 int[] screenBrighteningThresholds = resources.getIntArray( in DisplayPowerController()
459 int[] screenDarkeningThresholds = resources.getIntArray( in DisplayPowerController()
461 int[] screenThresholdLevels = resources.getIntArray( in DisplayPowerController()
DBrightnessMappingStrategy.java57 float[] luxLevels = getLuxLevels(resources.getIntArray( in create()
59 int[] brightnessLevelsBacklight = resources.getIntArray( in create()
69 int[] backlightRange = resources.getIntArray( in create()
DDisplayModeDirector.java837 mDisplayBrightnessThresholds = context.getResources().getIntArray( in BrightnessObserver()
839 mAmbientBrightnessThresholds = context.getResources().getIntArray( in BrightnessObserver()
893 mDisplayBrightnessThresholds = mContext.getResources().getIntArray( in onDeviceConfigThresholdsChanged()
895 mAmbientBrightnessThresholds = mContext.getResources().getIntArray( in onDeviceConfigThresholdsChanged()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() method in MockResources
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java99 mColors = savedInstanceState.getIntArray(KEY_COLORS); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationSnooze.java236 final int[] snoozeTimes = mParser.getIntArray(KEY_OPTIONS, in getDefaultSnoozeOptions()
237 resources.getIntArray(R.array.config_notification_snooze_times)); in getDefaultSnoozeOptions()

123