Home
last modified time | relevance | path

Searched refs:SparseIntArray (Results 1 – 25 of 181) sorted by relevance

12345678

/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseIntArray.java21 import android.util.SparseIntArray;
31 private final SparseIntArray mStorage;
42 mStorage = new SparseIntArray(); in WatchedSparseIntArray()
53 mStorage = new SparseIntArray(initialCapacity); in WatchedSparseIntArray()
59 public WatchedSparseIntArray(@NonNull SparseIntArray c) { in WatchedSparseIntArray()
73 public void copyFrom(@NonNull SparseIntArray src) { in copyFrom()
84 public void copyTo(@NonNull SparseIntArray dst) { in copyTo()
96 public SparseIntArray untrackedStorage() { in untrackedStorage()
/frameworks/base/services/core/java/com/android/server/wm/
DMirrorActiveUids.java22 import android.util.SparseIntArray;
33 private final SparseIntArray mUidStates = new SparseIntArray();
36 private final SparseIntArray mNumNonAppVisibleWindowMap = new SparseIntArray();
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java52 import android.util.SparseIntArray;
196 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindService()
217 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindFailureWhenBound()
240 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindServiceAndConnected()
272 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testCallChangeWithNoNewFeaturesWithSubIdChanged()
334 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testCallChangeWithNoNewFeaturesWithAllSubIdChanged()
402 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testCallChangeWithNoNewFeaturesWithSlot1SubIdChanged()
460 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindServiceSipDelegateCapability()
492 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindServiceSipDelegateCapabilityLost()
518 SparseIntArray slotIdToSubIdMap = new SparseIntArray(); in testBindEmergencyMmTel()
[all …]
DImsResolverTest.java60 import android.util.SparseIntArray;
408 ArgumentCaptor<SparseIntArray> arrayCaptor = in testCarrierPackageBind()
409 ArgumentCaptor.forClass(SparseIntArray.class); in testCarrierPackageBind()
411 SparseIntArray slotIdToSubIdMap = arrayCaptor.getValue(); in testCarrierPackageBind()
412 SparseIntArray compareMap = new SparseIntArray(); in testCarrierPackageBind()
468 verify(deviceController).bind(eq(featuresDevice), any(SparseIntArray.class)); in testDeviceCarrierPackageBindMultipleServices()
470 verify(carrierController1).bind(eq(featuresMmTel), any(SparseIntArray.class)); in testDeviceCarrierPackageBindMultipleServices()
472 verify(carrierController2).bind(eq(featuresRcs), any(SparseIntArray.class)); in testDeviceCarrierPackageBindMultipleServices()
520 verify(deviceController, never()).bind(any(), any(SparseIntArray.class)); in testCarrierPackageBindOneConfigTwoSupport()
522 verify(carrierController1).bind(eq(featuresMmTel), any(SparseIntArray.class)); in testCarrierPackageBindOneConfigTwoSupport()
[all …]
/frameworks/base/core/java/android/net/metrics/
DWakeupStats.java22 import android.util.SparseIntArray;
49 public final SparseIntArray ethertypes = new SparseIntArray();
50 public final SparseIntArray ipNextHeaders = new SparseIntArray();
130 private static void increment(SparseIntArray counters, int key) { in increment()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java23 import android.util.SparseIntArray;
35 private static SparseIntArray mTranslationTable = null;
37 private static SparseIntArray mTranslationTableCommon = null;
39 private static SparseIntArray mTranslationTableGSM = null;
41 private static SparseIntArray mTranslationTableCDMA = null;
158 mTranslationTableCommon = new SparseIntArray(); in ensure7BitTranslationTableLoaded()
159 mTranslationTableGSM = new SparseIntArray(); in ensure7BitTranslationTableLoaded()
160 mTranslationTableCDMA = new SparseIntArray(); in ensure7BitTranslationTableLoaded()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyCacheImpl.java24 import android.util.SparseIntArray;
49 private final SparseIntArray mPasswordQuality = new SparseIntArray();
52 private final SparseIntArray mPermissionPolicy = new SparseIntArray();
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DLockoutCache.java20 import android.util.SparseIntArray;
29 private final SparseIntArray mUserLockoutStates;
32 mUserLockoutStates = new SparseIntArray(); in LockoutCache()
/frameworks/base/core/java/android/util/
DSparseIntArray.java49 public class SparseIntArray implements Cloneable { class
60 public SparseIntArray() { in SparseIntArray() method in SparseIntArray
71 public SparseIntArray(int initialCapacity) { in SparseIntArray() method in SparseIntArray
83 public SparseIntArray clone() { in clone()
84 SparseIntArray clone = null; in clone()
86 clone = (SparseIntArray) super.clone(); in clone()
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseIntArray.java19 import android.util.SparseIntArray;
27 private final SparseIntArray mArray;
29 public UnmodifiableSparseIntArray(SparseIntArray array) { in UnmodifiableSparseIntArray()
/frameworks/base/core/java/android/window/
DSizeConfigurationBuckets.java27 import android.util.SparseIntArray;
71 SparseIntArray horizontal = new SparseIntArray(); in SizeConfigurationBuckets()
72 SparseIntArray vertical = new SparseIntArray(); in SizeConfigurationBuckets()
73 SparseIntArray smallest = new SparseIntArray(); in SizeConfigurationBuckets()
74 SparseIntArray screenLayoutSize = new SparseIntArray(); in SizeConfigurationBuckets()
/frameworks/base/core/java/android/service/autofill/
DVisibilitySetterAction.java27 import android.util.SparseIntArray;
45 @NonNull private final SparseIntArray mVisibilities;
74 private final SparseIntArray mVisibilities = new SparseIntArray();
158 final SparseIntArray visibilities = parcel.readSparseIntArray();
/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java24 import android.util.SparseIntArray;
413 SparseIntArray charToLanguageTable = sCharsToGsmTables[languageTable]; in stringToGsm7BitPacked()
414 SparseIntArray charToShiftTable = sCharsToShiftTables[languageShiftTable]; in stringToGsm7BitPacked()
703 SparseIntArray charToLanguageTable = sCharsToGsmTables[0];
704 SparseIntArray charToShiftTable = sCharsToShiftTables[0];
811 SparseIntArray charToLanguageTable = sCharsToGsmTables[languageTable];
812 SparseIntArray charToShiftTable = sCharsToShiftTables[languageShiftTable];
1011 SparseIntArray charToLangTable = sCharsToGsmTables[langTable];
1012 SparseIntArray charToLangShiftTable = sCharsToShiftTables[langShiftTable];
1105 private static final SparseIntArray[] sCharsToGsmTables;
[all …]
/frameworks/libs/net/common/framework/com/android/net/module/util/
DPerUidCounter.java19 import android.util.SparseIntArray;
36 final SparseIntArray mUidToCount = new SparseIntArray();
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DRollbackStoreTest.java23 import android.util.SparseIntArray;
129 SparseIntArray extensionVersions = new SparseIntArray(); in createNonStaged()
148 SparseIntArray extensionVersions = new SparseIntArray(); in createStaged()
168 SparseIntArray extensionVersions = new SparseIntArray(); in saveAndLoadRollback()
222 ID, 567, USER, INSTALLER, null, new SparseIntArray(0)); in loadFromJsonNoExtensionVersions()
268 SparseIntArray extensionVersions = new SparseIntArray(); in loadFromJson()
319 ID, 567, USER, INSTALLER, null, new SparseIntArray(0)); in saveAndDelete()
335 ID, 567, USER, INSTALLER, null, new SparseIntArray(0)); in saveToHistoryAndLoad()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationLegacySettings.java25 import android.util.SparseIntArray;
85 public SparseIntArray getUserStates(@NonNull String packageName) { in getUserStates()
129 final SparseIntArray userStates = state.getUserStates(); in writeSettings()
189 private SparseIntArray mUserStates;
204 public SparseIntArray getUserStates() { in getUserStates()
214 mUserStates = new SparseIntArray(1); in addUserState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRatRatcheter.java32 import android.util.SparseIntArray;
54 private final SparseArray<SparseIntArray> mRatFamilyMap = new SparseArray<>();
102 final SparseIntArray oldFamily = mRatFamilyMap.get(oldRat); in ratchetRat()
107 final SparseIntArray newFamily = mRatFamilyMap.get(newRat); in ratchetRat()
216 SparseIntArray currentFamily = new SparseIntArray(rats.length); in resetRatFamilyMap()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DGenerationRegistry.java24 import android.util.SparseIntArray;
44 private final SparseIntArray mKeyToIndexMap = new SparseIntArray();
151 private static void resetSlotForKeyLocked(int key, SparseIntArray keyToIndexMap, in resetSlotForKeyLocked()
164 private static int getKeyIndexLocked(int key, SparseIntArray keyToIndexMap, in getKeyIndexLocked()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DDeviceStateRotationLockSettingsManager.java34 import android.util.SparseIntArray;
62 private SparseIntArray mPostureRotationLockSettings;
63 private SparseIntArray mPostureDefaultRotationLockSettings;
64 private SparseIntArray mPostureRotationLockFallbackSettings;
228 mPostureRotationLockSettings = new SparseIntArray(values.length / 2); in initializeInMemoryMap()
308 mPostureDefaultRotationLockSettings = new SparseIntArray( in loadDefaults()
310 mPostureRotationLockSettings = new SparseIntArray(mPostureRotationLockDefaults.length); in loadDefaults()
311 mPostureRotationLockFallbackSettings = new SparseIntArray(1); in loadDefaults()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java31 import android.util.SparseIntArray;
255 SparseIntArray map = null; in StreamConfigurationMap()
1498 SparseIntArray formatsMap = in getInternalFormatSizes()
1585 SparseIntArray map = getFormatsMap(output); in getPublicFormats()
1610 private SparseIntArray getFormatsMap(boolean output) { in getFormatsMap()
1661 SparseIntArray formatsMap = getFormatsMap(output); in getPublicFormatCount()
1981 private final SparseIntArray mOutputFormats = new SparseIntArray();
1984 private final SparseIntArray mHighResOutputFormats = new SparseIntArray();
1986 private final SparseIntArray mAllOutputFormats = new SparseIntArray();
1988 private final SparseIntArray mInputFormats = new SparseIntArray();
[all …]
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java78 import android.util.SparseIntArray;
184 private SparseIntArray mUidCleartextPolicy = new SparseIntArray();
187 private SparseIntArray mUidFirewallRules = new SparseIntArray();
193 private SparseIntArray mUidFirewallStandbyRules = new SparseIntArray();
199 private SparseIntArray mUidFirewallDozableRules = new SparseIntArray();
205 private SparseIntArray mUidFirewallPowerSaveRules = new SparseIntArray();
210 private SparseIntArray mUidFirewallRestrictedRules = new SparseIntArray();
215 private SparseIntArray mUidFirewallLowPowerStandbyRules = new SparseIntArray();
403 SparseIntArray rules; in syncFirewallChainLocked()
405 final SparseIntArray uidFirewallRules = getUidFirewallRulesLR(chain); in syncFirewallChainLocked()
[all …]
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DParcelAllTheThingsDataClass.java24 import android.util.SparseIntArray;
49 @NonNull SparseIntArray mSparseIntArray = null;
78 @NonNull SparseIntArray sparseIntArray, in ParcelAllTheThingsDataClass()
137 public @NonNull SparseIntArray getSparseIntArray() { in getSparseIntArray()
204 SparseIntArray sparseIntArray = (SparseIntArray) in.readSparseIntArray(); in ParcelAllTheThingsDataClass()
260 private @NonNull SparseIntArray mSparseIntArray;
350 public @NonNull Builder setSparseIntArray(@NonNull SparseIntArray value) { in setSparseIntArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDevicePostureControllerImpl.java21 import android.util.SparseIntArray;
42 private final SparseIntArray mDeviceStateToPostureMap = new SparseIntArray();
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DUserData.java20 import android.util.SparseIntArray;
97 public static final SparseIntArray charToAscii = new SparseIntArray();
/frameworks/base/core/java/android/widget/
DAlphabetIndexer.java21 import android.util.SparseIntArray;
60 private SparseIntArray mAlphaMap;
91 mAlphaMap = new SparseIntArray(mAlphabetLength); in AlphabetIndexer()
147 final SparseIntArray alphaMap = mAlphaMap; in getPositionForSection()

12345678