Home
last modified time | relevance | path

Searched refs:LongSparseArray (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/core/java/android/content/res/
DThemedResourceCache.java26 import android.util.LongSparseArray;
37 private ArrayMap<ThemeKey, LongSparseArray<WeakReference<T>>> mThemedEntries;
38 private LongSparseArray<WeakReference<T>> mUnthemedEntries;
39 private LongSparseArray<WeakReference<T>> mNullThemedEntries;
69 final LongSparseArray<WeakReference<T>> entries; in put()
95 final LongSparseArray<WeakReference<T>> themedEntries = getThemedLocked(theme, false); in get()
103 final LongSparseArray<WeakReference<T>> unthemedEntries = getUnthemedLocked(false); in get()
147 private LongSparseArray<WeakReference<T>> getThemedLocked(@Nullable Theme t, boolean create) { in getThemedLocked()
150 mNullThemedEntries = new LongSparseArray<>(1); in getThemedLocked()
164 LongSparseArray<WeakReference<T>> cache = mThemedEntries.get(key); in getThemedLocked()
[all …]
DResourcesImpl.java52 import android.util.LongSparseArray;
112 private static final LongSparseArray<Drawable.ConstantState>[] sPreloadedDrawables;
114 private static final LongSparseArray<Drawable.ConstantState> sPreloadedColorDrawables
115 = new LongSparseArray<>();
117 private static final LongSparseArray<android.content.res.ConstantState<ComplexColor>>
118 sPreloadedComplexColors = new LongSparseArray<>();
167 sPreloadedDrawables = new LongSparseArray[2];
168 sPreloadedDrawables[0] = new LongSparseArray<>();
169 sPreloadedDrawables[1] = new LongSparseArray<>();
1312 LongSparseArray<Drawable.ConstantState> getPreloadedDrawables() { in getPreloadedDrawables()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetUtils.java20 import android.util.LongSparseArray;
31 LongSparseArray<KeySetManagerService.PublicKeyHandle> mPublicKeys = in getPubKey()
32 (LongSparseArray<KeySetManagerService.PublicKeyHandle>) pkField.get(ksms); in getPubKey()
45 LongSparseArray<KeySetManagerService.PublicKeyHandle> mPublicKeys = in getPubKeyRefCount()
46 (LongSparseArray<KeySetManagerService.PublicKeyHandle>) pkField.get(ksms); in getPubKeyRefCount()
59 LongSparseArray<KeySetHandle> mKeySets = in getKeySetRefCount()
60 (LongSparseArray<KeySetHandle>) ksField.get(ksms); in getKeySetRefCount()
69 public static LongSparseArray<ArraySet<Long>> getKeySetMapping(KeySetManagerService ksms) in getKeySetMapping()
73 return (LongSparseArray<ArraySet<Long>>) ksField.get(ksms); in getKeySetMapping()
DKeySetManagerServiceTest.java24 import android.util.LongSparseArray;
127 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageEmpty()
157 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageUpgradeSame()
192 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageUpgradeDiff()
231 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageUpgradeDiff2()
271 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageNewOrtho()
312 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageNewSame()
350 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageSuper()
395 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddSigningKSToPackageUpgradeDiffSuper()
422 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); in testAddDefinedKSToPackageEmpty()
[all …]
/frameworks/base/core/java/android/transition/
DTransitionValuesMaps.java20 import android.util.LongSparseArray;
28 LongSparseArray<View> itemIdValues = new LongSparseArray<View>();
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java23 import android.util.LongSparseArray;
74 private final SparseArray<LongSparseArray<AccessibilityNodeInfo>> mNodeCache =
189 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in refreshCachedNodeLocked()
216 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in getNode()
288 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in add()
290 nodes = new LongSparseArray<>(); in add()
379 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in clearNodesForWindowLocked()
397 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.get(windowId); in clearSubTreeLocked()
412 private boolean clearSubTreeRecursiveLocked(LongSparseArray<AccessibilityNodeInfo> nodes, in clearSubTreeRecursiveLocked()
477 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.valueAt(i); in checkIntegrity()
DAccessibilityInteractionClient.java29 import android.util.LongSparseArray;
90 private static final LongSparseArray<AccessibilityInteractionClient> sClients =
91 new LongSparseArray<>();
/frameworks/base/core/java/android/util/
DLongSparseArray.java52 public class LongSparseArray<E> implements Cloneable { class
63 public LongSparseArray() { in LongSparseArray() method in LongSparseArray
74 public LongSparseArray(int initialCapacity) { in LongSparseArray() method in LongSparseArray
87 public LongSparseArray<E> clone() { in clone()
88 LongSparseArray<E> clone = null; in clone()
90 clone = (LongSparseArray<E>) super.clone(); in clone()
/frameworks/base/core/java/android/view/
DInputQueue.java22 import android.util.LongSparseArray;
35 private final LongSparseArray<ActiveInputEvent> mActiveEventArray =
36 new LongSparseArray<ActiveInputEvent>(20);
/frameworks/base/core/java/android/app/usage/
DTimeSparseArray.java19 import android.util.LongSparseArray;
27 public class TimeSparseArray<E> extends LongSparseArray<E> {
/frameworks/base/core/java/com/android/internal/os/
DMemoryPowerCalculator.java5 import android.util.LongSparseArray;
33 LongSparseArray<? extends BatteryStats.Timer> timers = stats.getKernelMemoryStats(); in calculateRemaining()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java30 import android.util.LongSparseArray;
105 private final LongSparseArray<ArrayList<NetworkEvent>> mBatches =
106 new LongSparseArray<>(MAX_BATCHES);
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java33 import android.util.LongSparseArray;
190 public final ProcessMap<LongSparseArray<PackageState>> mPackages = new ProcessMap<>();
265 ArrayMap<String, SparseArray<LongSparseArray<PackageState>>> pkgMap = in add()
269 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
272 final LongSparseArray<PackageState> versions = uids.valueAt(iu); in add()
488 final ArrayMap<String, SparseArray<LongSparseArray<PackageState>>> pkgMap = in resetSafely()
491 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in resetSafely()
493 final LongSparseArray<PackageState> vpkgs = uids.valueAt(iu); in resetSafely()
818 final ArrayMap<String, SparseArray<LongSparseArray<PackageState>>> pkgMap = in writeToParcel()
822 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in writeToParcel()
[all …]
/frameworks/base/media/java/android/media/
DSubtitleTrack.java24 import android.util.LongSparseArray;
47 final protected LongSparseArray<Run> mRunsByEndTime = new LongSparseArray<Run>();
49 final protected LongSparseArray<Run> mRunsByID = new LongSparseArray<Run>();
632 public void storeByEndTimeMs(LongSparseArray<Run> runsByEndTime) {
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java29 import android.util.LongSparseArray;
58 private final LongSparseArray<KeySetHandle> mKeySets;
60 private final LongSparseArray<PublicKeyHandle> mPublicKeys;
62 protected final LongSparseArray<ArraySet<Long>> mKeySetMapping;
114 mKeySets = new LongSparseArray<KeySetHandle>(); in KeySetManagerService()
115 mPublicKeys = new LongSparseArray<PublicKeyHandle>(); in KeySetManagerService()
116 mKeySetMapping = new LongSparseArray<ArraySet<Long>>(); in KeySetManagerService()
/frameworks/base/core/java/com/android/internal/widget/
DViewInfoStore.java22 import android.util.LongSparseArray;
51 final LongSparseArray<ViewHolder> mOldChangedHolders = new LongSparseArray<>();
/frameworks/base/core/java/android/database/
DCursorWindow.java29 import android.util.LongSparseArray;
752 private static final LongSparseArray<Integer> sWindowToPidMap = new LongSparseArray<Integer>();
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java26 import android.util.LongSparseArray;
63 private final LongSparseArray<CompatChange> mChanges = new LongSparseArray<>();
/frameworks/base/graphics/java/android/graphics/
DTypeface.java41 import android.util.LongSparseArray;
108 private static final LongSparseArray<SparseArray<Typeface>> sStyledTypefaceCache =
109 new LongSparseArray<>(3);
116 private static final LongSparseArray<SparseArray<Typeface>> sWeightTypefaceCache =
117 new LongSparseArray<>(3);
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java30 import android.util.LongSparseArray;
165 final ArrayMap<String, SparseArray<LongSparseArray<ProcessStats.PackageState>>> pmap in setMemFactorLocked()
168 final SparseArray<LongSparseArray<ProcessStats.PackageState>> uids = in setMemFactorLocked()
171 final LongSparseArray<ProcessStats.PackageState> vers = uids.valueAt(iuid); in setMemFactorLocked()
343 ArrayMap<String, SparseArray<LongSparseArray<ProcessStats.PackageState>>> pkgMap in readLocked()
348 SparseArray<LongSparseArray<ProcessStats.PackageState>> uids in readLocked()
353 LongSparseArray<ProcessStats.PackageState> vers = uids.valueAt(iu); in readLocked()
/frameworks/base/core/java/android/app/
DAppOpsManager.java43 import android.util.LongSparseArray;
2302 private final @Nullable LongSparseArray<String> mProxyPackageNames;
2310 @Nullable LongSparseArray<String> proxyPackageNames) { in OpEntry()
2339 public @Nullable LongSparseArray<Object> collectKeys() { in collectKeys()
2340 LongSparseArray<Object> result = AppOpsManager.collectKeys(mAccessTimes, null); in collectKeys()
4199 public @Nullable LongSparseArray<Object> collectKeys() { in collectKeys()
4200 LongSparseArray<Object> result = AppOpsManager.collectKeys(mAccessCount, in collectKeys()
4294 @Nullable LongSparseArray<String> counts, @UidState int beginUidState, in findFirstNonNullForFlagsInStates()
5695 @Nullable LongSparseArray<String> array, @NonNull Parcel parcel) { in writeLongSparseStringArrayToParcel()
5708 private static @Nullable LongSparseArray<String> readLongSparseStringArrayFromParcel( in readLongSparseStringArrayFromParcel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java47 import android.util.LongSparseArray;
103 private final LongSparseArray<ProcessMemInfo> mData = new LongSparseArray<>();
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java23 import android.util.LongSparseArray;
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java30 import android.util.LongSparseArray;
64 private final LongSparseArray<LocalDisplayDevice> mDevices =
65 new LongSparseArray<LocalDisplayDevice>();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java43 import android.util.LongSparseArray;
1782 LongSparseArray<WifiIfaceInfo> orderedListLowPriority = new LongSparseArray<>(); in selectInterfacesToDelete()
1783 LongSparseArray<WifiIfaceInfo> orderedList = new LongSparseArray<>(); in selectInterfacesToDelete()

12