Home
last modified time | relevance | path

Searched refs:getStringArray (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/packages/apps/Camera2/src/com/android/camera/settings/
DKeys.java95 context.getResources().getStringArray(R.array.camera_id_entryvalues)); in setDefaults()
99 context.getResources().getStringArray(R.array.pref_camera_scenemode_entryvalues)); in setDefaults()
103 context.getResources().getStringArray(R.array.pref_camera_flashmode_entryvalues)); in setDefaults()
107 context.getResources().getStringArray(R.array.pref_camera_hdr_supportmode_entryvalues)); in setDefaults()
116 context.getResources().getStringArray(R.array.pref_camera_focusmode_entryvalues)); in setDefaults()
130 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues)); in setDefaults()
138 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues)); in setDefaults()
146 context.getResources().getStringArray( in setDefaults()
151 context.getResources().getStringArray( in setDefaults()
156 context.getResources().getStringArray(R.array.pref_video_effect_entryvalues)); in setDefaults()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiStringResourceWrapperTest.java158 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_2); in testCarrierIdWithBaseNoOverride()
169 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdWithBaseNoOverride()
180 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdWithBaseNoOverride()
191 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_3); in testCarrierIdAvailable()
202 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdAvailable()
213 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdAvailable()
223 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_4); in testCarrierIdAvailableEmptyMessage()
234 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdAvailableEmptyMessage()
245 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdAvailableEmptyMessage()
255 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_5); in testCarrierIdBadlyFormatted()
[all …]
/packages/apps/Settings/src/com/android/settings/development/tare/
DAlarmManagerFragment.java106 resources.getStringArray(R.array.tare_consumption_limit_subfactors), in populateArrays()
107 resources.getStringArray(R.array.tare_app_balance_subfactors), in populateArrays()
110 resources.getStringArray(R.array.tare_alarm_manager_actions), in populateArrays()
111 resources.getStringArray(R.array.tare_alarm_manager_actions), in populateArrays()
112 resources.getStringArray(R.array.tare_rewards_subfactors), in populateArrays()
114 resources.getStringArray(R.array.tare_rewards_subfactors) in populateArrays()
DJobSchedulerFragment.java107 resources.getStringArray(R.array.tare_consumption_limit_subfactors), in populateArrays()
108 resources.getStringArray(R.array.tare_job_scheduler_app_balance_subfactors), in populateArrays()
111 resources.getStringArray(R.array.tare_job_scheduler_actions), in populateArrays()
112 resources.getStringArray(R.array.tare_job_scheduler_actions), in populateArrays()
113 resources.getStringArray(R.array.tare_job_scheduler_rewards_subfactors), in populateArrays()
115 resources.getStringArray(R.array.tare_job_scheduler_rewards_subfactors) in populateArrays()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettingsForSub.java377 res.getStringArray(R.array.wifi_calling_mode_choices)); in updateBody()
378 mButtonWfcMode.setEntryValues(res.getStringArray(R.array.wifi_calling_mode_values)); in updateBody()
380 res.getStringArray(R.array.wifi_calling_mode_summaries)); in updateBody()
384 res.getStringArray(R.array.wifi_calling_mode_choices_v2)); in updateBody()
386 res.getStringArray(R.array.wifi_calling_mode_values)); in updateBody()
388 res.getStringArray(R.array.wifi_calling_mode_summaries)); in updateBody()
392 res.getStringArray(R.array.wifi_calling_mode_choices_without_wifi_only)); in updateBody()
394 res.getStringArray(R.array.wifi_calling_mode_values_without_wifi_only)); in updateBody()
396 res.getStringArray(R.array.wifi_calling_mode_summaries_without_wifi_only)); in updateBody()
400 res.getStringArray(R.array.wifi_calling_mode_choices_v2_without_wifi_only)); in updateBody()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/group/
DGroupUtilTest.java62 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_smallSet()
63 MoreAsserts.assertEquals("Wrong sections!", newSections, bundle.getStringArray(Contacts in testUpdateBundle_smallSet()
111 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_mediumSet()
112 MoreAsserts.assertEquals("Wrong sections!", newSections, bundle.getStringArray(Contacts in testUpdateBundle_mediumSet()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DEnabledNetworkModePreferenceControllerTest.java432 String[] entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
437 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
442 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
447 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
452 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
457 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
462 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
467 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
472 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
477 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
/packages/apps/Settings/src/com/android/settings/dream/
DWhenToDreamPicker.java76 return getResources().getStringArray(R.array.when_to_start_screensaver_entries); in entries()
78 return getResources().getStringArray(R.array.when_to_start_screensaver_entries_no_battery); in entries()
83 return getResources().getStringArray(R.array.when_to_start_screensaver_values); in keys()
85 return getResources().getStringArray(R.array.when_to_start_screensaver_values_no_battery); in keys()
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaHiddenMenuKeySequence.java84 context.getResources().getStringArray(R.array.motorola_hidden_menu_key_sequence)); in MotorolaHiddenMenuKeySequence()
87 context.getResources().getStringArray(R.array.motorola_hidden_menu_key_sequence_intents)); in MotorolaHiddenMenuKeySequence()
90 context.getResources().getStringArray(R.array.motorola_hidden_menu_key_pattern)); in MotorolaHiddenMenuKeySequence()
93 context.getResources().getStringArray(R.array.motorola_hidden_menu_key_pattern_intents)); in MotorolaHiddenMenuKeySequence()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java198 when(mResources.getStringArray(R.array.config_tether_dhcp_range)).thenReturn( in setUp()
202 when(mResources.getStringArray(R.array.config_tether_usb_regexs)) in setUp()
204 when(mResources.getStringArray(R.array.config_tether_wifi_regexs)) in setUp()
206 when(mResources.getStringArray(R.array.config_tether_bluetooth_regexs)).thenReturn( in setUp()
209 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setUp()
482 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
484 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
486 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
488 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
492 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
[all …]
DEntitlementManagerTest.java242 when(mResources.getStringArray(R.array.config_tether_dhcp_range)) in setUp()
244 when(mResources.getStringArray(R.array.config_tether_usb_regexs)) in setUp()
246 when(mResources.getStringArray(R.array.config_tether_wifi_regexs)) in setUp()
248 when(mResources.getStringArray(R.array.config_tether_bluetooth_regexs)) in setUp()
275 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setupForRequiredProvisioning()
310 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
314 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
750 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in isTetherProvisioningRequired_carrierUnSupport()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptioningAppearancePreferenceController.java50 final String[] fontScaleValuesStrArray = mContext.getResources().getStringArray( in getFontScaleValuesArray()
62 final String[] fontScaleSummaries = mContext.getResources().getStringArray( in geFontScaleSummary()
72 final String[] presetSummaries = mContext.getResources().getStringArray( in getPresetSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityTimeoutPreferenceControllerTest.java54 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_byDefault_shouldReturnDefaultSummary()
64 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_invalidTimeout_shouldReturnDefaultSummary()
74 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_validTimeout_shouldReturnValidSummary()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java192 .when(mResources).getStringArray( in testHandleCellBroadcastIntent()
219 .when(mResources).getStringArray( in testHandleCellBroadcastIntentDomesticRoaming()
247 .when(mResources).getStringArray( in testHandleCellBroadcastIntentInternationalRoaming()
275 .when(mResources).getStringArray( in testHandleCellBroadcastIntentNonRoaming()
302 .when(mResources).getStringArray( in testHandleCellBroadcastIntentNonMatchedScope()
348 .when(mResources).getStringArray( in testShowNewAlertChildAbductionWithDefaultLanguage()
376 .when(mResources).getStringArray( in testShowNewAlertChildAbduction()
497 "0x112F:rat=gsm, emergency=true"}).when(mResources).getStringArray( in testFilterLanguage()
544 "0x112F:rat=gsm, emergency=true"}).when(mResources).getStringArray( in testMuteAlert()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtils.java103 final String[] predefinedLayoutSet = res.getStringArray(R.array.predefined_layouts); in initLocked()
104 final String[] layoutDisplayNames = res.getStringArray( in initLocked()
120 final String[] exceptionalLocaleInRootLocale = res.getStringArray( in initLocked()
129 final String[] exceptionalLocales = res.getStringArray( in initLocked()
143 final String[] keyboardLayoutSetMap = res.getStringArray( in initLocked()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java70 RuntimeEnvironment.application.getResources().getStringArray( in testReloadFromPreference()
87 RuntimeEnvironment.application.getResources().getStringArray( in testSetValue()
90 RuntimeEnvironment.application.getResources().getStringArray( in testSetValue()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java196 getStringArray(android.R.array.postalAddressTypes)
199 type = resources.getStringArray(android.R.array.postalAddressTypes)[2];
202 type = resources.getStringArray(android.R.array.postalAddressTypes)[2];
237 type = resources.getStringArray(android.R.array.organizationTypes)[1];
240 type = resources.getStringArray(android.R.array.organizationTypes)[1];
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreferenceFragment.java54 .getStringArray(R.array.font_scale_entry_values); in onCreatePreferences()
56 .getStringArray(R.array.font_scale_entries); in onCreatePreferences()
120 .getStringArray(R.array.font_scale_entry_values); in logNewFontScaleSelection()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/snooplogger/
DSnoopLoggerFiltersPreferenceTest.java42 sKEY = mContext.getResources().getStringArray(R.array.bt_hci_snoop_log_filters_values)[0]; in setUp()
44 mContext.getResources().getStringArray(R.array.bt_hci_snoop_log_filters_entries)[0]; in setUp()
/packages/apps/Settings/src/com/android/settings/development/snooplogger/
DSnoopLoggerFiltersPreferenceController.java38 context.getResources().getStringArray(R.array.bt_hci_snoop_log_filters_values); in SnoopLoggerFiltersPreferenceController()
40 context.getResources().getStringArray(R.array.bt_hci_snoop_log_filters_entries); in SnoopLoggerFiltersPreferenceController()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/daydream/
DEnergySaverState.java131 String[] optionsValues = ResourcesUtil.getStringArray(mContext, in getConfirmationDialogDescription()
133 String[] optionsStrings = ResourcesUtil.getStringArray(mContext, in getConfirmationDialogDescription()
183 String[] optionsString = ResourcesUtil.getStringArray(mContext, in getValidatedTimeout()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothAvrcpVersionPreferenceController.java46 mListValues = context.getResources().getStringArray(R.array.bluetooth_avrcp_version_values); in BluetoothAvrcpVersionPreferenceController()
47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController()
DBluetoothMapVersionPreferenceController.java49 mListValues = context.getResources().getStringArray(R.array.bluetooth_map_version_values); in BluetoothMapVersionPreferenceController()
50 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_map_versions); in BluetoothMapVersionPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DLogdSizePreferenceControllerTest.java64 mListValues = mContext.getResources().getStringArray(R.array.select_logd_size_values); in setup()
65 mListSummaries = mContext.getResources().getStringArray(R.array.select_logd_size_summaries); in setup()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothChannelModeDialogPreference.java62 String[] stringArray = context.getResources().getStringArray( in initialize()
67 stringArray = context.getResources().getStringArray( in initialize()

12345678910>>...16