/packages/apps/Camera2/src/com/android/camera/settings/ |
D | Keys.java | 95 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/ |
D | WifiStringResourceWrapperTest.java | 161 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_2); in testCarrierIdWithBaseNoOverride() 172 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdWithBaseNoOverride() 183 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdWithBaseNoOverride() 194 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_3); in testCarrierIdAvailable() 205 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdAvailable() 216 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdAvailable() 226 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_4); in testCarrierIdAvailableEmptyMessage() 237 when(mResources.getStringArray(RES_ID_DISABLE_THRESHOLD_2)).thenReturn(resStringArray); in testCarrierIdAvailableEmptyMessage() 248 when(mResources.getStringArray(RES_ID_OOB_PSEUDONYM_ENABLED)) in testCarrierIdAvailableEmptyMessage() 258 when(mResources.getStringArray(eq(RES_ID_2))).thenReturn(RES_STRING_ARRAY_VAL_5); in testCarrierIdBadlyFormatted() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/group/ |
D | GroupUtilTest.java | 63 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_smallSet() 64 MoreAsserts.assertEquals("Wrong sections!", newSections, bundle.getStringArray(Contacts in testUpdateBundle_smallSet() 112 assertNotNull(bundle.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES)); in testUpdateBundle_mediumSet() 113 MoreAsserts.assertEquals("Wrong sections!", newSections, bundle.getStringArray(Contacts in testUpdateBundle_mediumSet()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSub.java | 384 res.getStringArray(R.array.wifi_calling_mode_choices)); in updateBody() 385 mButtonWfcMode.setEntryValues(res.getStringArray(R.array.wifi_calling_mode_values)); in updateBody() 387 res.getStringArray(R.array.wifi_calling_mode_summaries)); in updateBody() 391 res.getStringArray(R.array.wifi_calling_mode_choices_v2)); in updateBody() 393 res.getStringArray(R.array.wifi_calling_mode_values)); in updateBody() 395 res.getStringArray(R.array.wifi_calling_mode_summaries)); in updateBody() 399 res.getStringArray(R.array.wifi_calling_mode_choices_without_wifi_only)); in updateBody() 401 res.getStringArray(R.array.wifi_calling_mode_values_without_wifi_only)); in updateBody() 403 res.getStringArray(R.array.wifi_calling_mode_summaries_without_wifi_only)); in updateBody() 407 res.getStringArray(R.array.wifi_calling_mode_choices_v2_without_wifi_only)); in updateBody() [all …]
|
/packages/apps/Settings/src/com/android/settings/dream/ |
D | WhenToDreamPicker.java | 76 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/Settings/tests/spa_unit/src/com/android/settings/wifi/details2/ |
D | WifiPrivacyPageProviderTest.kt | 88 val wifiPrivacyEntries = context.resources.getStringArray(R.array.wifi_privacy_entries) in category_mac_list_displayed() 101 val wifiPrivacyEntries = context.resources.getStringArray(R.array.wifi_privacy_entries) in category_mac_list_selectable() 114 val wifiPrivacyEntries = context.resources.getStringArray(R.array.wifi_privacy_entries) in category_mac_list_default_selected() 115 val wifiPrivacyValues = context.resources.getStringArray(R.array.wifi_privacy_values) in category_mac_list_default_selected() 129 val wifiPrivacyEntries = context.resources.getStringArray(R.array.wifi_privacy_entries) in category_mac_list_not_enabled()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceControllerTest.java | 442 String[] 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() 482 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength() 487 entryValues = mController.getResourcesForSubId().getStringArray(id); in checkResource_stringArrayLength()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptioningAppearancePreferenceController.java | 50 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/Dialer/java/com/android/dialer/oem/ |
D | MotorolaHiddenMenuKeySequence.java | 84 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/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilityTimeoutPreferenceControllerTest.java | 54 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/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 203 when(mResources.getStringArray(R.array.config_tether_dhcp_range)).thenReturn( in setUp() 207 when(mResources.getStringArray(R.array.config_tether_usb_regexs)) in setUp() 209 when(mResources.getStringArray(R.array.config_tether_wifi_regexs)) in setUp() 211 when(mResources.getStringArray(R.array.config_tether_bluetooth_regexs)).thenReturn( in setUp() 214 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setUp() 487 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId() 489 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId() 491 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId() 493 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId() 497 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId() [all …]
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/ |
D | ResourceExcludedItemsProvider.kt | 27 .getStringArray(R.array.config_packagesExcludedFromDock).toHashSet() 29 .getStringArray(R.array.config_componentsExcludedFromDock)
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/ |
D | AccessibilityTimeoutFragment.java | 48 getContext().getResources().getStringArray(R.array.a11y_timeout_entries); in onCreatePreferences() 50 getContext().getResources().getStringArray(R.array.a11y_timeout_values); in onCreatePreferences() 117 getContext().getResources().getStringArray(R.array.a11y_timeout_values); in logNewA11yTimeoutSelection()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/ |
D | EmergencyListPreferenceTest.java | 70 RuntimeEnvironment.application.getResources().getStringArray( in testReloadFromPreference() 87 RuntimeEnvironment.application.getResources().getStringArray( in testSetValue() 90 RuntimeEnvironment.application.getResources().getStringArray( in testSetValue()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtils.java | 103 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/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | FontScalePreferenceFragment.java | 51 .getStringArray(R.array.font_scale_entry_values); in onCreatePreferences() 53 .getStringArray(R.array.font_scale_entries); in onCreatePreferences() 123 .getStringArray(R.array.font_scale_entry_values); in logNewFontScaleSelection()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/snooplogger/ |
D | SnoopLoggerFiltersPreferenceTest.java | 40 sKEY = mContext.getResources().getStringArray( in setUp() 43 mContext.getResources().getStringArray( in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardResourceEntry.java | 196 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/Settings/src/com/android/settings/development/snooplogger/ |
D | SnoopLoggerFiltersPreferenceController.java | 37 context.getResources().getStringArray( in SnoopLoggerFiltersPreferenceController() 40 context.getResources().getStringArray( in SnoopLoggerFiltersPreferenceController()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 132 doReturn(MCC_TABLE).when(mResources).getStringArray(R.array.iso_country_code_mcc_table); in setUp() 588 doReturn(new String[] {"XXXXXX"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 609 doReturn(new String[] {"123"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 630 doReturn(new String[] {"123456"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 642 doReturn(new String[] {"XXX"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 653 doReturn(new String[] {"123"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 665 doReturn(new String[] {"XXX"}).when(mResources).getStringArray(anyInt()); in testOnNetworkRoamingChange() 688 doReturn(new String[] {"XXX"}).when(mResources).getStringArray(anyInt()); in testOnSimlessChange() 767 doReturn(mccArray).when(mResources).getStringArray(anyInt()); in testGetMccMap() 773 verify(mResources, times(2)).getStringArray(eq(R.array.iso_country_code_mcc_table)); in testGetMccMap()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | BluetoothAvrcpVersionPreferenceController.java | 46 mListValues = context.getResources().getStringArray(R.array.bluetooth_avrcp_version_values); in BluetoothAvrcpVersionPreferenceController() 47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController()
|
D | BluetoothMapVersionPreferenceController.java | 49 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/ |
D | LogdSizePreferenceControllerTest.java | 64 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/ |
D | BluetoothChannelModeDialogPreference.java | 62 String[] stringArray = context.getResources().getStringArray( in initialize() 67 stringArray = context.getResources().getStringArray( in initialize()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | SwipeDirectionPreferenceController.java | 62 String[] values = mContext.getResources().getStringArray(R.array.swipe_direction_values); in getSummary() 63 String[] titles = mContext.getResources().getStringArray(R.array.swipe_direction_titles); in getSummary()
|