/frameworks/base/core/tests/coretests/src/android/util/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicy.java | 168 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/ |
D | AppWidgetProvider.java | 64 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/ |
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()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 126 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/ |
D | ColorDisplayServiceTest.java | 1070 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/ |
D | CellSignalStrengthNr.java | 306 mSsRsrpThresholds = cc.getIntArray( in updateLevel() 312 mSsRsrqThresholds = cc.getIntArray( in updateLevel() 318 mSsSinrThresholds = cc.getIntArray( in updateLevel()
|
D | CellSignalStrengthLte.java | 250 rsrpThresholds = cc.getIntArray( in updateLevel() 257 rsrqThresholds = cc.getIntArray( in updateLevel() 264 rssnrThresholds = cc.getIntArray( in updateLevel()
|
D | CellSignalStrengthGsm.java | 121 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/ |
D | ArraysCheckWidget.java | 43 for (int i : resources.getIntArray(R.array.int_array)) { in ArraysCheckWidget()
|
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
D | TestAppWidgetProvider.java | 47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetProvider.java | 50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 184 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/ |
D | MockResources.java | 74 public int[] getIntArray(int id) { in getIntArray() method in MockResources
|
/frameworks/base/core/java/android/net/apf/ |
D | ApfCapabilities.java | 133 return Resources.getSystem().getIntArray(R.array.config_apfEthTypeBlackList); in getApfEtherTypeBlackList()
|
/frameworks/base/tests/net/common/java/android/net/apf/ |
D | ApfCapabilitiesTest.java | 94 final int[] blacklistedEtherTypeArray = mContext.getResources().getIntArray(resId); in testGetApfEtherTypeBlackList()
|
/frameworks/base/services/core/java/com/android/server/biometrics/face/ |
D | FaceService.java | 1057 .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/ |
D | MtpDocumentsService.java | 62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 396 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/ |
D | DisplayPowerController.java | 447 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()
|
D | BrightnessMappingStrategy.java | 57 float[] luxLevels = getLuxLevels(resources.getIntArray( in create() 59 int[] brightnessLevelsBacklight = resources.getIntArray( in create() 69 int[] backlightRange = resources.getIntArray( in create()
|
D | DisplayModeDirector.java | 837 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/ |
D | MockResources.java | 102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() method in MockResources
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerDialog.java | 99 mColors = savedInstanceState.getIntArray(KEY_COLORS); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnooze.java | 236 final int[] snoozeTimes = mParser.getIntArray(KEY_OPTIONS, in getDefaultSnoozeOptions() 237 resources.getIntArray(R.array.config_notification_snooze_times)); in getDefaultSnoozeOptions()
|