Home
last modified time | relevance | path

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

1234567

/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/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/user/
DTvUserManager.java50 resources.getStringArray(R.array.required_apps_managed_profile)); in populateSystemAppsList()
52 resources.getStringArray(R.array.vendor_required_apps_managed_profile)); in populateSystemAppsList()
55 resources.getStringArray(R.array.disallowed_apps_managed_profile)); in populateSystemAppsList()
57 resources.getStringArray(R.array.vendor_disallowed_apps_managed_profile)); in populateSystemAppsList()
/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/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java78 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite)) in setUp()
80 .getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite); in setUp()
153 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries)) in displayWhiteBalance_setupWithResources()
155 .getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries); in displayWhiteBalance_setupWithResources()
179 .getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries); in displayWhiteBalance_setupWithInvalidResources()
/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()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/
DCarSystemUIFactory.java47 for (String s : resources.getStringArray(R.array.config_systemUIServiceComponentsExclude)) { in getSystemUIServiceComponents()
51 for (String s : resources.getStringArray(R.array.config_systemUIServiceComponentsInclude)) { in getSystemUIServiceComponents()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java168 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getRequiredAppsSet()
187 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getDisallowedAppsSet()
206 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getVendorRequiredAppsSet()
225 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/
DSystemUIFactory.java127 return resources.getStringArray(R.array.config_systemUIServiceComponents); in getSystemUIServiceComponents()
132 return resources.getStringArray(R.array.config_systemUIServiceComponentsPerUser); in getSystemUIServiceComponentsPerUser()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java154 public void getStringArray() { in getStringArray() method in ResourcesPerfTest
157 mRes.getStringArray(R.array.strings); in getStringArray()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java49 sNames = context.getResources().getStringArray(R.array.food_names); in getName()
/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()

1234567