/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | KeyValueListParserTest.java | 50 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 D | GroupUtilTest.java | 66 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 D | AlwaysOnDisplayPolicy.java | 187 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 D | IkeSaProposalUtils.java | 67 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 D | ChildSaProposalUtils.java | 59 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 D | AppWidgetProvider.java | 64 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 D | FaceAuthenticationClient.java | 79 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 D | FaceEnrollClient.java | 65 .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 D | AppCrashOccurredConverterTest.java | 80 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 D | AtomListConverterTest.java | 62 assertThat(bundle.getIntArray( in testConvertPushedAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle() 98 assertThat(bundle.getIntArray( in testConvertPulledAtomsListWithUnsetFields_putsCorrectDataToPersistableBundle()
|
H A D | AnrOccurredConverterTest.java | 81 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 D | WtfOccurredConverterTest.java | 79 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 D | LongPressPowerSensitivityPreferenceControllerTest.java | 54 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 D | SuspendPackagesBroadcastTest.kt | 88 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 D | FaceAuthenticationClient.java | 89 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 D | ColorModePreferenceFragmentTest.java | 70 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 D | ColorDisplayServiceTest.java | 1070 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 D | AlwaysOnDisplayPolicyTest.java | 68 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 D | Keys.java | 91 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 D | SettingsShadowResources.java | 50 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 D | ThemeSettingsFragment.java | 51 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 D | IkeSaProposal.java | 99 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 D | ChildSaProposal.java | 122 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 D | RssiUtilTest.java | 58 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 D | TetheringConfigurationTest.java | 177 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()
|