/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 243 long newSize = readPatchHeader(patchData); in writePatchToStream() local 244 long bytesWritten = writePatchedDataToStream(newSize, patchData, outputStream); in writePatchToStream() 246 if (bytesWritten != newSize) { in writePatchToStream() 248 "output size mismatch (expected %d but wrote %d)", newSize, bytesWritten)); in writePatchToStream() 267 long newSize = PatchUtils.readLELong(patchData); in readPatchHeader() local 268 if (newSize < 0) { in readPatchHeader() 269 throw new PatchFormatException("bad newSize: " + newSize); in readPatchHeader() 272 return newSize; in readPatchHeader() 278 private static long writePatchedDataToStream(long newSize, InputStream patchData, in writePatchedDataToStream() argument 289 while (newDataBytesWritten < newSize) { in writePatchedDataToStream() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureTrailDrawingPoints.java | 230 final int newSize = trailSize - startIndex; in drawGestureTrailLocked() local 231 if (newSize < startIndex) { in drawGestureTrailLocked() 233 if (newSize > 0) { in drawGestureTrailLocked() 234 System.arraycopy(eventTimes, startIndex, eventTimes, 0, newSize); in drawGestureTrailLocked() 235 System.arraycopy(xCoords, startIndex, xCoords, 0, newSize); in drawGestureTrailLocked() 236 System.arraycopy(yCoords, startIndex, yCoords, 0, newSize); in drawGestureTrailLocked() 238 System.arraycopy(pointTypes, startIndex, pointTypes, 0, newSize); in drawGestureTrailLocked() 241 mEventTimes.setLength(newSize); in drawGestureTrailLocked() 242 mXCoordinates.setLength(newSize); in drawGestureTrailLocked() 243 mYCoordinates.setLength(newSize); in drawGestureTrailLocked() [all …]
|
/packages/modules/NeuralNetworks/tools/ion_watcher/ |
D | ion_watcher.cpp | 57 const int newSize = parseMemInfo("ION_heap"); in main() local 58 if (newSize < 0) { in main() 59 return newSize; in main() 61 if (newSize != size) { in main() 62 size = newSize; in main()
|
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | AidlVehiclePropValueBuilder.java | 133 int newSize = oldSize + values.length; in addIntValues() local 134 int[] newValues = new int[newSize]; in addIntValues() 151 int newSize = oldSize + values.length; in addFloatValues() local 152 float[] newValues = new float[newSize]; in addFloatValues() 169 int newSize = oldSize + values.length; in addByteValues() local 170 byte[] newValues = new byte[newSize]; in addByteValues() 187 int newSize = oldSize + values.length; in addInt64Values() local 188 long[] newValues = new long[newSize]; in addInt64Values()
|
D | AidlVehiclePropConfigBuilder.java | 198 int newSize) { in duplicateAreaConfig() argument 199 VehicleAreaConfig[] out = new VehicleAreaConfig[newSize]; in duplicateAreaConfig()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | ItemListRowView.java | 180 int newSize = itemList.size(); in setItemList() local 182 if (oldSize > newSize) { in setItemList() 183 notifyItemRangeChanged(0, newSize); in setItemList() 184 notifyItemRangeRemoved(newSize, oldSize - newSize); in setItemList() 185 } else if (oldSize < newSize) { in setItemList() 187 notifyItemRangeInserted(oldSize, newSize - oldSize); in setItemList()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | LongArray.java | 75 public void resize(int newSize) { in resize() argument 76 Preconditions.checkArgumentNonnegative(newSize); in resize() 77 if (newSize <= mValues.length) { in resize() 78 Arrays.fill(mValues, newSize, mValues.length, 0); in resize() 80 ensureCapacity(newSize - mSize); in resize() 82 mSize = newSize; in resize()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | IntArray.java | 80 public void resize(int newSize) { in resize() argument 81 Preconditions.checkArgumentNonnegative(newSize); in resize() 82 if (newSize <= mValues.length) { in resize() 83 Arrays.fill(mValues, newSize, mValues.length, 0); in resize() 85 ensureCapacity(newSize - mSize); in resize() 87 mSize = newSize; in resize()
|
D | LongArray.java | 82 public void resize(int newSize) { in resize() argument 83 Preconditions.checkArgumentNonnegative(newSize); in resize() 84 if (newSize <= mValues.length) { in resize() 85 Arrays.fill(mValues, newSize, mValues.length, 0); in resize() 87 ensureCapacity(newSize - mSize); in resize() 89 mSize = newSize; in resize()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/window/ |
D | CachedDisplayInfo.java | 65 Point newSize = new Point(size); in normalize() local 66 rotateSize(newSize, deltaRotation(rotation, Surface.ROTATION_0)); in normalize() 70 return new CachedDisplayInfo(newSize, Surface.ROTATION_0, newCutout); in normalize()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Utils.java | 319 public static String[] copyOf(String[] source, int newSize) { in copyOf() argument 320 String[] result = new String[newSize]; in copyOf() 321 newSize = Math.min(source.length, newSize); in copyOf() 322 System.arraycopy(source, 0, result, 0, newSize); in copyOf()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskThumbnailCache.java | 179 int newSize = mContext.getResources().getInteger(R.integer.recentsThumbnailCacheSize); in updateCacheSizeAndRemoveExcess() local 181 if (newSize == oldSize) { in updateCacheSizeAndRemoveExcess() 186 mCache.updateCacheSizeAndRemoveExcess(newSize); in updateCacheSizeAndRemoveExcess() 187 return newSize > oldSize; in updateCacheSizeAndRemoveExcess()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 164 final byte newSize = 1; in resizePrunesDataAndUpdatesSizeLimitOnShrink() 165 rb.resize(newSize); in resizePrunesDataAndUpdatesSizeLimitOnShrink() 167 assertFalse(rb.appendBuffer(new byte[newSize + 1])); in resizePrunesDataAndUpdatesSizeLimitOnShrink()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsEvent.java | 923 int newSize = mBytes.length; in hasEnoughSpace() local 925 newSize *= 2; in hasEnoughSpace() 926 } while (newSize <= totalBytesNeeded); in hasEnoughSpace() 928 if (newSize > mMaxSize) { in hasEnoughSpace() 929 newSize = mMaxSize; in hasEnoughSpace() 932 mBytes = Arrays.copyOf(mBytes, newSize); in hasEnoughSpace()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 162 int newSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE); in genVideoUsingMuxer() local 163 bufferSize = newSize > bufferSize ? newSize : bufferSize; in genVideoUsingMuxer()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 413 final Size newSize = WidgetSizes.getWidgetSizePx(mDp, info.spanX, info.spanY); 414 return new PointF((float) newSize.getWidth() / origSize.getWidth(), 415 (float) newSize.getHeight() / origSize.getHeight());
|
/packages/modules/StatsD/statsd/tests/log_event/ |
D | LogEventQueue_test.cpp | 127 int32_t newSize = 0; in TEST() local
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | DigitalAppWidgetProvider.kt | 250 fun newSize(): Sizes { in <lambda>() method 473 val measuredSizes = template.newSize() in <lambda>()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthWeekEventsView.kt | 172 fun ensureSize(newSize: Int) { in ensureSize() 173 if (newSize >= array.size) { in ensureSize() 175 array = Arrays.copyOf(array, newSize + 16 * 7) in ensureSize()
|
/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionPlan.cpp | 385 uint32_t newSize = 0; in allocate() local 390 temp.offset = addTemporary(&newSize, temp.paddedLength, temp.alignment, kNoPadding).offset; in allocate() 400 if ((oldSize >= newSize) && (oldSize <= newSize * (1 + kWaste))) { in allocate() 404 std::tie(n, memory) = MemoryAshmem::create(newSize); in allocate() 406 LOG(ERROR) << "Failed to allocate dynamic temporaries of size " << newSize in allocate()
|
/packages/services/Car/tests/BugReportApp/libs/ |
D | grpc-context-1.19.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/grpc/
io/ ... |
D | jackson-core-2.9.9.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/LICENSE
META-INF ... |
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 892 int newSize = mBrowseNode.addChildren(folderList); in processMessage() local 893 debug("GetFolderList: Added " + newSize + " items to the browse tree"); in processMessage()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/ |
D | ApplicationsState.java | 1435 long newSize = externalCodeSize + externalDataSize 1437 if (entry.size != newSize || 1444 entry.size = newSize;
|
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | jackson-core-2.11.1.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/LICENSE
META-INF ... |