Home
last modified time | relevance | path

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

12345678

/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsCheckingServiceImpl.java52 import android.util.SparseIntArray;
186 return new SparseIntArray(); in getNonDefaultUidModes()
197 return new SparseIntArray(); in getNonDefaultPackageModes()
201 return new SparseIntArray(); in getNonDefaultPackageModes()
225 opModes = new SparseIntArray(); in setUidMode()
276 opModes = new SparseIntArray(); in setPackageMode()
302 SparseIntArray opModes = mUidModes.get(uid); in removeUid()
314 SparseIntArray opModes = mUidModes.get(uid); in areUidModesDefault()
913 SparseIntArray modes = mUidModes.get(uid); in readUidOps()
915 modes = new SparseIntArray(); in readUidOps()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/wakeups/
H A DWakingActivityHistoryTest.java21 import android.util.SparseIntArray;
37 private static boolean areSame(SparseIntArray a, SparseIntArray b) { in areSame()
65 final SparseIntArray uids = new SparseIntArray(); in recordActivityAppendsUids()
76 final TimeSparseArray<SparseIntArray> recordedHistory = history.mWakingActivity.get( in recordActivityAppendsUids()
84 SparseIntArray recordedUids = recordedHistory.get(timestamp); in recordActivityAppendsUids()
110 final SparseIntArray uids = new SparseIntArray(); in recordActivityDoesNotDeleteExistingUids()
130 SparseIntArray recordedUids = recordedHistory.get(timestamp); in recordActivityDoesNotDeleteExistingUids()
164 final SparseIntArray uids = new SparseIntArray(); in removeBetween()
177 SparseIntArray removedUids = history.removeBetween(subsystem, 100, 122); in removeBetween()
255 history.recordActivity(subsystem, firstTime + i, new SparseIntArray()); in deletesActivityPastRetention()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/utils/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
H A DCpuWakeupStats.java38 import android.util.SparseIntArray;
81 final TimeSparseArray<SparseArray<SparseIntArray>> mWakeupAttribution =
84 final SparseIntArray mUidProcStates = new SparseIntArray();
85 private final SparseIntArray mReusableUidProcStates = new SparseIntArray(4);
154 final SparseIntArray uidProcStates = wakeupAttribution.valueAt(i); in logWakeupAttribution()
273 SparseIntArray uidProcStates) { in attemptAttributionWith()
287 SparseArray<SparseIntArray> attribution = mWakeupAttribution.get( in attemptAttributionWith()
293 SparseIntArray uidsToBlame = attribution.get(subsystem); in attemptAttributionWith()
446 final SparseIntArray uidsToReturn = new SparseIntArray(); in removeBetween()
448 final TimeSparseArray<SparseIntArray> activityForSubsystem = in removeBetween()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DMirrorActiveUids.java22 import android.util.SparseIntArray;
33 private final SparseIntArray mUidStates = new SparseIntArray();
36 private final SparseIntArray mNumNonAppVisibleWindowMap = new SparseIntArray();
/aosp14/frameworks/base/core/java/android/net/metrics/
H A DWakeupStats.java22 import android.util.SparseIntArray;
49 public final SparseIntArray ethertypes = new SparseIntArray();
50 public final SparseIntArray ipNextHeaders = new SparseIntArray();
132 private static void increment(SparseIntArray counters, int key) { in increment()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A 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()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHearingAidInfo.java22 import android.util.SparseIntArray;
229 private static final SparseIntArray ASHA_DEVICE_SIDE_TO_INTERNAL_SIDE_MAPPING;
230 private static final SparseIntArray ASHA_DEVICE_MODE_TO_INTERNAL_MODE_MAPPING;
231 private static final SparseIntArray HAP_DEVICE_TYPE_TO_INTERNAL_MODE_MAPPING;
234 ASHA_DEVICE_SIDE_TO_INTERNAL_SIDE_MAPPING = new SparseIntArray();
242 ASHA_DEVICE_MODE_TO_INTERNAL_MODE_MAPPING = new SparseIntArray();
250 HAP_DEVICE_TYPE_TO_INTERNAL_MODE_MAPPING = new SparseIntArray();
/aosp14/frameworks/base/core/java/android/util/
H A 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()
/aosp14/frameworks/base/core/java/android/window/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
H A DLockoutCache.java20 import android.util.SparseIntArray;
29 private final SparseIntArray mUserLockoutStates;
32 mUserLockoutStates = new SparseIntArray(); in LockoutCache()
/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DGsmAlphabet.java24 import android.util.SparseIntArray;
413 SparseIntArray charToLanguageTable = sCharsToGsmTables[languageTable]; in stringToGsm7BitPacked()
703 SparseIntArray charToLanguageTable = sCharsToGsmTables[0];
704 SparseIntArray charToShiftTable = sCharsToShiftTables[0];
1011 SparseIntArray charToLangTable = sCharsToGsmTables[langTable];
1105 private static final SparseIntArray[] sCharsToGsmTables;
1109 private static final SparseIntArray[] sCharsToShiftTables;
1503 sCharsToGsmTables = new SparseIntArray[numTables];
1513 SparseIntArray charToGsmTable = new SparseIntArray(tableLen);
1521 sCharsToShiftTables = new SparseIntArray[numShiftTables];
[all …]
/aosp14/frameworks/base/core/java/android/service/autofill/
H A 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();
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyCacheImpl.java24 import android.util.SparseIntArray;
61 private final SparseIntArray mPasswordQuality = new SparseIntArray();
64 private final SparseIntArray mPermissionPolicy = new SparseIntArray();
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseIntArray.java19 import android.util.SparseIntArray;
27 private final SparseIntArray mArray;
29 public UnmodifiableSparseIntArray(SparseIntArray array) { in UnmodifiableSparseIntArray()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java31 import android.util.SparseIntArray;
286 SparseIntArray map = null; in StreamConfigurationMap()
1561 SparseIntArray formatsMap = in getInternalFormatSizes()
2064 private final SparseIntArray mOutputFormats = new SparseIntArray();
2067 private final SparseIntArray mHighResOutputFormats = new SparseIntArray();
2069 private final SparseIntArray mAllOutputFormats = new SparseIntArray();
2071 private final SparseIntArray mInputFormats = new SparseIntArray();
2073 private final SparseIntArray mDepthOutputFormats = new SparseIntArray();
2075 private final SparseIntArray mDynamicDepthOutputFormats = new SparseIntArray();
2077 private final SparseIntArray mHeicOutputFormats = new SparseIntArray();
[all …]
/aosp14/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
H A DDeviceStateRotationLockSettingsManager.java34 import android.util.SparseIntArray;
62 private SparseIntArray mPostureRotationLockSettings;
63 private SparseIntArray mPostureDefaultRotationLockSettings;
64 private SparseIntArray mPostureRotationLockFallbackSettings;
224 mPostureRotationLockSettings = new SparseIntArray(values.length / 2); in initializeInMemoryMap()
310 mPostureDefaultRotationLockSettings = new SparseIntArray( in loadDefaults()
312 mPostureRotationLockSettings = new SparseIntArray(mPostureRotationLockDefaults.length); in loadDefaults()
313 mPostureRotationLockFallbackSettings = new SparseIntArray(1); in loadDefaults()
/aosp14/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkManagementService.java75 import android.util.SparseIntArray;
182 private SparseIntArray mUidCleartextPolicy = new SparseIntArray();
185 private SparseIntArray mUidFirewallRules = new SparseIntArray();
191 private SparseIntArray mUidFirewallStandbyRules = new SparseIntArray();
197 private SparseIntArray mUidFirewallDozableRules = new SparseIntArray();
203 private SparseIntArray mUidFirewallPowerSaveRules = new SparseIntArray();
208 private SparseIntArray mUidFirewallRestrictedRules = new SparseIntArray();
213 private SparseIntArray mUidFirewallLowPowerStandbyRules = new SparseIntArray();
402 SparseIntArray rules; in syncFirewallChainLocked()
1419 SparseIntArray newRules = new SparseIntArray(); in setFirewallUidRules()
[all …]
/aosp14/frameworks/base/tests/Codegen/src/com/android/codegentest/
H A 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()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DUserData.java20 import android.util.SparseIntArray;
97 public static final SparseIntArray charToAscii = new SparseIntArray();
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDevicePostureControllerImpl.java21 import android.util.SparseIntArray;
42 private final SparseIntArray mDeviceStateToPostureMap = new SparseIntArray();
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DCpuVideoTrackDecoder.java26 import android.util.SparseIntArray;
186 SparseIntArray colorPriorities = intArrayToPriorityMap(requiredColorFormats); in findDecoderCodec()
228 private static SparseIntArray intArrayToPriorityMap(int[] values) { in intArrayToPriorityMap()
229 SparseIntArray result = new SparseIntArray(); in intArrayToPriorityMap()
/aosp14/frameworks/base/core/java/android/widget/
H A 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