/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | KeyguardBlueprint.kt | 45 val skipSections = sections.intersect(prevSections).subtract(rebuildSections) in replaceViews() 46 prevSections.subtract(skipSections).forEach { it.removeViews(constraintLayout) } in replaceViews() 47 sections.subtract(skipSections).forEach { in replaceViews()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidClusterTimeReaderTest.java | 122 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDelta() 145 mCallback.verify(mUids[i], subtract(clusterTime(times4[i]), clusterTime(times3[i]))); in testReadDelta() 187 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDeltaDecreasedTime() 198 mCallback.verify(mUids[0], subtract(clusterTime(times3[0]), clusterTime(times1[0]))); in testReadDeltaDecreasedTime() 200 mCallback.verify(mUids[i], subtract(clusterTime(times3[i]), clusterTime(times2[i]))); in testReadDeltaDecreasedTime() 218 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDeltaNegativeTime() 229 mCallback.verify(mUids[0], subtract(clusterTime(times3[0]), clusterTime(times1[0]))); in testReadDeltaNegativeTime() 231 mCallback.verify(mUids[i], subtract(clusterTime(times3[i]), clusterTime(times2[i]))); in testReadDeltaNegativeTime() 293 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidClusterTimeReaderTest
|
D | KernelCpuUidFreqTimeReaderTest.java | 129 mCallback.verify(mUids[i], subtract(newTimes1[i], times[i])); in testReadDelta() 152 mCallback.verify(mUids[i], subtract(newTimes3[i], newTimes2[i])); in testReadDelta() 200 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDeltaWrongData() 210 mCallback.verify(mUids[0], subtract(times3[0], times1[0])); in testReadDeltaWrongData() 212 mCallback.verify(mUids[i], subtract(times3[i], times2[i])); in testReadDeltaWrongData() 223 mCallback.verify(mUids[i], subtract(times4[i], times3[i])); in testReadDeltaWrongData() 233 mCallback.verify(mUids[0], subtract(times5[0], times3[0])); in testReadDeltaWrongData() 235 mCallback.verify(mUids[i], subtract(times5[i], times4[i])); in testReadDeltaWrongData() 317 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidFreqTimeReaderTest
|
D | KernelCpuUidUserSysTimeReaderTest.java | 175 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDelta() 196 mCallback.verify(mUids[i], subtract(times4[i], times3[i])); in testReadDelta() 220 mCallback.verify(mUids[i], subtract(times2[i], times1[i])); in testReadDeltaWrongData() 279 private long[] subtract(long[] a1, long[] a2) { in subtract() method in KernelCpuUidUserSysTimeReaderTest
|
/frameworks/base/core/tests/FileSystemUtilsTest/apk_extract_native_libs/src/android/test/extract/ |
D | MainActivity.java | 50 int result = subtract(op1, op2); in onCreate() 59 private native int subtract(int op1, int op2); in subtract() method in MainActivity
|
/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 | 453 .subtract(exemptedUsage) in checkBatteryUsageStats() 613 totalUsage.subtract(lastUsage).add(curUsage); in updateBatteryUsageStatsOnce() 619 final BatteryUsage actualDelta = new BatteryUsage(curUsage).subtract(lastUsage); in updateBatteryUsageStatsOnce() 861 .subtract(exemptedUsage) in dump() 1022 BatteryUsage subtract(@NonNull BatteryUsage other) { in subtract() method in AppBatteryTracker.BatteryUsage 1191 BatteryUsage subtract(@NonNull BatteryUsage other) { in subtract() method in AppBatteryTracker.ImmutableBatteryUsage
|
/frameworks/av/media/module/extractors/mp4/ |
D | HeifCleanAperture.cpp | 100 bool Fraction::subtract(Fraction f) { in subtract() function in android::heif::Fraction 137 if (!centerX.add(clap.horizOff) || !centerX.subtract(halfW) || !centerX.isInteger() || in convertCleanApertureToRect() 138 centerX.n < 0 || !centerY.add(clap.vertOff) || !centerY.subtract(halfH) || in convertCleanApertureToRect()
|
/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/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/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/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/av/media/module/extractors/mp4/include/ |
D | HeifCleanAperture.h | 32 bool subtract(Fraction f);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/blueprints/ |
D | DefaultKeyguardBlueprintTest.kt | 121 val unchangedSections = underTest.sections.subtract(listOf(addedSection, rebuildSection)) in replaceViews_withPrevBlueprint() 143 val unchangedSections = underTest.sections.subtract(listOf(addedSection, rebuildSection)) in replaceViews_withPrevBlueprint_withRebuildTargets() 163 val unchangedSections = underTest.sections.subtract(rebuildSections) in rebuildViews()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 132 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in downloadFile() 186 NetworkStats proc_stats = post_test_stats.subtract(pre_test_stats); in uploadFile() 243 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 | 105 public static @NonNull Insets subtract(@NonNull Insets a, @NonNull Insets b) { in subtract() method in Insets
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | LongSamplingCounterArrayTest.java | 116 private long[] subtract(long[] val, long[] toSubtract) { in subtract() method in LongSamplingCounterArrayTest
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | AggregatedMobileDataStatsPuller.java | 245 NetworkStats delta = latestStats.subtract(mLastMobileUidStats); in updateNetworkStats()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BackgroundRestrictionTest.java | 2772 assertAppStateDurations(null, testObj.subtract(null, null)); 2773 assertAppStateDurations(null, testObj.subtract(null, new LinkedList<BaseTimeEvent>())); 2774 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2776 assertAppStateDurations(createDurations(1), testObj.subtract( 2778 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2780 assertAppStateDurations(new LinkedList<BaseTimeEvent>(), testObj.subtract( 2782 assertAppStateDurations(createDurations(1, 2, 5, 6, 9, 10), testObj.subtract( 2784 assertAppStateDurations(createDurations(1, 2, 3, 4), testObj.subtract( 2786 assertAppStateDurations(createDurations(3, 4, 9, 10), testObj.subtract( 2788 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
|