Home
last modified time | relevance | path

Searched refs:getIntArray (Results 1 – 25 of 187) sorted by relevance

12345678

/aosp12/frameworks/base/core/tests/coretests/src/android/util/
H A DKeyValueListParserTest.java50 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayNullInput()
57 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyInput()
64 int[] result = mParser.getIntArray(null, DEFAULT); in testParseIntArrayNullKey()
71 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayComplexInput()
80 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayLeadingSep()
87 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyItem()
94 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayTrailingSep()
104 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayGoodData()
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/group/
H A DGroupUtilTest.java66 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_smallSet()
67 MoreAsserts.assertEquals("Wrong counts!", newCounts, bundle.getIntArray(Contacts in testUpdateBundle_smallSet()
115 assertNotNull(bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS)); in testUpdateBundle_mediumSet()
116 MoreAsserts.assertEquals("Wrong counts!", newCounts, bundle.getIntArray(Contacts in testUpdateBundle_mediumSet()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicy.java187 screenBrightnessArray = mParser.getIntArray(KEY_SCREEN_BRIGHTNESS_ARRAY, in update()
188 resources.getIntArray( in update()
190 dimmingScrimArray = mParser.getIntArray(KEY_DIMMING_SCRIM_ARRAY, in update()
191 resources.getIntArray( in update()
/aosp12/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A DIkeSaProposalUtils.java67 final int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
73 final int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
79 final int[] prfArray = in.getIntArray(PRF_KEY); in fromPersistableBundle()
H A DChildSaProposalUtils.java59 final int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
65 final int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
/aosp12/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
91 int[] oldIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_OLD_IDS); in onReceive()
92 int[] newIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFaceAuthenticationClient.java79 mBiometricPromptIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
81 mBiometricPromptIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
83 mKeyguardIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
85 mKeyguardIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
H A DFaceEnrollClient.java65 .getIntArray(R.array.config_face_acquire_enroll_ignorelist); in FaceEnrollClient()
67 .getIntArray(R.array.config_face_acquire_vendor_enroll_ignorelist); in FaceEnrollClient()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/statsconverters/
H A DAppCrashOccurredConverterTest.java80 assertThat(bundle.getIntArray(accessorMap.get(UID_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
82 assertThat(bundle.getIntArray(accessorMap.get(PID_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
86 assertThat(bundle.getIntArray(accessorMap.get(ERROR_SOURCE_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
H A DAtomListConverterTest.java62 assertThat(bundle.getIntArray( in testConvertPushedAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle()
98 assertThat(bundle.getIntArray( in testConvertPulledAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle()
H A DAnrOccurredConverterTest.java81 assertThat(bundle.getIntArray(accessorMap.get(UID_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
88 assertThat(bundle.getIntArray(accessorMap.get(ERROR_SOURCE_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
H A DWtfOccurredConverterTest.java79 assertThat(bundle.getIntArray(accessorMap.get(UID_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
86 assertThat(bundle.getIntArray(accessorMap.get(ERROR_SOURCE_FIELD_NUMBER).getFieldName())) in testConvertAtomsListWithDimensionValues_putsCorrectDataToPersistableBundle()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
H A DLongPressPowerSensitivityPreferenceControllerTest.java54 when(mResources.getIntArray( in setUp()
122 when(mResources.getIntArray( in sensitivityValuesAreNull_notAvailable()
134 when(mResources.getIntArray( in sensitivityValuesArrayTooShort_notAvailable()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DSuspendPackagesBroadcastTest.kt88 var changedUids = bundleCaptor.value.getIntArray(Intent.EXTRA_CHANGED_UID_LIST)
107 var changedUids = it.getIntArray(Intent.EXTRA_CHANGED_UID_LIST)
128 var changedUids = it.getIntArray(Intent.EXTRA_CHANGED_UID_LIST)
146 var modifiedUids = bundleCaptor.value.getIntArray(Intent.EXTRA_CHANGED_UID_LIST)
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DFaceAuthenticationClient.java89 mBiometricPromptIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
91 mBiometricPromptIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
93 mKeyguardIgnoreList = resources.getIntArray( in FaceAuthenticationClient()
95 mKeyguardIgnoreListVendor = resources.getIntArray( in FaceAuthenticationClient()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/display/
H A DColorModePreferenceFragmentTest.java70 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_all()
97 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_none()
112 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_withAutomatic()
133 when(res.getIntArray(com.android.internal.R.array.config_availableColorModes)).thenReturn( in getCandidates_withoutAutomatic()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
H A DColorDisplayServiceTest.java1070 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_noResources()
1072 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_noResources()
1085 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_invalidResources()
1090 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_invalidResources()
1106 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_validColorMode()
1110 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_validColorMode()
1125 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_invalidColorMode()
1129 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_invalidColorMode()
1221 final int[] availableColorModes = mContext.getResources().getIntArray( in isColorModeValid()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DAlwaysOnDisplayPolicyTest.java68 assertThat(policy.screenBrightnessArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue()
70 assertThat(policy.dimmingScrimArray).isEqualTo(mContext.getResources().getIntArray( in testPolicy_valueNull_containsDefaultValue()
/aosp12/packages/apps/Camera2/src/com/android/camera/settings/
H A DKeys.java91 context.getResources().getIntArray(R.array.pref_countdown_duration)); in setDefaults()
161 context.getResources().getIntArray(R.array.camera_modes)); in setDefaults()
165 context.getResources().getIntArray(R.array.camera_modes)); in setDefaults()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DSettingsShadowResources.java50 protected int[] getIntArray(@ArrayRes int id) throws NotFoundException { in getIntArray() method in SettingsShadowResources
55 return directlyOn(realResources, Resources.class).getIntArray(id); in getIntArray()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DThemeSettingsFragment.java51 final int[] keyboardThemeIds = res.getIntArray(R.array.keyboard_theme_ids); in updateKeyboardThemeSummary()
68 final int[] keyboardThemeIds = res.getIntArray(R.array.keyboard_theme_ids); in onCreate()
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeSaProposal.java99 int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
105 int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
111 int[] prfArray = in.getIntArray(PRF_KEY); in fromPersistableBundle()
H A DChildSaProposal.java122 int[] integrityAlgoIdArray = in.getIntArray(INTEGRITY_ALGO_KEY); in fromPersistableBundle()
128 int[] dhGroupArray = in.getIntArray(DH_GROUP_KEY); in fromPersistableBundle()
134 int[] esnPolicies = in.getIntArray(ESN_KEY); in fromPersistableBundle()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
H A DRssiUtilTest.java58 when(mResources.getIntArray(R.array.config_wifiRssiLevelThresholds)) in setUp()
94 when(mResources.getIntArray(R.array.config_wifiRssiLevelThresholds)) in testCalculateSignalLevelEmptyThresholdsArray()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DTetheringConfigurationTest.java177 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[0]); in setUp()
207 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in getTetheringConfiguration()
291 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn(new int[]{}); in testNoDefinedUpstreamTypesAddsEthernet()
313 when(mResources.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in testDefinedUpstreamTypesSansEthernetAddsEthernet()
331 when(mResources.getIntArray(R.array.config_tether_upstream_types)) in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
469 when(mResourcesForSubId.getIntArray(R.array.config_tether_upstream_types)).thenReturn( in setUpResourceForSubId()

12345678