Home
last modified time | relevance | path

Searched refs:subtract (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidClusterTimeReaderTest.java115 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDelta()
138 mCallback.verify(mUids[i], subtract(clusterTime(times4[i]), clusterTime(times3[i]))); in testReadDelta()
180 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDeltaDecreasedTime()
191 mCallback.verify(mUids[0], subtract(clusterTime(times3[0]), clusterTime(times1[0]))); in testReadDeltaDecreasedTime()
193 mCallback.verify(mUids[i], subtract(clusterTime(times3[i]), clusterTime(times2[i]))); in testReadDeltaDecreasedTime()
211 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDeltaNegativeTime()
222 mCallback.verify(mUids[0], subtract(clusterTime(times3[0]), clusterTime(times1[0]))); in testReadDeltaNegativeTime()
224 mCallback.verify(mUids[i], subtract(clusterTime(times3[i]), clusterTime(times2[i]))); in testReadDeltaNegativeTime()
286 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidClusterTimeReaderTest
DKernelCpuUidFreqTimeReaderTest.java182 mCallback.verify(mUids[i], subtract(newTimes1[i], times[i])); in testReadDelta()
205 mCallback.verify(mUids[i], subtract(newTimes3[i], newTimes2[i])); in testReadDelta()
255 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDeltaWrongData()
265 mCallback.verify(mUids[0], subtract(times3[0], times1[0])); in testReadDeltaWrongData()
267 mCallback.verify(mUids[i], subtract(times3[i], times2[i])); in testReadDeltaWrongData()
278 mCallback.verify(mUids[i], subtract(times4[i], times3[i])); in testReadDeltaWrongData()
288 mCallback.verify(mUids[0], subtract(times5[0], times3[0])); in testReadDeltaWrongData()
290 mCallback.verify(mUids[i], subtract(times5[i], times4[i])); in testReadDeltaWrongData()
372 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidFreqTimeReaderTest
DKernelCpuUidUserSysTimeReaderTest.java164 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDelta()
185 mCallback.verify(mUids[i], subtract(times4[i], times3[i])); in testReadDelta()
209 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDeltaWrongData()
268 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidUserSysTimeReaderTest
DLongSamplingCounterArrayTest.java130 private long[] subtract(long[] val, long[] toSubtract) { in subtract() method in LongSamplingCounterArrayTest
/frameworks/native/libs/ui/include_vndk/ui/
DRegion.h83 const Region subtract(const Rect& rhs) const;
89 const Region subtract(const Region& rhs) const;
105 const Region subtract(const Region& rhs, int dx, int dy) const WARN_UNUSED;
198 return subtract(rhs);
/frameworks/native/include/ui/
DRegion.h83 const Region subtract(const Rect& rhs) const;
89 const Region subtract(const Region& rhs) const;
105 const Region subtract(const Region& rhs, int dx, int dy) const WARN_UNUSED;
198 return subtract(rhs);
/frameworks/native/libs/ui/include/ui/
DRegion.h83 const Region subtract(const Rect& rhs) const;
89 const Region subtract(const Region& rhs) const;
105 const Region subtract(const Region& rhs, int dx, int dy) const WARN_UNUSED;
198 return subtract(rhs);
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java110 public LatLng subtract(@NonNull LatLng p) { in subtract() method in CbGeoUtils.LatLng
222 int ccw = sign(crossProduct(b.subtract(a), p.subtract(a))); in contains()
287 public Point subtract(Point p) { in subtract() method in CbGeoUtils.Polygon.Point
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java131 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in downloadFile()
185 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in uploadFile()
242 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in downloadFileUsingDownloadManager()
/frameworks/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java88 result.subtract(shape2 instanceof Area ? (Area) shape2 : new Area(shape2)); in combineShapes()
129 result.subtract(shape1 instanceof Area ? (Area) shape1 : new Area(shape1)); in combineShapes()
322 dstRegion.mArea.subtract(clip.getJavaArea()); in nativeSetPath()
/frameworks/base/tools/preload/
DPrintCsv.java108 = loadedClass.memoryUsage.subtract(baseline); in printRow()
DPrintHtmlDiff.java126 = clazz.memoryUsage.subtract(baseline); in printTable()
DMemoryUsage.java107 MemoryUsage subtract(MemoryUsage baseline) { in subtract() method in MemoryUsage
/frameworks/base/graphics/java/android/graphics/
DInsets.java104 public static @NonNull Insets subtract(@NonNull Insets a, @NonNull Insets b) { in subtract() method in Insets
/frameworks/base/core/java/android/net/
DNetworkStats.java956 public @NonNull NetworkStats subtract(@NonNull NetworkStats right) { in subtract() method in NetworkStats
957 return subtract(this, right, null, null); in subtract()
969 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, in subtract() method in NetworkStats
971 return subtract(left, right, observer, cookie, null); in subtract()
987 public static <C> NetworkStats subtract(NetworkStats left, NetworkStats right, in subtract() method in NetworkStats
DTrafficStats.java447 final NetworkStats profilingDelta = NetworkStats.subtract( in stopDataProfiling()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutput.cpp558 shadowRegion = visibleRegion.subtract(visibleRect); in ensureOutputLayerIfVisible()
649 Region visibleNonTransparentRegion = visibleRegion.subtract(transparentRegion); in ensureOutputLayerIfVisible()
660 Region visibleNonShadowRegion = visibleRegion.subtract(shadowRegion); in ensureOutputLayerIfVisible()
1189 !layerState.visibleRegion.subtract(layerState.shadowRegion).isEmpty(); in generateClientCompositionRequests()
/frameworks/native/libs/ui/
DRegion.cpp391 const Region Region::subtract(const Rect& rhs) const { in subtract() function in android::Region
411 const Region Region::subtract(const Region& rhs) const { in subtract() function in android::Region
457 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract() function in android::Region
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt200 favoriteComponentSet.subtract(serviceInfoSet).forEach { in <lambda>()
207 serviceInfoSet.subtract(favoriteComponentSet).forEach { in <lambda>()
/frameworks/base/core/java/android/security/keymaster/
DKeymasterArguments.java41 public static final BigInteger UINT64_MAX_VALUE = UINT64_RANGE.subtract(BigInteger.ONE);
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java375 final NetworkStats delta = uidDetailStats.subtract(previousStats); in adjustForTunAnd464Xlat()
DNetworkStatsRecorder.java220 final NetworkStats delta = NetworkStats.subtract( in recordSnapshotLocked()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DSecureBox.java105 private static final BigInteger EC_PARAM_A = EC_PARAM_P.subtract(new BigInteger("3"));
/frameworks/rs/script_api/include/
Drs_atomic.rsh221 * value: Amount to subtract.
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java260 final Insets offset = Insets.subtract(mShownInsets, mPendingInsets); in applyChangeInsets()

12