Home
last modified time | relevance | path

Searched refs:IntArray (Results 1 – 25 of 214) sorted by relevance

123456789

/frameworks/base/core/tests/utiltests/src/android/util/
DIntArrayTest.java36 IntArray a = new IntArray(); in testIntArray()
42 IntArray b = IntArray.fromArray(new int[]{4, 5, 6, 7, 8}, 3); in testIntArray()
69 a = IntArray.wrap(backingArray); in testIntArray()
88 IntArray a = new IntArray(10); in testToString()
100 public void verify(IntArray intArray, int... expected) { in verify()
/frameworks/base/core/java/android/util/
DIntArray.java30 public class IntArray implements Cloneable { class
36 private IntArray(int[] array, int size) { in IntArray() method in IntArray
44 public IntArray() { in IntArray() method in IntArray
51 public IntArray(int initialCapacity) { in IntArray() method in IntArray
63 public static IntArray wrap(int[] array) { in wrap()
64 return new IntArray(array, array.length); in wrap()
70 public static IntArray fromArray(int[] array, int size) { in fromArray()
137 public void addAll(IntArray values) { in addAll()
180 public IntArray clone() { in clone()
181 return new IntArray(mValues.clone(), mSize); in clone()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeUserInfoHelper.java20 import android.util.IntArray;
36 private final IntArray mRunningUserIds;
37 private final IntArray mVisibleUserIds;
38 private final SparseArray<IntArray> mProfiles;
44 mRunningUserIds = IntArray.wrap(new int[] {DEFAULT_USERID}); in FakeUserInfoHelper()
46 mVisibleUserIds = IntArray.wrap(new int[] {DEFAULT_USERID}); in FakeUserInfoHelper()
83 IntArray.fromArray(currentProfileUserIds, currentProfileUserIds.length)); in setCurrentUserIds()
145 IntArray profiles = mProfiles.get(userId); in getProfileIds()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderfsStatsReaderTest.java24 import android.util.IntArray;
97 private IntArray mValidPids; // The pool of valid pids
98 private IntArray mStatsPids; // The pids read from binderfs stats that are also valid
99 private IntArray mStatsFree; // The free async space of the above pids
106 mValidPids = IntArray.fromArray(new int[]{14505, 14461, 542, 540}, 4); in setUp()
107 mStatsPids = new IntArray(); in setUp()
108 mStatsFree = new IntArray(); in setUp()
162 mValidPids = new IntArray(); in testInvalidProc()
/frameworks/base/telephony/java/android/telephony/satellite/
DSystemSelectionSpecifier.java23 import android.util.IntArray;
36 @NonNull private IntArray mBands;
42 @NonNull private IntArray mEarfcs;
47 public SystemSelectionSpecifier(@NonNull String mccmnc, @NonNull IntArray bands, in SystemSelectionSpecifier()
48 @NonNull IntArray earfcs) { in SystemSelectionSpecifier()
148 @NonNull public IntArray getBands() { in getBands()
152 @NonNull public IntArray getEarfcs() { in getEarfcs()
159 mBands = new IntArray(); in readFromParcel()
167 mEarfcs = new IntArray(); in readFromParcel()
/frameworks/base/services/core/java/com/android/server/cpu/
DCpuAvailabilityMonitoringConfig.java20 import android.util.IntArray;
55 private final IntArray mThresholds;
57 public IntArray getThresholds() { in getThresholds()
68 private final IntArray mThresholds = new IntArray();
/frameworks/rs/toolkit/test/
DReferenceHistogram.kt39 ): IntArray { in <lambda>()
42 val counts = IntArray(paddedSize(input.vectorSize) * 256) in <lambda>()
66 ): IntArray { in referenceHistogramDot()
80 … val intCoefficients = IntArray(input.vectorSize) { (floatCoefficients[it] * 256f + 0.5f).toInt() } in referenceHistogramDot()
82 val counts = IntArray(256) in referenceHistogramDot()
DIntrinsicHistogram.kt38 ): IntArray { in intrinsicHistogram()
63 val intrinsicOutArray = IntArray(256 * paddedSize(vectorSize)) in intrinsicHistogram()
76 ): IntArray { in intrinsicHistogram()
98 val intrinsicOutArray = IntArray(256 * vectorSize) in intrinsicHistogram()
114 ): IntArray { in intrinsicHistogramDot()
147 val intrinsicOutArray = IntArray(256) in intrinsicHistogramDot()
161 ): IntArray { in intrinsicHistogramDot()
190 val intrinsicOutArray = IntArray(256) in intrinsicHistogramDot()
DTimingTracker.kt26 private val timings = mutableMapOf<String, IntArray>() in <lambda>()
38 IntArray(numberOfIterations - numberOfIterationsToIgnore) in <lambda>()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java31 import android.util.IntArray;
155 private final @NonNull IntArray mFadeableUsages;
157 private final @NonNull IntArray mUnfadeableContentTypes;
159 private final @NonNull IntArray mUnfadeablePlayerTypes;
161 private final @NonNull IntArray mUnfadeableUids;
178 @NonNull IntArray fadeableUsages, @NonNull IntArray unfadeableContentTypes, in FadeManagerConfiguration()
179 @NonNull IntArray unfadeablePlayerTypes, @NonNull IntArray unfadeableUids, in FadeManagerConfiguration()
650 this.mFadeableUsages = IntArray.wrap(fadeableUsages); in FadeManagerConfiguration()
651 this.mUnfadeableContentTypes = IntArray.wrap(unfadeableContentTypes); in FadeManagerConfiguration()
652 this.mUnfadeablePlayerTypes = IntArray.wrap(unfadeablePlayerTypes); in FadeManagerConfiguration()
[all …]
DAudioManagerInternal.java18 import android.util.IntArray;
41 public abstract void setAccessibilityServiceUids(IntArray uids); in setAccessibilityServiceUids()
61 public abstract void setActiveAssistantServicesUids(IntArray activeUids); in setActiveAssistantServicesUids()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt31 private val data: IntArray = IntArray(width * height) in <lambda>()
32 private val user: IntArray = data.copyOf() in <lambda>()
98 fun errors(): IntArray { in <lambda>()
99 return IntArray(width * height) { in <lambda>()
104 fun getRowClue(y: Int): IntArray { in <lambda>()
107 fun getColumnClue(x: Int): IntArray { in <lambda>()
110 fun getClue(xSel: Int, ySel: Int): IntArray { in <lambda>()
/frameworks/base/core/java/com/android/internal/os/
DProcTimeInStateReader.java21 import android.util.IntArray;
165 IntArray timeInStateFrequencyFormat = new IntArray(); in initializeTimeInStateFormat()
166 IntArray timeInStateTimeFormat = new IntArray(); in initializeTimeInStateFormat()
DProcLocksReader.java19 import android.util.IntArray;
41 private IntArray mPids = new IntArray();
64 void onBlockingFileLock(IntArray pids); in onBlockingFileLock()
DCpuScalingPolicyReader.java21 import android.util.IntArray;
126 IntArray intArray = new IntArray(16); in readIntsFromFile()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodSettingsTest.java22 import android.util.IntArray;
37 private static IntArray createSubtypeHashCodeArrayFromStr(String subtypeHashCodesStr) { in createSubtypeHashCodeArrayFromStr()
38 final IntArray subtypes = new IntArray(); in createSubtypeHashCodeArrayFromStr()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPalette.kt22 var colors : IntArray
66 colors = IntArray(count)
71 colors = IntArray(count)
75 constructor(_colors: IntArray) {
/frameworks/base/services/core/java/com/android/server/pm/
DDistractingPackageHelper.java25 import android.util.IntArray;
82 final IntArray changedUids = new IntArray(packageNames.length); in setDistractingPackageRestrictionsAsUser()
180 final IntArray changedUids = new IntArray(packagesToChange.length); in removeDistractingPackageRestrictions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManager.kt49 override fun onMutedUntilConnection(device: AudioDeviceAttributes, mutedUsages: IntArray) { in onMutedUntilConnection()
64 mutedUsages: IntArray in onUnmutedEvent()
100 private fun IntArray.hasMedia() = USAGE_MEDIA in this method
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedPresentationListenerController.java35 import android.util.IntArray;
255 ArrayMap<ITrustedPresentationListener, Pair<IntArray, IntArray>> listenerUpdates = in computeTpl()
299 ArrayMap<ITrustedPresentationListener, Pair<IntArray, IntArray>> listenerUpdates, in addListenerUpdate() argument
303 updates = new Pair<>(new IntArray(), new IntArray()); in addListenerUpdate()
316 ArrayMap<ITrustedPresentationListener, Pair<IntArray, IntArray>> listenerUpdates, in checkIfInThreshold() argument
DDisplayWindowListenerController.java23 import android.util.IntArray;
45 final IntArray displayIds = new IntArray(); in registerListener()
/frameworks/base/core/java/android/net/metrics/
DConnectStats.java20 import android.util.IntArray;
42 public final IntArray latencies = new IntArray();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFoldStateListener.kt42 private val foldedDeviceStates: IntArray = in onFoldStateChanged()
44 private val goToSleepDeviceStates: IntArray = in onFoldStateChanged()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java30 import android.util.IntArray;
72 private final SparseArrayMap<String, IntArray> mUijNotifications = new SparseArrayMap<>();
157 final IntArray notificationIds = mUijNotifications.get(userId, packageName); in enqueueNotification()
233 final IntArray notifications = mUijNotifications.get(userId, packageName); in isNotificationAssociatedWithAnyUserInitiatedJobs()
282 final IntArray notifications = mUijNotifications.get(userId, packageName); in maybeDeleteNotificationIdAssociation()
325 mUijNotifications.add(userId, packageName, new IntArray()); in maybeCreateUijNotificationSetsLocked()
/frameworks/rs/toolkit/java/
DToolkit.kt571 ): IntArray { in histogram()
582 val outputArray = IntArray(256 * paddedSize(vectorSize)) in histogram()
623 ): IntArray { in histogram()
627 val outputArray = IntArray(256 * vectorSize(inputBitmap)) in histogram()
672 ): IntArray { in histogramDot()
684 val outputArray = IntArray(256) in histogramDot()
732 ): IntArray { in histogramDot()
737 val outputArray = IntArray(256) in histogramDot()
1198 outputArray: IntArray, in createNative()
1205 outputArray: IntArray, in createNative()
[all …]

123456789