/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyValueListParserTest.java | 49 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayNullInput() 56 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyInput() 63 int[] result = mParser.getIntArray(null, DEFAULT); in testParseIntArrayNullKey() 70 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayComplexInput() 79 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayLeadingSep() 86 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyItem() 93 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayTrailingSep() 103 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/support/work/workmanager/src/test/java/androidx/work/ |
D | ArrayCreatingInputMergerTest.java | 53 int[] outputArray = output.getIntArray(KEY); in testMerge_singleArgument() 62 int[] outputArray = output.getIntArray(KEY); in testMerge_concatenatesNonArrays() 72 int[] outputArray = output.getIntArray(KEY); in testMerge_concatenatesArrays() 85 int[] outputArray = output.getIntArray(KEY); in testMerge_concatenatesArrayAndPrimitive()
|
D | DataTest.java | 84 assertThat(restoredData.getIntArray(KEY1), is(equalTo(expectedValue1))); in testSerializeIntArray() 85 assertThat(restoredData.getIntArray(KEY2), is(equalTo(expectedValue2))); in testSerializeIntArray()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | TetheringConfigurationTest.java | 94 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testDunFromTelephonyManagerMeansDun() 110 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testDunNotRequiredFromTelephonyManagerMeansNoDun() 126 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testDunFromUpstreamConfigMeansDun() 143 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testNoDefinedUpstreamTypesAddsEthernet() 164 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testDefinedUpstreamTypesSansEthernetAddsEthernet() 182 when(mResources.getIntArray(com.android.internal.R.array.config_tether_upstream_types)) in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
|
/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 | 67 assertThat(policy.screenBrightnessArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue() 69 assertThat(policy.dimmingScrimArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | Food.java | 54 return context.getResources().getIntArray(R.array.food_intervals)[mType]; in getInterval()
|
D | NekoDialog.java | 67 int[] foods = context.getResources().getIntArray(R.array.food_names); in Adapter()
|
D | NekoService.java | 96 final int[] probs = getResources().getIntArray(R.array.food_new_cat_prob); in onStartJob()
|
/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/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
D | ResourcesWrapper.java | 99 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() method in ResourcesWrapper 100 return mResources.getIntArray(id); in getIntArray()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsService.java | 62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
|
/frameworks/base/core/java/android/util/ |
D | KeyValueListParser.java | 163 public int[] getIntArray(String key, int[] def) { in getIntArray() method in KeyValueListParser
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 398 when(mockResources.getIntArray(com.android.internal.R.array.config_autoBrightnessLevels)) in createResources() 401 when(mockResources.getIntArray( in createResources() 415 when(mockResources.getIntArray( in createResources()
|
/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/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 54 float[] luxLevels = getLuxLevels(resources.getIntArray( in create() 56 int[] brightnessLevelsBacklight = resources.getIntArray( in create() 66 int[] backlightRange = resources.getIntArray( in create()
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerDialog.java | 99 mColors = savedInstanceState.getIntArray(KEY_COLORS); in onCreate()
|
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/ |
D | NavController.java | 465 int[] deepLink = extras != null ? extras.getIntArray(KEY_DEEP_LINK_IDS) : null; in onHandleDeepLink() 738 mBackStackToRestore = navState.getIntArray(KEY_BACK_STACK_IDS); in restoreState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationSnooze.java | 236 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/ |
D | EmergencyAffordanceService.java | 119 int[] numbers = context.getResources().getIntArray( in EmergencyAffordanceService()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | GsmAlphabet.java | 1067 sEnabledSingleShiftTables = r.getIntArray(R.array.config_sms_enabled_single_shift_tables); 1068 sEnabledLockingShiftTables = r.getIntArray(R.array.config_sms_enabled_locking_shift_tables);
|
/frameworks/support/navigation/fragment/src/main/java/androidx/navigation/fragment/ |
D | FragmentNavigator.java | 182 int[] backStack = savedState.getIntArray(KEY_BACK_STACK_IDS); in onRestoreState()
|