Home
last modified time | relevance | path

Searched defs:newArray (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
DGrowingArrayUtils.java48 T[] newArray = ArrayUtils.newUnpaddedArray( in append() local
65 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize)); in append() local
80 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize)); in append() local
110 float[] newArray = ArrayUtils.newUnpaddedFloatArray(growSize(currentSize)); in append() local
139 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(), in insert() local
159 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize)); in insert() local
178 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize)); in insert() local
/frameworks/base/core/java/android/view/inputmethod/
DSparseRectFArray.java172 final int[] newArray = new int[requiredIndexArraySize * 2]; in ensureBufferSize() local
178 final float[] newArray = new float[requiredCoordinatesArraySize * 2]; in ensureBufferSize() local
184 final int[] newArray = new int[requiredFlagsArraySize * 2]; in ensureBufferSize() local
/frameworks/base/services/core/java/com/android/server/pm/
DPersistentPreferredIntentResolver.java24 protected PersistentPreferredActivity[] newArray(int size) { in newArray() method in PersistentPreferredIntentResolver
DCrossProfileIntentResolver.java30 protected CrossProfileIntentFilter[] newArray(int size) { in newArray() method in CrossProfileIntentResolver
DPreferredIntentResolver.java26 protected PreferredActivity[] newArray(int size) { in newArray() method in PreferredIntentResolver
DComponentResolver.java1183 protected ActivityIntentInfo[] newArray(int size) { in newArray() method in ComponentResolver.ActivityIntentResolver
1467 protected PackageParser.ProviderIntentInfo[] newArray(int size) { in newArray() method in ComponentResolver.ProviderIntentResolver
1688 protected PackageParser.ServiceIntentInfo[] newArray(int size) { in newArray() method in ComponentResolver.ServiceIntentResolver
1828 protected AuxiliaryResolveInfo.AuxiliaryFilter[] newArray(int size) { in newArray() method in ComponentResolver.InstantAppIntentResolver
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DHttpResponse.kt47 override fun newArray(size: Int) = arrayOfNulls<HttpResponse?>(size) in describeContents() method
/frameworks/base/core/java/android/os/
DParcelable.java199 public T[] newArray(int size); in newArray() method
DBinderProxy.java204 Long[] newArray = new Long[size + size / 2 + 2]; in set() local
/frameworks/base/core/java/android/util/
DLongArrayQueue.java67 final long[] newArray = ArrayUtils.newUnpaddedLongArray(newSize); in grow() local
DArraySet.java704 @SuppressWarnings("unchecked") T[] newArray = in toArray() local
DMapCollections.java500 @SuppressWarnings("unchecked") T[] newArray in toArrayHelper() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1208 static boolean isAnyAppIdUnwhitelistedSlow(int[] prevArray, int[] newArray) { in isAnyAppIdUnwhitelistedSlow()
1218 private void checkAnyAppIdUnwhitelisted(int[] prevArray, int[] newArray, boolean expected) { in checkAnyAppIdUnwhitelisted()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuare.kt164 override fun newArray(size: Int): Array<Quare?> { in <lambda>() method
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java507 protected FirewallIntentFilter[] newArray(int size) { in newArray() method in IntentFirewall.FirewallIntentResolver
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java540 protected abstract F[] newArray(int size); in newArray() method in IntentResolver
DAppStateTracker.java1023 static boolean isAnyAppIdUnwhitelisted(int[] prevArray, int[] newArray) { in isAnyAppIdUnwhitelisted()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp809 jintArray newArray = env->NewIntArray(newCount); in android_os_Process_getPids() local
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1901 ViewNode[] newArray = new ViewNode[start + num]; in addChildCount() local
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6068 String[] newArray = new String[array.length+1]; in includeInStringArray() local
6077 String[] newArray = new String[array.length-1]; in excludeFromStringArray() local