Home
last modified time | relevance | path

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

123456789

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyEventLoggerTest.java49 assertThat(eventLogger.getStringArray()).asList() in testAllFields()
60 .setStrings("string1", "string2", "string3").getStringArray()).asList() in testStrings()
65 .setStrings("string1", new String[] {"string2", "string3"}).getStringArray()) in testStrings()
70 .setStrings("string1", "string2", new String[] {"string3"}).getStringArray()) in testStrings()
74 .setStrings((String) null).getStringArray()).asList() in testStrings()
79 .setStrings((String[]) null).getStringArray()) in testStrings()
108 assertThat(eventLogger.getStringArray()).isNull(); in testDefaultValues()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierConfigEfData.java50 mSpdi = config.getStringArray(CarrierConfigManager.KEY_SPDI_OVERRIDE_STRING_ARRAY); in CarrierConfigEfData()
51 mEhplmn = config.getStringArray(CarrierConfigManager.KEY_EHPLMN_OVERRIDE_STRING_ARRAY); in CarrierConfigEfData()
52 mPnn = config.getStringArray(CarrierConfigManager.KEY_PNN_OVERRIDE_STRING_ARRAY); in CarrierConfigEfData()
53 mOpl = config.getStringArray(CarrierConfigManager.KEY_OPL_OVERRIDE_STRING_ARRAY); in CarrierConfigEfData()
/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/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/tests/integ/src/com/android/settingslib/devicestate/
DDeviceStateRotationLockSettingsManagerTest.java73 when(mMockResources.getStringArray(R.array.config_perDeviceStateRotationLockDefaults)) in setUp()
118 when(mMockResources.getStringArray( in getSettableDeviceStates_returnsExpectedValuesInOriginalOrder()
135 when(mMockResources.getStringArray( in persistedInvalidIgnoredState_returnsDefaults()
150 when(mMockResources.getStringArray( in persistedValidValues_returnsPersistedValues()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCustomConfigLoader.java83 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
87 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
93 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
97 configs = b.getStringArray(CarrierConfigManager in loadCarrierActionList()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java79 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite)) in setUp()
81 .getStringArray(R.array.config_displayWhiteBalanceDisplayNominalWhite); in setUp()
154 doReturn(mResources.getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries)) in displayWhiteBalance_setupWithResources()
156 .getStringArray(R.array.config_displayWhiteBalanceDisplayPrimaries); in displayWhiteBalance_setupWithResources()
180 .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/SystemUI/src/com/android/systemui/util/sensors/
DSensorModule.java97 resources.getStringArray(R.array.proximity_sensor_posture_mapping))) { in provideProximitySensor()
124 resources.getStringArray(R.array.proximity_sensor_posture_mapping), in providePostureToProximitySensorMapping()
139 resources.getStringArray(R.array.proximity_sensor_secondary_posture_mapping), in providePostureToSecondaryProximitySensorMapping()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DTilesStatesTextTest.kt42 val array = mContext.resources.getStringArray(resId) in <lambda>()
50 val array = mContext.resources.getStringArray(R.array.tile_states_default) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataConfigManager.java476 String[] capabilityPriorityStrings = mCarrierConfig.getStringArray( in updateNetworkCapabilityPriority()
520 String[] dataRetryRulesStrings = mCarrierConfig.getStringArray( in updateDataRetryRules()
533 dataRetryRulesStrings = mCarrierConfig.getStringArray( in updateDataRetryRules()
575 String[] meteredApnTypes = mCarrierConfig.getStringArray( in updateMeteredApnTypes()
583 String[] roamingMeteredApns = mCarrierConfig.getStringArray( in updateMeteredApnTypes()
716 String[] unmeteredNetworkTypes = mCarrierConfig.getStringArray( in updateUnmeteredNetworkTypes()
722 String[] roamingUnmeteredNetworkTypes = mCarrierConfig.getStringArray( in updateUnmeteredNetworkTypes()
751 String[] bandwidths = mCarrierConfig.getStringArray( in updateBandwidths()
838 String[] configs = mResources.getStringArray( in updateTcpBuffers()
1035 String[] handoverRulesStrings = mCarrierConfig.getStringArray( in updateHandoverRules()
[all …]
/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/services/tests/servicestests/src/com/android/server/display/color/
DReduceBrightColorsTintControllerTest.java41 when(mockResources.getStringArray( in setUp()
45 when(mockResources.getStringArray( in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt60 var modifiedPackages = bundleCaptor.value.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
152 var modifiedPackages = bundleCaptor.value.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
316 var changedPackages = bundleCaptor.value.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
337 var changedPackages = it.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
360 var changedPackages = it.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
380 var modifiedPackages = bundleCaptor.value.getStringArray(Intent.EXTRA_CHANGED_PACKAGE_LIST) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallTracker.java182 ? bundle.getStringArray(CarrierConfigManager in convertNumberIfNecessary()
184 : bundle.getStringArray(CarrierConfigManager in convertNumberIfNecessary()
253 if (bundle.getStringArray(CarrierConfigManager in shouldPerformInternationalNumberRemapping()
/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/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java292 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getRequiredAppsSet()
311 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getDisallowedAppsSet()
330 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getVendorRequiredAppsSet()
349 return new ArraySet<>(Arrays.asList(mContext.getResources().getStringArray(resId))); in getVendorDisallowedAppsSet()
/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/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DStatusBarIconBlocklist.kt39 val blocklist = res.getStringArray( in <lambda>()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java74 .getStringArray(R.array.config_perDeviceStateRotationLockDefaults); in DeviceStateRotationLockSettingsManager()
101 .getStringArray(R.array.config_perDeviceStateRotationLockDefaults).length > 0; in isDeviceStateRotationLockEnabled()
261 resources.getStringArray(R.array.config_perDeviceStateRotationLockDefaults); in resetStateForTesting()
/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/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/core/java/android/util/
DDisplayUtils.java45 final String[] ids = res.getStringArray(R.array.config_displayUniqueIdArray); in getDisplayUniqueIdConfigIndex()

123456789