Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/util/
DKeyValueListParserTest.java49 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/
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/support/work/workmanager/src/test/java/androidx/work/
DArrayCreatingInputMergerTest.java53 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()
DDataTest.java84 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/
DTetheringConfigurationTest.java94 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/
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.java67 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/
DFood.java54 return context.getResources().getIntArray(R.array.food_intervals)[mType]; in getInterval()
DNekoDialog.java67 int[] foods = context.getResources().getIntArray(R.array.food_names); in Adapter()
DNekoService.java96 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/
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/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DResourcesWrapper.java99 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/
DMtpDocumentsService.java62 intent.getExtras().getIntArray(EXTRA_DEVICE_IDS) : null; in onStartCommand()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java163 public int[] getIntArray(String key, int[] def) { in getIntArray() method in KeyValueListParser
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java398 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/
DMockResources.java102 public int[] getIntArray(int id) throws NotFoundException { in getIntArray() method in MockResources
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java54 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/
DColorPickerDialog.java99 mColors = savedInstanceState.getIntArray(KEY_COLORS); in onCreate()
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/
DNavController.java465 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/
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/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java1067 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/
DFragmentNavigator.java182 int[] backStack = savedState.getIntArray(KEY_BACK_STACK_IDS); in onRestoreState()

123