Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java501 AggregatedStats previous = getPrevious(); in emit() local
502 maybeCount("note_enqueued", (numEnqueuedByApp - previous.numEnqueuedByApp)); in emit()
503 maybeCount("note_post", (numPostedByApp - previous.numPostedByApp)); in emit()
504 maybeCount("note_update", (numUpdatedByApp - previous.numUpdatedByApp)); in emit()
505 maybeCount("note_remove", (numRemovedByApp - previous.numRemovedByApp)); in emit()
506 maybeCount("note_with_people", (numWithValidPeople - previous.numWithValidPeople)); in emit()
507 maybeCount("note_with_stars", (numWithStaredPeople - previous.numWithStaredPeople)); in emit()
508 maybeCount("people_cache_hit", (numPeopleCacheHit - previous.numPeopleCacheHit)); in emit()
509 maybeCount("people_cache_miss", (numPeopleCacheMiss - previous.numPeopleCacheMiss)); in emit()
510 maybeCount("note_blocked", (numBlocked - previous.numBlocked)); in emit()
[all …]
DNotificationRecord.java405 public void copyRankingInformation(NotificationRecord previous) { in copyRankingInformation() argument
406 mContactAffinity = previous.mContactAffinity; in copyRankingInformation()
407 mRecentlyIntrusive = previous.mRecentlyIntrusive; in copyRankingInformation()
408 mPackagePriority = previous.mPackagePriority; in copyRankingInformation()
409 mPackageVisibility = previous.mPackageVisibility; in copyRankingInformation()
410 mIntercept = previous.mIntercept; in copyRankingInformation()
411 mHidden = previous.mHidden; in copyRankingInformation()
412 mRankingTimeMs = calculateRankingTimeMs(previous.getRankingTimeMs()); in copyRankingInformation()
413 mCreationTimeMs = previous.mCreationTimeMs; in copyRankingInformation()
414 mVisibleSinceMs = previous.mVisibleSinceMs; in copyRankingInformation()
[all …]
/frameworks/base/core/java/android/util/
DLruCache.java172 V previous; in put() local
176 previous = map.put(key, value); in put()
177 if (previous != null) { in put()
178 size -= safeSizeOf(key, previous); in put()
182 if (previous != null) { in put()
183 entryRemoved(false, key, previous, value); in put()
187 return previous; in put()
237 V previous; in remove() local
239 previous = map.remove(key); in remove()
240 if (previous != null) { in remove()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DTestUtilsTests.cpp25 bool previous = Properties::debugOverdraw; in TEST() local
30 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST()
35 EXPECT_EQ(previous, Properties::debugOverdraw); in TEST()
DCommonPoolTests.cpp120 int previous; in TEST() local
122 previous = queuedCount.load(); in TEST()
124 } while (previous != queuedCount.load()); in TEST()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java131 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1); in getAllAssetLocales() local
132 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
133 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
135 Log.v(TAG, "backing up and fixing " + previous.label + " to " + in getAllAssetLocales()
136 … getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
138 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
139 previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
/frameworks/base/sax/java/android/sax/
DChildren.java42 Child previous; in getOrCreate() local
51 previous = current; in getOrCreate()
57 previous.next = current; in getOrCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java375 final InsetsControlTarget previous = mTypeControlTargetMap.get(type); in onControlChanged() local
376 if (target == previous) { in onControlChanged()
388 if (previous != null) { in onControlChanged()
389 removeFromControlMaps(previous, type, false /* fake */); in onControlChanged()
390 mPendingControlChanged.add(previous); in onControlChanged()
409 final InsetsControlTarget previous = mTypeFakeControlTargetMap.get(type); in onControlFakeTargetChanged() local
410 if (fakeTarget == previous) { in onControlFakeTargetChanged()
418 if (previous != null) { in onControlFakeTargetChanged()
419 removeFromControlMaps(previous, type, true /* fake */); in onControlFakeTargetChanged()
420 mPendingControlChanged.add(previous); in onControlFakeTargetChanged()
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java273 FreezePeriod previous = i > 0 ? allPeriods.get(i - 1) in validatePeriods() local
275 if (previous != current) { in validatePeriods()
277 if (i == 0 && !previous.isWrapped()) { in validatePeriods()
280 + (DAYS_IN_YEAR - previous.mEndDay) - 1; in validatePeriods()
284 separation = current.mStartDay - previous.mEndDay - 1; in validatePeriods()
288 + " periods " + previous + " and " + current + " are too close " in validatePeriods()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java174 String previous = null; in testPoolStringsFromNotifications() local
178 if (previous != null) { in testPoolStringsFromNotifications()
179 assertThat(actual).isGreaterThan(previous); in testPoolStringsFromNotifications()
181 previous = actual; in testPoolStringsFromNotifications()
205 String previous = null; in testAddPooledStrings() local
209 if (previous != null) { in testAddPooledStrings()
210 assertThat(actual).isGreaterThan(previous); in testAddPooledStrings()
212 previous = actual; in testAddPooledStrings()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DKeyboardInterceptor.java106 mEventQueueStart.previous = holder; in addEventToQueue()
131 mEventQueueEnd = mEventQueueEnd.previous; in processQueuedEvents()
159 public KeyEventHolder previous; field in KeyboardInterceptor.KeyEventHolder
178 previous = null; in recycle()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLockTest.java74 int previous = 0; in testLockFairness() local
79 previous = val - i; in testLockFairness()
81 assertTrue(previous == (val - i)); in testLockFairness()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderDiff.java202 int[] previous = previousCpuUsage.get(key); in changeToDiffs() local
203 if (previous == null) { in changeToDiffs()
205 previous = new int[threadCpuUsage.usageTimesMillis.length]; in changeToDiffs()
208 cpuTimeDiff(threadCpuUsage.usageTimesMillis, previous); in changeToDiffs()
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp188 DestructorNode* previous = nullptr; in runDestructorFor() local
191 if (previous) { in runDestructorFor()
192 previous->next = node->next; in runDestructorFor()
200 previous = node; in runDestructorFor()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DReferenceWithHistory.java100 V previous = get(); in set() local
104 return previous; in set()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp821 nsecs_t previous = -1; in dump() local
829 sampleTime - previous); in dump()
831 previous = sampleTime; in dump()
836 previous = Fence::SIGNAL_TIME_INVALID; in dump()
844 } else if (previous == Fence::SIGNAL_TIME_PENDING || in dump()
845 previous == Fence::SIGNAL_TIME_INVALID) { in dump()
850 presentTime, presentTime - previous, in dump()
851 (presentTime - previous) / (double)mPeriod, in dump()
854 previous = presentTime; in dump()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DBatteryController.java103 boolean previous = ts.setChargingConstraintSatisfied(stablePower); in maybeReportNewChargingStateLocked()
104 if (previous != stablePower) { in maybeReportNewChargingStateLocked()
107 previous = ts.setBatteryNotLowConstraintSatisfied(batteryNotLow); in maybeReportNewChargingStateLocked()
108 if (previous != batteryNotLow) { in maybeReportNewChargingStateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManager.java240 ExpandableNotificationRow previous = mTrackedHeadsUp; in setTrackingHeadsUp() local
242 if (previous != null) { in setTrackingHeadsUp()
243 updateView(previous, true /* animate */); in setTrackingHeadsUp()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagSymbolResolutions.inc19 "common symbol %0 is overridden by previous definition",
20 "common symbol %0 is overridden by previous definition")
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DBypassHeadsUpNotifier.kt79 val previous = currentMediaEntry in <lambda>() constant
86 updateAutoHeadsUp(previous) in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DReferenceWithHistoryTest.java108 V previous = mValue; in set() local
110 return previous; in set()
/frameworks/compile/slang/tests/P_redefine_RS_VERSION/
Dstderr.txt.expect2 <built-in>:1:9: note: previous definition is here
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTimeLimitedMotionEventBuffer.java213 public MotionEvent previous() { in previous() method in TimeLimitedMotionEventBuffer.Iter
214 return mIterator.previous(); in previous()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java279 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { in GcSnapshot() argument
280 assert previous != null; in GcSnapshot()
281 mPrevious = previous; in GcSnapshot()
553 GcSnapshot previous = doRestore(); in doRestoreTo() local
556 return previous; in doRestoreTo()
558 return previous.doRestoreTo(size - 1, saveCount); in doRestoreTo()
/frameworks/base/mime/java-res/
Dandroid.mime.types8 # A mapping overrides any previous mapping _from_ that same MIME type or
35 # regardless of whether a previous mapping existed.
123 # Optional additions that should not override any previous mapping.

1234