Home
last modified time | relevance | path

Searched refs:getStringArray (Results 1 – 25 of 134) 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/base/tests/net/java/com/android/server/connectivity/tethering/
DTetheringConfigurationTest.java107 when(mResources.getStringArray(com.android.internal.R.array.config_tether_dhcp_range)) in setUp()
109 when(mResources.getStringArray(com.android.internal.R.array.config_tether_usb_regexs)) in setUp()
111 when(mResources.getStringArray(com.android.internal.R.array.config_tether_wifi_regexs)) in setUp()
113 when(mResources.getStringArray(com.android.internal.R.array.config_tether_bluetooth_regexs)) in setUp()
116 when(mResources.getStringArray( in setUp()
298 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
300 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
302 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
305 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
309 when(mResourcesForSubId.getStringArray( in setUpResourceForSubId()
DEntitlementManagerTest.java148 when(mResources.getStringArray(R.array.config_tether_dhcp_range)) in setUp()
150 when(mResources.getStringArray(R.array.config_tether_usb_regexs)) in setUp()
152 when(mResources.getStringArray(R.array.config_tether_wifi_regexs)) in setUp()
154 when(mResources.getStringArray(R.array.config_tether_bluetooth_regexs)) in setUp()
183 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in setupForRequiredProvisioning()
236 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
240 when(mResources.getStringArray(R.array.config_mobile_hotspot_provision_app)) in provisioningNotRequiredWhenAppNotFound()
/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/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCustomConfigLoader.java84 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
88 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
94 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
98 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/base/core/java/com/android/internal/app/
DLocalePicker.java95 return context.getResources().getStringArray(R.array.supported_locales); in getSupportedLocales()
106 final String[] specialLocaleCodes = resources.getStringArray(R.array.special_locale_codes); in getAllAssetLocales()
107 final String[] specialLocaleNames = resources.getStringArray(R.array.special_locale_names); in getAllAssetLocales()
/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/xerox/
DVendorInfo.java31 String[] data = resources.getStringArray(vendor_info_id); in VendorInfo()
/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/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/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/SettingsLib/src/com/android/settingslib/
DTetherUtil.java45 String[] provisionApp = context.getResources().getStringArray( in isProvisioningNeeded()
/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcRequest.java64 String[] networkConfigStrings = context.getResources().getStringArray( in initApnPriorities()
/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java55 res = context.getResources().getStringArray( in getSupportedKeepalives()

123456