Home
last modified time | relevance | path

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

12345678910>>...13

/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationUsageStats.java501 AggregatedStats previous = getPrevious(); in emit() local
537 previous.numPostedByApp = numPostedByApp; in emit()
544 previous.numBlocked = numBlocked; in emit()
547 previous.numPrivate = numPrivate; in emit()
548 previous.numSecret = numSecret; in emit()
549 previous.numInterrupt = numInterrupt; in emit()
553 previous.numOngoing = numOngoing; in emit()
554 previous.numAutoCancel = numAutoCancel; in emit()
556 previous.numWithInbox = numWithInbox; in emit()
558 previous.numWithTitle = numWithTitle; in emit()
[all …]
/aosp12/frameworks/base/core/java/android/util/
H A 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()
187 return previous; in put()
237 V previous; in remove() local
239 previous = map.remove(key); in remove()
240 if (previous != null) { in remove()
245 if (previous != null) { in remove()
[all …]
/aosp12/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DSectionedAlbumDataAdapter.java69 String previous = ""; in onChanged() local
73 if (previous.isEmpty() || !previous.equals(item.account)) { in onChanged()
74 if (DEBUG) Log.i(TAG, "previous = " + previous +", title = " + item.account); in onChanged()
75 previous = item.account; in onChanged()
83 previous = ""; in onChanged()
87 if (previous.isEmpty() || !previous.equals(item.account)) { in onChanged()
88 previous = item.account; in onChanged()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
H A DMovePipShelfHeightTransition.kt38 protected abstract fun assertRegionMovement(previous: RegionSubject, current: RegionSubject)
96 pipWindowList.zipWithNext { previous, current ->
97 assertRegionMovement(previous.frame, current.frame)
111 pipLayerList.zipWithNext { previous, current ->
112 assertRegionMovement(previous.visibleRegion, current.visibleRegion)
/aosp12/build/make/tools/droiddoc/templates-pdk/
H A Ddocpage.cs49 <?cs if:previous.link ?>
54 <span class="training-nav-button-title"><?cs var:previous.title ?></span>
58 <?cs /if ?><?cs # end if previous.link ?>
68 <?cs if:!startpage && (previous.link || next.link) ?>
80 <?cs if:previous.link ?>
85 <br/><span class="training-nav-button-title"><?cs var:previous.title ?></span>
/aosp12/bionic/linker/
H A Dlinker_memory.cpp50 pid_t previous = fallback_tid.exchange(0); in __linker_disable_fallback_allocator() local
51 if (previous == 0) { in __linker_disable_fallback_allocator()
53 } else if (previous != gettid()) { in __linker_disable_fallback_allocator()
55 previous); in __linker_disable_fallback_allocator()
/aosp12/art/compiler/optimizing/
H A Dregister_allocation_resolver.cc532 HInstruction* previous = user->GetPrevious(); in AddInputMoveFor() local
534 if (previous == nullptr in AddInputMoveFor()
535 || !previous->IsParallelMove() in AddInputMoveFor()
541 move = previous->AsParallelMove(); in AddInputMoveFor()
607 if (previous == nullptr in InsertParallelMoveAt()
608 || !previous->IsParallelMove() in InsertParallelMoveAt()
613 DCHECK(previous == nullptr in InsertParallelMoveAt()
614 || !previous->IsParallelMove() in InsertParallelMoveAt()
620 move = previous->AsParallelMove(); in InsertParallelMoveAt()
646 if (previous == nullptr || !previous->IsParallelMove() in InsertParallelMoveAtExitOf()
[all …]
H A Dgvn.cc254 Node* previous = nullptr; in DeleteAllImpureWhich() local
268 previous = CloneBucket(i, previous); in DeleteAllImpureWhich()
269 node = (previous == nullptr) ? buckets_[i] : previous->GetNext(); in DeleteAllImpureWhich()
272 previous = node; in DeleteAllImpureWhich()
286 if (previous == nullptr) { in DeleteAllImpureWhich()
289 previous->SetNext(next); in DeleteAllImpureWhich()
292 previous = node; in DeleteAllImpureWhich()
/aosp12/frameworks/base/libs/hwui/tests/unit/
H A 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()
/aosp12/system/teeui/libteeui/src/
H A Dfont_rendering.cpp96 Vec2d<pxs> TextFace::kern(GlyphIndex previous) const { in kern()
98 if (hasKerning_ && previous) { in kern()
99 if (!FT_Get_Kerning(*face_, previous, face_->glyph->glyph_index, FT_KERNING_DEFAULT, in kern()
139 GlyphIndex previous = 0; in findLongestWordSequence() local
171 pen += face->kern(previous); in findLongestWordSequence()
181 previous = gindex; in findLongestWordSequence()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
H A DGetTranscriptReceiver.java268 private @Nullable Intent getNextAlarmIntent(Intent previous) { in getNextAlarmIntent() argument
269 int remainingAttempts = previous.getIntExtra(EXTRA_REMAINING_ATTEMPTS, 0); in getNextAlarmIntent()
270 double baseMultiplier = previous.getDoubleExtra(EXTRA_BASE_MULTIPLIER, 0); in getNextAlarmIntent()
271 long nextDelay = previous.getLongExtra(EXTRA_DELAY_MILLIS, 0); in getNextAlarmIntent()
272 if (!previous.getBooleanExtra(EXTRA_IS_INITIAL_ESTIMATED_WAIT, false)) { in getNextAlarmIntent()
283 previous.getParcelableExtra(EXTRA_VOICEMAIL_URI), in getNextAlarmIntent()
284 previous.getStringExtra(EXTRA_TRANSCRIPT_ID), in getNextAlarmIntent()
288 previous.getParcelableExtra(EXTRA_PHONE_ACCOUNT)); in getNextAlarmIntent()
/aosp12/system/media/audio_utils/include/audio_utils/
H A DLinearMap.h309 ssize_t previous = 0; in findU() local
331 int32_t uStep = uArray[previous] - uArray[current]; // non-negative in findU()
332 int32_t vStep = vArray[previous] - vArray[current]; // positive in findU()
344 previous = current; in findU()
350 return uArray[previous] + diff * extrapolation; in findU()
/aosp12/frameworks/base/core/java/android/app/admin/
H A 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()
/aosp12/art/tools/ahat/src/main/com/android/ahat/heapdump/
H A DInstances.java53 private long previous = -1; in Instances()
57 if (x.getId() == previous) { in Instances()
60 previous = x.getId(); in Instances()
/aosp12/hardware/google/pixel/health/
H A DBatteryDefender.cpp115 void BatteryDefender::writeTimeToFile(const std::string &path, const int value, int64_t *previous) { in writeTimeToFile() argument
118 ((value == 0) || (*previous == -1) || (value > (*previous + kWriteDelaySecs)) || in writeTimeToFile()
119 (value < (*previous - kWriteDelaySecs))); in writeTimeToFile()
120 if ((value != *previous) && hasTimeChangedSignificantly) { in writeTimeToFile()
122 *previous = value; in writeTimeToFile()
/aosp12/frameworks/base/sax/java/android/sax/
H A DChildren.java42 Child previous; in getOrCreate() local
51 previous = current; in getOrCreate()
57 previous.next = current; in getOrCreate()
/aosp12/packages/modules/adb/daemon/
H A Dwatchdog.cpp64 unsigned int previous = alarm(0); in UpdateWatchdog() local
65 if (previous != 0) { in UpdateWatchdog()
66 LOG(INFO) << "adb watchdog disarmed with " << previous << " seconds left"; in UpdateWatchdog()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DInsetsStateController.java456 final InsetsControlTarget previous = mTypeControlTargetMap.get(type); in onControlChanged() local
457 if (target == previous) { in onControlChanged()
469 if (previous != null) { in onControlChanged()
470 removeFromControlMaps(previous, type, false /* fake */); in onControlChanged()
471 mPendingControlChanged.add(previous); in onControlChanged()
487 final InsetsControlTarget previous = mTypeFakeControlTargetMap.get(type); in onControlFakeTargetChanged() local
488 if (fakeTarget == previous) { in onControlFakeTargetChanged()
496 if (previous != null) { in onControlFakeTargetChanged()
497 removeFromControlMaps(previous, type, true /* fake */); in onControlFakeTargetChanged()
498 mPendingControlChanged.add(previous); in onControlFakeTargetChanged()
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DKeyboardInterceptor.java112 mEventQueueStart.previous = holder; in addEventToQueue()
137 mEventQueueEnd = mEventQueueEnd.previous; in processQueuedEvents()
165 public KeyEventHolder previous; field in KeyboardInterceptor.KeyEventHolder
184 previous = null; in recycle()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java170 final LocaleInfo previous = localeInfos.get(localeInfos.size() - 1); in getAllAssetLocales() local
171 if (previous.locale.getLanguage().equals(l.getLanguage()) && in getAllAssetLocales()
172 !previous.locale.getLanguage().equals("zz")) { in getAllAssetLocales()
174 Log.v(TAG, "backing up and fixing " + previous.label + " to " + in getAllAssetLocales()
175 … getDisplayName(previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
177 previous.label = toTitleCase(getDisplayName( in getAllAssetLocales()
178 previous.locale, specialLocaleCodes, specialLocaleNames)); in getAllAssetLocales()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java176 String previous = null; in testPoolStringsFromNotifications() local
180 if (previous != null) { in testPoolStringsFromNotifications()
181 assertThat(actual).isGreaterThan(previous); in testPoolStringsFromNotifications()
183 previous = actual; in testPoolStringsFromNotifications()
207 String previous = null; in testAddPooledStrings() local
211 if (previous != null) { in testAddPooledStrings()
212 assertThat(actual).isGreaterThan(previous); in testAddPooledStrings()
214 previous = actual; in testAddPooledStrings()
/aosp12/bionic/tests/
H A Dclang_fortify_asan.cpp41 mode_t previous = umask(unknown); in TEST() local
44 umask(previous); in TEST()
/aosp12/hardware/interfaces/tv/tuner/1.0/
H A DIFrontend.hal49 * delivery information. If previous tuning isn't completed, this call MUST
50 * stop previous tuning, and start a new tuning.
64 * Stops a previous tuning.
91 * If previous scan isn't completed, this call MUST stop previous scan,
107 * Stops a previous scanning.
109 * If the method completes successfully, the frontend stop previous
/aosp12/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseLockTest.java74 int previous = 0; in testLockFairness() local
79 previous = val - i; in testLockFairness()
81 assertTrue(previous == (val - i)); in testLockFairness()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A 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()

12345678910>>...13