Home
last modified time | relevance | path

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

1234

/packages/apps/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java66 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_smallSet()
67 MoreAsserts.assertEquals("Wrong counts!", newCounts, bundle.getIntArray(Contacts in testUpdateBundle_smallSet()
115 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_mediumSet()
116 MoreAsserts.assertEquals("Wrong counts!", newCounts, bundle.getIntArray(Contacts in testUpdateBundle_mediumSet()
/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DColorModePreferenceFragmentTest.java69 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_all()
96 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_none()
111 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_withAutomatic()
132 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_withoutAutomatic()
DColorModePreferenceControllerTest.java50 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in setup()
/packages/apps/Camera2/src/com/android/camera/settings/
DKeys.java91 context.getResources().getIntArray(R.array.pref_countdown_duration)); in setDefaults()
161 context.getResources().getIntArray(R.array.camera_modes)); in setDefaults()
165 context.getResources().getIntArray(R.array.camera_modes)); in setDefaults()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSaProposal.java99 int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
105 int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
111 int[] prfArray = in.getIntArray(PRF_KEY); in fromPersistableBundle()
DChildSaProposal.java122 int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
128 int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
134 int[] esnPolicies = in.getIntArray(ESN_KEY); in fromPersistableBundle()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java177 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[0]); in setUp()
207 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in getTetheringConfiguration()
291 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[]{}); in testNoDefinedUpstreamTypesAddsEthernet()
313 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in testDefinedUpstreamTypesSansEthernetAddsEthernet()
331 when(mResources.getIntArray(R.array.config_tether_upstream_types)) in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
469 when(mResourcesForSubId.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in setUpResourceForSubId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DSettingsShadowResources.java50 protected int[] getIntArray(@ArrayRes int id) throws NotFoundException { in getIntArray() method in SettingsShadowResources
55 return directlyOn(realResources, Resources.class).getIntArray(id); in getIntArray()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DThemeSettingsFragment.java51 final int[] keyboardThemeIds = res.getIntArray(R.array.keyboard_theme_ids); in updateKeyboardThemeSummary()
68 final int[] keyboardThemeIds = res.getIntArray(R.array.keyboard_theme_ids); in onCreate()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DRssiUtilTest.java58 when(mResources.getIntArray(R.array.config_wifiRssiLevelThresholds)) in setUp()
94 when(mResources.getIntArray(R.array.config_wifiRssiLevelThresholds)) in testCalculateSignalLevelEmptyThresholdsArray()
/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceFragment.java120 for (int colorMode : mResources.getIntArray( in getCandidates()
215 final int[] availableColorModes = context.getResources().getIntArray(
DColorModeUtils.java42 final int[] colorModeOptionsValues = resources.getIntArray( in getColorModeMapping()
/packages/apps/Bluetooth/src/com/android/bluetooth/util/
DGsmAlphabet.java319 sEnabledSingleShiftTables = r.getIntArray(R.array.config_sms_enabled_single_shift_tables); in enableCountrySpecificEncodings()
320 sEnabledLockingShiftTables = r.getIntArray(R.array.config_sms_enabled_locking_shift_tables); in enableCountrySpecificEncodings()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionAppearanceFragment.java213 final int[] presetValues = res.getIntArray(R.array.captioning_preset_selector_values); in initializeAllPreferences()
228 final int[] colorValues = res.getIntArray(R.array.captioning_color_selector_values); in initializeAllPreferences()
234 final int[] opacityValues = res.getIntArray(R.array.captioning_opacity_selector_values); in initializeAllPreferences()
DAccessibilityTimeoutPreferenceController.java41 final int[] timeoutValues = mContext.getResources().getIntArray( in getSummary()
DMagnificationCapabilities.java68 final int[] values = context.getResources().getIntArray( in getSummary()
DEdgeTypePreference.java43 setValues(res.getIntArray(R.array.captioning_edge_type_selector_values)); in EdgeTypePreference()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceTestBase.java177 doReturn(value).when(mMockedResources).getIntArray(eq(id)); in putResources()
179 doReturn(value).when(mMockedResources).getIntArray(eq(id)); in putResources()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java166 .getIntArray(R.array.default_vibration_pattern); in CellBroadcastChannelRange()
276 .getIntArray(R.array.default_notification_vibration_pattern); in CellBroadcastChannelRange()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DRssiUtil.java42 return context.getResources().getIntArray(R.array.config_wifiRssiLevelThresholds); in getRssiLevelThresholds()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetBind.java51 extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onCreate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java208 when(mResources.getIntArray(com.android.car.R.array.config_projectionActivityLaunchBounds)) in getProjectionOptions_defaults()
233 when(mResources.getIntArray(com.android.car.R.array.config_projectionActivityLaunchBounds)) in getProjectionOptions_nonDefaults()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMockResources.java76 public int[] getIntArray(int id) { in getIntArray() method in MockResources
/packages/modules/Connectivity/framework/src/android/net/apf/
DApfCapabilities.java149 return systemRes.getIntArray(id); in getApfEtherTypeBlackList()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothUnbondedDevicesPreferenceController.java88 .getIntArray(R.array.config_unbonded_device_filter_allowlist); in matches()

1234