/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidClusterTimeReaderTest.java | 115 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
|
D | KernelCpuUidFreqTimeReaderTest.java | 182 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
|
D | KernelCpuUidUserSysTimeReaderTest.java | 168 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDelta() 189 mCallback.verify(mUids[i], subtract(times4[i], times3[i])); in testReadDelta() 213 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDeltaWrongData() 272 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidUserSysTimeReaderTest
|
D | LongSamplingCounterArrayTest.java | 130 private long[] subtract(long[] val, long[] toSubtract) { in subtract() method in LongSamplingCounterArrayTest
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateDurationsTracker.java | 104 res.subtract(uidDurations, index, UidStateDurations.DEFAULT_INDEX); in getTotalDurations() 129 durations.subtract(uidDurations, index, UidStateDurations.DEFAULT_INDEX); in getTotalDurations() 155 res.subtract(uidDurations, index, UidStateDurations.DEFAULT_INDEX); in getTotalDurationsSince() 181 durations.subtract(uidDurations, index, UidStateDurations.DEFAULT_INDEX); in getTotalDurationsSince() 216 bgEvents.subtract(uidDurations, SimplePackageDurations.DEFAULT_INDEX); in dumpEventLocked()
|
D | BaseAppStateDurations.java | 143 void subtract(BaseAppStateDurations otherDurations, int thisIndex, int otherIndex) { in subtract() method in BaseAppStateDurations 153 mEvents[thisIndex] = subtract(mEvents[thisIndex], otherDurations.mEvents[otherIndex]); in subtract() 159 void subtract(BaseAppStateDurations otherDurations, int otherIndex) { in subtract() method in BaseAppStateDurations 170 mEvents[i] = subtract(mEvents[i], otherDurations.mEvents[otherIndex]); in subtract() 178 LinkedList<T> subtract(LinkedList<T> durations, LinkedList<T> otherDurations) { in subtract() method in BaseAppStateDurations
|
D | AppBatteryExemptionTracker.java | 222 return result.first.mutate().add(batteryUsage).subtract(result.second).unmutate(); in getUidBatteryExemptedUsageSince() 256 batteryUsage.mutate().subtract(last.getBatteryUsage()).unmutate(), last), in addEvent() 446 .subtract(mPeer.mBatteryUsage) in trimTo()
|
D | AppBatteryTracker.java | 451 .subtract(exemptedUsage) in checkBatteryUsageStats() 597 totalUsage.subtract(lastUsage).add(curUsage); in updateBatteryUsageStatsOnce() 603 final BatteryUsage actualDelta = new BatteryUsage(curUsage).subtract(lastUsage); in updateBatteryUsageStatsOnce() 822 .subtract(exemptedUsage) in dump() 983 BatteryUsage subtract(@NonNull BatteryUsage other) { in subtract() method in AppBatteryTracker.BatteryUsage 1152 BatteryUsage subtract(@NonNull BatteryUsage other) { in subtract() method in AppBatteryTracker.ImmutableBatteryUsage
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Region.h | 83 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/ |
D | Region.h | 83 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/ |
D | Region.h | 83 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/ |
D | CbGeoUtils.java | 110 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/ |
D | BandwidthTest.java | 131 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/base/tools/preload/ |
D | PrintCsv.java | 108 = loadedClass.memoryUsage.subtract(baseline); in printRow()
|
D | PrintHtmlDiff.java | 126 = clazz.memoryUsage.subtract(baseline); in printTable()
|
D | MemoryUsage.java | 107 MemoryUsage subtract(MemoryUsage baseline) { in subtract() method in MemoryUsage
|
/frameworks/base/graphics/java/android/graphics/ |
D | Insets.java | 104 public static @NonNull Insets subtract(@NonNull Insets a, @NonNull Insets b) { in subtract() method in Insets
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 2710 assertAppStateDurations(null, testObj.subtract(null, null)); 2711 assertAppStateDurations(null, testObj.subtract(null, new LinkedList<BaseTimeEvent>())); 2712 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2714 assertAppStateDurations(createDurations(1), testObj.subtract( 2716 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2718 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2720 assertAppStateDurations(createDurations(1, 2, 5, 6, 9, 10), testObj.subtract( 2722 assertAppStateDurations(createDurations(1, 2, 3, 4), testObj.subtract( 2724 assertAppStateDurations(createDurations(3, 4, 9, 10), testObj.subtract( 2726 assertAppStateDurations(createDurations(1, 2, 3, 4, 5, 6, 7, 8), testObj.subtract( [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 391 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/core/java/android/security/keymaster/ |
D | KeymasterArguments.java | 41 public static final BigInteger UINT64_MAX_VALUE = UINT64_RANGE.subtract(BigInteger.ONE);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Output.cpp | 579 shadowRegion = visibleRegion.subtract(visibleRect); in ensureOutputLayerIfVisible() 691 Region visibleNonTransparentRegion = visibleRegion.subtract(transparentRegion); in ensureOutputLayerIfVisible() 702 Region visibleNonShadowRegion = visibleRegion.subtract(shadowRegion); in ensureOutputLayerIfVisible() 1356 !layerState.visibleRegion.subtract(layerState.shadowRegion).isEmpty(); in generateClientCompositionRequests()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImpl.kt | 196 favoriteComponentSet.subtract(serviceInfoSet).forEach { in <lambda>() 203 serviceInfoSet.subtract(favoriteComponentSet).forEach { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | SecureBox.java | 105 private static final BigInteger EC_PARAM_A = EC_PARAM_P.subtract(new BigInteger("3"));
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipBoundsAlgorithm.java | 125 Insets pipDecorReverseInsets = Insets.subtract(Insets.NONE, decorInset); in adjustBoundsForTemporaryDecor()
|
/frameworks/rs/script_api/include/ |
D | rs_atomic.rsh | 221 * value: Amount to subtract.
|