Home
last modified time | relevance | path

Searched refs:getIntArray (Results 1 – 25 of 60) 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/tests/net/java/com/android/server/connectivity/tethering/
DTetheringConfigurationTest.java115 when(mResources.getIntArray(config_tether_upstream_types)).thenReturn(new int[0]); in setUp()
126 when(mResources.getIntArray(config_tether_upstream_types)).thenReturn( in getTetheringConfiguration()
210 when(mResources.getIntArray(config_tether_upstream_types)).thenReturn(new int[]{}); in testNoDefinedUpstreamTypesAddsEthernet()
232 when(mResources.getIntArray(config_tether_upstream_types)).thenReturn( in testDefinedUpstreamTypesSansEthernetAddsEthernet()
250 when(mResources.getIntArray(config_tether_upstream_types)) in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
308 when(mResourcesForSubId.getIntArray(config_tether_upstream_types)).thenReturn(new int[0]); in setUpResourceForSubId()
/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/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/core/java/android/net/apf/
DApfCapabilities.java131 return Resources.getSystem().getIntArray(R.array.config_apfEthTypeBlackList); in getApfEtherTypeBlackList()
/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/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/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java882 .getIntArray(R.array.config_face_acquire_biometricprompt_ignorelist); in FaceService()
884 .getIntArray(R.array.config_face_acquire_vendor_biometricprompt_ignorelist); in FaceService()
886 .getIntArray(R.array.config_face_acquire_keyguard_ignorelist); in FaceService()
888 .getIntArray(R.array.config_face_acquire_vendor_keyguard_ignorelist); in FaceService()
890 .getIntArray(R.array.config_face_acquire_enroll_ignorelist); in FaceService()
892 .getIntArray(R.array.config_face_acquire_vendor_enroll_ignorelist); in FaceService()
/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/test-mock/src/android/test/mock/
DMockResources.java102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() method in MockResources
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthGsm.java120 rssiThresholds = cc.getIntArray(CarrierConfigManager.KEY_GSM_RSSI_THRESHOLDS_INT_ARRAY); in updateLevel()
DCellSignalStrengthWcdma.java172 rscpThresholds = cc.getIntArray( in updateLevel()
/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()
/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()
/frameworks/base/services/core/java/com/android/server/emergency/
DEmergencyAffordanceService.java119 int[] numbers = context.getResources().getIntArray( in EmergencyAffordanceService()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DLocalDisplayAdapterTest.java119 .getIntArray(com.android.internal.R.array.config_localPrivateDisplayPorts); in testPrivateDisplay()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java165 public int[] getIntArray(String key, int[] def) { in getIntArray() method in KeyValueListParser
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java1087 sEnabledSingleShiftTables = r.getIntArray(R.array.config_sms_enabled_single_shift_tables);
1088 sEnabledLockingShiftTables = r.getIntArray(R.array.config_sms_enabled_locking_shift_tables);

123