/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 31 import android.util.ArrayMap; 134 FontCustomizationParser.Result oemCustomization, ArrayMap<String, Typeface> fontMap, in buildSystemFallback() 135 ArrayMap<String, FontFamily[]> fallbackMap) { in buildSystemFallback() 157 final ArrayMap<String, Typeface> fontMap = new ArrayMap<>(); in testBuildSystemFallback() 158 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in testBuildSystemFallback() 188 final ArrayMap<String, Typeface> fontMap = new ArrayMap<>(); in testBuildSystemFallback_NonExistentFontShouldBeIgnored() 189 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in testBuildSystemFallback_NonExistentFontShouldBeIgnored() 218 final ArrayMap<String, Typeface> fontMap = new ArrayMap<>(); in testBuildSystemFallback_NamedFamily() 219 final ArrayMap<String, FontFamily[]> fallbackMap = new ArrayMap<>(); in testBuildSystemFallback_NamedFamily() 266 final ArrayMap<String, Typeface> fontMap = new ArrayMap<>(); in testBuildSystemFallback_defaultFallback() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | SnoozeHelper.java | 31 import android.util.ArrayMap; 74 private ArrayMap<Integer, ArrayMap<String, ArrayMap<String, NotificationRecord>>> 75 mSnoozedNotifications = new ArrayMap<>(); 77 private ArrayMap<String, String> mPackages = new ArrayMap<>(); 79 private ArrayMap<String, Integer> mUsers = new ArrayMap<>(); 113 final ArrayMap<String, ArrayMap<String, NotificationRecord>> snoozedPkgs = in getSnoozed() 118 final ArrayMap<String, NotificationRecord> records = snoozedPkgs.valueAt(j); in getSnoozed() 145 ArrayMap<String, ArrayMap<String, NotificationRecord>> records = in snooze() 148 records = new ArrayMap<>(); in snooze() 150 ArrayMap<String, NotificationRecord> pkgRecords = records.get(record.sbn.getPackageName()); in snooze() [all …]
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStats.java | 22 import android.util.ArrayMap; 107 private ArrayMap<String,HealthStats>[] mStatsValues; 111 private ArrayMap<String,TimerStat>[] mTimersValues; 115 private ArrayMap<String,Long>[] mMeasurementsValues; 160 mStatsValues = new ArrayMap[count]; in HealthStats() 169 mTimersValues = new ArrayMap[count]; in HealthStats() 178 mMeasurementsValues = new ArrayMap[count]; in HealthStats() 452 private static ArrayMap<String,HealthStats> createHealthStatsMap(Parcel in) { in createHealthStatsMap() 454 final ArrayMap<String,HealthStats> result = new ArrayMap<String,HealthStats>(count); in createHealthStatsMap() 465 private static <T extends Parcelable> ArrayMap<String,T> createParcelableMap(Parcel in, in createParcelableMap() [all …]
|
D | HealthStatsWriter.java | 22 import android.util.ArrayMap; 49 private final ArrayMap<String,HealthStatsWriter>[] mStatsValues; 52 private final ArrayMap<String,TimerStat>[] mTimersValues; 55 private final ArrayMap<String,Long>[] mMeasurementsValues; 80 mStatsValues = new ArrayMap[statsCount]; in HealthStatsWriter() 84 mTimersValues = new ArrayMap[timersCount]; in HealthStatsWriter() 88 mMeasurementsValues = new ArrayMap[measurementsCount]; in HealthStatsWriter() 122 ArrayMap<String,HealthStatsWriter> map = mStatsValues[index]; in addStats() 124 map = mStatsValues[index] = new ArrayMap<String,HealthStatsWriter>(1); in addStats() 137 ArrayMap<String,TimerStat> map = mTimersValues[index]; in addTimers() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 32 import android.util.ArrayMap; 98 final ArrayMap<Integer, ArrayMap<Integer, Boolean>> expected = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 100 final ArrayMap<Integer, Boolean> isRestrictedForDozable = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 106 final ArrayMap<Integer, Boolean> isRestrictedForPowerSave = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 112 final ArrayMap<Integer, Boolean> isRestrictedForStandby = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 134 final ArrayMap<Integer, Boolean> expectedValues = expected.get(chain); in testIsNetworkRestrictedForUid()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionManager.java | 22 import android.util.ArrayMap; 74 ArrayMap<Scene, Transition> mSceneTransitions = new ArrayMap<Scene, Transition>(); 75 ArrayMap<Scene, ArrayMap<Scene, Transition>> mScenePairTransitions = 76 new ArrayMap<Scene, ArrayMap<Scene, Transition>>(); 78 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>> 80 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>(); 137 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(toScene); in setTransition() 139 sceneTransitionMap = new ArrayMap<Scene, Transition>(); in setTransition() 164 ArrayMap<Scene, Transition> sceneTransitionMap = mScenePairTransitions.get(scene); in getTransition() 219 private static ArrayMap<ViewGroup, ArrayList<Transition>> getRunningTransitions() { in getRunningTransitions() [all …]
|
D | TransitionValuesMaps.java | 19 import android.util.ArrayMap; 25 ArrayMap<View, TransitionValues> viewValues = 26 new ArrayMap<View, TransitionValues>(); 29 ArrayMap<String, View> nameValues = new ArrayMap<String, View>();
|
/frameworks/base/core/java/android/service/autofill/ |
D | CompositeUserData.java | 26 import android.util.ArrayMap; 107 final ArrayMap<String, String> categoryAlgorithms = getFieldClassificationAlgorithms(); in getFieldClassificationAlgorithmForCategory() 115 public ArrayMap<String, String> getFieldClassificationAlgorithms() { in getFieldClassificationAlgorithms() 116 final ArrayMap<String, String> packageAlgos = mPackageUserData in getFieldClassificationAlgorithms() 118 final ArrayMap<String, String> genericAlgos = mGenericUserData == null ? null : in getFieldClassificationAlgorithms() 121 ArrayMap<String, String> categoryAlgorithms = null; in getFieldClassificationAlgorithms() 123 categoryAlgorithms = new ArrayMap<>(); in getFieldClassificationAlgorithms() 136 public ArrayMap<String, Bundle> getFieldClassificationArgs() { in getFieldClassificationArgs() 137 final ArrayMap<String, Bundle> packageArgs = mPackageUserData.getFieldClassificationArgs(); in getFieldClassificationArgs() 138 final ArrayMap<String, Bundle> genericArgs = mGenericUserData == null ? null : in getFieldClassificationArgs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | RedactingProvider.java | 23 import android.util.ArrayMap; 41 final ArrayMap<String, Object> redactions = new ArrayMap<>(); in query() 51 final ArrayMap<String, Object> redactions = new ArrayMap<>(); in query() 61 final ArrayMap<String, Object> redactions = new ArrayMap<>(); in query()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | TrustedRootCertificates.java | 22 import android.util.ArrayMap; 143 private static final ArrayMap<String, X509Certificate> ALL_ROOT_CERTIFICATES = 150 return new ArrayMap(ALL_ROOT_CERTIFICATES); in getRootCertificates() 163 private static ArrayMap<String, X509Certificate> constructRootCertificateMap() { in constructRootCertificateMap() 164 ArrayMap<String, X509Certificate> certificates = in constructRootCertificateMap() 165 new ArrayMap<>(NUMBER_OF_ROOT_CERTIFICATES); in constructRootCertificateMap()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 22 import android.util.ArrayMap; 35 private ArrayMap<String, IpConfiguration> mIpConfigurations; 40 mIpConfigurations = new ArrayMap<>(0); in EthernetConfigStore() 45 ArrayMap<String, IpConfiguration> configs = in read() 75 public ArrayMap<String, IpConfiguration> getIpConfigurations() { in getIpConfigurations() 77 return new ArrayMap<>(mIpConfigurations); in getIpConfigurations()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 19 import android.util.ArrayMap; 34 private ArrayMap<String, ArraySet<String>> mImportantNotifications = new ArrayMap<>(1); 36 private ArrayMap<String, ArraySet<String>> mStandardLayoutNotifications = new ArrayMap<>(1); 39 private ArrayMap<String, ArraySet<Integer>> mAppOps = new ArrayMap<>(1); 90 public void addNotification(ArrayMap<String, ArraySet<String>> map, String pkg, in addNotification() 98 public boolean removeNotification(ArrayMap<String, ArraySet<String>> map, in removeNotification()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | FingerprintGestureController.java | 23 import android.util.ArrayMap; 70 private final ArrayMap<FingerprintGestureCallback, Handler> mCallbackHandlerMap = 71 new ArrayMap<>(1); 129 final ArrayMap<FingerprintGestureCallback, Handler> handlerMap; in onGestureDetectionActiveChanged() 131 handlerMap = new ArrayMap<>(mCallbackHandlerMap); in onGestureDetectionActiveChanged() 150 final ArrayMap<FingerprintGestureCallback, Handler> handlerMap; in onGesture() 152 handlerMap = new ArrayMap<>(mCallbackHandlerMap); in onGesture()
|
D | AccessibilityButtonController.java | 23 import android.util.ArrayMap; 58 private ArrayMap<AccessibilityButtonCallback, Handler> mCallbacks; 115 mCallbacks = new ArrayMap<>(); in registerAccessibilityButtonCallback() 149 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonClicked() 158 entries = new ArrayMap<>(mCallbacks); in dispatchAccessibilityButtonClicked() 173 final ArrayMap<AccessibilityButtonCallback, Handler> entries; in dispatchAccessibilityButtonAvailabilityChanged() 183 entries = new ArrayMap<>(mCallbacks); in dispatchAccessibilityButtonAvailabilityChanged()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | CpuFrequencies.java | 18 import android.util.ArrayMap; 44 private final ArrayMap<Integer, Long> mCoreAndFrequencies = new ArrayMap<>(); 81 public ArrayMap<String, String> toSysFileMap() { in toSysFileMap() 82 final ArrayMap<String, String> map = new ArrayMap<>(); in toSysFileMap()
|
D | FileUpdater.java | 23 import android.util.ArrayMap; 84 private final ArrayMap<String, String> mPendingWrites = new ArrayMap<>(); 90 private final ArrayMap<String, String> mDefaultValues = new ArrayMap<>(); 137 public void writeFiles(ArrayMap<String, String> fileValues) { in writeFiles() 179 private ArrayMap<String, String> cloneMap(ArrayMap<String, String> source) { in cloneMap() 180 return new ArrayMap<>(source); in cloneMap() 192 final ArrayMap<String, String> writes; in handleWriteOnHandler() 366 read = (ArrayMap<String, String>) XmlUtils.readThisArrayMapXml(parser, in loadDefaultValuesLocked() 403 ArrayMap<String, String> getDefaultValuesForTest() { in getDefaultValuesForTest()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestablePermissions.java | 19 import android.util.ArrayMap; 30 private final ArrayMap<String, Integer> mPermissions = new ArrayMap<>(); 31 private final ArrayMap<Uri, Integer> mUris = new ArrayMap<>();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | FileUpdaterTest.java | 32 import android.util.ArrayMap; 147 final ArrayMap<String, String> values = new ArrayMap<>(); in testNoWrites() 171 final ArrayMap<String, String> values = new ArrayMap<>(); in testSimpleWrite() 196 final ArrayMap<String, String> values = new ArrayMap<>(); in testMultiWrites() 226 final ArrayMap<String, String> values = new ArrayMap<>(); in testCantReadDefault() 258 final ArrayMap<String, String> values = new ArrayMap<>(); in testWriteGiveUp() 302 final ArrayMap<String, String> values = new ArrayMap<>(); in testSuccessWithRetry() 358 final ArrayMap<String, String> values = new ArrayMap<>(); in testWriteReadDefault()
|
D | CpuFrequenciesTest.java | 20 import android.util.ArrayMap; 34 private void check(ArrayMap<String, String> expected, String config) { in check() 41 check(new ArrayMap<>(), ""); in test() 43 final ArrayMap<String, String> expected = new ArrayMap<>(); in test()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 33 import android.util.ArrayMap; 107 final ArrayMap<String, SharedLibraryEntry> mSharedLibraries = new ArrayMap<>(); 111 final ArrayMap<String, FeatureInfo> mAvailableFeatures = new ArrayMap<>(); 130 final ArrayMap<String, PermissionEntry> mPermissions = new ArrayMap<>(); 191 final ArrayMap<String, List<String>> mDisabledUntilUsedPreinstalledCarrierAssociatedApps = 192 new ArrayMap<>(); 194 final ArrayMap<String, ArraySet<String>> mPrivAppPermissions = new ArrayMap<>(); 195 final ArrayMap<String, ArraySet<String>> mPrivAppDenyPermissions = new ArrayMap<>(); 197 final ArrayMap<String, ArraySet<String>> mVendorPrivAppPermissions = new ArrayMap<>(); 198 final ArrayMap<String, ArraySet<String>> mVendorPrivAppDenyPermissions = new ArrayMap<>(); [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionSettings.java | 23 import android.util.ArrayMap; 55 final ArrayMap<String, BasePermission> mPermissions = 56 new ArrayMap<String, BasePermission>(); 63 final ArrayMap<String, BasePermission> mPermissionTrees = 64 new ArrayMap<String, BasePermission>(); 71 final ArrayMap<String, PackageParser.PermissionGroup> mPermissionGroups = 72 new ArrayMap<String, PackageParser.PermissionGroup>(); 79 final ArrayMap<String, ArraySet<String>> mAppOpPermissionPackages = new ArrayMap<>(); 108 ArrayMap<String, BasePermission> permissions = in transferPermissions() 153 public static void readPermissions(ArrayMap<String, BasePermission> out, XmlPullParser parser) in readPermissions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestableContext.java | 20 import android.util.ArrayMap; 25 private ArrayMap<Class<?>, Object> mComponents; 37 public ArrayMap<Class<?>, Object> getComponents() { in getComponents() 38 if (mComponents == null) mComponents = new ArrayMap<>(); in getComponents() 48 if (mComponents == null) mComponents = new ArrayMap<>(); in putComponent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | ArrayMapWithHistoryTest.java | 23 import android.util.ArrayMap; 43 ArrayMap<String, String> arrayMap = new ArrayMap<>(); in testValueHistoryBehavior() 78 ArrayMap<String, String> arrayMap = new ArrayMap<>(); in testMapBehavior() 116 ArrayMap<K, V> arrayMap, K key, V value) { in putAndCompareReturnValue() 136 ArrayMap<K, V> arrayMap, Entry<K, V>... expectedEntries) { in compareGetAndSizeForKeys() 145 int index, ArrayMapWithHistory<?, ?> historyMap, ArrayMap<?, ?> arrayMap) { in compareKeyAtAndValueAtForIndex() argument 151 int index, ArrayMapWithHistory<?, ?> historyMap, ArrayMap<?, ?> arrayMap) in assertIndexAccessThrowsException() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 20 import android.util.ArrayMap; 31 private ArrayMap<Property, Interpolator> mInterpolatorMap; 71 ArrayMap<Property, Interpolator> map = iconAnimationProperties.mInterpolatorMap; 74 mInterpolatorMap = new ArrayMap<>(); 85 mInterpolatorMap = new ArrayMap<>();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageKeySetData.java | 19 import android.util.ArrayMap; 32 private final ArrayMap<String, Long> mKeySetAliases = new ArrayMap<String, Long>(); 86 protected ArrayMap<String, Long> getAliases() { in getAliases() 93 protected void setAliases(ArrayMap<String, Long> newAliases) { in setAliases()
|