Home
last modified time | relevance | path

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

123456

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyEventLoggerTest.java49 assertThat(eventLogger.getStringArray()) in testAllFields()
60 .setStrings("string1", "string2", "string3").getStringArray()) in testStrings()
65 .setStrings("string1", new String[] {"string2", "string3"}).getStringArray()) in testStrings()
70 .setStrings("string1", "string2", new String[] {"string3"}).getStringArray()) in testStrings()
75 .setStrings((String) null).getStringArray()) in testStrings()
80 .setStrings((String[]) null).getStringArray()) in testStrings()
109 assertThat(eventLogger.getStringArray()).isEqualTo(null); in testDefaultValues()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java59 String[] spdi = mConfig.getStringArray( in getServiceProviderDisplayInformation()
66 String[] ehplmn = mConfig.getStringArray( in getEhplmnList()
73 String[] pnn = mConfig.getStringArray( in getPlmnNetworkNameList()
95 String[] opl = mConfig.getStringArray( in getOperatorPlmnList()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java76 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite)) in setUp()
78 .getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite); in setUp()
151 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries)) in displayWhiteBalance_setupWithResources()
153 .getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries); in displayWhiteBalance_setupWithResources()
177 .getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries); in displayWhiteBalance_setupWithInvalidResources()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java117 when(mResources.getStringArray(R.array.config_tether_dhcp_range)).thenReturn( in setUp()
121 when(mResources.getStringArray(R.array.config_tether_usb_regexs)).thenReturn(new String[0]); in setUp()
122 when(mResources.getStringArray(R.array.config_tether_wifi_regexs)) in setUp()
124 when(mResources.getStringArray(R.array.config_tether_bluetooth_regexs)).thenReturn( in setUp()
127 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setUp()
398 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
400 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
402 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
404 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
408 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
DEntitlementManagerTest.java200 when(mResources.getStringArray(R.array.config_tether_dhcp_range)) 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)) in setUp()
233 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setupForRequiredProvisioning()
285 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
289 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCustomConfigLoader.java82 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
86 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
92 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
96 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
/frameworks/base/services/core/java/com/android/server/notification/
DPropConfig.java29 public static String[] getStringArray(Context context, String propName, int resId) { in getStringArray() method in PropConfig
31 return !UNSET.equals(prop) ? prop.split(",") : context.getResources().getStringArray(resId); in getStringArray()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractLogdSizePreferenceController.java120 .getStringArray(R.array.select_logd_size_values); in updateLogdSizeValues()
122 .getStringArray(R.array.select_logd_size_titles); in updateLogdSizeValues()
127 .getStringArray(R.array.select_logd_size_lowram_titles); in updateLogdSizeValues()
131 .getStringArray(R.array.select_logd_size_summaries); in updateLogdSizeValues()
DAbstractLogpersistPreferenceController.java172 mContext.getResources().getStringArray(R.array.select_logpersist_values)[index]); in updateLogpersistValues()
174 mContext.getResources().getStringArray(R.array.select_logpersist_summaries)[index]); in updateLogpersistValues()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java181 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getRequiredAppsSet()
200 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getDisallowedAppsSet()
219 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getVendorRequiredAppsSet()
238 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getVendorDisallowedAppsSet()
/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java66 assertEquals(mData.getStringArray(DocumentsContract.METADATA_TYPES)[0], in testGetMetadata()
84 assertEquals(mData.getStringArray(DocumentsContract.METADATA_TYPES).length, 0); in testGetMetadata_JpegNoResults()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerUtils.java185 mOverrideIds = res.getStringArray(R.array.timezone_rename_ids); in cacheOverrides()
186 mOverrideLabels = res.getStringArray(R.array.timezone_rename_labels); in cacheOverrides()
DTimeZoneData.java265 String[] ids = resources.getStringArray(R.array.timezone_rename_ids); in populateDisplayNameOverrides()
266 String[] labels = resources.getStringArray(R.array.timezone_rename_labels); in populateDisplayNameOverrides()
497 mBackupCountryCodes = mContext.getResources().getStringArray( in getCountryNames()
499 mBackupCountryNames = mContext.getResources().getStringArray( in getCountryNames()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DVendorInfo.java32 String[] data = resources.getStringArray(vendor_info_id); in VendorInfo()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
DVendorInfo.java31 String[] data = resources.getStringArray(vendor_info_id); in VendorInfo()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DLogdSizePreferenceControllerTest.java86 mListValues = mContext.getResources().getStringArray(R.array.select_logd_size_values); in setUp()
87 mListSummaries = mContext.getResources().getStringArray(R.array.select_logd_size_summaries); in setUp()
/frameworks/base/tests/SharedLibrary/client/src/com/google/android/test/lib_client/
DActivityMain.java36 …String[] animals = getResources().getStringArray(com.google.android.test.shared_library.R.array.an… in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java101 String[] allLocales = context.getResources().getStringArray(R.array.supported_locales); in getSupportedLocales()
143 final String[] specialLocaleCodes = resources.getStringArray(R.array.special_locale_codes); in getAllAssetLocales()
144 final String[] specialLocaleNames = resources.getStringArray(R.array.special_locale_names); in getAllAssetLocales()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java101 String[] originators = mCarrierConfig.getStringArray(CarrierConfigManager in filter()
154 String[] smsPatterns = mCarrierConfig.getStringArray(CarrierConfigManager in processSms()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginInitializerImpl.java50 return context.getResources().getStringArray(R.array.config_pluginWhitelist); in getWhitelistedPlugins()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DArraysCheckWidget.java46 for (String string : resources.getStringArray(R.array.string_array)) { in ArraysCheckWidget()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAndroidPackageInfoFetcher.java88 .getStringArray(tokenResourceId)); in getStatements()
/frameworks/base/services/core/java/com/android/server/
DSerialService.java33 mSerialPorts = context.getResources().getStringArray( in SerialService()
/frameworks/base/core/java/android/content/
DRestrictionEntry.java355 mChoiceValues = context.getResources().getStringArray(stringArrayResId); in setChoiceValues()
401 mChoiceEntries = context.getResources().getStringArray(stringArrayResId); in setChoiceEntries()
/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java55 res = context.getResources().getStringArray( in getSupportedKeepalives()

123456